mirror of
https://gitlab.com/YuukiPS/GSServer-CBT.git
synced 2025-08-03 10:20:12 +03:00
melon
This commit is contained in:
22
soggy_resources/lua/Scene/1011/scene1011.lua
Normal file
22
soggy_resources/lua/Scene/1011/scene1011.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
-- 地图配置
|
||||
scene_config = {
|
||||
begin_pos = { x = -309.5, z = -128.7 },
|
||||
size = { x = 1176.9, z = 426.2 },
|
||||
born_pos = { x = 92.5, y = 0.0, z = -39.6 },
|
||||
born_rot = { x = 0.0, y = 274.3, z = 0.0 },
|
||||
die_y = -60
|
||||
}
|
||||
|
||||
-- 所有的区块
|
||||
blocks = { 1011 }
|
||||
|
||||
-- 所有的区块范围坐标
|
||||
block_rects = {
|
||||
{ min = { x = -309.5, z = -128.7 }, max = { x = 867.4, z = 297.5 } }
|
||||
}
|
||||
|
||||
-- Dummy Points
|
||||
dummy_points = { "dummy_points" }
|
||||
|
||||
-- Routes
|
||||
routes_config = { }
|
11
soggy_resources/lua/Scene/1011/scene1011_1011_routes.json
Normal file
11
soggy_resources/lua/Scene/1011/scene1011_1011_routes.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"sceneId": 1011,
|
||||
"routes": [
|
||||
{
|
||||
"localId": 1011001,
|
||||
"name": "Route_1011001",
|
||||
"type": "OneWay",
|
||||
"points": []
|
||||
}
|
||||
]
|
||||
}
|
49
soggy_resources/lua/Scene/1011/scene1011_block1011.lua
Normal file
49
soggy_resources/lua/Scene/1011/scene1011_block1011.lua
Normal file
@@ -0,0 +1,49 @@
|
||||
-- 所有的group
|
||||
groups = {
|
||||
{ id = 201011001, refresh_time = 0, pos = { x = 55.6, y = 0.5, z = -1.3 } },
|
||||
{ id = 201011002, refresh_time = 0, pos = { x = 57.3, y = 0.5, z = -78.4 } },
|
||||
{ id = 201011003, refresh_time = 0, pos = { x = 22.0, y = 0.5, z = -80.4 } },
|
||||
{ id = 201011004, refresh_time = 0, pos = { x = -11.8, y = 0.5, z = -76.8 } },
|
||||
{ id = 201011005, refresh_time = 0, pos = { x = 21.9, y = 0.4, z = -5.2 } },
|
||||
{ id = 201011006, refresh_time = 0, pos = { x = -15.7, y = 0.5, z = -10.3 } },
|
||||
{ id = 201011007, refresh_time = 0, pos = { x = -10.3, y = 0.5, z = -3.8 } },
|
||||
{ id = 201011008, refresh_time = 0, pos = { x = 134.5, y = 0.5, z = 45.2 } },
|
||||
{ id = 201011009, refresh_time = 0, pos = { x = 142.6, y = 0.5, z = 89.6 } },
|
||||
{ id = 201011010, refresh_time = 0, pos = { x = 144.9, y = 1.1, z = -2.6 } },
|
||||
{ id = 201011011, refresh_time = 0, pos = { x = 131.4, y = 1.1, z = -12.8 } },
|
||||
{ id = 201011012, refresh_time = 0, pos = { x = 181.1, y = 1.1, z = -13.9 } },
|
||||
{ id = 201011013, refresh_time = 0, pos = { x = 231.5, y = 1.1, z = -13.0 } },
|
||||
{ id = 201011014, refresh_time = 0, pos = { x = 278.3, y = 1.1, z = -13.7 } },
|
||||
{ id = 201011015, refresh_time = 0, pos = { x = 328.1, y = 1.1, z = -14.1 } },
|
||||
{ id = 201011016, refresh_time = 0, pos = { x = 377.5, y = 1.1, z = -13.3 } },
|
||||
{ id = 201011017, refresh_time = 0, pos = { x = 427.2, y = 1.1, z = -13.0 } },
|
||||
{ id = 201011018, refresh_time = 0, pos = { x = 478.9, y = 1.1, z = -13.2 } },
|
||||
{ id = 201011019, refresh_time = 0, pos = { x = 526.2, y = 1.1, z = -13.8 } },
|
||||
{ id = 201011020, refresh_time = 0, pos = { x = 574.7, y = 1.1, z = -13.5 } },
|
||||
{ id = 201011021, refresh_time = 0, pos = { x = 625.0, y = 1.1, z = -13.7 } },
|
||||
{ id = 201011022, refresh_time = 0, pos = { x = 674.6, y = 1.1, z = -13.5 } },
|
||||
{ id = 201011023, refresh_time = 0, pos = { x = 723.6, y = 1.1, z = -12.6 } },
|
||||
{ id = 201011024, refresh_time = 0, pos = { x = 773.2, y = 1.1, z = -13.2 } },
|
||||
{ id = 201011025, refresh_time = 0, pos = { x = 822.8, y = 1.1, z = -13.2 } },
|
||||
{ id = 201011026, refresh_time = 0, pos = { x = 834.7, y = 0.8, z = -43.9 } },
|
||||
{ id = 201011027, refresh_time = 0, pos = { x = 803.2, y = 0.6, z = -55.0 } },
|
||||
{ id = 201011028, refresh_time = 0, pos = { x = 755.5, y = 0.5, z = -53.4 } },
|
||||
{ id = 201011029, refresh_time = 0, pos = { x = 711.3, y = 0.4, z = -54.6 } },
|
||||
{ id = 201011030, refresh_time = 0, pos = { x = 664.6, y = 0.4, z = -53.3 } },
|
||||
{ id = 201011031, refresh_time = 0, pos = { x = 619.2, y = 0.6, z = -53.8 } },
|
||||
{ id = 201011032, refresh_time = 0, pos = { x = 572.7, y = 0.6, z = -53.5 } },
|
||||
{ id = 201011033, refresh_time = 0, pos = { x = 527.5, y = 0.4, z = -53.0 } },
|
||||
{ id = 201011034, refresh_time = 0, pos = { x = 482.0, y = 0.4, z = -53.6 } },
|
||||
{ id = 201011035, refresh_time = 0, pos = { x = 436.8, y = 0.4, z = -53.4 } },
|
||||
{ id = 201011036, refresh_time = 0, pos = { x = 392.4, y = 0.3, z = -53.5 } },
|
||||
{ id = 201011037, refresh_time = 0, pos = { x = 346.1, y = 0.1, z = -52.9 } },
|
||||
{ id = 201011038, refresh_time = 0, pos = { x = 301.2, y = 0.1, z = -53.9 } },
|
||||
{ id = 201011039, refresh_time = 0, pos = { x = 256.0, y = -0.1, z = -53.4 } },
|
||||
{ id = 201011040, refresh_time = 0, pos = { x = 210.6, y = -0.1, z = -54.0 } },
|
||||
{ id = 201011041, refresh_time = 0, pos = { x = 164.6, y = 0.1, z = -54.3 } },
|
||||
{ id = 201011042, refresh_time = 0, pos = { x = 150.1, y = -0.2, z = -91.7 } },
|
||||
{ id = 201011043, refresh_time = 0, pos = { x = 187.7, y = 0.5, z = -110.4 } },
|
||||
{ id = 201011044, refresh_time = 0, pos = { x = 130.6, y = 0.5, z = 53.4 } },
|
||||
{ id = 201011045, refresh_time = 0, pos = { x = 128.0, y = 0.5, z = 51.9 } },
|
||||
{ id = 201011046, refresh_time = 0, pos = { x = 132.5, y = 0.5, z = 54.5 } }
|
||||
}
|
@@ -0,0 +1,2 @@
|
||||
dummy_points = {
|
||||
}
|
531
soggy_resources/lua/Scene/1011/scene1011_group201011001.lua
Normal file
531
soggy_resources/lua/Scene/1011/scene1011_group201011001.lua
Normal file
@@ -0,0 +1,531 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 1, monster_id = 21010201, pos = { x = 58.1, y = 0.5, z = 3.0 }, rot = { x = 0.0, y = 184.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 2, monster_id = 21010201, pos = { x = 55.7, y = 0.5, z = 3.9 }, rot = { x = 0.0, y = 179.7, z = 0.0 }, level = 0 },
|
||||
{ config_id = 3, monster_id = 21010201, pos = { x = 59.8, y = 0.5, z = 4.4 }, rot = { x = 0.0, y = 188.1, z = 0.0 }, level = 0 },
|
||||
{ config_id = 4, monster_id = 21010401, pos = { x = 58.1, y = 0.5, z = 10.7 }, rot = { x = 0.0, y = 184.8, z = 0.0 }, level = 0 },
|
||||
{ config_id = 5, monster_id = 20011301, pos = { x = 67.1, y = 0.5, z = 7.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 6, monster_id = 20011201, pos = { x = 66.8, y = 0.5, z = 8.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 7, monster_id = 20011201, pos = { x = 68.3, y = 0.5, z = 8.8 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 8, monster_id = 20011201, pos = { x = 69.1, y = 0.5, z = 7.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 9, monster_id = 20011101, pos = { x = 46.9, y = 0.5, z = 8.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 10, monster_id = 20011001, pos = { x = 44.7, y = 0.5, z = 9.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 11, monster_id = 20011001, pos = { x = 46.3, y = 0.5, z = 9.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 12, monster_id = 20011001, pos = { x = 48.0, y = 0.5, z = 10.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 13, monster_id = 20010301, pos = { x = 54.9, y = 0.5, z = 11.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 14, monster_id = 20010301, pos = { x = 56.4, y = 0.5, z = 12.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 15, monster_id = 20010301, pos = { x = 62.9, y = 0.5, z = 11.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 16, monster_id = 20010401, pos = { x = 58.7, y = 0.5, z = 9.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 17, monster_id = 20010701, pos = { x = 57.8, y = 0.5, z = 7.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 18, monster_id = 20010501, pos = { x = 55.7, y = 0.5, z = 8.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 19, monster_id = 20010501, pos = { x = 58.3, y = 0.5, z = 8.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 20, monster_id = 20010501, pos = { x = 61.1, y = 0.5, z = 8.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 1, gadget_id = 70360002, pos = { x = 62.9, y = 0.5, z = -16.4 }, rot = { x = 0.0, y = 179.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 5, gadget_id = 70360002, pos = { x = 72.8, y = 0.5, z = -47.0 }, rot = { x = 0.0, y = 102.3, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 1, shape = RegionShape.SPHERE, radius = 5, pos = { x = 62.9, y = 0.5, z = -16.6 } },
|
||||
{ config_id = 2, shape = RegionShape.SPHERE, radius = 5, pos = { x = 66.2, y = 0.5, z = -12.6 } },
|
||||
{ config_id = 3, shape = RegionShape.SPHERE, radius = 5, pos = { x = 67.5, y = 0.5, z = -15.8 } },
|
||||
{ config_id = 4, shape = RegionShape.SPHERE, radius = 5, pos = { x = 68.2, y = 0.5, z = -12.6 } },
|
||||
{ config_id = 5, shape = RegionShape.SPHERE, radius = 5, pos = { x = 62.8, y = 0.5, z = -12.4 } },
|
||||
{ config_id = 6, shape = RegionShape.SPHERE, radius = 5, pos = { x = 66.9, y = 0.5, z = -8.0 } },
|
||||
{ config_id = 27, shape = RegionShape.SPHERE, radius = 5, pos = { x = 72.3, y = 0.5, z = -46.3 } },
|
||||
{ config_id = 28, shape = RegionShape.SPHERE, radius = 5, pos = { x = 72.3, y = 0.5, z = -45.7 } },
|
||||
{ config_id = 29, shape = RegionShape.SPHERE, radius = 5, pos = { x = 73.9, y = 0.5, z = -45.4 } },
|
||||
{ config_id = 30, shape = RegionShape.SPHERE, radius = 5, pos = { x = 73.3, y = 0.5, z = -43.1 } },
|
||||
{ config_id = 31, shape = RegionShape.SPHERE, radius = 5, pos = { x = 70.5, y = 0.5, z = -44.1 } },
|
||||
{ config_id = 32, shape = RegionShape.SPHERE, radius = 5, pos = { x = 74.6, y = 0.5, z = -45.8 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_1", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_1", action = "action_EVENT_GADGET_CREATE_1" },
|
||||
{ name = "SELECT_OPTION_2", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_2", action = "action_EVENT_SELECT_OPTION_2", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_3", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_3", action = "action_EVENT_SELECT_OPTION_3", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_4", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_4", action = "action_EVENT_SELECT_OPTION_4", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_5", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_5", action = "action_EVENT_SELECT_OPTION_5", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_6", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_6", action = "action_EVENT_SELECT_OPTION_6", trigger_count = 0 },
|
||||
{ name = "GADGET_CREATE_27", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_27", action = "action_EVENT_GADGET_CREATE_27" },
|
||||
{ name = "SELECT_OPTION_28", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_28", action = "action_EVENT_SELECT_OPTION_28", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_29", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_29", action = "action_EVENT_SELECT_OPTION_29", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_30", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_30", action = "action_EVENT_SELECT_OPTION_30", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_31", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_31", action = "action_EVENT_SELECT_OPTION_31", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_32", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_32", action = "action_EVENT_SELECT_OPTION_32", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { 1, 2, 3, 4 },
|
||||
gadgets = { 1, 5 },
|
||||
regions = { 1, 2, 3, 4, 5, 6, 27, 28, 29, 30, 31, 32 },
|
||||
triggers = { "GADGET_CREATE_1", "SELECT_OPTION_2", "SELECT_OPTION_3", "SELECT_OPTION_4", "SELECT_OPTION_5", "SELECT_OPTION_6", "GADGET_CREATE_27", "SELECT_OPTION_28", "SELECT_OPTION_29", "SELECT_OPTION_30", "SELECT_OPTION_31", "SELECT_OPTION_32" },
|
||||
rand_weight = 100
|
||||
},
|
||||
{
|
||||
-- suite_id = 1,
|
||||
-- description = suite_2,
|
||||
monsters = { 5, 6, 7, 8 },
|
||||
gadgets = { 1, 5 },
|
||||
regions = { 1, 2, 3, 4, 5, 6, 27, 28, 29, 30, 31, 32 },
|
||||
triggers = { "GADGET_CREATE_1", "SELECT_OPTION_2", "SELECT_OPTION_3", "SELECT_OPTION_4", "SELECT_OPTION_5", "SELECT_OPTION_6", "GADGET_CREATE_27", "SELECT_OPTION_28", "SELECT_OPTION_29", "SELECT_OPTION_30", "SELECT_OPTION_31", "SELECT_OPTION_32" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 2,
|
||||
-- description = suite_3,
|
||||
monsters = { 9, 10, 11, 12 },
|
||||
gadgets = { 1, 5 },
|
||||
regions = { 1, 2, 3, 4, 5, 6, 27, 28, 29, 30, 31, 32 },
|
||||
triggers = { "GADGET_CREATE_1", "SELECT_OPTION_2", "SELECT_OPTION_3", "SELECT_OPTION_4", "SELECT_OPTION_5", "SELECT_OPTION_6", "GADGET_CREATE_27", "SELECT_OPTION_28", "SELECT_OPTION_29", "SELECT_OPTION_30", "SELECT_OPTION_31", "SELECT_OPTION_32" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 3,
|
||||
-- description = suite_4,
|
||||
monsters = { 13, 14, 15, 16 },
|
||||
gadgets = { 1, 5 },
|
||||
regions = { 1, 2, 3, 4, 5, 6, 27, 28, 29, 30, 31, 32 },
|
||||
triggers = { "GADGET_CREATE_1", "SELECT_OPTION_2", "SELECT_OPTION_3", "SELECT_OPTION_4", "SELECT_OPTION_5", "SELECT_OPTION_6", "GADGET_CREATE_27", "SELECT_OPTION_28", "SELECT_OPTION_29", "SELECT_OPTION_30", "SELECT_OPTION_31", "SELECT_OPTION_32" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 4,
|
||||
-- description = suite_5,
|
||||
monsters = { 17, 18, 19, 20 },
|
||||
gadgets = { 1, 5 },
|
||||
regions = { 1, 2, 3, 4, 5, 6, 27, 28, 29, 30, 31, 32 },
|
||||
triggers = { "GADGET_CREATE_1", "SELECT_OPTION_2", "SELECT_OPTION_3", "SELECT_OPTION_4", "SELECT_OPTION_5", "SELECT_OPTION_6", "GADGET_CREATE_27", "SELECT_OPTION_28", "SELECT_OPTION_29", "SELECT_OPTION_30", "SELECT_OPTION_31", "SELECT_OPTION_32" },
|
||||
rand_weight = 0
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_1(context, evt)
|
||||
if 1 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_1(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {130,131,132,133,134}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_2(context, evt)
|
||||
-- 判断是gadgetid 1
|
||||
if 1 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_2(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 131 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, suite = 2 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_3(context, evt)
|
||||
-- 判断是gadgetid 1
|
||||
if 1 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_3(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 132 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, suite = 3 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_4(context, evt)
|
||||
-- 判断是gadgetid 1
|
||||
if 1 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_4(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 133 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, suite = 4 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_5(context, evt)
|
||||
-- 判断是gadgetid 1
|
||||
if 1 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_5(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 134 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, suite = 5 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_6(context, evt)
|
||||
-- 判断是gadgetid 1
|
||||
if 1 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_6(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 130 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, suite = 1 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_27(context, evt)
|
||||
if 5 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_27(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,152,153,154,155}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_28(context, evt)
|
||||
-- 判断是gadgetid 5
|
||||
if 5 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_28(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011003, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 5, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_29(context, evt)
|
||||
-- 判断是gadgetid 5
|
||||
if 5 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_29(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 152 == evt.param2 then
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, refresh_level_revise = 5}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, refresh_level_revise = 5}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011003, refresh_level_revise = 5}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, refresh_level_revise = 5}) then
|
||||
return -1
|
||||
end
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 5, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_30(context, evt)
|
||||
-- 判断是gadgetid 5
|
||||
if 5 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_30(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 153 == evt.param2 then
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, refresh_level_revise = 10}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, refresh_level_revise = 10}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011003, refresh_level_revise = 10}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, refresh_level_revise = 10}) then
|
||||
return -1
|
||||
end
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 5, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_31(context, evt)
|
||||
-- 判断是gadgetid 5
|
||||
if 5 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_31(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 154 == evt.param2 then
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, refresh_level_revise = 15}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, refresh_level_revise = 15}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011003, refresh_level_revise = 15}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, refresh_level_revise = 15}) then
|
||||
return -1
|
||||
end
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 5, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_32(context, evt)
|
||||
-- 判断是gadgetid 5
|
||||
if 5 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_32(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 155 == evt.param2 then
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, refresh_level_revise = 20}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, refresh_level_revise = 20}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011003, refresh_level_revise = 20}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, refresh_level_revise = 20}) then
|
||||
return -1
|
||||
end
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 5, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
259
soggy_resources/lua/Scene/1011/scene1011_group201011002.lua
Normal file
259
soggy_resources/lua/Scene/1011/scene1011_group201011002.lua
Normal file
@@ -0,0 +1,259 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 21, monster_id = 21030301, pos = { x = 57.9, y = 0.5, z = -95.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 22, monster_id = 21010201, pos = { x = 61.1, y = 0.5, z = -92.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 23, monster_id = 21010201, pos = { x = 56.1, y = 0.5, z = -92.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 24, monster_id = 21010401, pos = { x = 55.5, y = 0.5, z = -95.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 25, monster_id = 21030101, pos = { x = 49.1, y = 0.5, z = -94.8 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 26, monster_id = 21010301, pos = { x = 51.1, y = 0.5, z = -91.8 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 27, monster_id = 21010301, pos = { x = 48.6, y = 0.5, z = -91.8 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 28, monster_id = 21010901, pos = { x = 45.9, y = 0.5, z = -94.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 29, monster_id = 21030201, pos = { x = 71.4, y = 0.5, z = -95.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 30, monster_id = 21010201, pos = { x = 73.4, y = 0.5, z = -92.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 31, monster_id = 21010201, pos = { x = 68.6, y = 0.5, z = -92.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 32, monster_id = 21010501, pos = { x = 68.1, y = 0.5, z = -95.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 33, monster_id = 21030301, pos = { x = 59.5, y = 0.5, z = -94.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 34, monster_id = 21010901, pos = { x = 72.1, y = 0.5, z = -94.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 35, monster_id = 21010301, pos = { x = 63.0, y = 0.5, z = -88.8 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 36, monster_id = 21010301, pos = { x = 54.2, y = 0.5, z = -89.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 2, gadget_id = 70360002, pos = { x = 52.2, y = 0.5, z = -62.1 }, rot = { x = 0.0, y = 165.2, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 7, shape = RegionShape.SPHERE, radius = 5, pos = { x = 51.6, y = 0.5, z = -62.9 } },
|
||||
{ config_id = 8, shape = RegionShape.SPHERE, radius = 5, pos = { x = 48.1, y = 0.5, z = -63.9 } },
|
||||
{ config_id = 9, shape = RegionShape.SPHERE, radius = 5, pos = { x = 50.5, y = 0.5, z = -65.5 } },
|
||||
{ config_id = 10, shape = RegionShape.SPHERE, radius = 5, pos = { x = 47.5, y = 0.5, z = -62.0 } },
|
||||
{ config_id = 11, shape = RegionShape.SPHERE, radius = 5, pos = { x = 53.0, y = 0.5, z = -64.2 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_7", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_7", action = "action_EVENT_GADGET_CREATE_7" },
|
||||
{ name = "SELECT_OPTION_8", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_8", action = "action_EVENT_SELECT_OPTION_8", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_9", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_9", action = "action_EVENT_SELECT_OPTION_9", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_10", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_10", action = "action_EVENT_SELECT_OPTION_10", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_11", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_11", action = "action_EVENT_SELECT_OPTION_11", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { 21, 22, 23, 24 },
|
||||
gadgets = { 2 },
|
||||
regions = { 7, 8, 9, 10, 11 },
|
||||
triggers = { "GADGET_CREATE_7", "SELECT_OPTION_8", "SELECT_OPTION_9", "SELECT_OPTION_10", "SELECT_OPTION_11" },
|
||||
rand_weight = 100
|
||||
},
|
||||
{
|
||||
-- suite_id = 1,
|
||||
-- description = suite_2,
|
||||
monsters = { 25, 26, 27, 28 },
|
||||
gadgets = { 2 },
|
||||
regions = { 7, 8, 9, 10, 11 },
|
||||
triggers = { "GADGET_CREATE_7", "SELECT_OPTION_8", "SELECT_OPTION_9", "SELECT_OPTION_10", "SELECT_OPTION_11" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 2,
|
||||
-- description = suite_3,
|
||||
monsters = { 29, 30, 31, 32 },
|
||||
gadgets = { 2 },
|
||||
regions = { 7, 8, 9, 10, 11 },
|
||||
triggers = { "GADGET_CREATE_7", "SELECT_OPTION_8", "SELECT_OPTION_9", "SELECT_OPTION_10", "SELECT_OPTION_11" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 3,
|
||||
-- description = suite_4,
|
||||
monsters = { 33, 34, 35, 36 },
|
||||
gadgets = { 2 },
|
||||
regions = { 7, 8, 9, 10, 11 },
|
||||
triggers = { "GADGET_CREATE_7", "SELECT_OPTION_8", "SELECT_OPTION_9", "SELECT_OPTION_10", "SELECT_OPTION_11" },
|
||||
rand_weight = 0
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_7(context, evt)
|
||||
if 2 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_7(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {135,136,137,138}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_8(context, evt)
|
||||
-- 判断是gadgetid 2
|
||||
if 2 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_8(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 135 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, suite = 1 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_9(context, evt)
|
||||
-- 判断是gadgetid 2
|
||||
if 2 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_9(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 136 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, suite = 2 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_10(context, evt)
|
||||
-- 判断是gadgetid 2
|
||||
if 2 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_10(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 137 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, suite = 3 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_11(context, evt)
|
||||
-- 判断是gadgetid 2
|
||||
if 2 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_11(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 138 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, suite = 4 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
346
soggy_resources/lua/Scene/1011/scene1011_group201011003.lua
Normal file
346
soggy_resources/lua/Scene/1011/scene1011_group201011003.lua
Normal file
@@ -0,0 +1,346 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 37, monster_id = 23040101, pos = { x = 22.2, y = 0.5, z = -92.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 38, monster_id = 21010401, pos = { x = 16.7, y = 0.5, z = -94.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 39, monster_id = 21010401, pos = { x = 27.5, y = 0.5, z = -95.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 40, monster_id = 23040101, pos = { x = 24.8, y = 0.5, z = -92.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 41, monster_id = 23040101, pos = { x = 11.3, y = 0.5, z = -93.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 42, monster_id = 20020101, pos = { x = 22.4, y = 0.5, z = -85.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 43, monster_id = 20010301, pos = { x = 31.1, y = 0.5, z = -88.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 44, monster_id = 20010301, pos = { x = 25.5, y = 0.5, z = -89.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 45, monster_id = 20010301, pos = { x = 19.3, y = 0.5, z = -91.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 46, monster_id = 22010301, pos = { x = 20.0, y = 0.5, z = -87.5 }, rot = { x = 0.0, y = 0.3, z = 0.0 }, level = 0 },
|
||||
{ config_id = 47, monster_id = 21010201, pos = { x = 26.1, y = 0.5, z = -82.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 48, monster_id = 21010201, pos = { x = 16.4, y = 0.5, z = -83.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 49, monster_id = 21010901, pos = { x = 27.2, y = 0.5, z = -87.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 50, monster_id = 22010201, pos = { x = 14.4, y = 0.5, z = -88.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 51, monster_id = 21010201, pos = { x = 11.2, y = 0.5, z = -85.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 52, monster_id = 21010201, pos = { x = 15.9, y = 0.5, z = -85.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 53, monster_id = 20011001, pos = { x = 13.6, y = 0.5, z = -83.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 54, monster_id = 22010101, pos = { x = 33.2, y = 0.5, z = -86.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 55, monster_id = 21010301, pos = { x = 35.2, y = 0.5, z = -83.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 56, monster_id = 21010301, pos = { x = 30.5, y = 0.5, z = -83.8 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 57, monster_id = 21011001, pos = { x = 34.6, y = 0.5, z = -90.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 3, gadget_id = 70360002, pos = { x = 16.6, y = 0.5, z = -61.9 }, rot = { x = 0.0, y = 70.7, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 12, shape = RegionShape.SPHERE, radius = 5, pos = { x = 15.5, y = 0.5, z = -62.2 } },
|
||||
{ config_id = 13, shape = RegionShape.SPHERE, radius = 5, pos = { x = 12.6, y = 0.5, z = -64.6 } },
|
||||
{ config_id = 14, shape = RegionShape.SPHERE, radius = 5, pos = { x = 16.9, y = 0.5, z = -64.1 } },
|
||||
{ config_id = 15, shape = RegionShape.SPHERE, radius = 5, pos = { x = 11.2, y = 0.5, z = -63.3 } },
|
||||
{ config_id = 16, shape = RegionShape.SPHERE, radius = 5, pos = { x = 12.7, y = 0.5, z = -64.8 } },
|
||||
{ config_id = 17, shape = RegionShape.SPHERE, radius = 5, pos = { x = 14.4, y = 0.5, z = -64.2 } },
|
||||
{ config_id = 18, shape = RegionShape.SPHERE, radius = 5, pos = { x = 14.3, y = 0.5, z = -64.8 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_12", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_12", action = "action_EVENT_GADGET_CREATE_12" },
|
||||
{ name = "SELECT_OPTION_13", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_13", action = "action_EVENT_SELECT_OPTION_13", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_14", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_14", action = "action_EVENT_SELECT_OPTION_14", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_15", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_15", action = "action_EVENT_SELECT_OPTION_15", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_16", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_16", action = "action_EVENT_SELECT_OPTION_16", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_17", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_17", action = "action_EVENT_SELECT_OPTION_17", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_18", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_18", action = "action_EVENT_SELECT_OPTION_18", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { 37, 38, 39 },
|
||||
gadgets = { 3 },
|
||||
regions = { 12, 13, 14, 15, 16, 17, 18 },
|
||||
triggers = { "GADGET_CREATE_12", "SELECT_OPTION_13", "SELECT_OPTION_14", "SELECT_OPTION_15", "SELECT_OPTION_16", "SELECT_OPTION_17", "SELECT_OPTION_18" },
|
||||
rand_weight = 100
|
||||
},
|
||||
{
|
||||
-- suite_id = 1,
|
||||
-- description = suite_2,
|
||||
monsters = { 40, 41 },
|
||||
gadgets = { 3 },
|
||||
regions = { 12, 13, 14, 15, 16, 17, 18 },
|
||||
triggers = { "GADGET_CREATE_12", "SELECT_OPTION_13", "SELECT_OPTION_14", "SELECT_OPTION_15", "SELECT_OPTION_16", "SELECT_OPTION_17", "SELECT_OPTION_18" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 2,
|
||||
-- description = suite_3,
|
||||
monsters = { 42, 43, 44, 45 },
|
||||
gadgets = { 3 },
|
||||
regions = { 12, 13, 14, 15, 16, 17, 18 },
|
||||
triggers = { "GADGET_CREATE_12", "SELECT_OPTION_13", "SELECT_OPTION_14", "SELECT_OPTION_15", "SELECT_OPTION_16", "SELECT_OPTION_17", "SELECT_OPTION_18" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 3,
|
||||
-- description = suite_4,
|
||||
monsters = { 46, 47, 48, 49 },
|
||||
gadgets = { 3 },
|
||||
regions = { 12, 13, 14, 15, 16, 17, 18 },
|
||||
triggers = { "GADGET_CREATE_12", "SELECT_OPTION_13", "SELECT_OPTION_14", "SELECT_OPTION_15", "SELECT_OPTION_16", "SELECT_OPTION_17", "SELECT_OPTION_18" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 4,
|
||||
-- description = suite_5,
|
||||
monsters = { 50, 51, 52, 53 },
|
||||
gadgets = { 3 },
|
||||
regions = { 12, 13, 14, 15, 16, 17, 18 },
|
||||
triggers = { "GADGET_CREATE_12", "SELECT_OPTION_13", "SELECT_OPTION_14", "SELECT_OPTION_15", "SELECT_OPTION_16", "SELECT_OPTION_17", "SELECT_OPTION_18" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 5,
|
||||
-- description = suite_6,
|
||||
monsters = { 54, 55, 56, 57 },
|
||||
gadgets = { 3 },
|
||||
regions = { 12, 13, 14, 15, 16, 17, 18 },
|
||||
triggers = { "GADGET_CREATE_12", "SELECT_OPTION_13", "SELECT_OPTION_14", "SELECT_OPTION_15", "SELECT_OPTION_16", "SELECT_OPTION_17", "SELECT_OPTION_18" },
|
||||
rand_weight = 0
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_12(context, evt)
|
||||
if 3 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_12(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {139,140,141,142,143,144}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_13(context, evt)
|
||||
-- 判断是gadgetid 3
|
||||
if 3 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_13(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 139 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011003, suite = 1 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_14(context, evt)
|
||||
-- 判断是gadgetid 3
|
||||
if 3 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_14(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 140 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011003, suite = 2 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_15(context, evt)
|
||||
-- 判断是gadgetid 3
|
||||
if 3 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_15(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 141 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011003, suite = 3 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_16(context, evt)
|
||||
-- 判断是gadgetid 3
|
||||
if 3 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_16(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 142 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011003, suite = 4 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_17(context, evt)
|
||||
-- 判断是gadgetid 3
|
||||
if 3 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_17(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 143 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011003, suite = 5 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_18(context, evt)
|
||||
-- 判断是gadgetid 3
|
||||
if 3 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_18(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 144 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011003, suite = 6 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
344
soggy_resources/lua/Scene/1011/scene1011_group201011004.lua
Normal file
344
soggy_resources/lua/Scene/1011/scene1011_group201011004.lua
Normal file
@@ -0,0 +1,344 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 58, monster_id = 21020101, pos = { x = -13.6, y = 0.5, z = -91.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 59, monster_id = 21010201, pos = { x = -11.7, y = 0.5, z = -87.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 60, monster_id = 21010201, pos = { x = -14.6, y = 0.5, z = -87.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 61, monster_id = 21011001, pos = { x = -9.9, y = 0.5, z = -92.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 62, monster_id = 21020201, pos = { x = -14.0, y = 0.5, z = -82.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 63, monster_id = 22010101, pos = { x = -5.9, y = 0.5, z = -88.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 64, monster_id = 21020101, pos = { x = -20.6, y = 0.5, z = -87.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 65, monster_id = 22010301, pos = { x = -24.4, y = 0.5, z = -90.8 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 66, monster_id = 21010901, pos = { x = -19.8, y = 0.5, z = -92.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 67, monster_id = 20011501, pos = { x = -9.0, y = 0.5, z = -86.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 68, monster_id = 20011401, pos = { x = -7.1, y = 0.5, z = -87.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 69, monster_id = 20011401, pos = { x = -9.8, y = 0.5, z = -88.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 70, monster_id = 20010601, pos = { x = -19.2, y = 0.5, z = -84.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 71, monster_id = 20010701, pos = { x = -16.1, y = 0.5, z = -87.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 72, monster_id = 20011001, pos = { x = -18.3, y = 0.5, z = -85.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 73, monster_id = 20011001, pos = { x = -20.3, y = 0.5, z = -85.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 74, monster_id = 20010901, pos = { x = -6.3, y = 0.5, z = -83.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 75, monster_id = 20011001, pos = { x = -1.9, y = 0.5, z = -84.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 76, monster_id = 20011101, pos = { x = -5.1, y = 0.5, z = -85.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 4, gadget_id = 70360002, pos = { x = -20.8, y = 0.5, z = -61.8 }, rot = { x = 0.0, y = 270.1, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 19, shape = RegionShape.SPHERE, radius = 5, pos = { x = -22.0, y = 0.5, z = -63.2 } },
|
||||
{ config_id = 20, shape = RegionShape.SPHERE, radius = 5, pos = { x = -22.8, y = 0.5, z = -65.0 } },
|
||||
{ config_id = 21, shape = RegionShape.SPHERE, radius = 5, pos = { x = -25.3, y = 0.5, z = -62.8 } },
|
||||
{ config_id = 22, shape = RegionShape.SPHERE, radius = 5, pos = { x = -20.3, y = 0.5, z = -63.8 } },
|
||||
{ config_id = 23, shape = RegionShape.SPHERE, radius = 5, pos = { x = -26.4, y = 0.5, z = -64.8 } },
|
||||
{ config_id = 24, shape = RegionShape.SPHERE, radius = 5, pos = { x = -19.8, y = 0.5, z = -65.1 } },
|
||||
{ config_id = 25, shape = RegionShape.SPHERE, radius = 5, pos = { x = -24.7, y = 0.5, z = -62.9 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_19", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_19", action = "action_EVENT_GADGET_CREATE_19" },
|
||||
{ name = "SELECT_OPTION_20", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_20", action = "action_EVENT_SELECT_OPTION_20", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_21", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_21", action = "action_EVENT_SELECT_OPTION_21", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_22", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_22", action = "action_EVENT_SELECT_OPTION_22", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_23", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_23", action = "action_EVENT_SELECT_OPTION_23", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_24", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_24", action = "action_EVENT_SELECT_OPTION_24", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_25", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_25", action = "action_EVENT_SELECT_OPTION_25", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { 58, 59, 60, 61 },
|
||||
gadgets = { 4 },
|
||||
regions = { 19, 20, 21, 22, 23, 24, 25 },
|
||||
triggers = { "GADGET_CREATE_19", "SELECT_OPTION_20", "SELECT_OPTION_21", "SELECT_OPTION_22", "SELECT_OPTION_23", "SELECT_OPTION_24", "SELECT_OPTION_25" },
|
||||
rand_weight = 100
|
||||
},
|
||||
{
|
||||
-- suite_id = 1,
|
||||
-- description = suite_2,
|
||||
monsters = { 62, 63 },
|
||||
gadgets = { 4 },
|
||||
regions = { 19, 20, 21, 22, 23, 24, 25 },
|
||||
triggers = { "GADGET_CREATE_19", "SELECT_OPTION_20", "SELECT_OPTION_21", "SELECT_OPTION_22", "SELECT_OPTION_23", "SELECT_OPTION_24", "SELECT_OPTION_25" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 2,
|
||||
-- description = suite_3,
|
||||
monsters = { 64, 65, 66 },
|
||||
gadgets = { 4 },
|
||||
regions = { 19, 20, 21, 22, 23, 24, 25 },
|
||||
triggers = { "GADGET_CREATE_19", "SELECT_OPTION_20", "SELECT_OPTION_21", "SELECT_OPTION_22", "SELECT_OPTION_23", "SELECT_OPTION_24", "SELECT_OPTION_25" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 3,
|
||||
-- description = 0,
|
||||
monsters = { 67, 68, 69 },
|
||||
gadgets = { 4 },
|
||||
regions = { 19, 20, 21, 22, 23, 24, 25 },
|
||||
triggers = { "GADGET_CREATE_19", "SELECT_OPTION_20", "SELECT_OPTION_21", "SELECT_OPTION_22", "SELECT_OPTION_23", "SELECT_OPTION_24", "SELECT_OPTION_25" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 4,
|
||||
-- description = suite_5,
|
||||
monsters = { 70, 71, 72, 73 },
|
||||
gadgets = { 4 },
|
||||
regions = { 19, 20, 21, 22, 23, 24, 25 },
|
||||
triggers = { "GADGET_CREATE_19", "SELECT_OPTION_20", "SELECT_OPTION_21", "SELECT_OPTION_22", "SELECT_OPTION_23", "SELECT_OPTION_24", "SELECT_OPTION_25" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 5,
|
||||
-- description = suite_6,
|
||||
monsters = { 74, 75, 76 },
|
||||
gadgets = { 4 },
|
||||
regions = { 19, 20, 21, 22, 23, 24, 25 },
|
||||
triggers = { "GADGET_CREATE_19", "SELECT_OPTION_20", "SELECT_OPTION_21", "SELECT_OPTION_22", "SELECT_OPTION_23", "SELECT_OPTION_24", "SELECT_OPTION_25" },
|
||||
rand_weight = 0
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_19(context, evt)
|
||||
if 4 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_19(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {145,146,147,148,149,150}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_20(context, evt)
|
||||
-- 判断是gadgetid 4
|
||||
if 4 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_20(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 145 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 1 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 4, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_21(context, evt)
|
||||
-- 判断是gadgetid 4
|
||||
if 4 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_21(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 146 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 2 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 4, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_22(context, evt)
|
||||
-- 判断是gadgetid 4
|
||||
if 4 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_22(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 147 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 3 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 4, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_23(context, evt)
|
||||
-- 判断是gadgetid 4
|
||||
if 4 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_23(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 148 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 4 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 4, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_24(context, evt)
|
||||
-- 判断是gadgetid 4
|
||||
if 4 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_24(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 149 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 5 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 4, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_25(context, evt)
|
||||
-- 判断是gadgetid 4
|
||||
if 4 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_25(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 150 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 6 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 4, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
169
soggy_resources/lua/Scene/1011/scene1011_group201011005.lua
Normal file
169
soggy_resources/lua/Scene/1011/scene1011_group201011005.lua
Normal file
@@ -0,0 +1,169 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 77, monster_id = 20010801, pos = { x = 23.1, y = 0.4, z = 7.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 78, monster_id = 20010901, pos = { x = 20.4, y = 0.4, z = 10.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 79, monster_id = 21010901, pos = { x = 31.8, y = 0.4, z = 12.0 }, rot = { x = 0.0, y = 199.6, z = 0.0 }, level = 0 },
|
||||
{ config_id = 80, monster_id = 22010201, pos = { x = 20.4, y = 0.4, z = 5.9 }, rot = { x = 0.0, y = 171.8, z = 0.0 }, level = 0 },
|
||||
{ config_id = 81, monster_id = 20010701, pos = { x = 18.1, y = 0.4, z = 6.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 82, monster_id = 20010701, pos = { x = 21.8, y = 0.4, z = 7.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 6, gadget_id = 70900011, pos = { x = 7.0, y = 7.4, z = 5.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, arguments = { 5, 5 } },
|
||||
{ config_id = 7, gadget_id = 70900011, pos = { x = 36.1, y = 5.5, z = -1.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, arguments = { 5, 5 } },
|
||||
{ config_id = 8, gadget_id = 70360002, pos = { x = 19.9, y = 0.4, z = -18.3 }, rot = { x = 0.0, y = 56.1, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 33, shape = RegionShape.SPHERE, radius = 5, pos = { x = 19.9, y = 0.4, z = -18.3 } },
|
||||
{ config_id = 34, shape = RegionShape.SPHERE, radius = 5, pos = { x = 20.1, y = 0.4, z = -18.5 } },
|
||||
{ config_id = 35, shape = RegionShape.SPHERE, radius = 5, pos = { x = 20.2, y = 0.4, z = -18.7 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_33", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_33", action = "action_EVENT_GADGET_CREATE_33" },
|
||||
{ name = "SELECT_OPTION_34", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_34", action = "action_EVENT_SELECT_OPTION_34", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_35", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_35", action = "action_EVENT_SELECT_OPTION_35", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { 77, 78, 79 },
|
||||
gadgets = { 8 },
|
||||
regions = { 33, 34, 35 },
|
||||
triggers = { "GADGET_CREATE_33", "SELECT_OPTION_34", "SELECT_OPTION_35" },
|
||||
rand_weight = 100
|
||||
},
|
||||
{
|
||||
-- suite_id = 1,
|
||||
-- description = suite_2,
|
||||
monsters = { 80, 81, 82 },
|
||||
gadgets = { 8 },
|
||||
regions = { 33, 34, 35 },
|
||||
triggers = { "GADGET_CREATE_33", "SELECT_OPTION_34", "SELECT_OPTION_35" },
|
||||
rand_weight = 0
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_33(context, evt)
|
||||
if 8 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_33(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {164,165}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_34(context, evt)
|
||||
-- 判断是gadgetid 8
|
||||
if 8 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_34(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 164 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011005, suite = 1 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 8, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_35(context, evt)
|
||||
-- 判断是gadgetid 8
|
||||
if 8 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_35(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 165 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011005, suite = 2 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 8, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
435
soggy_resources/lua/Scene/1011/scene1011_group201011006.lua
Normal file
435
soggy_resources/lua/Scene/1011/scene1011_group201011006.lua
Normal file
@@ -0,0 +1,435 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 83, monster_id = 21010201, pos = { x = -22.0, y = 0.4, z = 9.9 }, rot = { x = 0.0, y = 172.8, z = 0.0 }, level = 0 },
|
||||
{ config_id = 84, monster_id = 21010201, pos = { x = -18.7, y = 0.4, z = 10.2 }, rot = { x = 0.0, y = 211.1, z = 0.0 }, level = 0 },
|
||||
{ config_id = 85, monster_id = 21010201, pos = { x = -15.3, y = 0.4, z = 10.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 86, monster_id = 21010401, pos = { x = -1.0, y = 6.6, z = 13.1 }, rot = { x = 0.0, y = 210.3, z = 0.0 }, level = 0 },
|
||||
{ config_id = 87, monster_id = 21010401, pos = { x = -28.0, y = 6.5, z = 12.2 }, rot = { x = 0.0, y = 163.1, z = 0.0 }, level = 0 },
|
||||
{ config_id = 88, monster_id = 21010301, pos = { x = -8.1, y = 0.5, z = 10.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 89, monster_id = 21010301, pos = { x = -16.8, y = 0.5, z = 10.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 90, monster_id = 21010201, pos = { x = -14.0, y = 0.5, z = 11.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 91, monster_id = 21010201, pos = { x = -10.7, y = 0.5, z = 13.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 92, monster_id = 21010201, pos = { x = -12.1, y = 0.5, z = 10.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 93, monster_id = 21030301, pos = { x = -6.8, y = 0.5, z = 13.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 94, monster_id = 21010201, pos = { x = -9.9, y = 0.5, z = 10.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 95, monster_id = 21010201, pos = { x = -16.2, y = 0.5, z = 14.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 96, monster_id = 21010201, pos = { x = -8.8, y = 0.5, z = 14.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 97, monster_id = 21020201, pos = { x = -18.8, y = 0.5, z = 15.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 98, monster_id = 21020101, pos = { x = -14.1, y = 0.5, z = 8.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 99, monster_id = 21010301, pos = { x = -4.6, y = 0.5, z = 13.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 100, monster_id = 21010301, pos = { x = -21.5, y = 0.5, z = 14.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 101, monster_id = 21030201, pos = { x = -6.0, y = 0.5, z = 11.8 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 102, monster_id = 20011201, pos = { x = -9.1, y = 0.5, z = 10.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 103, monster_id = 20011201, pos = { x = -18.6, y = 0.5, z = 9.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 104, monster_id = 20011301, pos = { x = -12.6, y = 0.5, z = 8.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 105, monster_id = 23040101, pos = { x = -13.6, y = 0.5, z = 12.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, pose_id = 101 },
|
||||
{ config_id = 106, monster_id = 21010401, pos = { x = -1.1, y = 6.5, z = 13.5 }, rot = { x = 0.0, y = 209.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 107, monster_id = 21010401, pos = { x = -27.2, y = 6.5, z = 12.6 }, rot = { x = 0.0, y = 162.9, z = 0.0 }, level = 0 },
|
||||
{ config_id = 108, monster_id = 22010101, pos = { x = -14.0, y = 0.5, z = 7.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 109, monster_id = 20011201, pos = { x = -4.2, y = 0.5, z = 10.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 110, monster_id = 20011201, pos = { x = -23.9, y = 0.5, z = 9.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 9, gadget_id = 70360002, pos = { x = -6.1, y = 0.5, z = -18.8 }, rot = { x = 0.0, y = 261.6, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 36, shape = RegionShape.SPHERE, radius = 5, pos = { x = -4.6, y = 0.5, z = -18.3 } },
|
||||
{ config_id = 37, shape = RegionShape.SPHERE, radius = 5, pos = { x = -6.2, y = 0.5, z = -18.2 } },
|
||||
{ config_id = 38, shape = RegionShape.SPHERE, radius = 5, pos = { x = -4.1, y = 0.5, z = -18.8 } },
|
||||
{ config_id = 39, shape = RegionShape.SPHERE, radius = 5, pos = { x = -3.6, y = 0.5, z = -17.6 } },
|
||||
{ config_id = 40, shape = RegionShape.SPHERE, radius = 5, pos = { x = -2.8, y = 0.5, z = -17.7 } },
|
||||
{ config_id = 41, shape = RegionShape.SPHERE, radius = 5, pos = { x = -7.0, y = 0.5, z = -17.1 } },
|
||||
{ config_id = 42, shape = RegionShape.SPHERE, radius = 5, pos = { x = -4.6, y = 0.5, z = -14.8 } },
|
||||
{ config_id = 43, shape = RegionShape.SPHERE, radius = 5, pos = { x = -8.0, y = 0.5, z = -17.3 } },
|
||||
{ config_id = 44, shape = RegionShape.SPHERE, radius = 5, pos = { x = -8.5, y = 0.5, z = -18.9 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_36", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_36", action = "action_EVENT_GADGET_CREATE_36" },
|
||||
{ name = "SELECT_OPTION_37", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_37", action = "action_EVENT_SELECT_OPTION_37", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_38", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_38", action = "action_EVENT_SELECT_OPTION_38", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_39", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_39", action = "action_EVENT_SELECT_OPTION_39", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_40", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_40", action = "action_EVENT_SELECT_OPTION_40", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_41", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_41", action = "action_EVENT_SELECT_OPTION_41", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_42", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_42", action = "action_EVENT_SELECT_OPTION_42", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_43", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_43", action = "action_EVENT_SELECT_OPTION_43", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_44", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_44", action = "action_EVENT_SELECT_OPTION_44", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { 83, 84, 85 },
|
||||
gadgets = { 9 },
|
||||
regions = { 36, 37, 38, 39, 40, 41, 42, 43, 44 },
|
||||
triggers = { "GADGET_CREATE_36", "SELECT_OPTION_37", "SELECT_OPTION_38", "SELECT_OPTION_39", "SELECT_OPTION_40", "SELECT_OPTION_41", "SELECT_OPTION_42", "SELECT_OPTION_43", "SELECT_OPTION_44" },
|
||||
rand_weight = 100
|
||||
},
|
||||
{
|
||||
-- suite_id = 1,
|
||||
-- description = suite_2,
|
||||
monsters = { 86, 87, 88, 89 },
|
||||
gadgets = { 9 },
|
||||
regions = { 36, 37, 38, 39, 40, 41, 42, 43, 44 },
|
||||
triggers = { "GADGET_CREATE_36", "SELECT_OPTION_37", "SELECT_OPTION_38", "SELECT_OPTION_39", "SELECT_OPTION_40", "SELECT_OPTION_41", "SELECT_OPTION_42", "SELECT_OPTION_43", "SELECT_OPTION_44" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 2,
|
||||
-- description = suite_3,
|
||||
monsters = { 90, 91, 92, 93 },
|
||||
gadgets = { 9 },
|
||||
regions = { 36, 37, 38, 39, 40, 41, 42, 43, 44 },
|
||||
triggers = { "GADGET_CREATE_36", "SELECT_OPTION_37", "SELECT_OPTION_38", "SELECT_OPTION_39", "SELECT_OPTION_40", "SELECT_OPTION_41", "SELECT_OPTION_42", "SELECT_OPTION_43", "SELECT_OPTION_44" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 3,
|
||||
-- description = suite_4,
|
||||
monsters = { 94, 95, 96, 97 },
|
||||
gadgets = { 9 },
|
||||
regions = { 36, 37, 38, 39, 40, 41, 42, 43, 44 },
|
||||
triggers = { "GADGET_CREATE_36", "SELECT_OPTION_37", "SELECT_OPTION_38", "SELECT_OPTION_39", "SELECT_OPTION_40", "SELECT_OPTION_41", "SELECT_OPTION_42", "SELECT_OPTION_43", "SELECT_OPTION_44" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 4,
|
||||
-- description = suite_5,
|
||||
monsters = { 98, 99, 100 },
|
||||
gadgets = { 9 },
|
||||
regions = { 36, 37, 38, 39, 40, 41, 42, 43, 44 },
|
||||
triggers = { "GADGET_CREATE_36", "SELECT_OPTION_37", "SELECT_OPTION_38", "SELECT_OPTION_39", "SELECT_OPTION_40", "SELECT_OPTION_41", "SELECT_OPTION_42", "SELECT_OPTION_43", "SELECT_OPTION_44" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 5,
|
||||
-- description = suite_6,
|
||||
monsters = { 101, 102, 103, 104 },
|
||||
gadgets = { 9 },
|
||||
regions = { 36, 37, 38, 39, 40, 41, 42, 43, 44 },
|
||||
triggers = { "GADGET_CREATE_36", "SELECT_OPTION_37", "SELECT_OPTION_38", "SELECT_OPTION_39", "SELECT_OPTION_40", "SELECT_OPTION_41", "SELECT_OPTION_42", "SELECT_OPTION_43", "SELECT_OPTION_44" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 6,
|
||||
-- description = suite_7,
|
||||
monsters = { 105, 106, 107 },
|
||||
gadgets = { 9 },
|
||||
regions = { 36, 37, 38, 39, 40, 41, 42, 43, 44 },
|
||||
triggers = { "GADGET_CREATE_36", "SELECT_OPTION_37", "SELECT_OPTION_38", "SELECT_OPTION_39", "SELECT_OPTION_40", "SELECT_OPTION_41", "SELECT_OPTION_42", "SELECT_OPTION_43", "SELECT_OPTION_44" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 7,
|
||||
-- description = suite_8,
|
||||
monsters = { 108, 109, 110 },
|
||||
gadgets = { 9 },
|
||||
regions = { 36, 37, 38, 39, 40, 41, 42, 43, 44 },
|
||||
triggers = { "GADGET_CREATE_36", "SELECT_OPTION_37", "SELECT_OPTION_38", "SELECT_OPTION_39", "SELECT_OPTION_40", "SELECT_OPTION_41", "SELECT_OPTION_42", "SELECT_OPTION_43", "SELECT_OPTION_44" },
|
||||
rand_weight = 0
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_36(context, evt)
|
||||
if 9 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_36(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {156,157,158,159,160,161,162,163}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_37(context, evt)
|
||||
-- 判断是gadgetid 9
|
||||
if 9 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_37(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 156 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011006, suite = 1 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 9, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_38(context, evt)
|
||||
-- 判断是gadgetid 9
|
||||
if 9 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_38(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 157 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011006, suite = 2 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 9, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_39(context, evt)
|
||||
-- 判断是gadgetid 9
|
||||
if 9 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_39(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 158 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011006, suite = 3 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 9, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_40(context, evt)
|
||||
-- 判断是gadgetid 9
|
||||
if 9 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_40(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 159 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011006, suite = 4 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 9, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_41(context, evt)
|
||||
-- 判断是gadgetid 9
|
||||
if 9 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_41(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 160 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011006, suite = 5 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 9, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_42(context, evt)
|
||||
-- 判断是gadgetid 9
|
||||
if 9 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_42(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 161 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011006, suite = 6 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 9, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_43(context, evt)
|
||||
-- 判断是gadgetid 9
|
||||
if 9 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_43(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 162 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011006, suite = 7 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 9, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_44(context, evt)
|
||||
-- 判断是gadgetid 9
|
||||
if 9 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_44(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 163 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011006, suite = 8 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 9, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
340
soggy_resources/lua/Scene/1011/scene1011_group201011007.lua
Normal file
340
soggy_resources/lua/Scene/1011/scene1011_group201011007.lua
Normal file
@@ -0,0 +1,340 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 10, gadget_id = 70220002, pos = { x = -30.5, y = 0.5, z = 2.9 }, rot = { x = 0.0, y = 112.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 11, gadget_id = 70220002, pos = { x = -28.2, y = 0.5, z = 3.0 }, rot = { x = 0.0, y = 96.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 12, gadget_id = 70220002, pos = { x = -25.9, y = 0.5, z = 2.8 }, rot = { x = 0.0, y = 152.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 13, gadget_id = 70220002, pos = { x = -24.0, y = 0.5, z = 2.7 }, rot = { x = 0.0, y = 189.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 14, gadget_id = 70220002, pos = { x = -22.3, y = 0.5, z = 2.8 }, rot = { x = 0.0, y = 242.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 15, gadget_id = 70220002, pos = { x = -20.5, y = 0.5, z = 2.8 }, rot = { x = 0.0, y = 322.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 16, gadget_id = 70220002, pos = { x = -18.6, y = 0.5, z = 2.8 }, rot = { x = 0.0, y = 48.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 17, gadget_id = 70220002, pos = { x = -16.8, y = 0.5, z = 2.9 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 18, gadget_id = 70220002, pos = { x = -14.8, y = 0.5, z = 2.7 }, rot = { x = 0.0, y = 23.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 19, gadget_id = 70220002, pos = { x = -12.6, y = 0.5, z = 2.8 }, rot = { x = 0.0, y = 341.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 20, gadget_id = 70220002, pos = { x = -10.5, y = 0.5, z = 2.6 }, rot = { x = 0.0, y = 351.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 21, gadget_id = 70220002, pos = { x = -8.5, y = 0.5, z = 2.5 }, rot = { x = 0.0, y = 232.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 22, gadget_id = 70220002, pos = { x = -6.4, y = 0.5, z = 2.6 }, rot = { x = 0.0, y = 284.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 23, gadget_id = 70220002, pos = { x = -4.4, y = 0.5, z = 2.6 }, rot = { x = 0.0, y = 2.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 24, gadget_id = 70220002, pos = { x = -2.3, y = 0.5, z = 2.2 }, rot = { x = 0.0, y = 346.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 25, gadget_id = 70220002, pos = { x = -0.6, y = 0.5, z = 1.9 }, rot = { x = 0.0, y = 30.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 26, gadget_id = 70220002, pos = { x = 0.8, y = 0.5, z = 1.8 }, rot = { x = 0.0, y = 179.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 27, gadget_id = 70220002, pos = { x = -29.4, y = 0.5, z = 1.9 }, rot = { x = 0.0, y = 213.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 28, gadget_id = 70220002, pos = { x = -31.0, y = 0.5, z = 1.2 }, rot = { x = 0.0, y = 266.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 29, gadget_id = 70220002, pos = { x = -27.4, y = 0.5, z = 1.3 }, rot = { x = 0.0, y = 206.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 30, gadget_id = 70220002, pos = { x = -25.6, y = 0.5, z = 1.2 }, rot = { x = 0.0, y = 250.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 31, gadget_id = 70220002, pos = { x = -23.6, y = 0.5, z = 1.3 }, rot = { x = 0.0, y = 7.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 32, gadget_id = 70220002, pos = { x = -22.0, y = 0.5, z = 1.5 }, rot = { x = 0.0, y = 58.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 33, gadget_id = 70220002, pos = { x = -20.1, y = 0.5, z = 1.2 }, rot = { x = 0.0, y = 33.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 34, gadget_id = 70220002, pos = { x = -18.4, y = 0.5, z = 1.3 }, rot = { x = 0.0, y = 78.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 35, gadget_id = 70220002, pos = { x = -16.6, y = 0.5, z = 1.3 }, rot = { x = 0.0, y = 187.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 36, gadget_id = 70220002, pos = { x = -14.7, y = 0.5, z = 1.2 }, rot = { x = 0.0, y = 314.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 37, gadget_id = 70220002, pos = { x = -13.3, y = 0.5, z = 1.3 }, rot = { x = 0.0, y = 311.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 38, gadget_id = 70220002, pos = { x = -11.6, y = 0.5, z = 1.2 }, rot = { x = 0.0, y = 151.7, z = 0.0 }, level = 1 },
|
||||
{ config_id = 39, gadget_id = 70220002, pos = { x = -10.0, y = 0.5, z = 1.1 }, rot = { x = 0.0, y = 186.7, z = 0.0 }, level = 1 },
|
||||
{ config_id = 40, gadget_id = 70220002, pos = { x = -8.5, y = 0.5, z = 1.2 }, rot = { x = 0.0, y = 310.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 41, gadget_id = 70220002, pos = { x = -6.9, y = 0.5, z = 0.9 }, rot = { x = 0.0, y = 42.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 42, gadget_id = 70220002, pos = { x = -5.4, y = 0.5, z = 0.9 }, rot = { x = 0.0, y = 297.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 43, gadget_id = 70220002, pos = { x = -3.5, y = 0.5, z = 0.8 }, rot = { x = 0.0, y = 352.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 44, gadget_id = 70220002, pos = { x = -1.8, y = 0.5, z = 0.4 }, rot = { x = 0.0, y = 284.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 45, gadget_id = 70220002, pos = { x = -0.2, y = 0.5, z = 0.1 }, rot = { x = 0.0, y = 205.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 46, gadget_id = 70220002, pos = { x = 1.3, y = 0.5, z = 0.1 }, rot = { x = 0.0, y = 145.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 47, gadget_id = 70220002, pos = { x = -30.7, y = 0.5, z = -0.3 }, rot = { x = 0.0, y = 112.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 48, gadget_id = 70220002, pos = { x = -28.5, y = 0.5, z = -0.2 }, rot = { x = 0.0, y = 96.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 49, gadget_id = 70220002, pos = { x = -26.1, y = 0.5, z = -0.4 }, rot = { x = 0.0, y = 152.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 50, gadget_id = 70220002, pos = { x = -24.2, y = 0.5, z = -0.5 }, rot = { x = 0.0, y = 189.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 51, gadget_id = 70220002, pos = { x = -22.5, y = 0.5, z = -0.4 }, rot = { x = 0.0, y = 242.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 52, gadget_id = 70220002, pos = { x = -20.7, y = 0.5, z = -0.4 }, rot = { x = 0.0, y = 322.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 53, gadget_id = 70220002, pos = { x = -18.9, y = 0.5, z = -0.5 }, rot = { x = 0.0, y = 48.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 54, gadget_id = 70220002, pos = { x = -17.1, y = 0.5, z = -0.4 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 55, gadget_id = 70220002, pos = { x = -15.0, y = 0.5, z = -0.5 }, rot = { x = 0.0, y = 23.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 56, gadget_id = 70220002, pos = { x = -12.8, y = 0.5, z = -0.4 }, rot = { x = 0.0, y = 341.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 57, gadget_id = 70220002, pos = { x = -10.8, y = 0.5, z = -0.6 }, rot = { x = 0.0, y = 351.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 58, gadget_id = 70220002, pos = { x = -8.8, y = 0.5, z = -0.7 }, rot = { x = 0.0, y = 232.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 59, gadget_id = 70220002, pos = { x = -6.7, y = 0.5, z = -0.6 }, rot = { x = 0.0, y = 284.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 60, gadget_id = 70220002, pos = { x = -4.6, y = 0.5, z = -0.7 }, rot = { x = 0.0, y = 2.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 61, gadget_id = 70220002, pos = { x = -2.6, y = 0.5, z = -1.0 }, rot = { x = 0.0, y = 346.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 62, gadget_id = 70220002, pos = { x = -0.8, y = 0.5, z = -1.4 }, rot = { x = 0.0, y = 30.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 63, gadget_id = 70220002, pos = { x = 0.5, y = 0.5, z = -1.4 }, rot = { x = 0.0, y = 179.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 64, gadget_id = 70220002, pos = { x = -29.6, y = 0.5, z = -1.4 }, rot = { x = 0.0, y = 213.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 65, gadget_id = 70220002, pos = { x = -31.3, y = 0.5, z = -2.1 }, rot = { x = 0.0, y = 266.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 66, gadget_id = 70220002, pos = { x = -27.7, y = 0.5, z = -1.9 }, rot = { x = 0.0, y = 206.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 67, gadget_id = 70220002, pos = { x = -25.8, y = 0.5, z = -2.0 }, rot = { x = 0.0, y = 250.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 68, gadget_id = 70220002, pos = { x = -23.9, y = 0.5, z = -1.9 }, rot = { x = 0.0, y = 7.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 69, gadget_id = 70220002, pos = { x = -22.2, y = 0.5, z = -1.8 }, rot = { x = 0.0, y = 58.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 70, gadget_id = 70220002, pos = { x = -20.3, y = 0.5, z = -2.1 }, rot = { x = 0.0, y = 33.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 71, gadget_id = 70220002, pos = { x = -18.6, y = 0.5, z = -1.9 }, rot = { x = 0.0, y = 78.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 72, gadget_id = 70220002, pos = { x = -16.8, y = 0.5, z = -2.0 }, rot = { x = 0.0, y = 187.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 73, gadget_id = 70220002, pos = { x = -15.0, y = 0.5, z = -2.0 }, rot = { x = 0.0, y = 314.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 74, gadget_id = 70220002, pos = { x = -13.5, y = 0.5, z = -1.9 }, rot = { x = 0.0, y = 311.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 75, gadget_id = 70220002, pos = { x = -11.8, y = 0.5, z = -2.0 }, rot = { x = 0.0, y = 151.7, z = 0.0 }, level = 1 },
|
||||
{ config_id = 76, gadget_id = 70220002, pos = { x = -10.3, y = 0.5, z = -2.1 }, rot = { x = 0.0, y = 186.7, z = 0.0 }, level = 1 },
|
||||
{ config_id = 77, gadget_id = 70220002, pos = { x = -8.8, y = 0.5, z = -2.1 }, rot = { x = 0.0, y = 310.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 78, gadget_id = 70220002, pos = { x = -7.1, y = 0.5, z = -2.4 }, rot = { x = 0.0, y = 42.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 79, gadget_id = 70220002, pos = { x = -5.7, y = 0.5, z = -2.4 }, rot = { x = 0.0, y = 297.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 80, gadget_id = 70220002, pos = { x = -3.7, y = 0.5, z = -2.5 }, rot = { x = 0.0, y = 352.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 81, gadget_id = 70220002, pos = { x = -2.1, y = 0.5, z = -2.8 }, rot = { x = 0.0, y = 284.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 82, gadget_id = 70220002, pos = { x = -0.5, y = 0.5, z = -3.1 }, rot = { x = 0.0, y = 205.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 83, gadget_id = 70220002, pos = { x = 1.1, y = 0.5, z = -3.1 }, rot = { x = 0.0, y = 145.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 84, gadget_id = 70220002, pos = { x = -31.0, y = 0.5, z = -3.4 }, rot = { x = 0.0, y = 112.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 85, gadget_id = 70220002, pos = { x = -28.8, y = 0.5, z = -3.3 }, rot = { x = 0.0, y = 96.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 86, gadget_id = 70220002, pos = { x = -26.4, y = 0.5, z = -3.5 }, rot = { x = 0.0, y = 152.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 87, gadget_id = 70220002, pos = { x = -24.5, y = 0.5, z = -3.6 }, rot = { x = 0.0, y = 189.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 88, gadget_id = 70220002, pos = { x = -22.8, y = 0.5, z = -3.5 }, rot = { x = 0.0, y = 242.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 89, gadget_id = 70220002, pos = { x = -21.0, y = 0.5, z = -3.5 }, rot = { x = 0.0, y = 322.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 90, gadget_id = 70220002, pos = { x = -19.1, y = 0.5, z = -3.5 }, rot = { x = 0.0, y = 48.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 91, gadget_id = 70220002, pos = { x = -17.4, y = 0.5, z = -3.4 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 92, gadget_id = 70220002, pos = { x = -15.3, y = 0.5, z = -3.6 }, rot = { x = 0.0, y = 23.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 93, gadget_id = 70220002, pos = { x = -13.1, y = 0.5, z = -3.5 }, rot = { x = 0.0, y = 341.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 94, gadget_id = 70220002, pos = { x = -11.0, y = 0.5, z = -3.7 }, rot = { x = 0.0, y = 351.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 95, gadget_id = 70220002, pos = { x = -9.0, y = 0.5, z = -3.8 }, rot = { x = 0.0, y = 232.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 96, gadget_id = 70220002, pos = { x = -7.0, y = 0.5, z = -3.7 }, rot = { x = 0.0, y = 284.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 97, gadget_id = 70220002, pos = { x = -4.9, y = 0.5, z = -3.7 }, rot = { x = 0.0, y = 2.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 98, gadget_id = 70220002, pos = { x = -2.9, y = 0.5, z = -4.1 }, rot = { x = 0.0, y = 346.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 99, gadget_id = 70220002, pos = { x = -1.1, y = 0.5, z = -4.4 }, rot = { x = 0.0, y = 30.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 100, gadget_id = 70220002, pos = { x = 0.2, y = 0.5, z = -4.5 }, rot = { x = 0.0, y = 179.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 101, gadget_id = 70220002, pos = { x = -29.9, y = 0.5, z = -4.4 }, rot = { x = 0.0, y = 213.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 102, gadget_id = 70220002, pos = { x = -31.5, y = 0.5, z = -5.1 }, rot = { x = 0.0, y = 266.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 103, gadget_id = 70220002, pos = { x = -27.9, y = 0.5, z = -5.0 }, rot = { x = 0.0, y = 206.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 104, gadget_id = 70220002, pos = { x = -26.1, y = 0.5, z = -5.1 }, rot = { x = 0.0, y = 250.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 105, gadget_id = 70220002, pos = { x = -24.2, y = 0.5, z = -5.0 }, rot = { x = 0.0, y = 7.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 106, gadget_id = 70220002, pos = { x = -22.5, y = 0.5, z = -4.8 }, rot = { x = 0.0, y = 58.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 107, gadget_id = 70220002, pos = { x = -20.6, y = 0.5, z = -5.1 }, rot = { x = 0.0, y = 33.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 108, gadget_id = 70220002, pos = { x = -18.9, y = 0.5, z = -5.0 }, rot = { x = 0.0, y = 78.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 109, gadget_id = 70220002, pos = { x = -17.1, y = 0.5, z = -5.0 }, rot = { x = 0.0, y = 187.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 110, gadget_id = 70220002, pos = { x = -15.3, y = 0.5, z = -5.1 }, rot = { x = 0.0, y = 314.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 111, gadget_id = 70220002, pos = { x = -13.8, y = 0.5, z = -5.0 }, rot = { x = 0.0, y = 311.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 112, gadget_id = 70220002, pos = { x = -12.1, y = 0.5, z = -5.1 }, rot = { x = 0.0, y = 151.7, z = 0.0 }, level = 1 },
|
||||
{ config_id = 113, gadget_id = 70220002, pos = { x = -10.5, y = 0.5, z = -5.2 }, rot = { x = 0.0, y = 186.7, z = 0.0 }, level = 1 },
|
||||
{ config_id = 114, gadget_id = 70220002, pos = { x = -9.0, y = 0.5, z = -5.1 }, rot = { x = 0.0, y = 310.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 115, gadget_id = 70220002, pos = { x = -7.4, y = 0.5, z = -5.4 }, rot = { x = 0.0, y = 42.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 116, gadget_id = 70220002, pos = { x = -6.0, y = 0.5, z = -5.4 }, rot = { x = 0.0, y = 297.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 117, gadget_id = 70220002, pos = { x = -4.0, y = 0.5, z = -5.5 }, rot = { x = 0.0, y = 352.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 118, gadget_id = 70220002, pos = { x = -2.3, y = 0.5, z = -5.9 }, rot = { x = 0.0, y = 284.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 119, gadget_id = 70220002, pos = { x = -0.8, y = 0.5, z = -6.2 }, rot = { x = 0.0, y = 205.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 120, gadget_id = 70220002, pos = { x = 0.8, y = 0.5, z = -6.2 }, rot = { x = 0.0, y = 145.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 121, gadget_id = 70220002, pos = { x = -31.2, y = 0.5, z = -6.1 }, rot = { x = 0.0, y = 112.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 122, gadget_id = 70220002, pos = { x = -29.0, y = 0.5, z = -6.0 }, rot = { x = 0.0, y = 96.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 123, gadget_id = 70220002, pos = { x = -26.6, y = 0.5, z = -6.2 }, rot = { x = 0.0, y = 152.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 124, gadget_id = 70220002, pos = { x = -24.7, y = 0.5, z = -6.2 }, rot = { x = 0.0, y = 189.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 125, gadget_id = 70220002, pos = { x = -23.0, y = 0.5, z = -6.1 }, rot = { x = 0.0, y = 242.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 126, gadget_id = 70220002, pos = { x = -21.2, y = 0.5, z = -6.2 }, rot = { x = 0.0, y = 322.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 127, gadget_id = 70220002, pos = { x = -19.3, y = 0.5, z = -6.2 }, rot = { x = 0.0, y = 48.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 128, gadget_id = 70220002, pos = { x = -17.6, y = 0.5, z = -6.1 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 129, gadget_id = 70220002, pos = { x = -15.5, y = 0.5, z = -6.2 }, rot = { x = 0.0, y = 23.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 130, gadget_id = 70220002, pos = { x = -13.3, y = 0.5, z = -6.1 }, rot = { x = 0.0, y = 341.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 131, gadget_id = 70220002, pos = { x = -11.3, y = 0.5, z = -6.3 }, rot = { x = 0.0, y = 351.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 132, gadget_id = 70220002, pos = { x = -9.2, y = 0.5, z = -6.4 }, rot = { x = 0.0, y = 232.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 133, gadget_id = 70220002, pos = { x = -7.2, y = 0.5, z = -6.3 }, rot = { x = 0.0, y = 284.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 134, gadget_id = 70220002, pos = { x = -5.1, y = 0.5, z = -6.4 }, rot = { x = 0.0, y = 2.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 135, gadget_id = 70220002, pos = { x = -3.1, y = 0.5, z = -6.7 }, rot = { x = 0.0, y = 346.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 136, gadget_id = 70220002, pos = { x = -1.3, y = 0.5, z = -7.1 }, rot = { x = 0.0, y = 30.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 137, gadget_id = 70220002, pos = { x = 0.0, y = 0.5, z = -7.2 }, rot = { x = 0.0, y = 179.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 138, gadget_id = 70220002, pos = { x = -30.1, y = 0.5, z = -7.1 }, rot = { x = 0.0, y = 213.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 139, gadget_id = 70220002, pos = { x = -31.7, y = 0.5, z = -7.8 }, rot = { x = 0.0, y = 266.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 140, gadget_id = 70220002, pos = { x = -28.1, y = 0.5, z = -7.7 }, rot = { x = 0.0, y = 206.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 141, gadget_id = 70220002, pos = { x = -26.3, y = 0.5, z = -7.8 }, rot = { x = 0.0, y = 250.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 142, gadget_id = 70220002, pos = { x = -24.4, y = 0.5, z = -7.7 }, rot = { x = 0.0, y = 7.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 143, gadget_id = 70220002, pos = { x = -22.7, y = 0.5, z = -7.5 }, rot = { x = 0.0, y = 58.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 144, gadget_id = 70220002, pos = { x = -20.8, y = 0.5, z = -7.8 }, rot = { x = 0.0, y = 33.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 145, gadget_id = 70220002, pos = { x = -19.1, y = 0.5, z = -7.6 }, rot = { x = 0.0, y = 78.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 146, gadget_id = 70220002, pos = { x = -17.3, y = 0.5, z = -7.7 }, rot = { x = 0.0, y = 187.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 147, gadget_id = 70220002, pos = { x = -15.5, y = 0.5, z = -7.8 }, rot = { x = 0.0, y = 314.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 148, gadget_id = 70220002, pos = { x = -14.0, y = 0.5, z = -7.6 }, rot = { x = 0.0, y = 311.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 149, gadget_id = 70220002, pos = { x = -12.3, y = 0.5, z = -7.7 }, rot = { x = 0.0, y = 151.7, z = 0.0 }, level = 1 },
|
||||
{ config_id = 150, gadget_id = 70220002, pos = { x = -10.7, y = 0.5, z = -7.8 }, rot = { x = 0.0, y = 186.7, z = 0.0 }, level = 1 },
|
||||
{ config_id = 151, gadget_id = 70220002, pos = { x = -9.3, y = 0.5, z = -7.8 }, rot = { x = 0.0, y = 310.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 152, gadget_id = 70220002, pos = { x = -7.6, y = 0.5, z = -8.1 }, rot = { x = 0.0, y = 42.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 153, gadget_id = 70220002, pos = { x = -6.2, y = 0.5, z = -8.1 }, rot = { x = 0.0, y = 297.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 154, gadget_id = 70220002, pos = { x = -4.2, y = 0.5, z = -8.2 }, rot = { x = 0.0, y = 352.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 155, gadget_id = 70220002, pos = { x = -2.5, y = 0.5, z = -8.6 }, rot = { x = 0.0, y = 284.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 156, gadget_id = 70220002, pos = { x = -1.0, y = 0.5, z = -8.8 }, rot = { x = 0.0, y = 205.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 157, gadget_id = 70220002, pos = { x = 0.6, y = 0.5, z = -8.8 }, rot = { x = 0.0, y = 145.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 158, gadget_id = 70220002, pos = { x = -31.2, y = 0.5, z = -8.9 }, rot = { x = 0.0, y = 112.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 159, gadget_id = 70220002, pos = { x = -28.9, y = 0.5, z = -8.8 }, rot = { x = 0.0, y = 96.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 160, gadget_id = 70220002, pos = { x = -26.6, y = 0.5, z = -9.0 }, rot = { x = 0.0, y = 152.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 161, gadget_id = 70220002, pos = { x = -24.7, y = 0.5, z = -9.0 }, rot = { x = 0.0, y = 189.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 162, gadget_id = 70220002, pos = { x = -23.0, y = 0.5, z = -8.9 }, rot = { x = 0.0, y = 242.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 163, gadget_id = 70220002, pos = { x = -21.2, y = 0.5, z = -9.0 }, rot = { x = 0.0, y = 322.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 164, gadget_id = 70220002, pos = { x = -19.3, y = 0.5, z = -9.0 }, rot = { x = 0.0, y = 48.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 165, gadget_id = 70220002, pos = { x = -17.5, y = 0.5, z = -8.9 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 166, gadget_id = 70220002, pos = { x = -15.5, y = 0.5, z = -9.0 }, rot = { x = 0.0, y = 23.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 167, gadget_id = 70220002, pos = { x = -13.3, y = 0.5, z = -8.9 }, rot = { x = 0.0, y = 341.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 168, gadget_id = 70220002, pos = { x = -11.2, y = 0.5, z = -9.1 }, rot = { x = 0.0, y = 351.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 169, gadget_id = 70220002, pos = { x = -9.2, y = 0.5, z = -9.2 }, rot = { x = 0.0, y = 232.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 170, gadget_id = 70220002, pos = { x = -7.1, y = 0.5, z = -9.2 }, rot = { x = 0.0, y = 284.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 171, gadget_id = 70220002, pos = { x = -5.1, y = 0.5, z = -9.2 }, rot = { x = 0.0, y = 2.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 172, gadget_id = 70220002, pos = { x = -3.1, y = 0.5, z = -9.5 }, rot = { x = 0.0, y = 346.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 173, gadget_id = 70220002, pos = { x = -1.3, y = 0.5, z = -9.9 }, rot = { x = 0.0, y = 30.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 174, gadget_id = 70220002, pos = { x = 0.1, y = 0.5, z = -10.0 }, rot = { x = 0.0, y = 179.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 175, gadget_id = 70220002, pos = { x = -30.1, y = 0.5, z = -9.9 }, rot = { x = 0.0, y = 213.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 176, gadget_id = 70220002, pos = { x = -31.7, y = 0.5, z = -10.6 }, rot = { x = 0.0, y = 266.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 177, gadget_id = 70220002, pos = { x = -28.1, y = 0.5, z = -10.5 }, rot = { x = 0.0, y = 206.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 178, gadget_id = 70220002, pos = { x = -26.3, y = 0.5, z = -10.6 }, rot = { x = 0.0, y = 250.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 179, gadget_id = 70220002, pos = { x = -24.3, y = 0.5, z = -10.5 }, rot = { x = 0.0, y = 7.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 180, gadget_id = 70220002, pos = { x = -22.7, y = 0.5, z = -10.3 }, rot = { x = 0.0, y = 58.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 181, gadget_id = 70220002, pos = { x = -20.8, y = 0.5, z = -10.6 }, rot = { x = 0.0, y = 33.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 182, gadget_id = 70220002, pos = { x = -19.1, y = 0.5, z = -10.4 }, rot = { x = 0.0, y = 78.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 183, gadget_id = 70220002, pos = { x = -17.3, y = 0.5, z = -10.5 }, rot = { x = 0.0, y = 187.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 184, gadget_id = 70220002, pos = { x = -15.5, y = 0.5, z = -10.6 }, rot = { x = 0.0, y = 314.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 185, gadget_id = 70220002, pos = { x = -14.0, y = 0.5, z = -10.5 }, rot = { x = 0.0, y = 311.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 186, gadget_id = 70220002, pos = { x = -12.3, y = 0.5, z = -10.5 }, rot = { x = 0.0, y = 151.7, z = 0.0 }, level = 1 },
|
||||
{ config_id = 187, gadget_id = 70220002, pos = { x = -10.7, y = 0.5, z = -10.6 }, rot = { x = 0.0, y = 186.7, z = 0.0 }, level = 1 },
|
||||
{ config_id = 188, gadget_id = 70220002, pos = { x = -9.2, y = 0.5, z = -10.6 }, rot = { x = 0.0, y = 310.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 189, gadget_id = 70220002, pos = { x = -7.6, y = 0.5, z = -10.9 }, rot = { x = 0.0, y = 42.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 190, gadget_id = 70220002, pos = { x = -6.2, y = 0.5, z = -10.9 }, rot = { x = 0.0, y = 297.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 191, gadget_id = 70220002, pos = { x = -4.2, y = 0.5, z = -11.0 }, rot = { x = 0.0, y = 352.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 192, gadget_id = 70220002, pos = { x = -2.5, y = 0.5, z = -11.4 }, rot = { x = 0.0, y = 284.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 193, gadget_id = 70220002, pos = { x = -1.0, y = 0.5, z = -11.6 }, rot = { x = 0.0, y = 205.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 194, gadget_id = 70220002, pos = { x = 0.6, y = 0.5, z = -11.6 }, rot = { x = 0.0, y = 145.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 195, gadget_id = 70220002, pos = { x = -30.9, y = 0.5, z = -12.0 }, rot = { x = 0.0, y = 112.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 196, gadget_id = 70220002, pos = { x = -28.6, y = 0.5, z = -11.9 }, rot = { x = 0.0, y = 96.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 197, gadget_id = 70220002, pos = { x = -26.3, y = 0.5, z = -12.1 }, rot = { x = 0.0, y = 152.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 198, gadget_id = 70220002, pos = { x = -24.4, y = 0.5, z = -12.2 }, rot = { x = 0.0, y = 189.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 199, gadget_id = 70220002, pos = { x = -22.7, y = 0.5, z = -12.1 }, rot = { x = 0.0, y = 242.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 200, gadget_id = 70220002, pos = { x = -20.9, y = 0.5, z = -12.1 }, rot = { x = 0.0, y = 322.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 201, gadget_id = 70220002, pos = { x = -19.0, y = 0.5, z = -12.1 }, rot = { x = 0.0, y = 48.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 202, gadget_id = 70220002, pos = { x = -17.2, y = 0.5, z = -12.0 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 203, gadget_id = 70220002, pos = { x = -15.2, y = 0.5, z = -12.2 }, rot = { x = 0.0, y = 23.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 204, gadget_id = 70220002, pos = { x = -13.0, y = 0.5, z = -12.1 }, rot = { x = 0.0, y = 341.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 205, gadget_id = 70220002, pos = { x = -10.9, y = 0.5, z = -12.3 }, rot = { x = 0.0, y = 351.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 206, gadget_id = 70220002, pos = { x = -8.9, y = 0.5, z = -12.4 }, rot = { x = 0.0, y = 232.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 207, gadget_id = 70220002, pos = { x = -6.8, y = 0.5, z = -12.3 }, rot = { x = 0.0, y = 284.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 208, gadget_id = 70220002, pos = { x = -4.8, y = 0.5, z = -12.3 }, rot = { x = 0.0, y = 2.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 209, gadget_id = 70220002, pos = { x = -2.7, y = 0.5, z = -12.7 }, rot = { x = 0.0, y = 346.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 210, gadget_id = 70220002, pos = { x = -1.0, y = 0.5, z = -13.0 }, rot = { x = 0.0, y = 30.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 211, gadget_id = 70220002, pos = { x = 0.4, y = 0.5, z = -13.1 }, rot = { x = 0.0, y = 179.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 212, gadget_id = 70220002, pos = { x = -29.8, y = 0.5, z = -13.0 }, rot = { x = 0.0, y = 213.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 213, gadget_id = 70220002, pos = { x = -31.4, y = 0.5, z = -13.7 }, rot = { x = 0.0, y = 266.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 214, gadget_id = 70220002, pos = { x = -27.8, y = 0.5, z = -13.6 }, rot = { x = 0.0, y = 206.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 215, gadget_id = 70220002, pos = { x = -26.0, y = 0.5, z = -13.7 }, rot = { x = 0.0, y = 250.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 216, gadget_id = 70220002, pos = { x = -24.0, y = 0.5, z = -13.6 }, rot = { x = 0.0, y = 7.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 217, gadget_id = 70220002, pos = { x = -22.4, y = 0.5, z = -13.5 }, rot = { x = 0.0, y = 58.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 218, gadget_id = 70220002, pos = { x = -20.5, y = 0.5, z = -13.7 }, rot = { x = 0.0, y = 33.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 219, gadget_id = 70220002, pos = { x = -18.8, y = 0.5, z = -13.6 }, rot = { x = 0.0, y = 78.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 220, gadget_id = 70220002, pos = { x = -17.0, y = 0.5, z = -13.7 }, rot = { x = 0.0, y = 187.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 221, gadget_id = 70220002, pos = { x = -15.1, y = 0.5, z = -13.7 }, rot = { x = 0.0, y = 314.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 222, gadget_id = 70220002, pos = { x = -13.7, y = 0.5, z = -13.6 }, rot = { x = 0.0, y = 311.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 223, gadget_id = 70220002, pos = { x = -12.0, y = 0.5, z = -13.7 }, rot = { x = 0.0, y = 151.7, z = 0.0 }, level = 1 },
|
||||
{ config_id = 224, gadget_id = 70220002, pos = { x = -10.4, y = 0.5, z = -13.8 }, rot = { x = 0.0, y = 186.7, z = 0.0 }, level = 1 },
|
||||
{ config_id = 225, gadget_id = 70220002, pos = { x = -8.9, y = 0.5, z = -13.8 }, rot = { x = 0.0, y = 310.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 226, gadget_id = 70220002, pos = { x = -7.3, y = 0.5, z = -14.1 }, rot = { x = 0.0, y = 42.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 227, gadget_id = 70220002, pos = { x = -5.8, y = 0.5, z = -14.0 }, rot = { x = 0.0, y = 297.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 228, gadget_id = 70220002, pos = { x = -3.9, y = 0.5, z = -14.1 }, rot = { x = 0.0, y = 352.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 229, gadget_id = 70220002, pos = { x = -2.2, y = 0.5, z = -14.5 }, rot = { x = 0.0, y = 284.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 230, gadget_id = 70220002, pos = { x = -0.6, y = 0.5, z = -14.8 }, rot = { x = 0.0, y = 205.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 231, gadget_id = 70220002, pos = { x = 0.9, y = 0.5, z = -14.8 }, rot = { x = 0.0, y = 145.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 232, gadget_id = 70360002, pos = { x = -23.5, y = 0.5, z = -17.6 }, rot = { x = 0.0, y = 52.8, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 45, shape = RegionShape.SPHERE, radius = 5, pos = { x = -23.6, y = 0.5, z = -18.5 } },
|
||||
{ config_id = 46, shape = RegionShape.SPHERE, radius = 5, pos = { x = -25.2, y = 0.5, z = -18.2 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_45", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_45", action = "action_EVENT_GADGET_CREATE_45" },
|
||||
{ name = "SELECT_OPTION_46", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_46", action = "action_EVENT_SELECT_OPTION_46", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232 },
|
||||
regions = { 45, 46 },
|
||||
triggers = { "GADGET_CREATE_45", "SELECT_OPTION_46" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_45(context, evt)
|
||||
if 232 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_45(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {7}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_46(context, evt)
|
||||
-- 判断是gadgetid 232
|
||||
if 232 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_46(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 7 == evt.param2 then
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 232, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011007, suite = 1 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
67
soggy_resources/lua/Scene/1011/scene1011_group201011008.lua
Normal file
67
soggy_resources/lua/Scene/1011/scene1011_group201011008.lua
Normal file
@@ -0,0 +1,67 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 111, monster_id = 21010101, pos = { x = 126.2, y = 0.5, z = 78.8 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { },
|
||||
regions = { },
|
||||
triggers = { },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
69
soggy_resources/lua/Scene/1011/scene1011_group201011009.lua
Normal file
69
soggy_resources/lua/Scene/1011/scene1011_group201011009.lua
Normal file
@@ -0,0 +1,69 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 112, monster_id = 20010201, pos = { x = 115.8, y = 0.5, z = 88.8 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 113, monster_id = 20010101, pos = { x = 86.2, y = 0.5, z = 98.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 114, monster_id = 20010401, pos = { x = 121.0, y = 0.5, z = 128.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { 112, 113, 114 },
|
||||
gadgets = { },
|
||||
regions = { },
|
||||
triggers = { },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
106
soggy_resources/lua/Scene/1011/scene1011_group201011010.lua
Normal file
106
soggy_resources/lua/Scene/1011/scene1011_group201011010.lua
Normal file
@@ -0,0 +1,106 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 116, monster_id = 21010101, pos = { x = 143.8, y = 1.1, z = -2.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 117, monster_id = 21010201, pos = { x = 193.6, y = 1.1, z = -2.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 118, monster_id = 21010301, pos = { x = 242.8, y = 1.1, z = -1.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 119, monster_id = 21010401, pos = { x = 287.9, y = 1.1, z = -1.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 120, monster_id = 21010501, pos = { x = 342.2, y = 1.1, z = -1.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 121, monster_id = 21010601, pos = { x = 389.3, y = 1.1, z = -2.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 122, monster_id = 21010701, pos = { x = 441.7, y = 1.1, z = -2.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 123, monster_id = 21010901, pos = { x = 486.4, y = 1.1, z = -2.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 124, monster_id = 21011001, pos = { x = 536.5, y = 1.1, z = -2.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 125, monster_id = 20011201, pos = { x = 584.5, y = 1.1, z = -2.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 126, monster_id = 20011301, pos = { x = 634.2, y = 1.1, z = -2.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 127, monster_id = 20011401, pos = { x = 686.8, y = 1.1, z = -4.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 128, monster_id = 20011501, pos = { x = 734.6, y = 1.1, z = -2.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 129, monster_id = 20010801, pos = { x = 783.6, y = 1.1, z = -2.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 130, monster_id = 20010901, pos = { x = 833.2, y = 1.1, z = -2.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 131, monster_id = 20011001, pos = { x = 835.0, y = 0.8, z = -48.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 132, monster_id = 20011101, pos = { x = 791.5, y = 0.6, z = -47.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 133, monster_id = 20010101, pos = { x = 743.4, y = 0.5, z = -46.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 134, monster_id = 20010201, pos = { x = 699.8, y = 0.4, z = -47.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 135, monster_id = 20010301, pos = { x = 654.4, y = 0.4, z = -47.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 136, monster_id = 20010401, pos = { x = 607.3, y = 0.6, z = -47.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 137, monster_id = 20010501, pos = { x = 563.0, y = 0.6, z = -47.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 138, monster_id = 20010601, pos = { x = 514.9, y = 0.4, z = -45.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 139, monster_id = 20010601, pos = { x = 469.6, y = 0.4, z = -43.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 140, monster_id = 20010701, pos = { x = 470.5, y = 0.4, z = -48.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 141, monster_id = 20010701, pos = { x = 423.7, y = 0.4, z = -47.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 142, monster_id = 20010501, pos = { x = 426.0, y = 0.4, z = -42.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 143, monster_id = 20010501, pos = { x = 426.5, y = 0.4, z = -49.8 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 144, monster_id = 21030101, pos = { x = 377.0, y = 0.3, z = -49.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 145, monster_id = 21010201, pos = { x = 381.6, y = 0.3, z = -46.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 146, monster_id = 21010201, pos = { x = 381.3, y = 0.3, z = -50.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 147, monster_id = 21030201, pos = { x = 335.5, y = 0.1, z = -47.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 148, monster_id = 21030301, pos = { x = 289.2, y = 0.1, z = -48.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 149, monster_id = 21020101, pos = { x = 243.5, y = -0.1, z = -46.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 150, monster_id = 21020201, pos = { x = 198.4, y = -0.1, z = -47.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 151, monster_id = 22010101, pos = { x = 149.1, y = 0.1, z = -47.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 152, monster_id = 22010201, pos = { x = 150.4, y = -0.2, z = -96.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 153, monster_id = 22010301, pos = { x = 199.2, y = 0.0, z = -96.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true },
|
||||
{ config_id = 154, monster_id = 23040101, pos = { x = 94.6, y = 0.5, z = 205.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true, pose_id = 100 },
|
||||
{ config_id = 155, monster_id = 20020101, pos = { x = 92.0, y = 0.5, z = 238.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, drop_id = 303001, ban_excel_drop = true }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155 },
|
||||
gadgets = { },
|
||||
regions = { },
|
||||
triggers = { },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011011.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011011.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 233, gadget_id = 70360002, pos = { x = 130.6, y = 1.1, z = -3.9 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 47, shape = RegionShape.SPHERE, radius = 5, pos = { x = 126.7, y = 5.4, z = -4.4 } },
|
||||
{ config_id = 48, shape = RegionShape.SPHERE, radius = 5, pos = { x = 133.4, y = 1.1, z = -4.2 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_47", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_47", action = "action_EVENT_GADGET_CREATE_47" },
|
||||
{ name = "SELECT_OPTION_48", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_48", action = "action_EVENT_SELECT_OPTION_48", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 233 },
|
||||
regions = { 47, 48 },
|
||||
triggers = { "GADGET_CREATE_47", "SELECT_OPTION_48" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_47(context, evt)
|
||||
if 233 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_47(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_48(context, evt)
|
||||
if 233 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_48(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 6}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 15}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011012.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011012.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 234, gadget_id = 70360002, pos = { x = 180.3, y = 1.1, z = -5.0 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 49, shape = RegionShape.SPHERE, radius = 5, pos = { x = 176.5, y = 5.4, z = -5.6 } },
|
||||
{ config_id = 50, shape = RegionShape.SPHERE, radius = 5, pos = { x = 183.1, y = 1.1, z = -5.3 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_49", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_49", action = "action_EVENT_GADGET_CREATE_49" },
|
||||
{ name = "SELECT_OPTION_50", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_50", action = "action_EVENT_SELECT_OPTION_50", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 234 },
|
||||
regions = { 49, 50 },
|
||||
triggers = { "GADGET_CREATE_49", "SELECT_OPTION_50" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_49(context, evt)
|
||||
if 234 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_49(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_50(context, evt)
|
||||
if 234 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_50(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 6}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 15}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011013.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011013.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 235, gadget_id = 70360002, pos = { x = 230.7, y = 1.1, z = -4.2 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 51, shape = RegionShape.SPHERE, radius = 5, pos = { x = 226.8, y = 5.4, z = -4.7 } },
|
||||
{ config_id = 52, shape = RegionShape.SPHERE, radius = 5, pos = { x = 233.5, y = 1.1, z = -4.4 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_51", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_51", action = "action_EVENT_GADGET_CREATE_51" },
|
||||
{ name = "SELECT_OPTION_52", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_52", action = "action_EVENT_SELECT_OPTION_52", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 235 },
|
||||
regions = { 51, 52 },
|
||||
triggers = { "GADGET_CREATE_51", "SELECT_OPTION_52" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_51(context, evt)
|
||||
if 235 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_51(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_52(context, evt)
|
||||
if 235 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_52(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011014.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011014.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 236, gadget_id = 70360002, pos = { x = 277.5, y = 1.1, z = -4.8 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 53, shape = RegionShape.SPHERE, radius = 5, pos = { x = 273.6, y = 5.4, z = -5.4 } },
|
||||
{ config_id = 54, shape = RegionShape.SPHERE, radius = 5, pos = { x = 280.3, y = 1.1, z = -5.1 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_53", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_53", action = "action_EVENT_GADGET_CREATE_53" },
|
||||
{ name = "SELECT_OPTION_54", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_54", action = "action_EVENT_SELECT_OPTION_54", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 236 },
|
||||
regions = { 53, 54 },
|
||||
triggers = { "GADGET_CREATE_53", "SELECT_OPTION_54" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_53(context, evt)
|
||||
if 236 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_53(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_54(context, evt)
|
||||
if 236 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_54(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011015.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011015.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 237, gadget_id = 70360002, pos = { x = 327.4, y = 1.1, z = -5.2 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 55, shape = RegionShape.SPHERE, radius = 5, pos = { x = 323.5, y = 5.4, z = -5.8 } },
|
||||
{ config_id = 56, shape = RegionShape.SPHERE, radius = 5, pos = { x = 330.1, y = 1.1, z = -5.5 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_55", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_55", action = "action_EVENT_GADGET_CREATE_55" },
|
||||
{ name = "SELECT_OPTION_56", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_56", action = "action_EVENT_SELECT_OPTION_56", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 237 },
|
||||
regions = { 55, 56 },
|
||||
triggers = { "GADGET_CREATE_55", "SELECT_OPTION_56" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_55(context, evt)
|
||||
if 237 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_55(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_56(context, evt)
|
||||
if 237 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_56(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011016.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011016.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 238, gadget_id = 70360002, pos = { x = 376.7, y = 1.1, z = -4.5 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 57, shape = RegionShape.SPHERE, radius = 5, pos = { x = 372.9, y = 5.4, z = -5.0 } },
|
||||
{ config_id = 58, shape = RegionShape.SPHERE, radius = 5, pos = { x = 379.5, y = 1.1, z = -4.7 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_57", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_57", action = "action_EVENT_GADGET_CREATE_57" },
|
||||
{ name = "SELECT_OPTION_58", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_58", action = "action_EVENT_SELECT_OPTION_58", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 238 },
|
||||
regions = { 57, 58 },
|
||||
triggers = { "GADGET_CREATE_57", "SELECT_OPTION_58" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_57(context, evt)
|
||||
if 238 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_57(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_58(context, evt)
|
||||
if 238 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_58(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011017.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011017.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 239, gadget_id = 70360002, pos = { x = 426.4, y = 1.1, z = -4.1 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 59, shape = RegionShape.SPHERE, radius = 5, pos = { x = 422.5, y = 5.4, z = -4.6 } },
|
||||
{ config_id = 60, shape = RegionShape.SPHERE, radius = 5, pos = { x = 429.2, y = 1.1, z = -4.4 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_59", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_59", action = "action_EVENT_GADGET_CREATE_59" },
|
||||
{ name = "SELECT_OPTION_60", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_60", action = "action_EVENT_SELECT_OPTION_60", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 239 },
|
||||
regions = { 59, 60 },
|
||||
triggers = { "GADGET_CREATE_59", "SELECT_OPTION_60" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_59(context, evt)
|
||||
if 239 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_59(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_60(context, evt)
|
||||
if 239 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_60(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011018.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011018.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 240, gadget_id = 70360002, pos = { x = 478.1, y = 1.1, z = -4.3 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 61, shape = RegionShape.SPHERE, radius = 5, pos = { x = 474.2, y = 5.4, z = -4.8 } },
|
||||
{ config_id = 62, shape = RegionShape.SPHERE, radius = 5, pos = { x = 480.8, y = 1.1, z = -4.6 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_61", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_61", action = "action_EVENT_GADGET_CREATE_61" },
|
||||
{ name = "SELECT_OPTION_62", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_62", action = "action_EVENT_SELECT_OPTION_62", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 240 },
|
||||
regions = { 61, 62 },
|
||||
triggers = { "GADGET_CREATE_61", "SELECT_OPTION_62" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_61(context, evt)
|
||||
if 240 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_61(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_62(context, evt)
|
||||
if 240 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_62(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 6}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 15}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011019.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011019.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 241, gadget_id = 70360002, pos = { x = 525.4, y = 1.1, z = -4.9 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 63, shape = RegionShape.SPHERE, radius = 5, pos = { x = 521.5, y = 5.4, z = -5.4 } },
|
||||
{ config_id = 64, shape = RegionShape.SPHERE, radius = 5, pos = { x = 528.2, y = 1.1, z = -5.2 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_63", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_63", action = "action_EVENT_GADGET_CREATE_63" },
|
||||
{ name = "SELECT_OPTION_64", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_64", action = "action_EVENT_SELECT_OPTION_64", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 241 },
|
||||
regions = { 63, 64 },
|
||||
triggers = { "GADGET_CREATE_63", "SELECT_OPTION_64" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_63(context, evt)
|
||||
if 241 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_63(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_64(context, evt)
|
||||
if 241 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_64(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011020.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011020.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 242, gadget_id = 70360002, pos = { x = 573.9, y = 1.1, z = -4.7 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 65, shape = RegionShape.SPHERE, radius = 5, pos = { x = 570.0, y = 5.4, z = -5.2 } },
|
||||
{ config_id = 66, shape = RegionShape.SPHERE, radius = 5, pos = { x = 576.7, y = 1.1, z = -4.9 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_65", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_65", action = "action_EVENT_GADGET_CREATE_65" },
|
||||
{ name = "SELECT_OPTION_66", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_66", action = "action_EVENT_SELECT_OPTION_66", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 242 },
|
||||
regions = { 65, 66 },
|
||||
triggers = { "GADGET_CREATE_65", "SELECT_OPTION_66" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_65(context, evt)
|
||||
if 242 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_65(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_66(context, evt)
|
||||
if 242 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_66(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011021.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011021.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 243, gadget_id = 70360002, pos = { x = 624.2, y = 1.1, z = -4.8 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 67, shape = RegionShape.SPHERE, radius = 5, pos = { x = 620.3, y = 5.4, z = -5.4 } },
|
||||
{ config_id = 68, shape = RegionShape.SPHERE, radius = 5, pos = { x = 627.0, y = 1.1, z = -5.1 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_67", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_67", action = "action_EVENT_GADGET_CREATE_67" },
|
||||
{ name = "SELECT_OPTION_68", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_68", action = "action_EVENT_SELECT_OPTION_68", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 243 },
|
||||
regions = { 67, 68 },
|
||||
triggers = { "GADGET_CREATE_67", "SELECT_OPTION_68" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_67(context, evt)
|
||||
if 243 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_67(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_68(context, evt)
|
||||
if 243 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_68(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011022.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011022.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 244, gadget_id = 70360002, pos = { x = 673.8, y = 1.1, z = -4.7 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 69, shape = RegionShape.SPHERE, radius = 5, pos = { x = 669.9, y = 5.4, z = -5.2 } },
|
||||
{ config_id = 70, shape = RegionShape.SPHERE, radius = 5, pos = { x = 676.6, y = 1.1, z = -5.0 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_69", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_69", action = "action_EVENT_GADGET_CREATE_69" },
|
||||
{ name = "SELECT_OPTION_70", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_70", action = "action_EVENT_SELECT_OPTION_70", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 244 },
|
||||
regions = { 69, 70 },
|
||||
triggers = { "GADGET_CREATE_69", "SELECT_OPTION_70" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_69(context, evt)
|
||||
if 244 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_69(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_70(context, evt)
|
||||
if 244 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_70(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011023.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011023.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 245, gadget_id = 70360002, pos = { x = 722.8, y = 1.1, z = -3.7 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 71, shape = RegionShape.SPHERE, radius = 5, pos = { x = 718.9, y = 5.4, z = -4.2 } },
|
||||
{ config_id = 72, shape = RegionShape.SPHERE, radius = 5, pos = { x = 725.5, y = 1.1, z = -4.0 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_71", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_71", action = "action_EVENT_GADGET_CREATE_71" },
|
||||
{ name = "SELECT_OPTION_72", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_72", action = "action_EVENT_SELECT_OPTION_72", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 245 },
|
||||
regions = { 71, 72 },
|
||||
triggers = { "GADGET_CREATE_71", "SELECT_OPTION_72" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_71(context, evt)
|
||||
if 245 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_71(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_72(context, evt)
|
||||
if 245 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_72(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011024.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011024.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 246, gadget_id = 70360002, pos = { x = 772.4, y = 1.1, z = -4.4 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 73, shape = RegionShape.SPHERE, radius = 5, pos = { x = 768.5, y = 5.4, z = -4.9 } },
|
||||
{ config_id = 74, shape = RegionShape.SPHERE, radius = 5, pos = { x = 775.2, y = 1.1, z = -4.6 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_73", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_73", action = "action_EVENT_GADGET_CREATE_73" },
|
||||
{ name = "SELECT_OPTION_74", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_74", action = "action_EVENT_SELECT_OPTION_74", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 246 },
|
||||
regions = { 73, 74 },
|
||||
triggers = { "GADGET_CREATE_73", "SELECT_OPTION_74" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_73(context, evt)
|
||||
if 246 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_73(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_74(context, evt)
|
||||
if 246 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_74(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011025.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011025.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 247, gadget_id = 70360002, pos = { x = 822.0, y = 1.1, z = -4.3 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 75, shape = RegionShape.SPHERE, radius = 5, pos = { x = 818.1, y = 5.4, z = -4.8 } },
|
||||
{ config_id = 76, shape = RegionShape.SPHERE, radius = 5, pos = { x = 824.8, y = 1.1, z = -4.6 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_75", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_75", action = "action_EVENT_GADGET_CREATE_75" },
|
||||
{ name = "SELECT_OPTION_76", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_76", action = "action_EVENT_SELECT_OPTION_76", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 247 },
|
||||
regions = { 75, 76 },
|
||||
triggers = { "GADGET_CREATE_75", "SELECT_OPTION_76" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_75(context, evt)
|
||||
if 247 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_75(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_76(context, evt)
|
||||
if 247 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_76(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011026.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011026.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 248, gadget_id = 70360002, pos = { x = 833.9, y = 0.8, z = -35.0 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 77, shape = RegionShape.SPHERE, radius = 5, pos = { x = 830.0, y = 5.0, z = -35.6 } },
|
||||
{ config_id = 78, shape = RegionShape.SPHERE, radius = 5, pos = { x = 836.7, y = 0.8, z = -35.3 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_77", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_77", action = "action_EVENT_GADGET_CREATE_77" },
|
||||
{ name = "SELECT_OPTION_78", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_78", action = "action_EVENT_SELECT_OPTION_78", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 248 },
|
||||
regions = { 77, 78 },
|
||||
triggers = { "GADGET_CREATE_77", "SELECT_OPTION_78" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_77(context, evt)
|
||||
if 248 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_77(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_78(context, evt)
|
||||
if 248 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_78(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011027.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011027.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 249, gadget_id = 70360002, pos = { x = 802.4, y = 0.6, z = -46.2 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 79, shape = RegionShape.SPHERE, radius = 5, pos = { x = 798.6, y = 4.9, z = -46.7 } },
|
||||
{ config_id = 80, shape = RegionShape.SPHERE, radius = 5, pos = { x = 805.2, y = 0.6, z = -46.4 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_79", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_79", action = "action_EVENT_GADGET_CREATE_79" },
|
||||
{ name = "SELECT_OPTION_80", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_80", action = "action_EVENT_SELECT_OPTION_80", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 249 },
|
||||
regions = { 79, 80 },
|
||||
triggers = { "GADGET_CREATE_79", "SELECT_OPTION_80" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_79(context, evt)
|
||||
if 249 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_79(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_80(context, evt)
|
||||
if 249 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_80(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011028.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011028.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 250, gadget_id = 70360002, pos = { x = 754.7, y = 0.5, z = -44.5 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 81, shape = RegionShape.SPHERE, radius = 5, pos = { x = 750.8, y = 4.7, z = -45.1 } },
|
||||
{ config_id = 82, shape = RegionShape.SPHERE, radius = 5, pos = { x = 757.5, y = 0.5, z = -44.8 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_81", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_81", action = "action_EVENT_GADGET_CREATE_81" },
|
||||
{ name = "SELECT_OPTION_82", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_82", action = "action_EVENT_SELECT_OPTION_82", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 250 },
|
||||
regions = { 81, 82 },
|
||||
triggers = { "GADGET_CREATE_81", "SELECT_OPTION_82" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_81(context, evt)
|
||||
if 250 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_81(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_82(context, evt)
|
||||
if 250 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_82(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011029.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011029.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 251, gadget_id = 70360002, pos = { x = 710.5, y = 0.4, z = -45.7 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 83, shape = RegionShape.SPHERE, radius = 5, pos = { x = 706.6, y = 4.7, z = -46.3 } },
|
||||
{ config_id = 84, shape = RegionShape.SPHERE, radius = 5, pos = { x = 713.3, y = 0.4, z = -46.0 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_83", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_83", action = "action_EVENT_GADGET_CREATE_83" },
|
||||
{ name = "SELECT_OPTION_84", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_84", action = "action_EVENT_SELECT_OPTION_84", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 251 },
|
||||
regions = { 83, 84 },
|
||||
triggers = { "GADGET_CREATE_83", "SELECT_OPTION_84" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_83(context, evt)
|
||||
if 251 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_83(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_84(context, evt)
|
||||
if 251 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_84(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011030.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011030.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 252, gadget_id = 70360002, pos = { x = 663.8, y = 0.4, z = -44.4 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 85, shape = RegionShape.SPHERE, radius = 5, pos = { x = 659.9, y = 4.7, z = -45.0 } },
|
||||
{ config_id = 86, shape = RegionShape.SPHERE, radius = 5, pos = { x = 666.6, y = 0.4, z = -44.7 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_85", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_85", action = "action_EVENT_GADGET_CREATE_85" },
|
||||
{ name = "SELECT_OPTION_86", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_86", action = "action_EVENT_SELECT_OPTION_86", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 252 },
|
||||
regions = { 85, 86 },
|
||||
triggers = { "GADGET_CREATE_85", "SELECT_OPTION_86" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_85(context, evt)
|
||||
if 252 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_85(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_86(context, evt)
|
||||
if 252 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_86(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011031.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011031.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 253, gadget_id = 70360002, pos = { x = 618.4, y = 0.6, z = -44.9 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 87, shape = RegionShape.SPHERE, radius = 5, pos = { x = 614.5, y = 4.9, z = -45.5 } },
|
||||
{ config_id = 88, shape = RegionShape.SPHERE, radius = 5, pos = { x = 621.2, y = 0.6, z = -45.2 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_87", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_87", action = "action_EVENT_GADGET_CREATE_87" },
|
||||
{ name = "SELECT_OPTION_88", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_88", action = "action_EVENT_SELECT_OPTION_88", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 253 },
|
||||
regions = { 87, 88 },
|
||||
triggers = { "GADGET_CREATE_87", "SELECT_OPTION_88" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_87(context, evt)
|
||||
if 253 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_87(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_88(context, evt)
|
||||
if 253 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_88(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011032.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011032.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 254, gadget_id = 70360002, pos = { x = 572.0, y = 0.6, z = -44.7 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 89, shape = RegionShape.SPHERE, radius = 5, pos = { x = 568.1, y = 4.8, z = -45.2 } },
|
||||
{ config_id = 90, shape = RegionShape.SPHERE, radius = 5, pos = { x = 574.7, y = 0.6, z = -44.9 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_89", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_89", action = "action_EVENT_GADGET_CREATE_89" },
|
||||
{ name = "SELECT_OPTION_90", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_90", action = "action_EVENT_SELECT_OPTION_90", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 254 },
|
||||
regions = { 89, 90 },
|
||||
triggers = { "GADGET_CREATE_89", "SELECT_OPTION_90" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_89(context, evt)
|
||||
if 254 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_89(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_90(context, evt)
|
||||
if 254 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_90(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011033.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011033.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 255, gadget_id = 70360002, pos = { x = 526.7, y = 0.4, z = -44.2 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 91, shape = RegionShape.SPHERE, radius = 5, pos = { x = 522.8, y = 4.7, z = -44.7 } },
|
||||
{ config_id = 92, shape = RegionShape.SPHERE, radius = 5, pos = { x = 529.5, y = 0.4, z = -44.4 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_91", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_91", action = "action_EVENT_GADGET_CREATE_91" },
|
||||
{ name = "SELECT_OPTION_92", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_92", action = "action_EVENT_SELECT_OPTION_92", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 255 },
|
||||
regions = { 91, 92 },
|
||||
triggers = { "GADGET_CREATE_91", "SELECT_OPTION_92" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_91(context, evt)
|
||||
if 255 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_91(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_92(context, evt)
|
||||
if 255 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_92(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011034.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011034.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 256, gadget_id = 70360002, pos = { x = 481.2, y = 0.4, z = -44.7 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 93, shape = RegionShape.SPHERE, radius = 5, pos = { x = 477.3, y = 4.7, z = -45.3 } },
|
||||
{ config_id = 94, shape = RegionShape.SPHERE, radius = 5, pos = { x = 483.9, y = 0.4, z = -45.0 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_93", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_93", action = "action_EVENT_GADGET_CREATE_93" },
|
||||
{ name = "SELECT_OPTION_94", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_94", action = "action_EVENT_SELECT_OPTION_94", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 256 },
|
||||
regions = { 93, 94 },
|
||||
triggers = { "GADGET_CREATE_93", "SELECT_OPTION_94" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_93(context, evt)
|
||||
if 256 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_93(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_94(context, evt)
|
||||
if 256 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_94(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011035.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011035.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 257, gadget_id = 70360002, pos = { x = 436.1, y = 0.4, z = -44.5 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 95, shape = RegionShape.SPHERE, radius = 5, pos = { x = 432.2, y = 4.7, z = -45.1 } },
|
||||
{ config_id = 96, shape = RegionShape.SPHERE, radius = 5, pos = { x = 438.8, y = 0.4, z = -44.8 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_95", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_95", action = "action_EVENT_GADGET_CREATE_95" },
|
||||
{ name = "SELECT_OPTION_96", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_96", action = "action_EVENT_SELECT_OPTION_96", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 257 },
|
||||
regions = { 95, 96 },
|
||||
triggers = { "GADGET_CREATE_95", "SELECT_OPTION_96" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_95(context, evt)
|
||||
if 257 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_95(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_96(context, evt)
|
||||
if 257 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_96(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011036.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011036.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 258, gadget_id = 70360002, pos = { x = 391.6, y = 0.3, z = -44.7 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 97, shape = RegionShape.SPHERE, radius = 5, pos = { x = 387.8, y = 4.5, z = -45.2 } },
|
||||
{ config_id = 98, shape = RegionShape.SPHERE, radius = 5, pos = { x = 394.4, y = 0.3, z = -44.9 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_97", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_97", action = "action_EVENT_GADGET_CREATE_97" },
|
||||
{ name = "SELECT_OPTION_98", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_98", action = "action_EVENT_SELECT_OPTION_98", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 258 },
|
||||
regions = { 97, 98 },
|
||||
triggers = { "GADGET_CREATE_97", "SELECT_OPTION_98" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_97(context, evt)
|
||||
if 258 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_97(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_98(context, evt)
|
||||
if 258 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_98(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011037.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011037.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 259, gadget_id = 70360002, pos = { x = 345.3, y = 0.1, z = -44.0 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 99, shape = RegionShape.SPHERE, radius = 5, pos = { x = 341.5, y = 4.4, z = -44.6 } },
|
||||
{ config_id = 100, shape = RegionShape.SPHERE, radius = 5, pos = { x = 348.1, y = 0.1, z = -44.3 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_99", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_99", action = "action_EVENT_GADGET_CREATE_99" },
|
||||
{ name = "SELECT_OPTION_100", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_100", action = "action_EVENT_SELECT_OPTION_100", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 259 },
|
||||
regions = { 99, 100 },
|
||||
triggers = { "GADGET_CREATE_99", "SELECT_OPTION_100" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_99(context, evt)
|
||||
if 259 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_99(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_100(context, evt)
|
||||
if 259 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_100(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 6}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 15}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011038.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011038.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 260, gadget_id = 70360002, pos = { x = 300.4, y = 0.1, z = -45.1 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 101, shape = RegionShape.SPHERE, radius = 5, pos = { x = 296.5, y = 4.4, z = -45.6 } },
|
||||
{ config_id = 102, shape = RegionShape.SPHERE, radius = 5, pos = { x = 303.2, y = 0.1, z = -45.3 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_101", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_101", action = "action_EVENT_GADGET_CREATE_101" },
|
||||
{ name = "SELECT_OPTION_102", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_102", action = "action_EVENT_SELECT_OPTION_102", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 260 },
|
||||
regions = { 101, 102 },
|
||||
triggers = { "GADGET_CREATE_101", "SELECT_OPTION_102" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_101(context, evt)
|
||||
if 260 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_101(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_102(context, evt)
|
||||
if 260 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_102(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011039.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011039.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 261, gadget_id = 70360002, pos = { x = 255.2, y = -0.1, z = -44.6 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 103, shape = RegionShape.SPHERE, radius = 5, pos = { x = 251.3, y = 4.2, z = -45.1 } },
|
||||
{ config_id = 104, shape = RegionShape.SPHERE, radius = 5, pos = { x = 258.0, y = -0.1, z = -44.8 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_103", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_103", action = "action_EVENT_GADGET_CREATE_103" },
|
||||
{ name = "SELECT_OPTION_104", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_104", action = "action_EVENT_SELECT_OPTION_104", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 261 },
|
||||
regions = { 103, 104 },
|
||||
triggers = { "GADGET_CREATE_103", "SELECT_OPTION_104" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_103(context, evt)
|
||||
if 261 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_103(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_104(context, evt)
|
||||
if 261 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_104(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011040.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011040.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 262, gadget_id = 70360002, pos = { x = 209.8, y = -0.1, z = -45.2 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 105, shape = RegionShape.SPHERE, radius = 5, pos = { x = 205.9, y = 4.2, z = -45.7 } },
|
||||
{ config_id = 106, shape = RegionShape.SPHERE, radius = 5, pos = { x = 212.6, y = -0.1, z = -45.5 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_105", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_105", action = "action_EVENT_GADGET_CREATE_105" },
|
||||
{ name = "SELECT_OPTION_106", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_106", action = "action_EVENT_SELECT_OPTION_106", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 262 },
|
||||
regions = { 105, 106 },
|
||||
triggers = { "GADGET_CREATE_105", "SELECT_OPTION_106" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_105(context, evt)
|
||||
if 262 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_105(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_106(context, evt)
|
||||
if 262 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_106(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011041.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011041.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 263, gadget_id = 70360002, pos = { x = 163.9, y = 0.1, z = -45.4 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 107, shape = RegionShape.SPHERE, radius = 5, pos = { x = 160.0, y = 4.4, z = -45.9 } },
|
||||
{ config_id = 108, shape = RegionShape.SPHERE, radius = 5, pos = { x = 166.6, y = 0.1, z = -45.7 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_107", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_107", action = "action_EVENT_GADGET_CREATE_107" },
|
||||
{ name = "SELECT_OPTION_108", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_108", action = "action_EVENT_SELECT_OPTION_108", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 263 },
|
||||
regions = { 107, 108 },
|
||||
triggers = { "GADGET_CREATE_107", "SELECT_OPTION_108" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_107(context, evt)
|
||||
if 263 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_107(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_108(context, evt)
|
||||
if 263 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_108(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011042.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011042.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 264, gadget_id = 70360002, pos = { x = 149.3, y = -0.2, z = -82.8 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 109, shape = RegionShape.SPHERE, radius = 5, pos = { x = 145.5, y = 4.1, z = -83.4 } },
|
||||
{ config_id = 110, shape = RegionShape.SPHERE, radius = 5, pos = { x = 152.1, y = -0.2, z = -83.1 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_109", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_109", action = "action_EVENT_GADGET_CREATE_109" },
|
||||
{ name = "SELECT_OPTION_110", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_110", action = "action_EVENT_SELECT_OPTION_110", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 264 },
|
||||
regions = { 109, 110 },
|
||||
triggers = { "GADGET_CREATE_109", "SELECT_OPTION_110" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_109(context, evt)
|
||||
if 264 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_109(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_110(context, evt)
|
||||
if 264 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_110(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
127
soggy_resources/lua/Scene/1011/scene1011_group201011043.lua
Normal file
127
soggy_resources/lua/Scene/1011/scene1011_group201011043.lua
Normal file
@@ -0,0 +1,127 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 265, gadget_id = 70360002, pos = { x = 186.9, y = 0.5, z = -101.6 }, rot = { x = 0.0, y = 270.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 111, shape = RegionShape.SPHERE, radius = 5, pos = { x = 183.0, y = 4.7, z = -102.1 } },
|
||||
{ config_id = 112, shape = RegionShape.SPHERE, radius = 5, pos = { x = 189.7, y = 0.5, z = -101.8 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_111", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_111", action = "action_EVENT_GADGET_CREATE_111" },
|
||||
{ name = "SELECT_OPTION_112", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_112", action = "action_EVENT_SELECT_OPTION_112", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 265 },
|
||||
regions = { 111, 112 },
|
||||
triggers = { "GADGET_CREATE_111", "SELECT_OPTION_112" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_111(context, evt)
|
||||
if 265 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_111(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,166,167}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_112(context, evt)
|
||||
if 265 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_112(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 166 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if 167 == evt.param2 then
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 16}) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
541
soggy_resources/lua/Scene/1011/scene1011_group201011044.lua
Normal file
541
soggy_resources/lua/Scene/1011/scene1011_group201011044.lua
Normal file
@@ -0,0 +1,541 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 156, monster_id = 21010201, pos = { x = 167.9, y = 0.6, z = 50.9 }, rot = { x = 0.0, y = 276.5, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 157, monster_id = 21010201, pos = { x = 170.0, y = 0.6, z = 53.1 }, rot = { x = 0.0, y = 269.8, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 158, monster_id = 21010201, pos = { x = 170.3, y = 0.6, z = 49.2 }, rot = { x = 0.0, y = 280.7, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 159, monster_id = 21010401, pos = { x = 175.0, y = 0.6, z = 51.2 }, rot = { x = 0.0, y = 275.1, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 160, monster_id = 20011301, pos = { x = 218.6, y = 0.6, z = 52.2 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 161, monster_id = 20011201, pos = { x = 221.2, y = 0.6, z = 53.3 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 162, monster_id = 20011201, pos = { x = 221.2, y = 0.6, z = 52.0 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 163, monster_id = 20011201, pos = { x = 221.2, y = 0.6, z = 50.6 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 164, monster_id = 20011101, pos = { x = 270.6, y = 0.6, z = 48.3 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 165, monster_id = 20011001, pos = { x = 268.3, y = 0.6, z = 49.4 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 166, monster_id = 20011001, pos = { x = 270.0, y = 0.6, z = 50.1 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 167, monster_id = 20011001, pos = { x = 271.7, y = 0.6, z = 50.2 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 168, monster_id = 20010301, pos = { x = 317.2, y = 0.6, z = 47.6 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 169, monster_id = 20010301, pos = { x = 318.7, y = 0.6, z = 48.4 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 170, monster_id = 20010301, pos = { x = 321.3, y = 0.6, z = 47.8 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 171, monster_id = 20010401, pos = { x = 319.0, y = 0.6, z = 45.7 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 172, monster_id = 20010901, pos = { x = 369.8, y = 0.6, z = 48.7 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 173, monster_id = 20010801, pos = { x = 367.6, y = 0.6, z = 49.5 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 174, monster_id = 20011001, pos = { x = 370.3, y = 0.6, z = 50.1 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 175, monster_id = 20011001, pos = { x = 373.1, y = 0.6, z = 49.7 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 266, gadget_id = 70360002, pos = { x = 157.9, y = 0.6, z = 35.6 }, rot = { x = 0.0, y = 179.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 267, gadget_id = 70360002, pos = { x = 147.7, y = 1.1, z = 7.7 }, rot = { x = 0.0, y = 102.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 270, gadget_id = 70220010, pos = { x = 471.3, y = 2.7, z = 103.8 }, rot = { x = 0.0, y = 85.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 271, gadget_id = 70220010, pos = { x = 470.8, y = 0.6, z = 93.6 }, rot = { x = 0.0, y = 85.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 272, gadget_id = 70220010, pos = { x = 459.4, y = 0.6, z = 93.8 }, rot = { x = 0.0, y = 85.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 273, gadget_id = 70220010, pos = { x = 458.1, y = 0.6, z = 109.1 }, rot = { x = 0.0, y = 85.6, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 113, shape = RegionShape.SPHERE, radius = 5, pos = { x = 137.8, y = 0.5, z = 38.1 } },
|
||||
{ config_id = 114, shape = RegionShape.SPHERE, radius = 5, pos = { x = 141.1, y = 0.5, z = 42.1 } },
|
||||
{ config_id = 115, shape = RegionShape.SPHERE, radius = 5, pos = { x = 142.4, y = 0.5, z = 38.9 } },
|
||||
{ config_id = 116, shape = RegionShape.SPHERE, radius = 5, pos = { x = 143.1, y = 0.5, z = 42.1 } },
|
||||
{ config_id = 117, shape = RegionShape.SPHERE, radius = 5, pos = { x = 137.7, y = 0.5, z = 42.3 } },
|
||||
{ config_id = 118, shape = RegionShape.SPHERE, radius = 5, pos = { x = 141.8, y = 0.5, z = 46.7 } },
|
||||
{ config_id = 119, shape = RegionShape.SPHERE, radius = 5, pos = { x = 147.3, y = 1.1, z = 8.4 } },
|
||||
{ config_id = 120, shape = RegionShape.SPHERE, radius = 5, pos = { x = 147.2, y = 1.1, z = 9.0 } },
|
||||
{ config_id = 121, shape = RegionShape.SPHERE, radius = 5, pos = { x = 148.8, y = 1.1, z = 9.3 } },
|
||||
{ config_id = 122, shape = RegionShape.SPHERE, radius = 5, pos = { x = 148.2, y = 1.1, z = 11.6 } },
|
||||
{ config_id = 123, shape = RegionShape.SPHERE, radius = 5, pos = { x = 145.4, y = 1.1, z = 10.6 } },
|
||||
{ config_id = 124, shape = RegionShape.SPHERE, radius = 5, pos = { x = 149.6, y = 1.1, z = 9.0 } },
|
||||
{ config_id = 137, shape = RegionShape.SPHERE, radius = 5, pos = { x = 160.2, y = 0.6, z = 37.8 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_113", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_113", action = "action_EVENT_GADGET_CREATE_113" },
|
||||
{ name = "SELECT_OPTION_114", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_114", action = "action_EVENT_SELECT_OPTION_114", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_115", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_115", action = "action_EVENT_SELECT_OPTION_115", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_116", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_116", action = "action_EVENT_SELECT_OPTION_116", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_117", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_117", action = "action_EVENT_SELECT_OPTION_117", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_118", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_118", action = "action_EVENT_SELECT_OPTION_118", trigger_count = 0 },
|
||||
{ name = "GADGET_CREATE_119", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_119", action = "action_EVENT_GADGET_CREATE_119" },
|
||||
{ name = "SELECT_OPTION_120", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_120", action = "action_EVENT_SELECT_OPTION_120", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_121", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_121", action = "action_EVENT_SELECT_OPTION_121", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_122", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_122", action = "action_EVENT_SELECT_OPTION_122", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_123", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_123", action = "action_EVENT_SELECT_OPTION_123", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_124", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_124", action = "action_EVENT_SELECT_OPTION_124", trigger_count = 0 },
|
||||
{ name = "ENTER_REGION_137", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "" }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = false,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175 },
|
||||
gadgets = { 267, 270, 271, 272, 273 },
|
||||
regions = { 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 137 },
|
||||
triggers = { "GADGET_CREATE_113", "SELECT_OPTION_114", "SELECT_OPTION_115", "SELECT_OPTION_116", "SELECT_OPTION_117", "SELECT_OPTION_118", "GADGET_CREATE_119", "SELECT_OPTION_120", "SELECT_OPTION_121", "SELECT_OPTION_122", "SELECT_OPTION_123", "SELECT_OPTION_124", "ENTER_REGION_137" },
|
||||
rand_weight = 100
|
||||
},
|
||||
{
|
||||
-- suite_id = 1,
|
||||
-- description = suite_2,
|
||||
monsters = { },
|
||||
gadgets = { 267 },
|
||||
regions = { 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124 },
|
||||
triggers = { "GADGET_CREATE_113", "SELECT_OPTION_114", "SELECT_OPTION_115", "SELECT_OPTION_116", "SELECT_OPTION_117", "SELECT_OPTION_118", "GADGET_CREATE_119", "SELECT_OPTION_120", "SELECT_OPTION_121", "SELECT_OPTION_122", "SELECT_OPTION_123", "SELECT_OPTION_124" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 2,
|
||||
-- description = suite_3,
|
||||
monsters = { },
|
||||
gadgets = { 267 },
|
||||
regions = { 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124 },
|
||||
triggers = { "GADGET_CREATE_113", "SELECT_OPTION_114", "SELECT_OPTION_115", "SELECT_OPTION_116", "SELECT_OPTION_117", "SELECT_OPTION_118", "GADGET_CREATE_119", "SELECT_OPTION_120", "SELECT_OPTION_121", "SELECT_OPTION_122", "SELECT_OPTION_123", "SELECT_OPTION_124" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 3,
|
||||
-- description = suite_4,
|
||||
monsters = { },
|
||||
gadgets = { 267 },
|
||||
regions = { 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124 },
|
||||
triggers = { "GADGET_CREATE_113", "SELECT_OPTION_114", "SELECT_OPTION_115", "SELECT_OPTION_116", "SELECT_OPTION_117", "SELECT_OPTION_118", "GADGET_CREATE_119", "SELECT_OPTION_120", "SELECT_OPTION_121", "SELECT_OPTION_122", "SELECT_OPTION_123", "SELECT_OPTION_124" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 4,
|
||||
-- description = suite_5,
|
||||
monsters = { },
|
||||
gadgets = { 267 },
|
||||
regions = { 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124 },
|
||||
triggers = { "GADGET_CREATE_113", "SELECT_OPTION_114", "SELECT_OPTION_115", "SELECT_OPTION_116", "SELECT_OPTION_117", "SELECT_OPTION_118", "GADGET_CREATE_119", "SELECT_OPTION_120", "SELECT_OPTION_121", "SELECT_OPTION_122", "SELECT_OPTION_123", "SELECT_OPTION_124" },
|
||||
rand_weight = 0
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_113(context, evt)
|
||||
if 1 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_113(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {130,131,132,133,134}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_114(context, evt)
|
||||
-- 判断是gadgetid 1
|
||||
if 1 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_114(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 131 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, suite = 2 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_115(context, evt)
|
||||
-- 判断是gadgetid 1
|
||||
if 1 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_115(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 132 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, suite = 3 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_116(context, evt)
|
||||
-- 判断是gadgetid 1
|
||||
if 1 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_116(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 133 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, suite = 4 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_117(context, evt)
|
||||
-- 判断是gadgetid 1
|
||||
if 1 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_117(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 134 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, suite = 5 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_118(context, evt)
|
||||
-- 判断是gadgetid 1
|
||||
if 1 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_118(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 130 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, suite = 1 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_119(context, evt)
|
||||
if 5 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_119(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {151,152,153,154,155}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_120(context, evt)
|
||||
-- 判断是gadgetid 5
|
||||
if 5 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_120(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 151 == evt.param2 then
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011003, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, refresh_level_revise = 1}) then
|
||||
return -1
|
||||
end
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 5, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_121(context, evt)
|
||||
-- 判断是gadgetid 5
|
||||
if 5 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_121(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 152 == evt.param2 then
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, refresh_level_revise = 5}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, refresh_level_revise = 5}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011003, refresh_level_revise = 5}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, refresh_level_revise = 5}) then
|
||||
return -1
|
||||
end
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 5, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_122(context, evt)
|
||||
-- 判断是gadgetid 5
|
||||
if 5 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_122(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 153 == evt.param2 then
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, refresh_level_revise = 10}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, refresh_level_revise = 10}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011003, refresh_level_revise = 10}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, refresh_level_revise = 10}) then
|
||||
return -1
|
||||
end
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 5, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_123(context, evt)
|
||||
-- 判断是gadgetid 5
|
||||
if 5 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_123(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 154 == evt.param2 then
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, refresh_level_revise = 15}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, refresh_level_revise = 15}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011003, refresh_level_revise = 15}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, refresh_level_revise = 15}) then
|
||||
return -1
|
||||
end
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 5, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_124(context, evt)
|
||||
-- 判断是gadgetid 5
|
||||
if 5 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_124(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 155 == evt.param2 then
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, refresh_level_revise = 20}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, refresh_level_revise = 20}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011003, refresh_level_revise = 20}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, refresh_level_revise = 20}) then
|
||||
return -1
|
||||
end
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 5, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
|
||||
-- 触发操作
|
259
soggy_resources/lua/Scene/1011/scene1011_group201011045.lua
Normal file
259
soggy_resources/lua/Scene/1011/scene1011_group201011045.lua
Normal file
@@ -0,0 +1,259 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 176, monster_id = 21030301, pos = { x = 420.5, y = 0.6, z = 44.7 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 177, monster_id = 21010301, pos = { x = 417.0, y = 0.6, z = 52.6 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 178, monster_id = 21010201, pos = { x = 416.6, y = 0.6, z = 48.6 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 179, monster_id = 21010501, pos = { x = 421.4, y = 0.6, z = 55.8 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 180, monster_id = 21030101, pos = { x = 471.0, y = 0.6, z = 51.8 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 181, monster_id = 21010701, pos = { x = 465.9, y = 0.6, z = 45.4 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 182, monster_id = 21010701, pos = { x = 465.7, y = 0.6, z = 49.1 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 183, monster_id = 21010901, pos = { x = 470.1, y = 0.6, z = 41.5 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 184, monster_id = 21030201, pos = { x = 519.1, y = 0.6, z = 41.8 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 185, monster_id = 21010701, pos = { x = 515.0, y = 0.6, z = 45.3 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 186, monster_id = 21010701, pos = { x = 515.3, y = 0.6, z = 49.2 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 187, monster_id = 21010501, pos = { x = 519.1, y = 0.6, z = 52.2 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 188, monster_id = 21030301, pos = { x = 567.5, y = 0.6, z = 41.3 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 189, monster_id = 21030101, pos = { x = 568.1, y = 0.6, z = 52.8 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 190, monster_id = 21010701, pos = { x = 563.2, y = 0.6, z = 49.3 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 191, monster_id = 21010701, pos = { x = 563.4, y = 0.6, z = 45.0 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 268, gadget_id = 70360002, pos = { x = 122.8, y = 0.5, z = 68.3 }, rot = { x = 0.0, y = 165.2, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 125, shape = RegionShape.SPHERE, radius = 5, pos = { x = 122.2, y = 0.5, z = 67.4 } },
|
||||
{ config_id = 126, shape = RegionShape.SPHERE, radius = 5, pos = { x = 118.8, y = 0.5, z = 66.4 } },
|
||||
{ config_id = 127, shape = RegionShape.SPHERE, radius = 5, pos = { x = 121.2, y = 0.5, z = 64.9 } },
|
||||
{ config_id = 128, shape = RegionShape.SPHERE, radius = 5, pos = { x = 118.1, y = 0.5, z = 68.3 } },
|
||||
{ config_id = 129, shape = RegionShape.SPHERE, radius = 5, pos = { x = 123.6, y = 0.5, z = 66.1 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_125", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_125", action = "action_EVENT_GADGET_CREATE_125" },
|
||||
{ name = "SELECT_OPTION_126", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_126", action = "action_EVENT_SELECT_OPTION_126", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_127", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_127", action = "action_EVENT_SELECT_OPTION_127", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_128", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_128", action = "action_EVENT_SELECT_OPTION_128", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_129", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_129", action = "action_EVENT_SELECT_OPTION_129", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = false,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 },
|
||||
gadgets = { },
|
||||
regions = { 125, 126, 127, 128, 129 },
|
||||
triggers = { "GADGET_CREATE_125", "SELECT_OPTION_126", "SELECT_OPTION_127", "SELECT_OPTION_128", "SELECT_OPTION_129" },
|
||||
rand_weight = 100
|
||||
},
|
||||
{
|
||||
-- suite_id = 1,
|
||||
-- description = suite_2,
|
||||
monsters = { 180, 181, 182, 183 },
|
||||
gadgets = { 268 },
|
||||
regions = { 125, 126, 127, 128, 129 },
|
||||
triggers = { "GADGET_CREATE_125", "SELECT_OPTION_126", "SELECT_OPTION_127", "SELECT_OPTION_128", "SELECT_OPTION_129" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 2,
|
||||
-- description = suite_3,
|
||||
monsters = { 184, 185, 186, 187 },
|
||||
gadgets = { 268 },
|
||||
regions = { 125, 126, 127, 128, 129 },
|
||||
triggers = { "GADGET_CREATE_125", "SELECT_OPTION_126", "SELECT_OPTION_127", "SELECT_OPTION_128", "SELECT_OPTION_129" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 3,
|
||||
-- description = suite_4,
|
||||
monsters = { 188, 189, 190, 191 },
|
||||
gadgets = { 268 },
|
||||
regions = { 125, 126, 127, 128, 129 },
|
||||
triggers = { "GADGET_CREATE_125", "SELECT_OPTION_126", "SELECT_OPTION_127", "SELECT_OPTION_128", "SELECT_OPTION_129" },
|
||||
rand_weight = 0
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_125(context, evt)
|
||||
if 2 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_125(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {135,136,137,138}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_126(context, evt)
|
||||
-- 判断是gadgetid 2
|
||||
if 2 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_126(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 135 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, suite = 1 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_127(context, evt)
|
||||
-- 判断是gadgetid 2
|
||||
if 2 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_127(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 136 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, suite = 2 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_128(context, evt)
|
||||
-- 判断是gadgetid 2
|
||||
if 2 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_128(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 137 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, suite = 3 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_129(context, evt)
|
||||
-- 判断是gadgetid 2
|
||||
if 2 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_129(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 138 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, suite = 4 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
366
soggy_resources/lua/Scene/1011/scene1011_group201011046.lua
Normal file
366
soggy_resources/lua/Scene/1011/scene1011_group201011046.lua
Normal file
@@ -0,0 +1,366 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 192, monster_id = 21020101, pos = { x = 617.2, y = 0.6, z = 47.5 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 193, monster_id = 21010301, pos = { x = 612.6, y = 0.6, z = 52.1 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 194, monster_id = 21010601, pos = { x = 612.5, y = 0.6, z = 48.0 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 195, monster_id = 21010601, pos = { x = 617.1, y = 0.6, z = 51.3 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 196, monster_id = 21020201, pos = { x = 652.8, y = 0.6, z = 98.1 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 197, monster_id = 22010101, pos = { x = 609.5, y = 0.6, z = 94.5 }, rot = { x = 0.0, y = 108.9, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 199, monster_id = 22010301, pos = { x = 559.0, y = 0.6, z = 98.2 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 201, monster_id = 20011501, pos = { x = 662.0, y = 0.6, z = 50.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 202, monster_id = 20011401, pos = { x = 663.9, y = 0.6, z = 49.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 203, monster_id = 20011401, pos = { x = 661.2, y = 0.6, z = 48.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 204, monster_id = 20010601, pos = { x = 707.4, y = 0.6, z = 51.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 205, monster_id = 20010701, pos = { x = 710.7, y = 0.6, z = 48.8 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 207, monster_id = 20011301, pos = { x = 714.2, y = 0.6, z = 103.0 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 208, monster_id = 20010601, pos = { x = 712.3, y = 0.6, z = 97.3 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 209, monster_id = 20010601, pos = { x = 716.0, y = 0.6, z = 98.6 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 210, monster_id = 20011301, pos = { x = 711.3, y = 0.6, z = 100.1 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 211, monster_id = 20011401, pos = { x = 660.3, y = 0.6, z = 52.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 212, monster_id = 20011401, pos = { x = 663.7, y = 0.6, z = 52.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 213, monster_id = 20010501, pos = { x = 710.2, y = 0.6, z = 51.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 214, monster_id = 20010501, pos = { x = 707.6, y = 0.6, z = 48.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 215, monster_id = 21020101, pos = { x = 653.0, y = 0.6, z = 103.9 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 216, monster_id = 21030201, pos = { x = 611.1, y = 0.6, z = 108.1 }, rot = { x = 0.0, y = 108.9, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 217, monster_id = 21010301, pos = { x = 614.0, y = 0.6, z = 100.8 }, rot = { x = 0.0, y = 108.9, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 218, monster_id = 21010301, pos = { x = 613.9, y = 0.6, z = 104.2 }, rot = { x = 0.0, y = 108.9, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 219, monster_id = 21030301, pos = { x = 559.8, y = 0.6, z = 94.0 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 220, monster_id = 21010301, pos = { x = 564.5, y = 0.6, z = 99.5 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 221, monster_id = 21010301, pos = { x = 563.9, y = 0.6, z = 102.2 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 222, monster_id = 22010201, pos = { x = 511.1, y = 0.6, z = 99.6 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 223, monster_id = 20011001, pos = { x = 514.9, y = 0.6, z = 95.8 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 224, monster_id = 20011101, pos = { x = 515.1, y = 0.6, z = 103.1 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 225, monster_id = 21030101, pos = { x = 510.0, y = 0.6, z = 104.1 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 226, monster_id = 20020101, pos = { x = 462.9, y = 0.6, z = 100.2 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 7, drop_id = 303001 },
|
||||
{ config_id = 227, monster_id = 20010801, pos = { x = 466.7, y = 0.6, z = 98.2 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 228, monster_id = 20010801, pos = { x = 465.5, y = 0.6, z = 103.0 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 229, monster_id = 20010801, pos = { x = 462.0, y = 0.6, z = 102.9 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 230, monster_id = 23040101, pos = { x = 417.9, y = 0.6, z = 102.6 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 231, monster_id = 22010201, pos = { x = 415.7, y = 0.6, z = 106.9 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 232, monster_id = 21010401, pos = { x = 657.9, y = 0.6, z = 93.5 }, rot = { x = 0.0, y = 81.1, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 233, monster_id = 21010401, pos = { x = 658.1, y = 0.6, z = 108.5 }, rot = { x = 0.0, y = 81.1, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 234, monster_id = 21030201, pos = { x = 463.1, y = 0.6, z = 93.3 }, rot = { x = 0.0, y = 108.9, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true },
|
||||
{ config_id = 235, monster_id = 21010401, pos = { x = 417.2, y = 0.6, z = 109.4 }, rot = { x = 0.0, y = 81.1, z = 0.0 }, level = 7, drop_id = 303001, disableWander = true }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 269, gadget_id = 70360002, pos = { x = 123.5, y = 0.5, z = 69.4 }, rot = { x = 0.0, y = 270.1, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 130, shape = RegionShape.SPHERE, radius = 5, pos = { x = 122.4, y = 0.5, z = 68.1 } },
|
||||
{ config_id = 131, shape = RegionShape.SPHERE, radius = 5, pos = { x = 121.5, y = 0.5, z = 66.2 } },
|
||||
{ config_id = 132, shape = RegionShape.SPHERE, radius = 5, pos = { x = 119.0, y = 0.5, z = 68.4 } },
|
||||
{ config_id = 133, shape = RegionShape.SPHERE, radius = 5, pos = { x = 124.0, y = 0.5, z = 67.4 } },
|
||||
{ config_id = 134, shape = RegionShape.SPHERE, radius = 5, pos = { x = 117.9, y = 0.5, z = 66.5 } },
|
||||
{ config_id = 135, shape = RegionShape.SPHERE, radius = 5, pos = { x = 124.5, y = 0.5, z = 66.2 } },
|
||||
{ config_id = 136, shape = RegionShape.SPHERE, radius = 5, pos = { x = 119.7, y = 0.5, z = 68.3 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_130", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_130", action = "action_EVENT_GADGET_CREATE_130" },
|
||||
{ name = "SELECT_OPTION_131", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_131", action = "action_EVENT_SELECT_OPTION_131", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_132", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_132", action = "action_EVENT_SELECT_OPTION_132", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_133", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_133", action = "action_EVENT_SELECT_OPTION_133", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_134", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_134", action = "action_EVENT_SELECT_OPTION_134", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_135", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_135", action = "action_EVENT_SELECT_OPTION_135", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_136", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_136", action = "action_EVENT_SELECT_OPTION_136", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { 192, 193, 194, 195, 196, 197, 199, 201, 202, 203, 204, 205, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235 },
|
||||
gadgets = { },
|
||||
regions = { 130, 131, 132, 133, 134, 135, 136 },
|
||||
triggers = { "GADGET_CREATE_130", "SELECT_OPTION_131", "SELECT_OPTION_132", "SELECT_OPTION_133", "SELECT_OPTION_134", "SELECT_OPTION_135", "SELECT_OPTION_136" },
|
||||
rand_weight = 100
|
||||
},
|
||||
{
|
||||
-- suite_id = 1,
|
||||
-- description = suite_2,
|
||||
monsters = { 196, 197 },
|
||||
gadgets = { 269 },
|
||||
regions = { 130, 131, 132, 133, 134, 135, 136 },
|
||||
triggers = { "GADGET_CREATE_130", "SELECT_OPTION_131", "SELECT_OPTION_132", "SELECT_OPTION_133", "SELECT_OPTION_134", "SELECT_OPTION_135", "SELECT_OPTION_136" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 2,
|
||||
-- description = suite_3,
|
||||
monsters = { 199 },
|
||||
gadgets = { 269 },
|
||||
regions = { 130, 131, 132, 133, 134, 135, 136 },
|
||||
triggers = { "GADGET_CREATE_130", "SELECT_OPTION_131", "SELECT_OPTION_132", "SELECT_OPTION_133", "SELECT_OPTION_134", "SELECT_OPTION_135", "SELECT_OPTION_136" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 3,
|
||||
-- description = 0,
|
||||
monsters = { 201, 202, 203 },
|
||||
gadgets = { 269 },
|
||||
regions = { 130, 131, 132, 133, 134, 135, 136 },
|
||||
triggers = { "GADGET_CREATE_130", "SELECT_OPTION_131", "SELECT_OPTION_132", "SELECT_OPTION_133", "SELECT_OPTION_134", "SELECT_OPTION_135", "SELECT_OPTION_136" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 4,
|
||||
-- description = suite_5,
|
||||
monsters = { 204, 205, 207 },
|
||||
gadgets = { 269 },
|
||||
regions = { 130, 131, 132, 133, 134, 135, 136 },
|
||||
triggers = { "GADGET_CREATE_130", "SELECT_OPTION_131", "SELECT_OPTION_132", "SELECT_OPTION_133", "SELECT_OPTION_134", "SELECT_OPTION_135", "SELECT_OPTION_136" },
|
||||
rand_weight = 0
|
||||
},
|
||||
{
|
||||
-- suite_id = 5,
|
||||
-- description = suite_6,
|
||||
monsters = { 208, 209, 210 },
|
||||
gadgets = { 269 },
|
||||
regions = { 130, 131, 132, 133, 134, 135, 136 },
|
||||
triggers = { "GADGET_CREATE_130", "SELECT_OPTION_131", "SELECT_OPTION_132", "SELECT_OPTION_133", "SELECT_OPTION_134", "SELECT_OPTION_135", "SELECT_OPTION_136" },
|
||||
rand_weight = 0
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_130(context, evt)
|
||||
if 4 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_130(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {145,146,147,148,149,150}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_131(context, evt)
|
||||
-- 判断是gadgetid 4
|
||||
if 4 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_131(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 145 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 1 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 4, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_132(context, evt)
|
||||
-- 判断是gadgetid 4
|
||||
if 4 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_132(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 146 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 2 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 4, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_133(context, evt)
|
||||
-- 判断是gadgetid 4
|
||||
if 4 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_133(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 147 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 3 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 4, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_134(context, evt)
|
||||
-- 判断是gadgetid 4
|
||||
if 4 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_134(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 148 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 4 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 4, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_135(context, evt)
|
||||
-- 判断是gadgetid 4
|
||||
if 4 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_135(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 149 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 5 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 4, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_136(context, evt)
|
||||
-- 判断是gadgetid 4
|
||||
if 4 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_136(context, evt)
|
||||
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 150 == evt.param2 then
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 6 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 4, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
928
soggy_resources/lua/Scene/1011/scene1011_point.json
Normal file
928
soggy_resources/lua/Scene/1011/scene1011_point.json
Normal file
@@ -0,0 +1,928 @@
|
||||
{
|
||||
"radius": 100.0,
|
||||
"points": {
|
||||
"1": {
|
||||
"type": "NORMAL",
|
||||
"$type": "DungeonQuitPoint",
|
||||
"gadgetId": 70010001,
|
||||
"pos": {
|
||||
"x": 26.6782017,
|
||||
"y": 0.4000006,
|
||||
"z": -6.596979
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"size": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"2": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 181.387451,
|
||||
"y": 11.8276606,
|
||||
"z": 9.060377
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 1,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 299.287445,
|
||||
"y": 13.8276606,
|
||||
"z": 16.0603771
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"3": {
|
||||
"type": "NORMAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 232.359222,
|
||||
"y": 1.13284469,
|
||||
"z": 7.55265331
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 1,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 362.359222,
|
||||
"y": 3.13284469,
|
||||
"z": 14.5526533
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"4": {
|
||||
"type": "NORMAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 279.35907,
|
||||
"y": 1.13284469,
|
||||
"z": 8.621277
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 1,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 409.35907,
|
||||
"y": 3.13284469,
|
||||
"z": 15.6212769
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"5": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 328.1494,
|
||||
"y": 1.1328454,
|
||||
"z": 10.4917316
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 458.1494,
|
||||
"y": 3.1328454,
|
||||
"z": 17.4917316
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"6": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 378.9699,
|
||||
"y": 1.1328454,
|
||||
"z": 10.00511
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 508.9699,
|
||||
"y": 3.1328454,
|
||||
"z": 17.00511
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"7": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 141.367615,
|
||||
"y": 0.13284564,
|
||||
"z": -34.65311
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 271.3676,
|
||||
"y": 2.13284564,
|
||||
"z": -27.65311
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"8": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 188.2294,
|
||||
"y": -0.0709645748,
|
||||
"z": -35.2119827
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 318.2294,
|
||||
"y": 1.92903543,
|
||||
"z": -28.2119827
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"9": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 232.58284,
|
||||
"y": -0.0709645748,
|
||||
"z": -34.8296776
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 362.582825,
|
||||
"y": 1.92903543,
|
||||
"z": -27.8296776
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"10": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 280.34967,
|
||||
"y": 0.13284564,
|
||||
"z": -34.40973
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 410.34967,
|
||||
"y": 2.13284564,
|
||||
"z": -27.409729
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"11": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 325.50766,
|
||||
"y": 0.13284564,
|
||||
"z": -34.9056358
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 455.50766,
|
||||
"y": 2.13284564,
|
||||
"z": -27.9056358
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"12": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 369.776855,
|
||||
"y": 0.286167145,
|
||||
"z": -36.3679428
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 499.776855,
|
||||
"y": 2.28616714,
|
||||
"z": -29.3679428
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"13": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 417.2731,
|
||||
"y": 0.429035425,
|
||||
"z": -35.3753357
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 547.2731,
|
||||
"y": 2.42903543,
|
||||
"z": -28.3753357
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"14": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 463.1523,
|
||||
"y": 0.429035425,
|
||||
"z": -34.4831123
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 593.152344,
|
||||
"y": 2.42903543,
|
||||
"z": -27.4831123
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"15": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 427.810059,
|
||||
"y": 1.13284469,
|
||||
"z": 9.332918
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 557.810059,
|
||||
"y": 3.13284469,
|
||||
"z": 16.3329182
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"16": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 479.3782,
|
||||
"y": 1.13284469,
|
||||
"z": 8.854359
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 609.3782,
|
||||
"y": 3.13284469,
|
||||
"z": 15.8543587
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"17": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 532.1347,
|
||||
"y": 1.13284469,
|
||||
"z": 8.651203
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 662.1347,
|
||||
"y": 3.13284469,
|
||||
"z": 15.6512032
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"18": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 504.182678,
|
||||
"y": 0.429035425,
|
||||
"z": -36.451046
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 634.1827,
|
||||
"y": 2.42903543,
|
||||
"z": -29.451046
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"19": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 550.795044,
|
||||
"y": 0.595164061,
|
||||
"z": -35.4478836
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 680.795044,
|
||||
"y": 2.595164,
|
||||
"z": -28.4478836
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"20": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 574.664551,
|
||||
"y": 1.13284469,
|
||||
"z": 9.473928
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 704.664551,
|
||||
"y": 3.13284469,
|
||||
"z": 16.4739285
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"21": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 627.2017,
|
||||
"y": 1.1328454,
|
||||
"z": 11.252553
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 757.2017,
|
||||
"y": 3.1328454,
|
||||
"z": 18.252552
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"22": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 596.4421,
|
||||
"y": 0.63284564,
|
||||
"z": -34.3598671
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 726.4421,
|
||||
"y": 2.63284564,
|
||||
"z": -27.3598671
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"23": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 673.2487,
|
||||
"y": 1.1328454,
|
||||
"z": 11.5468636
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 803.2487,
|
||||
"y": 3.1328454,
|
||||
"z": 18.5468636
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"24": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 639.3273,
|
||||
"y": 0.429035425,
|
||||
"z": -35.0132523
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 769.3273,
|
||||
"y": 2.42903543,
|
||||
"z": -28.0132523
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"25": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 725.402,
|
||||
"y": 1.1328454,
|
||||
"z": 11.7485275
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 855.402,
|
||||
"y": 3.1328454,
|
||||
"z": 18.7485275
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"26": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 685.8583,
|
||||
"y": 0.429035425,
|
||||
"z": -34.3886147
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 815.8583,
|
||||
"y": 2.42903543,
|
||||
"z": -27.3886147
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"27": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 732.4933,
|
||||
"y": 0.5181968,
|
||||
"z": -33.87757
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 862.4933,
|
||||
"y": 2.51819682,
|
||||
"z": -26.8775711
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"28": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 771.495056,
|
||||
"y": 1.1328454,
|
||||
"z": 11.2905893
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 901.495056,
|
||||
"y": 3.1328454,
|
||||
"z": 18.2905884
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"29": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 823.5542,
|
||||
"y": 1.1328454,
|
||||
"z": 10.4281445
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 953.5542,
|
||||
"y": 3.1328454,
|
||||
"z": 17.4281445
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"30": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 826.30835,
|
||||
"y": 0.78616786,
|
||||
"z": -33.4903526
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 956.30835,
|
||||
"y": 2.78616786,
|
||||
"z": -26.4903526
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"31": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 779.6507,
|
||||
"y": 0.63284564,
|
||||
"z": -34.5074463
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 909.6507,
|
||||
"y": 2.63284564,
|
||||
"z": -27.5074463
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"32": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 187.328476,
|
||||
"y": -0.04013753,
|
||||
"z": -82.52847
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 317.3285,
|
||||
"y": 1.95986247,
|
||||
"z": -75.52847
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"33": {
|
||||
"type": "PORTAL",
|
||||
"$type": "SceneTransPoint",
|
||||
"gadgetId": 70110003,
|
||||
"pos": {
|
||||
"x": 138.368515,
|
||||
"y": -0.177042246,
|
||||
"z": -81.51712
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"tranPos": {
|
||||
"x": 268.36853,
|
||||
"y": 1.82295775,
|
||||
"z": -74.51712
|
||||
},
|
||||
"tranRot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"areas": {},
|
||||
"forces": {},
|
||||
"entities": {},
|
||||
"doors": {}
|
||||
}
|
Reference in New Issue
Block a user