diff --git a/Resources/Scripts/Common/Activity_ArenaChallengeMain.lua b/Resources/Scripts/Common/Activity_ArenaChallengeMain.lua index 0762920ed..87c515b0b 100644 --- a/Resources/Scripts/Common/Activity_ArenaChallengeMain.lua +++ b/Resources/Scripts/Common/Activity_ArenaChallengeMain.lua @@ -1,5 +1,5 @@ --[[ -defs = { +local defs = { RegionID = 575001 } --]] diff --git a/Resources/Scripts/Common/Activity_ArenaChallengeSub.lua b/Resources/Scripts/Common/Activity_ArenaChallengeSub.lua index 4422aecaf..68f744ba3 100644 --- a/Resources/Scripts/Common/Activity_ArenaChallengeSub.lua +++ b/Resources/Scripts/Common/Activity_ArenaChallengeSub.lua @@ -1,5 +1,5 @@ --[[ -defs = { +local defs = { RegionID = 575001 } --]] diff --git a/Resources/Scripts/Common/AsterBig.lua b/Resources/Scripts/Common/AsterBig.lua index 2741dd15a..bac0f6e42 100644 --- a/Resources/Scripts/Common/AsterBig.lua +++ b/Resources/Scripts/Common/AsterBig.lua @@ -84,7 +84,7 @@ local progress_def = { ["nightmare"] = {0,1500,3000,4500,6500} } -defs = { +local defs = { --group_main gadget_aster = 413001, gadget_reward = 123456, diff --git a/Resources/Scripts/Common/BlossomGroupV2.lua b/Resources/Scripts/Common/BlossomGroupV2.lua index 664f184ee..c1dbc023b 100644 --- a/Resources/Scripts/Common/BlossomGroupV2.lua +++ b/Resources/Scripts/Common/BlossomGroupV2.lua @@ -1,6 +1,6 @@ --地脉花循环营地模板 ---defs = { +--local defs = { -- group_id = xxx , -- monster_waves = 4, -- chest_id = xxx, diff --git a/Resources/Scripts/Common/DragonSpineBlossomA.lua b/Resources/Scripts/Common/DragonSpineBlossomA.lua index 25742af87..9cffced87 100644 --- a/Resources/Scripts/Common/DragonSpineBlossomA.lua +++ b/Resources/Scripts/Common/DragonSpineBlossomA.lua @@ -48,7 +48,7 @@ end Initialize_Group() ---------------------------------------------- --[[ -defs = { +local defs = { operator = 431009, blossom_chest = 431010, ice_storm = 431011, diff --git a/Resources/Scripts/Common/DragonSpineBlossomB.lua b/Resources/Scripts/Common/DragonSpineBlossomB.lua index c39c1412e..abdfa49fe 100644 --- a/Resources/Scripts/Common/DragonSpineBlossomB.lua +++ b/Resources/Scripts/Common/DragonSpineBlossomB.lua @@ -52,7 +52,7 @@ end Initialize_Group() ---------------------------------------------- --[[ -defs = { +local defs = { operator = 422010, blossom_chest = 422011, platform = 422013 diff --git a/Resources/Scripts/Common/FleurFair_BalloonShoot.lua b/Resources/Scripts/Common/FleurFair_BalloonShoot.lua index c8f2fbb9f..f24075a58 100644 --- a/Resources/Scripts/Common/FleurFair_BalloonShoot.lua +++ b/Resources/Scripts/Common/FleurFair_BalloonShoot.lua @@ -1,5 +1,5 @@ --[[ -defs = { +local defs = { gallery_id = 1, gadget_entry = 1, balloon_clear_state = 202, diff --git a/Resources/Scripts/Common/FleurFair_Parachute.lua b/Resources/Scripts/Common/FleurFair_Parachute.lua index e69de29bb..63e2717a3 100644 --- a/Resources/Scripts/Common/FleurFair_Parachute.lua +++ b/Resources/Scripts/Common/FleurFair_Parachute.lua @@ -0,0 +1,236 @@ +--[[ +local defs = { + gallery_id = 1, + option_1 = 7, + option_2 = 2905, + gadget_final = 453012, + gadget_operator = 453001, + group_list = {133004454,133004455,133004456,133004457,133004458}, + trans_pos = {x=2771,y=436,z=12}, + top = 453009, + bottom = 453004, + region_list = {453004,453006,453007,453008,453009} +} +--]] +----------------------- +local Tri = { + --{ config_id = 8000001, name = "select_option", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_select_option", trigger_count = 0 }, + { config_id = 8000002, name = "enter_region", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_enter_region", trigger_count = 0, forbid_guest = false }, + { config_id = 8000003, name = "leave_region", event = EventType.EVENT_LEAVE_REGION, source = "", condition = "condition_leave_region", action = "action_leave_region", trigger_count = 0, forbid_guest = false }, + { config_id = 8000004, name = "gadget_create", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_gadget_create", action = "action_gadget_create", trigger_count = 0 }, + { config_id = 8000005, name = "gallery_start", event = EventType.EVENT_GALLERY_START, source = "", condition = "", action = "action_gallery_start", trigger_count = 0}, + { config_id = 8000006, name = "gallery_stop", event = EventType.EVENT_GALLERY_STOP, source = "", condition = "", action = "action_gallery_stop", trigger_count = 0}, + { config_id = 8000007, name = "group_load", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0} +} + +local Var = { + --{name = "timer_ptr", value = 0, no_refresh = false} +} + +function Initialize() + for i,v in ipairs(Tri) do + table.insert(triggers, v) + if v.name == "enter_region" or v.name == "leave_region" then + table.insert(suites[2].triggers, v.name) + else + table.insert(suites[1].triggers, v.name) + end + end +end + +--[[function action_select_option(context, evt) + if evt.param1 ~= defs.gadget_operator then + return -1 + end + if evt.param2 == defs.option_1 then + ScriptLib.StartGallery(context, defs.gallery_id) + return 0 + elseif evt.param2 == defs.option_2 then + ScriptLib.StopGallery(context, defs.gallery_id, false) + end + return 0 +end--]] + +function action_enter_region(context, evt) + if context.uid == 0 then + return -1 + end + local position = ScriptLib.GetPosByEntityId(context, context.target_entity_id) + for i,v in ipairs(regions) do + if math.abs(v.pos.y - position.y) <= v.size.y/2 then + return LF_SET_VISION_TYPE(context, v.config_id) + end + end + return -1 +end + +function condition_leave_region(context, evt) + if context.uid == 0 then + return false + end + local position = ScriptLib.GetPosByEntityId(context, context.target_entity_id) + local bottom = 0 + local top = 0 + for i,v in ipairs(regions) do + if v.config_id == defs.bottom then + bottom = i + end + if v.config_id == defs.top then + top = i + end + end + if position.y <= regions[bottom].pos.y - regions[bottom].size.y/2 then + return true + elseif position.y >= regions[top].pos.y + regions[top].size.y/2 then + return true + elseif math.abs(position.x - regions[top].pos.x) >= regions[top].size.x/2 then + return true + elseif math.abs(position.z - regions[bottom].pos.z) >= regions[bottom].size.z/2 then + return true + end + return false +end + +function action_leave_region(context, evt) + -- 将玩家的GroupVisionType设为1 + if 0 ~= ScriptLib.SetPlayerGroupVisionType(context, {context.uid}, {1}) then + return -1 + end + + return 0 +end + +function condition_gadget_create(context, evt) + if evt.param1 ~= defs.gadget_operator then + return false + end + + return true +end + +function action_gadget_create(context, evt) + --ScriptLib.SetGadgetEnableInteract(context, 0, defs.gadget_operator, true) + return 0 +end + +function action_gallery_start(context, evt) + if evt.param1 ~= defs.gallery_id then + return -1 + end + local act_time = ScriptLib.GetActivityOpenAndCloseTimeByScheduleId(context, 2003001) + local cur_time = ScriptLib.GetServerTime(context) + if cur_time >= act_time[1] and cur_time < act_time[2] - 86400*7 then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.operator_group_id, defs.gadget_operator, 901) + end + LF_GALLERY_START(context, evt) + return 0 +end + +function action_gallery_stop(context, evt) + local act_time = ScriptLib.GetActivityOpenAndCloseTimeByScheduleId(context, 2003001) + local cur_time = ScriptLib.GetServerTime(context) + if cur_time >= act_time[1] and cur_time < act_time[2] - 86400*7 then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.operator_group_id, defs.gadget_operator, 0) + end + LF_GALLERY_STOP(context, evt) + return 0 +end + +function action_group_load(context, evt) + ScriptLib.CreateGadget(context, {config_id = defs.gadget_airwall}) + --ScriptLib.SetGadgetEnableInteract(context, 0, defs.gadget_operator, true) + return 0 +end +-------------------------- +function LF_SET_VISION_TYPE(context, cid) + local layer = 0 + for i,v in ipairs(defs.region_list) do + if v == cid then + layer = i + break + end + end + if layer < 1 or layer > #defs.region_list then + return -1 + end + local array = {} + --[[ + --常规的区间分布 + for i=-1,0,1 do + if layer+i >= 1 and layer+i <= #defs.region_list then + table.insert(array,layer+i+10) + end + end + for i,v in ipairs(array) do + ScriptLib.PrintContextLog(context, "## uid = "..context.uid.." | vision = "..v) + end + --]] + if layer == 1 then + array = {11} + elseif layer >= 2 and layer < #defs.region_list then + array = {9+layer,10+layer} + elseif layer == #defs.region_list then + array = {16} + end + return ScriptLib.SetPlayerGroupVisionType(context, {context.uid}, array) +end + +function LF_GALLERY_START(context, evt) + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, defs.gadget_airwall) + --local uid_arr = ScriptLib.GetSceneUidList(context) + --ScriptLib.TransPlayerToPos(context, {uid_list=uid_arr, pos = defs.trans_pos, rot = {x=0,y=0,z=0}}) + --ScriptLib.SetGadgetEnableInteract(context, 0, defs.gadget_operator, false) + ScriptLib.AddExtraGroupSuite(context, 0, 2) + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, defs.gadget_final) then + return -1 + end + for i,v in ipairs(defs.group_list) do + ScriptLib.AddExtraGroupSuite(context, v, 2) + end +end + +function LF_GALLERY_STOP(context, evt) + ScriptLib.CreateGadget(context, {config_id = defs.gadget_airwall}) + --ScriptLib.SetGadgetEnableInteract(context, 0, defs.gadget_operator, true) + ScriptLib.RemoveExtraGroupSuite(context, 0, 2) + for i,v in ipairs(defs.group_list) do + ScriptLib.RemoveExtraGroupSuite(context, v, 2) + end + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.SetPlayerGroupVisionType(context, uid_list, {1}) +end + +------------------------------------------- +function FlyBalloonDestinationScore(context) + ScriptLib.PrintContextLog(context, "## FlyBalloonDestinationScore | uid -> "..context.uid.." | source -> "..context.source_entity_id.." | target -> "..context.target_entity_id) + --ScriptLib.AddTeamEntityGlobalFloatValue(context, {context.uid}, "has_end_game", 1) + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["trigger_gadget_id"]=70360139,["has_end_game"]=true}) + return 0 +end + +function FlyBalloonHighScore(context) + ScriptLib.PrintContextLog(context, "## FlyBalloonHighScore | uid -> "..context.uid.." | source -> "..context.source_entity_id.." | target -> "..context.target_entity_id) + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["trigger_gadget_id"]=70360138}) + return 0 +end + +function FlyBalloonLowScore(context) + ScriptLib.PrintContextLog(context, "## FlyBalloonLowScore | uid -> "..context.uid.." | source -> "..context.source_entity_id.." | target -> "..context.target_entity_id) + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["trigger_gadget_id"]=70360137}) + return 0 +end + +function FlyBalloonLanding(context) + ScriptLib.PrintContextLog(context, "## FlyBalloonLanding | uid -> "..context.uid.." | source -> "..context.source_entity_id.." | target -> "..context.target_entity_id) + local eid = ScriptLib.GetAvatarEntityIdByUid(context, context.uid) + local pos = ScriptLib.GetPosByEntityId(context, eid) + if defs.landing_Y == nil or pos.y <= defs.landing_Y then + --ScriptLib.AddTeamEntityGlobalFloatValue(context, {context.uid}, "has_end_game", 1) + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["has_end_game"]=true}) + return 0 + end + return -1 +end +------------------------------------------- +Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/HideAndSeek.lua b/Resources/Scripts/Common/HideAndSeek.lua index b796ea435..86f89da00 100644 --- a/Resources/Scripts/Common/HideAndSeek.lua +++ b/Resources/Scripts/Common/HideAndSeek.lua @@ -1,4 +1,4 @@ ---[[defs = { +--[[local defs = { gadget_operator = xxx, group_id = xxx, gadget_prison_list = {1,2,3,4} diff --git a/Resources/Scripts/Common/V1_5/HideAndSeek_Gallery.lua b/Resources/Scripts/Common/V1_5/HideAndSeek_Gallery.lua index df2850b96..37fb40b8f 100644 --- a/Resources/Scripts/Common/V1_5/HideAndSeek_Gallery.lua +++ b/Resources/Scripts/Common/V1_5/HideAndSeek_Gallery.lua @@ -1,4 +1,4 @@ ---[[defs = { +--[[local defs = { group_id = xxx, gadget_prison_list = {1,2,3,4}, gadget_guide = {1,2,3}, diff --git a/Resources/Scripts/Common/V1_5/HilichurlLevel.lua b/Resources/Scripts/Common/V1_5/HilichurlLevel.lua index df8421463..5d5a1c802 100644 --- a/Resources/Scripts/Common/V1_5/HilichurlLevel.lua +++ b/Resources/Scripts/Common/V1_5/HilichurlLevel.lua @@ -1,5 +1,5 @@ --[[ -defs = { +local defs = { timer_region = 1, challenge_region = 2, monster_hilichurl = 3, diff --git a/Resources/Scripts/Common/V1_6/BoatRace.lua b/Resources/Scripts/Common/V1_6/BoatRace.lua index d4274155f..226142152 100644 --- a/Resources/Scripts/Common/V1_6/BoatRace.lua +++ b/Resources/Scripts/Common/V1_6/BoatRace.lua @@ -1,5 +1,5 @@ --[[ -defs = { +local defs = { need_kill_hint = true, group_id = 144001108, --对应的GroupID gadget_init = {108013, 108014}, --defs.gadget_init里按顺序填入 开启挑战机关ConfigID、 限时终点ConfigID diff --git a/Resources/Scripts/Common/V1_6/KeleeBombBattle.lua b/Resources/Scripts/Common/V1_6/KeleeBombBattle.lua index c591d7888..cb77b6e9b 100644 --- a/Resources/Scripts/Common/V1_6/KeleeBombBattle.lua +++ b/Resources/Scripts/Common/V1_6/KeleeBombBattle.lua @@ -1,5 +1,5 @@ --[[ -defs = { +local defs = { group_id = xxx, tide_sum = 25, tide_max = 8, diff --git a/Resources/Scripts/Common/V1_6/Oceanid_Boss_1_6.lua b/Resources/Scripts/Common/V1_6/Oceanid_Boss_1_6.lua index c0060749e..aa72ea5bc 100644 --- a/Resources/Scripts/Common/V1_6/Oceanid_Boss_1_6.lua +++ b/Resources/Scripts/Common/V1_6/Oceanid_Boss_1_6.lua @@ -1,5 +1,5 @@ --[[ -defs = { +local defs = { monster_boss = xxx, summon_region_list = {1,2,3}, --region出怪的list summon_interval = 15, --自动出怪时间 diff --git a/Resources/Scripts/Common/V1_6/TuneStone.lua b/Resources/Scripts/Common/V1_6/TuneStone.lua index 1bfcfda9b..42d4fb23b 100644 --- a/Resources/Scripts/Common/V1_6/TuneStone.lua +++ b/Resources/Scripts/Common/V1_6/TuneStone.lua @@ -1,5 +1,5 @@ --[[ -defs = { +local defs = { gadget_up = 1, --向上压板 gadget_down = 2, --向下压板 gadget_water = 7001, --水片 diff --git a/Resources/Scripts/Common/V1_6/VehicleBattle.lua b/Resources/Scripts/Common/V1_6/VehicleBattle.lua index bf3e6c939..332a8b69c 100644 --- a/Resources/Scripts/Common/V1_6/VehicleBattle.lua +++ b/Resources/Scripts/Common/V1_6/VehicleBattle.lua @@ -1,5 +1,5 @@ --[[ -defs = { +local defs = { group_id = xxx , monster_shaman = 1, gadget_barrier = {1,2,3,4,5}, diff --git a/Resources/Scripts/Common/V2_0/BlossomGroup.lua b/Resources/Scripts/Common/V2_0/BlossomGroup.lua index e69de29bb..48f6ea4d7 100644 --- a/Resources/Scripts/Common/V2_0/BlossomGroup.lua +++ b/Resources/Scripts/Common/V2_0/BlossomGroup.lua @@ -0,0 +1,203 @@ +--地脉花循环营地模板 + +--local defs = { +-- group_id = xxx , +-- monster_waves = 4, +-- chest_id = xxx, +-- operator1_id = xxx, +-- operator2_id = xxx +--} + + + + +local Tri = { + [1] = { name = "any_monster_die", config_id = 8000001, event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "", action = "action_any_monster_die", trigger_count = 0 }, + [2] = { name = "blossom_progress_finish", config_id = 8000002, event = EventType.EVENT_BLOSSOM_PROGRESS_FINISH, source = "", condition= "", action = "action_blossom_progress_finish", trigger_count = 0 }, + [4] = { name = "group_load", config_id = 8000004, event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0 }, + [5] = { name = "group_refresh", config_id = 8000005, event = EventType.EVENT_GROUP_REFRESH, source = "", condition = "", action = "action_group_refresh", trigger_count = 0 }, + --[6] = { name = "chest_die", config_id = 8000006, event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "", action = "action_any_gadget_die", trigger_count = 0 }, + [7] = { name = "select_option", config_id = 8000007, event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_select_option", trigger_count = 0 }, + [8] = { name = "blossom_chest_die", config_id = 8000008, event = EventType.EVENT_BLOSSOM_CHEST_DIE, source = "", condition = "", action = "action_blossom_chest_die", trigger_count = 0 }, + +} + +function Initialize() + for k,v in pairs(Tri) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + + --注入一个blossom的标志位。下次groupload时如果为1,说明玩法已经开始了,不再走一次init + table.insert(variables,{ config_id=50000001,name = "HasStarted", value = 0, no_refresh = true}) + table.insert(variables,{ config_id=50000002,name = "wave", value = 0, no_refresh = true}) + + + +end + +---------------------------------- + +function action_any_monster_die(context, evt) + --当怪物死的时候,增加循环营地进度 + ScriptLib.AddBlossomScheduleProgressByGroupId(context, 0) + --如果还有怪物活着,无事发生 + if ScriptLib.GetGroupMonsterCountByGroupId(context, 0) ~= 0 then + return -1 + end + --当前波次怪物死光了,则加载下一波怪物 + LF_Create_Next_Monster_Wave(context) + return 0 +end + +function action_group_load(context, evt) + --group加载时,刷新循环营地 + ScriptLib.PrintContextLog(context,"BG: Group has been loaded!") + ScriptLib.SetGroupVariableValue(context,"GroupCompletion",0) + + --group load时判定一下这个group是否已经开启,如果已经开启则无事发生 + local has_started = ScriptLib.GetGroupVariableValue(context,"HasStarted") + if (has_started == 1) then + ScriptLib.PrintContextLog(context,"BG: Group has been started, refresh failed!") + return 0 + end + + ScriptLib.RefreshBlossomGroup(context, { group_id = 0, suite = 1, exclude_prev = true, is_delay_unload = true }) + LF_Init_Blossom_Group(context) + return 0 +end + +function action_group_refresh(context, evt) + + ScriptLib.PrintContextLog(context,"BG: Group has been refreshed!") + + --group load时判定一下这个group是否已经开启,如果已经开启则无事发生 + local has_started = ScriptLib.GetGroupVariableValue(context,"HasStarted") + if (has_started == 1) then + ScriptLib.PrintContextLog(context,"BG: Group has been started, refresh failed!") + return 0 + end + + --group刷新时,初始化整个group + LF_Init_Blossom_Group(context) + return 0 +end + + +function action_blossom_chest_die(context,evt) + --领取完奖励后,刷新循环营地 + if evt.param1 == defs.chest then + ScriptLib.PrintContextLog(context,"BG: blossom has been opened. Refreh the next blossom group") + --group重置为没有开始的状态 + ScriptLib.SetGroupVariableValue(context,"HasStarted",0) + ScriptLib.SetGroupVariableValue(context,"wave",0) + ScriptLib.RefreshBlossomGroup(context, { group_id = 0, suite = 1, exclude_prev = true }) + + end + return 0 +end + +function action_select_option(context,evt) + --玩家选择选项后,隐藏地脉淤积gadget,清除gadget上的选项,激活第一波怪物 + ScriptLib.PrintContextLog(context,"BG: Option has been selected! Monster waves start!") + ScriptLib.SetGadgetStateByConfigId(context, LF_Get_Blossom_Operator(context), 201) + ScriptLib.DelWorktopOptionByGroupId(context,0,LF_Get_Blossom_Operator(context),187) + + + --所有东西成功刷出来了,将group设置为已开始状态 + ScriptLib.SetGroupVariableValue(context,"HasStarted",1) + LF_Start_Monster_Wave(context) + return 0 +end + + +function action_blossom_progress_finish(context,evt) + --进度打满以后,创建奖励 + LF_Create_Reward(context) + ScriptLib.SetGroupVariableValue(context,"GroupCompletion",1) + return 0 +end +---------------------------------- + +function LF_Create_Reward(context) + --创建循环营地奖励方法,并将循环营地进度置到reward + ScriptLib.PrintContextLog(context,"BG: Monster wave has ended, creating blossom group reward") + ScriptLib.SetBlossomScheduleStateByGroupId(context,0,3) + ScriptLib.PrintContextLog(context,"BG: Creaing blossom chest!!") + ScriptLib.CreateBlossomChestByGroupId(context,0,defs.chest) +end + + + + +function LF_Create_Next_Monster_Wave(context) + --更新下一波怪物潮的方法,如果已经到了最后一波,则不刷新(此时理论上来说打完应该直接触发blossom group finish) + local wave = ScriptLib.GetGroupVariableValue(context,"wave") + --local wave = ScriptLib.GetGroupTempValue(context, "wave", {}) + local nextWave = wave + 1 + if nextWave+1 > #suites then + ScriptLib.PrintContextLog(context, "BG: This is final wave ") + else + ScriptLib.PrintContextLog(context,"BG: Creating monster wave: "..nextWave) + ScriptLib.AddExtraGroupSuite(context, 0, nextWave+1) + + ScriptLib.PrintContextLog(context,"BG: We are trying to load suite : "..nextWave+1) + ScriptLib.SetGroupVariableValue(context,"wave",nextWave) + --ScriptLib.SetGroupTempValue(context, "wave", nextWave, {}) + end +end + + +function LF_Start_Monster_Wave(context) + --启动怪物潮,进入打怪阶段 + ScriptLib.SetBlossomScheduleStateByGroupId(context, 0, 2) + ScriptLib.SetGroupVariableValue(context,"wave",0) + --ScriptLib.SetGroupTempValue(context, "wave", 0, {}) + --加载第一波怪物 + LF_Create_Next_Monster_Wave(context) +end + + + +function LF_Init_Blossom_Group(context) + --初始化循环营地方法,移除全部的怪物group,并刷新地脉淤积操作台 + ScriptLib.PrintContextLog(context,"BG: Blossom group is initiating") + + --初始化时,先移除掉所有怪物的suite + for i = 2, #suites do + ScriptLib.RemoveExtraGroupSuite(context,0,i) + end + if (LF_Get_Blossom_Operator(context) == -1) then + return -1 + end + + ScriptLib.PrintContextLog(context,"BG: Current operator config id is: "..LF_Get_Blossom_Operator(context)) + + --加载地脉淤积的gadget + local ret = ScriptLib.CreateGadget(context, {config_id = LF_Get_Blossom_Operator(context)}) + + ScriptLib.PrintContextLog(context,"BG: Create worktop result: "..ret) + + --给地脉淤积的gadget增加操作选项 + ScriptLib.SetWorktopOptionsByGroupId(context,0,LF_Get_Blossom_Operator(context),{187}) + + + return 0 +end + + + +function LF_Get_Blossom_Operator(context) + --获取当前BlossomGroup的地脉淤积操作台的方法,根据当前的刷新类型,返回不同的操作台 + + local operator = {[1]=defs.operator_1,[2]=nil,[3]=defs.operator_2} + local refreshType = ScriptLib.GetBlossomRefreshTypeByGroupId(context, 0) + if not (refreshType == 1 or refreshType == 3) then + return -1 + end + ScriptLib.PrintContextLog(context,"BG: Current blossom group refresh type: "..refreshType) + + return operator[refreshType] +end +---------------------------------- +Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V2_0/TemariChallenge.lua b/Resources/Scripts/Common/V2_0/TemariChallenge.lua index e69de29bb..16994ce15 100644 --- a/Resources/Scripts/Common/V2_0/TemariChallenge.lua +++ b/Resources/Scripts/Common/V2_0/TemariChallenge.lua @@ -0,0 +1,672 @@ +--2.0奥博伦派对玩法 + +--local defs = { +-- group_id = 111101122 , +-- tamari_gadget_id = defs.temari_gadget_id, +-- host_option_id = 184, +-- guset_option_id = 185, +-- host_chest_id = 122001, +--} + + +local tempDefs = { + pre_quest = 7217605, + host_option = 2351, + guest_option = 2350, + find_ball_challenge_offline = 244, + hide_ball_challenge = 236, + find_ball_challenge = 235, + father_hide_ball_challenge = 242, + father_find_ball_challenge = 243, + challenge_time = 30 +} +local chests = {} +local temari_gadgets = {} +local Tri1 = { + [1] = { name = "group_load", config_id = 8000001, event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0}, + [2] = { name = "quest_finish", config_id = 8000002, event = EventType.EVENT_QUEST_FINISH, source = "",condition = "",action = "action_quest_finish",trigger_count= 0}, +} +local Tri2 = { + [1] = { name = "quest_start", config_id = 8000003, event = EventType.EVENT_QUEST_START, source = "",condition = "",action = "action_quest_start",trigger_count= 0}, + [2] = { name = "challenge_success", config_id = 8000004, event = EventType.EVENT_CHALLENGE_SUCCESS, source = "",condition = "",action = "action_challenge_success",trigger_count= 0}, + [3] = { name = "challenge_fail", config_id = 8000005, event = EventType.EVENT_CHALLENGE_FAIL, source = "",condition = "",action = "action_challenge_fail",trigger_count= 0}, + [4] = { name = "select_option", config_id = 8000006, event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_select_option", trigger_count = 0, forbid_guest = false }, + [5] = { name = "group_refresh", config_id = 8000007, event = EventType.EVENT_GROUP_REFRESH, source = "", condition = "", action = "action_group_refresh", trigger_count = 0}, + [6] = { name = "gadget_create", config_id = 8000008, event = EventType.EVENT_GADGET_CREATE, source = "", condition = "", action = "action_gadget_create", trigger_count = 0}, + +} + +function Initialize() + for k,v in pairs(Tri1) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + for k,v in pairs(Tri2) do + table.insert(triggers, v) + table.insert(suites[2].triggers, v.name) + end + + table.insert(chests,defs.chest_1) + table.insert(chests,defs.chest_2) + table.insert(chests,defs.chest_3) + --table.insert(chests,defs.chest_online) + table.insert(temari_gadgets,defs.temari_1) + table.insert(temari_gadgets,defs.temari_2) + table.insert(temari_gadgets,defs.temari_3) + table.insert(temari_gadgets,defs.temari_online) + + table.insert(variables,{ config_id=50000001,name = "has_hidden", value = 0,no_refresh = true}) + --记录uid的低四位 + table.insert(variables,{ config_id=50000002,name = "challenger_uid1", value = 0}) + --记录uid的高位,challenger_uid2*10000+challenger_uid就是最后正确的uid + table.insert(variables,{ config_id=50000003,name = "challenger_uid2", value = 0}) + + --记录放球的小数位 + table.insert(variables,{ config_id=50000004,name = "pos_x1", value = 0}) + table.insert(variables,{ config_id=50000005,name = "pos_z1", value = 0}) +end + +-------------------------------------------------------------------- + +--group load时,无事发生 +function action_group_load(context,evt) + ScriptLib.PrintContextLog(context,"TMR: Group Load!") + LF_Initiate_Play(context) + + return 0 +end + + +--group refresh时,重置group状态,回到第一关 +function action_group_refresh(context,evt) + ScriptLib.PrintContextLog(context,"TMR: Group Refresh!") + LF_Reset_Group(context) + return 0 +end + +--任务开始时,加载下一关(单机挑战) +function action_quest_start(context,evt) + ScriptLib.PrintContextLog(context,"TMR: Player has triggered some quest!!") + --校验一下任务id,确保是奥博伦任务触发的任务开始 + if string.sub(evt.param1,1,5) == tostring(defs.FatherQuest) then + ScriptLib.PrintContextLog(context,"TMR: Triggered quest is :"..evt.param1) + LF_Set_Challenge_State(context,1) + LF_Load_Next_Level(context) + LF_Start_Challenge(context,0) + end + return 0 +end + +--操作台创建时,直接挂选项 +function action_gadget_create(context,evt) + if (evt.param1 == defs.temari_gadget_id) then + LF_Set_Gadget_Option(context) + end + return 0 +end + +function action_quest_finish(context,evt) + ScriptLib.PrintContextLog(context,"TMR: pre quest has been finished, load the second suite!!") + if (evt.param1 == tempDefs.pre_quest) then + LF_Initiate_Play(context) + end + return 0 +end + +--选择了选项,根据当前主客机,触发不同的挑战(联机挑战) +function action_select_option(context,evt) + --试图开启主机藏球挑战 + if evt.param2 == tempDefs.host_option then + --藏球挑战 + if LF_Is_Host(context) then + if LF_Get_Challenge_State(context) == 10 or LF_Get_Challenge_State(context) == 12 then + --仅在联机玩法初始化以及主机已完成藏球的情况下,可以开启藏球挑战 + ScriptLib.PrintContextLog(context,"TMR: !!!!!!!!!!!!Hide ball challenge starts!!!!!!!") + LF_Load_Online_Level(context,1) + LF_Set_Challenge_State(context,11) + LF_Start_Challenge(context,1) + ScriptLib.DelWorktopOptionByGroupId(context,defs.group_id,defs.temari_gadget_id,tempDefs.host_option) + elseif LF_Get_Challenge_State(context) == 11 then + --主机在藏球挑战中再次交互,试图开启藏球挑战(理论上不存在这种情况) + ScriptLib.PrintContextLog(context,"TMR: CHALLENGE FAILS!!! Cannot start duplicated challenges!!!") + elseif LF_Get_Challenge_State(context) == 13 then + --客机正在找球,不允许主机开启藏球挑战 + ScriptLib.SendServerMessageByLuaKey(context, "GUEST_CHALLENGING", {context.uid}) + ScriptLib.PrintContextLog(context,"TMR: CHALLENGE FAILS!!! Guest is challenging!!!") + end + else + --客机不能开启主机的藏球挑战 + ScriptLib.SendServerMessageByLuaKey(context, "HOST_ONLY_CHALLENGE", {context.uid}) + ScriptLib.PrintContextLog(context,"TMR: CHALLENGE FAILS!!!! Guest cannot hide ball!") + end + end + if evt.param2 == tempDefs.guest_option then + --找球挑战(允许主机也开启挑战,因此这里不做主客机的区分) + if LF_Get_Challenge_State(context)==12 then + --主机已完成藏球,可以开始挑战 + ScriptLib.PrintContextLog(context,"TMR: !!!!!!!!!!!Find ball challenge starts!!!!!!!!!!!!") + LF_Load_Online_Level(context,2) + local ret = LF_Start_Challenge(context,2) + if (ret == -1) then + ScriptLib.PrintContextLog(context,"TMR: CHALLENGE FAILS!!!! Same gallery is activating!") + LF_Online_Hide_Level(context) + return 0 + end + LF_Set_Challenge_State(context,13) + ScriptLib.DelWorktopOptionByGroupId(context,defs.group_id,defs.temari_gadget_id,tempDefs.guest_option) + elseif LF_Get_Challenge_State(context)== 10 then + --主机没有藏球,不能挑战 + ScriptLib.SendServerMessageByLuaKey(context, "LEVEL_NOT_SETTLED", {context.uid}) + ScriptLib.PrintContextLog(context,"TMR: CHALLENGE FAILS!!!! Host hasn't hide the ball!") + elseif LF_Get_Challenge_State(context)== 11 then + --主机正在藏球,不能挑战 + ScriptLib.SendServerMessageByLuaKey(context, "LEVEL_SETTLING", {context.uid}) + ScriptLib.PrintContextLog(context,"TMR: CHALLENGE FAILS!!!! Host is hiding the ball!") + elseif LF_Get_Challenge_State(context)== 13 then + --挑战中试图再开启一个找球挑战,理论上不存在这种情况 + ScriptLib.PrintContextLog(context,"TMR: CHALLENGE FAILS!!!! Cannot start duplicated challenges!!!") + end + end + + return 0 +end + + +--分别处理单机玩法和联机玩法挑战失败的情况 +function action_challenge_fail(context,evt) + + if LF_Get_Play_Phase(context) == 1 then + if evt.param1 == tempDefs.find_ball_challenge_offline then + ScriptLib.PrintContextLog(context,"TMR: Offline Challenge fails!") + LF_Stop_Temari_Gallery(context) + LF_Update_Quest_State(context,false) + end + else + --联机挑战阶段挑战失败 + if evt.param1 == tempDefs.father_hide_ball_challenge then + --藏球失败 + ScriptLib.PrintContextLog(context,"TMR: Host Challenge fails!") + --创建一个藏球宝箱 5.27需求,不需要联机奖励宝箱了 + --ScriptLib.CreateGadget(context,{config_id=chests[#chests]}) + --修改挑战状态。如果玩家至少藏过一次球,则即使失败,也将状态置为12(即藏过球),否则置为10,认为没有藏球 + if (LF_Has_Hidden_Ball(context)) then + LF_Set_Challenge_State(context,12) + else + LF_Set_Challenge_State(context,10) + end + LF_Set_Gadget_Option(context) + --移除掉联机用的关卡布设 + LF_Online_Hide_Level(context) + --LF_Teleport_Player(context) + end + if evt.param1 == tempDefs.father_find_ball_challenge then + --客机找球挑战失败 + ScriptLib.PrintContextLog(context,"TMR: Guest Challenge fails!") + LF_Set_Challenge_State(context,12) + --移除掉联机用的关卡布设 + LF_Online_Hide_Level(context) + LF_Set_Gadget_Option(context) + LF_Stop_Temari_Gallery(context) + end + end + + return 0 +end + + +--分别处理单机玩法和联机玩法挑战成功的情况 +function action_challenge_success(context,evt) + + ScriptLib.PrintContextLog(context,"TMR: Some challenge has been finished!!!") + if LF_Get_Play_Phase(context) == 1 then + if evt.param1 == tempDefs.find_ball_challenge_offline then + ScriptLib.PrintContextLog(context,"TMR: Offline Challenge success!") + LF_Stop_Temari_Gallery(context) + LF_Update_Quest_State(context,true) + --创建一个单机找球挑战宝箱,仅单机挑战的最后一关给一个宝箱 + if (LF_Get_OfflineChallenge_Level(context)-2 == 3) then + ScriptLib.CreateGadget(context,{config_id=chests[LF_Get_OfflineChallenge_Level(context)-2]}) + end + end + else + --联机挑战阶段挑战成功 + if evt.param1 == tempDefs.father_hide_ball_challenge then + --藏球挑战成功 + ScriptLib.PrintContextLog(context,"TMR: Host Challenge finishes!") + --创建一个藏球宝箱 5.27需求,不需要联机奖励宝箱了 + --ScriptLib.CreateGadget(context,{config_id=chests[#chests]}) + --修改挑战状态 + LF_Set_Challenge_State(context,12) + LF_Set_Gadget_Option(context) + LF_Teleport_Player(context) + end + if evt.param1 == tempDefs.father_find_ball_challenge then + --找球挑战成功,挑战状态回到12 + ScriptLib.PrintContextLog(context,"TMR: Guest Challenge success!") + LF_Set_Challenge_State(context,12) + --移除掉联机用的关卡布设 + LF_Online_Hide_Level(context) + LF_Set_Gadget_Option(context) + LF_Stop_Temari_Gallery(context) + end + end + + return 0 +end + +-------------------------------------------------------------------- +--辅助方法----------------------------------------------------------- +-------------------------------------------------------------------- + + +--关卡相关方法--------------------------------------------------- + +--初始化整个玩法的方法,仅当groupload时调用 +function LF_Initiate_Play(context) + local uidList = ScriptLib.GetSceneUidList(context) + --上线的时候如果同时group load,可能找不到uidlist,做一个保护 + if (uidList == nil or #uidList == 0) then + return 0 + end + local avatar_entity = ScriptLib.GetAvatarEntityIdByUid(context, uidList[1]) + local quest_state = ScriptLib.GetQuestState(context, avatar_entity, tempDefs.pre_quest) + ScriptLib.PrintContextLog(context,"TMR: Prequest state is: "..quest_state) + + if ScriptLib.GetQuestState(context, avatar_entity, tempDefs.pre_quest) == QuestState.FINISHED then + ScriptLib.PrintContextLog(context,"TMR: pre quest has been finished, group load!!") + local ret = ScriptLib.GoToGroupSuite(context,defs.group_id,2) + --将当前suite切换到2,确保下一次从suite3开始加载 + LF_Set_OfflineChallenge_Level(context,2) + ScriptLib.PrintContextLog(context,"TMR: The result of loading suite 2 : "..ret) + end +end + +--加载单机挑战的下一个关卡 +function LF_Load_Next_Level(context) + local curLevel = LF_Get_OfflineChallenge_Level(context) + curLevel = curLevel + 1 + ScriptLib.PrintContextLog(context,"TMR: Ready to load SUITE: "..curLevel) + LF_Set_OfflineChallenge_Level(context,curLevel) + ScriptLib.AddExtraGroupSuite(context,defs.group_id,curLevel) +end + +--初始化联机玩法 +function LF_Initiate_Online_Challenge(context) + --把交互用的奥博伦球创建出来 + ScriptLib.CreateGadget(context,{config_id = defs.temari_gadget_id}) + --给奥博伦交互球设置选项 + LF_Set_Gadget_Option(context) +end + +--加载联机挑战的关卡 +--phase = 1:主机藏球挑战;phase = 2:客机找球挑战 +function LF_Load_Online_Level(context,phase) + if ( phase == 1 ) then + --加载最后一组suite(和LD约定最后一组suite为联机关卡) + ScriptLib.AddExtraGroupSuite(context,0,#suites) + --去掉场景内现在藏着的球 + ScriptLib.KillEntityByConfigId(context,{config_id = defs.temari_online}) + else + --加载最后一组suite(和LD约定最后一组suite为联机关卡) + ScriptLib.AddExtraGroupSuite(context,0,#suites) + --把存储的球的位置加载出来 + local pos = LF_Load_Online_Temari_Pos(context) + ScriptLib.CreateGadgetByConfigIdByPos(context, defs.temari_online, {x=pos.x,y=pos.y,z=pos.z}, {x=0,y=0,z=0}) + end +end + + +--重置整个group的方法,将group还原至最初的状态 +function LF_Reset_Group(context) + if LF_Get_Play_Phase(context) == 1 then + LF_Set_OfflineChallenge_Level(context,2) + LF_Set_Challenge_State(context,0) + else + --移除掉联机用的关卡布设 + ScriptLib.RemoveExtraGroupSuite(context,0,#suites) + ScriptLib.KillEntityByConfigId(context,{config_id = defs.temari_online}) + LF_Set_Challenge_State(context,10) + LF_Set_Gadget_Option(context) + end +end + + +--gallery/challenge/quest相关方法-------------------------------------------------- + +--启动挑战的方法,对于联机挑战,需要把启动的子挑战挂在父挑战上一起启动。 +--target:0:单机找球;1:联机藏球;2:联机找球 +function LF_Start_Challenge(context,target) + if LF_Get_Play_Phase(context) == 1 then + --要求开启挑战,因为是单机的,直接开就可以了 + ScriptLib.ActiveChallenge(context,tempDefs.find_ball_challenge_offline,tempDefs.find_ball_challenge_offline,tempDefs.challenge_time, 0, tempDefs.find_ball_challenge_offline, 1) + LF_Start_Temari_Gallery(context) + + else + if (target == 2) then + local ret = LF_Start_Temari_Gallery(context) + --如果gallery没有开出来,说明同scene下已经有一个同名gallery了,整个玩法都不允许开启 + if (ret == -1) then + return -1 + end + --开启挑战的时候,存一下开启挑战者的uid + LF_Save_Challenger(context) + end + --联机状态下,要把子挑战挂给父挑战后再开启 + local challenge = 0 + local father_challenge = 0 + if (target == 1) then + challenge = tempDefs.hide_ball_challenge + father_challenge = tempDefs.father_hide_ball_challenge + elseif target == 2 then + challenge = tempDefs.find_ball_challenge_offline + father_challenge = tempDefs.father_find_ball_challenge + end + local child_challenge_param_table = {tempDefs.challenge_time,0,challenge,1} + ScriptLib.CreateFatherChallenge(context, father_challenge, father_challenge, tempDefs.challenge_time, {success=2, fail=1}) + ScriptLib.AttachChildChallenge(context, father_challenge, challenge, challenge, child_challenge_param_table, {context.uid},{success=1, fail=1}) + ScriptLib.StartFatherChallenge(context,father_challenge) + + end + return 0 +end + +--终止挑战的方法,challenge:目标的挑战ID; +--target: 0:单机挑战;1:联机藏球;2:联机找球 +--result:true=1,false=0 +function LF_Stop_Challenge(context,target,result) + + if LF_Get_Play_Phase(context) == 1 then + --单机的直接关掉即可 + + ScriptLib.PrintContextLog(context,"TMR: Stop offline challenge here!!!") + ScriptLib.StopChallenge(context,tempDefs.find_ball_challenge_offline,result) + else + if (target == 1) then + --结束联机藏球挑战 + ScriptLib.PrintContextLog(context,"TMR: Stop hide ball challenge with result: "..result) + ScriptLib.StopChallenge(context,tempDefs.father_hide_ball_challenge,result) + elseif (target == 2) then + --结束联机找球挑战 + ScriptLib.PrintContextLog(context,"TMR: Stop find ball challenge with result: "..result) + ScriptLib.StopChallenge(context,tempDefs.father_find_ball_challenge,result) + end + end +end + + +--启动藏球的方向指示gallery +function LF_Start_Temari_Gallery(context) + local ret = ScriptLib.SetPlayerStartGallery(context, 9001, {context.uid}) + --如果gallery没有开出来,说明同scene下已经有一个同名gallery了,整个玩法都不允许开启 + if (ret == -1) then + return -1 + end + local temari_pos = LF_Get_Temari_Pos(context) + ScriptLib.SetHandballGalleryBallPosAndRot(context, 9001, {x=temari_pos.x,y=temari_pos.y,z=temari_pos.z}, {x=0,y=0,z=0}) +end + +--关闭藏球的方向指示gallery +function LF_Stop_Temari_Gallery(context) + ScriptLib.StopGallery(context, 9001, true) +end + + +--根据参数更新单机挑战的任务状态,传入true为成功、false为失败 +function LF_Update_Quest_State(context, questState) + local curLevel = LF_Get_OfflineChallenge_Level(context) + local quest_level = curLevel-2 + local quest_suffix = "01" + if (questState) then + quest_suffix = "01" + else + quest_suffix = "02" + end + local quest_param = defs.group_id.."0"..quest_level..quest_suffix + local ret = ScriptLib.AddQuestProgress(context,quest_param) + + ScriptLib.PrintContextLog(context,"TMR: quest param is "..quest_param) + + ScriptLib.PrintContextLog(context,"TMR: The result of Adding quest progress is "..ret) + + --不论挑战是否胜利,都要移除掉当前加载的关卡 + ScriptLib.PrintContextLog(context,"TMR: The removed suite is "..curLevel) + ScriptLib.RemoveExtraGroupSuite(context,defs.group_id,curLevel) + + --如果胜利,且是单机挑战的最后一个suite,胜利后直接进入联机玩法状态 + if (questState) then + if (curLevel+1>=#suites) then + ScriptLib.PrintContextLog(context,"TMR:!!!!!!!!!!!!!!!!!Offline challenge has finished!!!!!!!!!!!!!!!!") + LF_Set_Challenge_State(context,10) + LF_Initiate_Online_Challenge(context) + end + end + + --如果挑战失败,要将当前的关卡向前回滚一关,这样下次开启任务才能再次开启当前关卡 + if (not questState) then + LF_Set_OfflineChallenge_Level(context,curLevel-1) + end +end + +--通用类方法----------------------------------------------------------- + +--将玩家传送回奥博伦球控制台附近 +function LF_Teleport_Player(context) + local temari_worktop_id = ScriptLib.GetEntityIdByConfigId(context,defs.temari_gadget_id) + local temari_pos = ScriptLib.GetPosByEntityId(context, temari_worktop_id) + + local uidlist = ScriptLib.GetSceneUidList(context) + ScriptLib.PrintContextLog(context,"TMR: Current host player is :"..uidlist[1]) + ScriptLib.PrintContextLog(context,"TMR: The context uid is: "..context.uid) + if (LF_Is_Host(context)) then + ScriptLib.TransPlayerToPos(context, {uid_list = {uidlist[1]}, pos = {x=temari_pos.x,y=temari_pos.y,z=temari_pos.z}, radius = 1, rot = {x=0, y=0, z=1},is_skip_ui=false} ) + else + ScriptLib.TransPlayerToPos(context, {uid_list = {context.uid}, pos = {x=temari_pos.x,y=temari_pos.y,z=temari_pos.z}, radius = 1, rot = {x=0, y=0, z=1},is_skip_ui=false} ) + end +end + + +--给奥博伦球gadget设置选项 +function LF_Set_Gadget_Option(context) + ScriptLib.SetWorktopOptionsByGroupId(context,defs.group_id,defs.temari_gadget_id,{tempDefs.guest_option,tempDefs.host_option}) +end + + +--联机玩法中,隐藏关卡配置的方法,调用后隐藏掉当前的关卡配置以及放着的球 +function LF_Online_Hide_Level(context) + --干掉藏起来的球 + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, defs.temari_online) + --干掉放置用关卡 + ScriptLib.RemoveExtraGroupSuite(context,0,#suites) +end + +--通用的放球方法,把球放下来并记录其位置 +function LF_Hide_Ball(context) + local uid_list = ScriptLib.GetSceneUidList(context) + local avatar_id = ScriptLib.GetAvatarEntityIdByUid(context, uid_list[1]) + local pos = ScriptLib.GetPosByEntityId(context, avatar_id) + ScriptLib.CreateGadgetByConfigIdByPos(context, defs.temari_online, {x=pos.x+1,y=pos.y+1.5,z=pos.z}, {x=0,y=0,z=0}) + --存一下球的位置,马上要销毁掉 + LF_Save_Online_Temari_Pos(context) + LF_Online_Hide_Level(context) +end + +--挑战开启时,将挑战者记录下来 +function LF_Save_Challenger(context) + ScriptLib.PrintContextLog(context,"TMR: Save challenger uid: "..context.uid) + --拆一下uid存下来,防止位数超了 + local uid1 = context.uid % 10000 --低位 + local uid2 = math.floor(context.uid / 10000) --高位 + + ScriptLib.SetGroupVariableValue(context,"challenger_uid1",uid1) + ScriptLib.SetGroupVariableValue(context,"challenger_uid2",uid2) + + ScriptLib.PrintContextLog(context,"TMR: Saving uid2"..uid2) + ScriptLib.PrintContextLog(context,"TMR: Saving uid1"..uid1) +end + +function LF_Is_Same_Challenger(context) + local uid1 = ScriptLib.GetGroupVariableValue(context,"challenger_uid1") + local uid2 = ScriptLib.GetGroupVariableValue(context,"challenger_uid2") + + local uid = uid2 * 10000 + uid1 + + ScriptLib.PrintContextLog(context,"TMR: Player touching ball is: "..context.uid.." and the player set ball is "..uid) + return context.uid == uid +end + + +-----CRUD类方法----------------------------------------------------------- + +--改变当前玩法状态 +--0:group初始化状态,完全没有开始 +--1:单机挑战进行中(用level参数确定当前正在进行的单机关卡数) +--10:已完成单机挑战,联机挑战未开启 +--11:主机进行藏球挑战 +--12:主机已完成藏球 +--13:客机进行找球挑战 +function LF_Set_Challenge_State(context,target_state) + ScriptLib.PrintContextLog(context,"TMR: Changing play state to: "..target_state) + ScriptLib.SetGroupVariableValue(context,"ChallengeState",target_state) +end + +--获取当前玩法状态 +--0:group初始化状态,完全没有开始 +--1:单机挑战进行中(用level参数确定当前正在进行的单机关卡数) +--10:已完成单机挑战,联机挑战未开启 +--11:主机进行藏球挑战 +--12:主机已完成藏球 +--13:客机进行找球挑战 +function LF_Get_Challenge_State(context) + return ScriptLib.GetGroupVariableValue(context,"ChallengeState") +end + +--设置单机挑战的当前关卡 +function LF_Set_OfflineChallenge_Level(context,targetLevel) + ScriptLib.SetGroupVariableValue(context,"ChallengeLevel",targetLevel) +end + +--读取单机挑战的当前关卡 +function LF_Get_OfflineChallenge_Level(context) + return ScriptLib.GetGroupVariableValue(context,"ChallengeLevel") +end + + +--返回当前关卡的手鞠球位置 +function LF_Get_Temari_Pos(context) + if (LF_Get_Play_Phase(context) == 1) then + --一阶段获取手鞠球的位置 + local curLevel = LF_Get_OfflineChallenge_Level(context) + local temari_entity_id = ScriptLib.GetEntityIdByConfigId(context,temari_gadgets[curLevel-2]) + local temari_pos = ScriptLib.GetPosByEntityId(context, temari_entity_id) + ScriptLib.PrintContextLog(context,"TMR: Temari pos: "..temari_pos.x..","..temari_pos.y..","..temari_pos.z) + return temari_pos + else + --二阶段获取手鞠球的位置 + local temari_entity_id = ScriptLib.GetEntityIdByConfigId(context,defs.temari_online) + local temari_pos = ScriptLib.GetPosByEntityId(context, temari_entity_id) + ScriptLib.PrintContextLog(context,"TMR: Temari pos: "..temari_pos.x..","..temari_pos.y..","..temari_pos.z) + return temari_pos + end +end + +--存储联机玩法中当前球的位置 +function LF_Save_Online_Temari_Pos(context) + local pos = LF_Get_Temari_Pos(context) + + ScriptLib.PrintContextLog(context,"TMR: Save Temari pos: "..pos.x..","..pos.y..","..pos.z) + local ret = ScriptLib.SetGroupVariableValue(context,"pos_x",math.floor(pos.x)) + ScriptLib.SetGroupVariableValue(context,"pos_y",math.ceil(pos.y)) + ScriptLib.SetGroupVariableValue(context,"pos_z",math.floor(pos.z)) + + ScriptLib.SetGroupVariableValue(context,"pos_x1",math.floor((pos.x-math.floor(pos.x))*10)) + ScriptLib.SetGroupVariableValue(context,"pos_z1",math.floor((pos.z-math.floor(pos.z))*10)) + + ScriptLib.PrintContextLog(context,"TMR: set pos ret = "..ret) +end + +--读取联机玩法中当前球的位置 +function LF_Load_Online_Temari_Pos(context) + local pos_x = ScriptLib.GetGroupVariableValue(context,"pos_x") + local pos_y = ScriptLib.GetGroupVariableValue(context,"pos_y") + local pos_z = ScriptLib.GetGroupVariableValue(context,"pos_z") + + local pos_x1 = ScriptLib.GetGroupVariableValue(context,"pos_x1")/10 + local pos_z1 = ScriptLib.GetGroupVariableValue(context,"pos_z1")/10 + ScriptLib.PrintContextLog(context,"TMR: Load Temari pos: "..pos_x+pos_x1..","..pos_y..","..pos_z+pos_z1) + local pos = {x=pos_x+pos_x1,y=pos_y,z=pos_z+pos_z1} + return pos +end + + +--返回玩家是否至少藏了一次球 +function LF_Has_Hidden_Ball(context) + if ScriptLib.GetGroupVariableValue(context,"has_hidden")==1 then + return true + else + return false + end +end + + +--返回当前整体玩法进度 +--phase1:单机挑战阶段 +--phase2:联机挑战阶段(phase 2下刷新group不会再回到phase 1) +function LF_Get_Play_Phase(context) + if (LF_Get_Challenge_State(context)<10) then + return 1 + else + return 2 + end +end + +--返回当前(触发事件)的玩家是否是主机 +function LF_Is_Host(context) + local uid_List = ScriptLib.GetSceneUidList(context) + local host_id = uid_List[1] + ScriptLib.PrintContextLog(context,"TMR: Current user id is "..context.uid) + ScriptLib.PrintContextLog(context,"TMR: Host user id is "..host_id) + return (host_id==context.uid) or (context.uid == 0) +end +-------------------------------------------------------------------- + +--server lua call--------------------------------------------------- + +--找球胜利,通过球自身的ability调用(调用时需要判定当前玩家主客机,如果是主机则无事发生) +function SLC_Find_Ball(context) + if LF_Get_Play_Phase(context) == 1 then + ScriptLib.PrintContextLog(context,"TMR: Player has found the ball!") + local curLevel = LF_Get_OfflineChallenge_Level(context) + ScriptLib.KillEntityByConfigId(context,{config_id = temari_gadgets[curLevel-2]}) + LF_Stop_Challenge(context,0,1) + else + --联机情况下,判断挑战开启者和碰到球的是否是一个人,如果不是则无事发生 + if (LF_Is_Same_Challenger(context)) then + ScriptLib.PrintContextLog(context,"TMR: Guest has found the ball!") + ScriptLib.KillEntityByConfigId(context,{config_id = defs.temari_online}) + --成就相关,如果当前完成的玩家并不是主机,则发送一次成就完成的消息 + if (not LF_Is_Host(context)) then + ScriptLib.MarkPlayerAction(context, 6018 , 3 , 1) + end + LF_Stop_Challenge(context,2,1) + end + end + return 0 +end + + +--放球的server lua call,被主机的E技能键调用 +function SLC_Hide_Ball(context) + local avatar_id = ScriptLib.GetAvatarEntityIdByUid(context, context.uid) + local pos = ScriptLib.GetPosByEntityId(context, avatar_id) + ScriptLib.CreateGadgetByConfigIdByPos(context, defs.temari_online, {x=pos.x,y=pos.y+1,z=pos.z}, {x=0,y=0,z=0}) + ----存一下球的位置,马上要销毁掉 + LF_Save_Online_Temari_Pos(context) + LF_Stop_Challenge(context,1,1) + LF_Online_Hide_Level(context) + --藏球后,将藏球的标志置为1(说明玩家至少藏了一次球) + ScriptLib.SetGroupVariableValue(context,"has_hidden",1) + return 0 +end + +-------------------------------------------------------------------- +Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V2_0/ThunderHole.lua b/Resources/Scripts/Common/V2_0/ThunderHole.lua index e69de29bb..21ea2585e 100644 --- a/Resources/Scripts/Common/V2_0/ThunderHole.lua +++ b/Resources/Scripts/Common/V2_0/ThunderHole.lua @@ -0,0 +1,152 @@ +--雷元素溢出洞口 +--需求: +--1. 同group内的溢出洞口,每经过时间randomTime,发一次球 +--2. 每次randomCount个洞口会发球 +--[[ +local defs = { + --GroupID + group_id = 240950005, + + --控制挑战开始的操作机关configID + --starter_configID = , + + --随机时间轴。每个轴上数字间隔8~15秒,请人力随机 + RandomTimeAxis = { + {2,18,38,56,81,99,115,133,148,165,180,196,211,235,257,276,300,315,330,349,367,383,400,416,431,449,471,487}, + {1,17,36,53,69,89,109,134,158,173,197,213,231,249,264,289,305,324,347,362,385,407,429,453,473,491}, + {2,19,42,61,85,104,128,146,167,190,209,232,255,271,288,307,327,348,368,393,412,430,455,477,500}, + }, + + --配置每次几个洞口发球 + random_thunderhole_sum = { + min = 1, + max = 3, + }, + +} +]]-- + +local define = { + gadgetList = {}, + groupID = defs.group_id, + starter_configID = defs.starter_configID, + RandomTimeAxis = defs.RandomTimeAxis, + random_thunderhole_sum = defs.random_thunderhole_sum, +} + +local extraTriggers={ + initialtrigger = + { + --["Select_Option"] = { config_id = 8000001, name = "Select_Option", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_select_option", trigger_count = 0 }, + ["TimeAxis_Event"] = { config_id = 8000002, name = "TimeAxis_Event", event= EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "", action = "action_trigger_timeaxis", trigger_count = 0 }, + --["Challenge_Fail"] = { config_id = 8000003, name = "Challenge_Fail", event= EventType.EVENT_CHALLENGE_FAIL, source = "", condition = "", action = "action_challenge_fail", trigger_count = 0 }, + ["GroupVariable_Change"] = { config_id = 8000003, name = "GroupVariable_Change", event= EventType.EVENT_VARIABLE_CHANGE, source = "challenge", condition = "", action = "action_group_variable_change", trigger_count = 0 }, + --["GadgetState_Change"] = { config_id = 8000004, name = "GadgetState_Change", event= EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "", action = "action_gadget_state_change", trigger_count = 0 }, + --["Challenge_Success"] = { config_id = 8000005, name = "Challenge_Success", event= EventType.EVENT_CHALLENGE_SUCCESS, source = "", condition = "", action = "action_challenge_success", trigger_count = 0 }, + } +} + +function LF_Initialize_Group(triggers, suites) + for k,v in pairs(extraTriggers.initialtrigger) do + table.insert(triggers, v) + table.insert(suites[init_config.suite].triggers, v.name) + end + GetThunderHoleGadget(context) + return 0 +end + +--取得所有的溢出洞口 +function GetThunderHoleGadget(context) + for k,v in pairs(gadgets) do + if v.gadget_id == 70330086 then + table.insert(define.gadgetList,v.config_id) + end + end + return 0 +end + +--[[function action_select_option(context, evt) + -- 判断是gadgetid starter_configID option_id 7 + if evt.param1 == define.starter_configID then + if evt.param2 == 7 then + --所有溢出洞口物件切状态 + for k,v in pairs(define.gadgetList) do + ScriptLib.SetGadgetStateByConfigId(context, v, 201) + end + --初始化时间轴 + ScriptLib.InitTimeAxis(context, "shoot", define.RandomTimeAxis[math.random(#define.RandomTimeAxis)], true) + end + end + return 0 +end +]]-- + +function action_trigger_timeaxis(context, evt) + RandomThunderHole(context, define.random_thunderhole_sum.min, define.random_thunderhole_sum.max) + return 0 +end + +-- 在suit中随机抽取randomCount个幸运物件,让它们发球 +function RandomThunderHole(context, minNum, maxNum) + math.randomseed(ScriptLib.GetServerTime(context)) + randomNum = math.random(minNum, maxNum) + + for i=1,randomNum do + if ScriptLib.GetGadgetStateByConfigId(context, define.groupID, define.gadgetList[i]) ~= 0 then + ScriptLib.SetGadgetStateByConfigId(context, define.gadgetList[i], 202)--物件切202发球后会自己切回201 + end + end + return 0 +end + +--[[function action_gadget_state_change(context, evt) + if evt.param2 == define.starter_configID and evt.param1 == 0 then + --停止时间轴 + ScriptLib.EndTimeAxis(context, "shoot") + --关闭未关闭的溢出洞口 + StopAllGear(context) + else + --检查是不是关卡把洞口物件关了,如果关卡给关了,把时间轴停下 + CheckThunderHoleState(context) + end + return 0 +end]]-- +function action_group_variable_change(context, evt) + --如果是开启挑战 + if evt.param1 == 0 and evt.param2 == 1 then + --停止时间轴 + ScriptLib.EndTimeAxis(context, "shoot") + --关闭未关闭的溢出洞口 + StopAllGear(context) + end + --如果是结束挑战 + if evt.param1 == 1 and evt.param2 == 0 then + --所有溢出洞口物件切状态 + for k,v in pairs(define.gadgetList) do + ScriptLib.SetGadgetStateByConfigId(context, v, 201) + end + --初始化时间轴 + ScriptLib.InitTimeAxis(context, "shoot", define.RandomTimeAxis[math.random(#define.RandomTimeAxis)], true) + end + return 0 +end +function StopAllGear(context) + --所有溢出洞口物件停 + for k,v in pairs(define.gadgetList) do + if ScriptLib.GetGadgetStateByConfigId(context, define.groupID, v) ~= 0 then + ScriptLib.SetGadgetStateByConfigId(context, v, 0) + end + end + return 0 +end + +function CheckThunderHoleState(context) + for i=1,#define.gadgetList do + if ScriptLib.GetGadgetStateByConfigId(context, define.groupID, define.gadgetList[i]) == 0 then + ScriptLib.EndTimeAxis(context, "shoot") + break + end + end + return 0 +end +LF_Initialize_Group(triggers, suites) \ No newline at end of file diff --git a/Resources/Scripts/Common/V2_1/Boss_Raijin.lua b/Resources/Scripts/Common/V2_1/Boss_Raijin.lua index e69de29bb..0f1ab4116 100644 --- a/Resources/Scripts/Common/V2_1/Boss_Raijin.lua +++ b/Resources/Scripts/Common/V2_1/Boss_Raijin.lua @@ -0,0 +1,122 @@ +--[[====================================== +|| filename: Boss_Raijin +|| owner: zijun.ma +|| description: 雷音权现Boss战专用 +|| LogName: ##[TD_Raijin] +|| Protection: +=======================================]]-- +-- Trigger变量 +--[[ +local defs = { + BossConfigID = 181001, + regionID = 181005, +} +--]] + +--------Boss女士------------- +local tempTrigger = { + { config_id = 2330001, name = "EVENT_ENTER_REGION", event = EventType.EVENT_ENTER_REGION, source = "", + condition = "", action = "action_BattleStart", trigger_count = 0,forbid_guest = false }, + { config_id = 2330002, name = "EVENT_LEAVE_REGION", event = EventType.EVENT_LEAVE_REGION, source = "", + condition = "", action = "action_LeaveRegion", trigger_count = 0,forbid_guest = false}, +} + +--------初始化---------- +function LF_Initialize_Level() + for k,v in pairs(tempTrigger) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + +end +--------公用函数---------- +-- 入圈时ForceRefreshAuthorityByConfigId +-- 离圈时TryReallocateEntityAuthority + +-- 入战时强制将Authority刷新到主机 +function action_BattleStart(context,evt) + if evt.param1 ~= defs.regionID then + return 0 + end + + ScriptLib.PrintContextLog(context,"##TD_Raijin: 玩家"..context.uid.. "进战斗圈") + -- 入战时,尽可能分配Host(host在圈里分给host、host不在分给任意圈内玩家) + + local no_avatar_in_region = true + local uidlist = ScriptLib.GetSceneUidList(context) + + if uidlist == -1 or uidlist == nil or #uidlist == 0 then + ScriptLib.PrintContextLog(context,"##TD_Raijin: 没有取到uidlist,上限触发region,强制锁Auth为入圈者") + ScriptLib.ForceRefreshAuthorityByConfigId(context, defs.BossConfigID, context.uid) + return 0 + end + + for i = 1, #uidlist do + if (LF_Avatar_is_in_region(context,uidlist[i],defs.regionID) and uidlist[i] ~= context.uid) then + no_avatar_in_region = false + ScriptLib.PrintContextLog(context,"##TD_Raijin: 圈内存在玩家:"..uidlist[i]..",不分配authortiy") + break + end + end + + if (no_avatar_in_region) then + ScriptLib.PrintContextLog(context,"##TD_Raijin: 第一个进入region的玩家"..context.uid..",分配authortiy") + --将Authority强行设置为进圈的玩家 + ScriptLib.ForceRefreshAuthorityByConfigId(context, defs.BossConfigID, context.uid) + end + + + + return 0 +end + +-- 切阶段二环境 +function action_LeaveRegion(context,evt) + if evt.param1 ~= defs.regionID then + return 0 + end + + ScriptLib.PrintContextLog(context, "## TD_Raijin : 离开的玩家uid = "..context.uid) + local ret = ScriptLib.TryReallocateEntityAuthority(context, context.uid, defs.BossConfigID, evt.param1) + ScriptLib.PrintContextLog(context, "## TD_Raijin : 返回值为 "..ret) + + return 0 +end + +function LF_Avatar_is_in_region(context,uid,region_id) + local avatar_id = ScriptLib.GetAvatarEntityIdByUid(context, uid) + local pos1 = ScriptLib.GetPosByEntityId(context, avatar_id) + + local region = {} + for i = 1, #regions do + if regions[i].config_id == region_id then + region = regions[i] + end + end + + local X = pos1.x - region.pos.x + local Y = pos1.y - region.pos.y + local Z = pos1.z - region.pos.z + + if region.shape == RegionShape.SPHERE then + ScriptLib.PrintContextLog(context, "## TD_Raijin : LF_Avatar_is_in_region 距离为 = "..math.sqrt(X*X+Y*Y+Z*Z)) + ScriptLib.PrintContextLog(context, "## TD_Raijin : LF_Avatar_is_in_region Radius为 = "..region.radius) + if math.sqrt(X*X+Y*Y+Z*Z) <= region.radius then + return true + else + return false + end + elseif region.shape == RegionShape.CUBIC then + ScriptLib.PrintContextLog(context, "## TD_Raijin : LF_Avatar_is_in_region 距离为 = "..math.sqrt(X*X+Y*Y+Z*Z)) + ScriptLib.PrintContextLog(context, "## TD_Raijin : LF_Avatar_is_in_region size为 = "..region.size.z/2) + if math.abs(X) > region.size.x/2 or math.abs(Y) > region.size.y/2 or math.abs(Z) > region.size.z/2 then + return false + else + return true + end + end +end + +LF_Initialize_Level() +--- ServerUploadTool Save to [/root/env/data/lua/common/V2_1] --- + diff --git a/Resources/Scripts/Common/V2_1/Boss_Shougun.lua b/Resources/Scripts/Common/V2_1/Boss_Shougun.lua index e69de29bb..d3e36fc56 100644 --- a/Resources/Scripts/Common/V2_1/Boss_Shougun.lua +++ b/Resources/Scripts/Common/V2_1/Boss_Shougun.lua @@ -0,0 +1,114 @@ +-- Trigger变量 +--[[ +local defs = { + BossConfigID = 1002, + EnvConfigID = 1001, + GroupID = 220117001, +} +--]] + +--------Boss女士------------- +local tempTrigger = { + --[[ + { config_id = 2330001, name = "EVENT_QUEST_START", event = EventType.EVENT_QUEST_START, source = "202010", + condition = "", action = "action_NoticeMonsterEnterPhaseSecond", trigger_count = 0}, + --]] + { config_id = 2330002, name = "VARIABLE_CHANGE_DebugTest", event = EventType.EVENT_VARIABLE_CHANGE, source = "DebugPhase", + condition = "", action = "action_DebugTest", trigger_count = 0}, + { config_id = 2330003, name = "TIME_AXIS_MovieEvent1", event = EventType.EVENT_TIME_AXIS_PASS, source = "PhaseAxis1", + condition = "", action = "action_TIME_AXIS_MovieEvent1", trigger_count = 0}, + { config_id = 2330004, name = "TIME_AXIS_MovieEvent2", event = EventType.EVENT_TIME_AXIS_PASS, source = "PhaseAxis2", + condition = "", action = "action_TIME_AXIS_MovieEvent2", trigger_count = 0} +} + +--------初始化---------- +function LF_Initialize_Level() + for k,v in pairs(tempTrigger) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + + local var = { config_id=50000001,name = "PhaseStep", value = 1, no_refresh = false } --阶段计数器 + variables[var.name] = var + var = { config_id=50000002,name = "DebugPhase", value = 1, no_refresh = false } -- Debug用阶段计数器 + variables[var.name] = var + return 0 +end +--------公用函数---------- +-- 通知关卡播CS +function SLC_PlayCutScene(context) + ScriptLib.PrintContextLog(context, "-------------- INITIALIZE 1 ------------------") + ScriptLib.AddQuestProgress(context, "202010") + ScriptLib.PrintContextLog(context, "## TD Shougun 通知任务202010进度增加") + action_NoticeMonsterEnterPhaseSecond(context) + return 0 +end + +-- 关卡通知怪物 (EVENT_CUTSCENE_END//_MONSTER_SHOUGUN_STAGE_) GROUP GET_TRIGGER 220117001 EVENT_QUEST_START +function action_NoticeMonsterEnterPhaseSecond(context) + ScriptLib.PrintContextLog(context, "## TD Shougun CutScene已播完,开始进入二阶段") + -- 传送 + ScriptLib.InitTimeAxis(context, "PhaseAxis1",{1}, false) + return 0 +end + +-- 切阶段二环境 +function action_TIME_AXIS_MovieEvent1(context,evt) + ScriptLib.PrintContextLog(context, "## TD Shougun CutScene已播完,延迟1秒转阶段") + --将环境GadgetState切至201 + ScriptLib.SetGadgetStateByConfigId(context, defs.EnvConfigID, 201) + --关卡通知怪物 _MONSTER_SHOUGUN_TACHI_ + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.BossConfigID, "SGV_MONSTER_SHOUGUN_CHANGETOTACHI", 2) + --阶段计数为2 + -- GROUP GETVAR 220117001 PhaseStep + ScriptLib.SetGroupVariableValue(context, "PhaseStep", 2) + return 0 +end + +-- 怪物通知关卡进入阶段三 +function SLC_EnterPhaseThird(context) + ScriptLib.PrintContextLog(context, "## TD Shougun 开始进入三阶段") + --将环境GadgetState切至202 + ScriptLib.SetGadgetStateByConfigId(context, defs.EnvConfigID, 202) + + ScriptLib.InitTimeAxis(context, "PhaseAxis2",{1}, false) + return 0 +end + +-- 切阶段三环境 +function action_TIME_AXIS_MovieEvent2(context,evt) + ScriptLib.PrintContextLog(context, "## TD Shougun 延迟1秒,切环境") + + --阶段计数为3 + ScriptLib.SetGroupVariableValue(context, "PhaseStep", 3) + return 0 +end + + +--------事件函数---------- + +--------私有函数---------- + +function action_TIME_AXIS_MovieEvent(context,evt) + -- 传送 + ScriptLib.TransPlayerToPos(context, {uid_list =ScriptLib.GetSceneUidList(context), pos = { x = 502.498, y = 100.542, z = 498.351}, radius = 2, rot = {x=0, y=220, z=0}}) + return 0 +end + +function action_DebugTest(context,evt) + -- Dungeon 1122 + -- GROUP SETVAR 220117001 DebugPhase 1 + if 1 == evt.param1 then + SLC_PlayCutScene(context) + return 0 + end + if 2 == evt.param1 then + SLC_EnterPhaseThird(context) + return 0 + end + return 0 +end + +LF_Initialize_Level() +--- ServerUploadTool Save to [/root/env/data/lua/common/V2_1] --- + diff --git a/Resources/Scripts/Common/V2_1/Boss_Shougun_Beta.lua b/Resources/Scripts/Common/V2_1/Boss_Shougun_Beta.lua index e69de29bb..8963c47af 100644 --- a/Resources/Scripts/Common/V2_1/Boss_Shougun_Beta.lua +++ b/Resources/Scripts/Common/V2_1/Boss_Shougun_Beta.lua @@ -0,0 +1,92 @@ +-- Trigger变量 +--[[ +local defs = { + BossConfigID = 1002, + EnvConfigID = 1001, + GroupID = 220117001, +} +--]] + +--------Boss女士------------- +local tempTrigger = { + { config_id = 2330002, name = "VARIABLE_CHANGE_DebugTest", event = EventType.EVENT_VARIABLE_CHANGE, source = "DebugPhase", + condition = "", action = "action_DebugTest", trigger_count = 0}, + { config_id = 2330003, name = "TIME_AXIS_MovieEvent1", event = EventType.EVENT_TIME_AXIS_PASS, source = "PhaseAxis1", + condition = "", action = "action_TIME_AXIS_MovieEvent1", trigger_count = 0}, + { config_id = 2330004, name = "TIME_AXIS_MovieEvent2", event = EventType.EVENT_TIME_AXIS_PASS, source = "PhaseAxis2", + condition = "", action = "action_TIME_AXIS_MovieEvent2", trigger_count = 0}, +} + +--------初始化---------- +function LF_Initialize_Level() + for k,v in pairs(tempTrigger) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + + local var = { config_id=50000001,name = "PhaseStep", value = 1, no_refresh = false } --阶段计数器 + variables[var.name] = var + var = { config_id=50000002,name = "DebugPhase", value = 1, no_refresh = false } -- Debug用阶段计数器 + variables[var.name] = var + return 0 +end +--------公用函数---------- +-- 通知关卡播CS +function SLC_PlayCutScene(context) + ScriptLib.PrintContextLog(context, "-------------- INITIALIZE 1 ------------------") + ScriptLib.PrintContextLog(context, "Beta用测试流程") + + --1秒后通知怪物变化动 + ScriptLib.InitTimeAxis(context, "PhaseAxis1",{1}, false) + return 0 +end + +-- 切阶段二环境 +function action_TIME_AXIS_MovieEvent1(context,evt) + ScriptLib.PrintContextLog(context, "## TD Shougun CutScene已播完,开始进入二阶段") + -- 通知将军切换状态 + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.BossConfigID, "SGV_MONSTER_SHOUGUN_CHANGETOTACHI", 2) + --阶段计数为2 + -- GROUP GETVAR 220117001 PhaseStep + ScriptLib.SetGroupVariableValue(context, "PhaseStep", 2) + + return 0 +end + +-- 怪物通知关卡进入阶段三 +function SLC_EnterPhaseThird(context) + ScriptLib.PrintContextLog(context, "## TD Shougun 开始进入三阶段") + ScriptLib.InitTimeAxis(context, "PhaseAxis2",{1}, false) + return 0 +end + +-- 切阶段三环境 +function action_TIME_AXIS_MovieEvent2(context,evt) + ScriptLib.PrintContextLog(context, "## TD Shougun 延迟1秒,切环境") + --阶段计数为3 + ScriptLib.SetGroupVariableValue(context, "PhaseStep", 3) + return 0 +end + + +--------事件函数---------- + +--------私有函数---------- + +function action_DebugTest(context,evt) + -- Dungeon 1122 + -- GROUP SETVAR 220117001 DebugPhase 1 + if 1 == evt.param1 then + SLC_PlayCutScene(context) + return 0 + end + if 2 == evt.param1 then + SLC_EnterPhaseThird(context) + return 0 + end + return 0 +end + +LF_Initialize_Level() +--- ServerUploadTool Save to [/root/env/data/lua/common/V2_1] --- + diff --git a/Resources/Scripts/Common/V2_1/FightingStage.lua b/Resources/Scripts/Common/V2_1/FightingStage.lua index e69de29bb..469f45ded 100644 --- a/Resources/Scripts/Common/V2_1/FightingStage.lua +++ b/Resources/Scripts/Common/V2_1/FightingStage.lua @@ -0,0 +1,549 @@ +--2.1换人挑战玩法 + +--miscs + +----fever进度升级节点 +--local fever_progress_table = { +-- 0,50,100,200,300,500 +--} +----各等级fever的下降速率 +--local fever_attenuation = { +-- -1,-2,-3,-4,-5 +--} +-- +--local monster_tide = { +-- [1] = {2001,2002,2003,2004,2005,2006,2007}, +-- [2] = {2008,2009,2010,2011,2012,2013,2014} +--} +-- +--local elite = { +-- 2015,2016,2017,2018,2019,2020,2021 +--} +-- +--local elite_born_points = { +-- 3001,3002,3003,3004,3005,3006,3007 +--} + + +------ +--local defs = { +-- group_id = 235801002, +-- worktop_id = 123, +-- minion_fever = 5, +-- game_time = 360, +-- minion_interval = 120, +-- elite_interval = 30, +-- elite_fever = 50, +-- min_monster_count = 5, +-- max_monster_count = 5, +-- environment_suite = 4, +--} + +local local_defs = { + worktop_option = 30110, + progress_key = 1, + team_global_value = "FEVER_LEVEL", + team_noswitch_pubishment = "NOSWITCH_PUNISHMENT", + team_has_switch = "HAS_SWITCHED_TEAM", + burn_effect_level = 2, + environment_change_level = 1, + base_upgrade_reminder = 358010102, + team_noswitch_pubishment_reminder = 144, +} + + +local time_axis = { + + --小怪潮替换时间轴,每次触发时替换小怪潮 + minion_tide_axis = {defs.minion_tide_interval}, + + --精英怪潮替换时间轴,每次触发时替换精英怪潮 + elite_tide_axis = {defs.elite_tide_interval}, + + --精英怪时间轴,每次触发时刷新一只精英怪 + elite_axis = {defs.elite_interval}, + + + --扣分时间轴,每秒掉一定的分数 + fever_axis = {1}, + + noswitch_punishment_axis = {defs.noswitch_punishment_interval} + +} + + +local Tri = { + [1] = { name = "group_load", config_id = 8000001, event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0}, + [2] = { name = "select_option", config_id = 8000002, event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_select_option", trigger_count = 0}, + [3] = { name = "time_axis_pass", config_id = 8000003, event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "", action = "action_time_axis_pass", trigger_count = 0}, + [4] = { name = "gallery_progress_pass", config_id = 8000004, event = EventType.EVENT_GALLERY_PROGRESS_PASS, source = "", condition = "", action = "action_gallery_progress_pass", trigger_count = 0}, + [5] = { name = "monster_tide_die", config_id = 8000005, event = EventType.EVENT_MONSTER_TIDE_DIE, source = "", condition = "", action = "action_monster_tide_die", trigger_count = 0}, + [6] = { name = "monster_die_before_leave_scene", config_id = 8000006, event = EventType.EVENT_MONSTER_DIE_BEFORE_LEAVE_SCENE, source = "", condition = "", action = "action_monster_die_before_leave_scene", trigger_count = 0}, + [7] = { name = "gallery_stop", config_id = 8000007, event = EventType.EVENT_GALLERY_STOP, source = "", condition = "", action = "action_gallery_stop", trigger_count = 0}, + [8] = { name = "sumo_switch_team", config_id = 8000008, event = EventType.EVENT_SUMO_SWITCH_TEAM_EVENT, source = "", condition = "", action = "action_sumo_switch_team", trigger_count = 0}, + [9] = { name = "dungeon_all_avatar_die", config_id = 8000009, event = EventType.EVENT_DUNGEON_ALL_AVATAR_DIE, source = "", condition = "", action = "action_dungeon_all_avatar_die", trigger_count = 0}, + [10] = { name = "dungeon_settle", config_id = 8000010, event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "", action = "action_dungeon_settle", trigger_count = 0}, + +} + +function Initialize() + for k,v in pairs(Tri) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + + table.insert(variables,{ config_id=50000001,name = "current_monster_tide", value = 0}) + table.insert(variables,{ config_id=50000002,name = "current_elite", value = 1}) + table.insert(variables,{ config_id=50000003,name = "fever_ratio", value = 1}) + --用于记录当前是否开启不换队惩罚,用于客户端断线重连时恢复状态 + table.insert(variables,{ config_id=50000004,name = "is_noswitch_punishment", value = 0}) + --用于记录当前精英是否在场,精英在场时,怪物潮不做刷新 + table.insert(variables,{ config_id=50000005,name = "is_elite_on_ground", value = 0}) + --用于记录当前怪物潮是否结束,当精英死亡时判断当前怪物潮是否处于结束状态,如果是,则直接加载下一波怪物潮 + table.insert(variables,{ config_id=50000006,name = "is_current_minion_tide_end", value = 0}) +end + +------------------------------------------------------------------ + +--group load后,加载操作台选项 +function action_group_load(context,evt) + ScriptLib.SetWorktopOptionsByGroupId(context, defs.group_id, defs.worktop_id, {local_defs.worktop_option}) + + --开场就直接加载氛围物件,不要等玩家开启挑战 + --加载环境氛围物件 + ScriptLib.AddExtraGroupSuite(context,defs.group_id,defs.environment_suite) + --启动第一个地城天气 + --local ret = ScriptLib.SetWeatherAreaState(context, DungeonWeather[1],1) + --ScriptLib.PrintContextLog(context,"FS: The result of starting weather".. DungeonWeather[1].."is "..ret) + --ret = ScriptLib.EnterWeatherArea(context, DungeonWeather[1]) + --ScriptLib.PrintContextLog(context,"FS: The result of entering weather".. DungeonWeather[1].."is "..ret) + + return 0 +end + +--按下操作台按键,启动玩法 +function action_select_option(context,evt) + ScriptLib.DelWorktopOptionByGroupId(context, defs.group_id, defs.worktop_id, local_defs.worktop_option) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.worktop_id, GadgetState.GearStop) + LF_Start_Play(context) + return 0 +end + +--时间轴tick事件,根据tick的时间轴不同处理不同逻辑 +function action_time_axis_pass(context,evt) + + + --小怪时间轴tick,将小怪潮的index指向下一位(修改group variable) + if (evt.source_name == "MINION_TIDE_AXIS") then + ScriptLib.PrintContextLog(context,"FS: MINION_TIDE_AXIS tick!") + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + LF_Set_Current_Monster_Tide(context,current_monster_tide+1) + end + + --精英波次时间轴tick,将精英怪的index指向下一位 + if (evt.source_name == "ELITE_TIDE_AXIS") then + ScriptLib.PrintContextLog(context,"FS: ELITE_TIDE_AXIS tick!") + local current_elite_index = LF_Get_Current_Elite_Index(context) + LF_Set_Current_Elite_Index(context,current_elite_index+1) + + end + + --精英时间轴tick,刷新下一只精英 + if (evt.source_name == "ELITE_AXIS") then + ScriptLib.PrintContextLog(context,"FS: ELITE_AXIS tick!") + local current_elite_index = LF_Get_Current_Elite_Index(context) + LF_Create_Elite_Monster(context,current_elite_index) + + --性能优化:刷出精英怪时,暂停怪物潮 + ScriptLib.PrintContextLog(context,"FS: elite created. Stop monster tide ["..LF_Get_Current_Tide_Num(context).."]") + ScriptLib.SetGroupVariableValue(context,"is_elite_on_ground",1) + ScriptLib.PauseAutoMonsterTide(context, defs.group_id, LF_Get_Current_Tide_Num(context)) + end + + --fever条tick,扣分 + if (evt.source_name == "FEVER_AXIS") then + LF_Update_Fever(context,LF_Get_Fever_Subnum(context)) + end + + --不换队tick,如果长时间不换队则将设置惩罚gv + if (evt.source_name == "NOSWITCH_PUNISHMENT_AXIS") then + --ScriptLib.PrintContextLog(context,"FS: Showing reminder "..local_defs.team_noswitch_pubishment_reminder) + ScriptLib.ShowTemplateReminder(context, local_defs.team_noswitch_pubishment_reminder, {0}) + --ScriptLib.ShowReminder(context, local_defs.team_noswitch_pubishment_reminder) + + ScriptLib.SetGroupVariableValue(context,"is_noswitch_punishment",1) + LF_Set_Team_Global_Value(context,local_defs.team_noswitch_pubishment,1) + end + + return 0 +end + +--fever升级时,给team挂global value,并激活场景氛围物件 +function action_gallery_progress_pass(context,evt) + local fever_level = evt.param1 + ScriptLib.PrintContextLog(context,"FS: Fever uprade to level "..fever_level) + ScriptLib.ShowReminder(context, local_defs.base_upgrade_reminder+fever_level) + LF_Set_Team_Global_Value(context,local_defs.team_global_value,fever_level) + LF_Activate_Environment_Gadget(context,fever_level) + return 0 +end + +function action_gallery_stop(context,evt) + LF_Stop_Play(context) + + return 0 +end + + +--当前的怪物潮刷完的时候,重置当前的怪物潮 +function action_monster_tide_die(context,evt) + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + --如果当前怪物潮已经被杀完了,且精英怪不在场 + if (evt.param1 >= #monster_tide[current_monster_tide]) then + --记录一下当前怪物潮结束,精英怪死亡时需要手动打开一次 + ScriptLib.SetGroupVariableValue(context,"is_current_minion_tide_end",1) + local is_elite_on_ground = ScriptLib.GetGroupVariableValue(context,"is_elite_on_ground") + ScriptLib.PrintContextLog(context,"FS: Current tide ends, is elite on ground?? "..is_elite_on_ground) + if (is_elite_on_ground == 0) then + --精英不在场,才能开一个新的怪物潮 + ScriptLib.PrintContextLog(context,"FS: No elite on ground. Create a new monster tide!") + ScriptLib.KillMonsterTide(context, defs.group_id, LF_Get_Current_Tide_Num(context)) + LF_Create_Monster_Tide(context,current_monster_tide) + ScriptLib.SetGroupVariableValue(context,"is_current_minion_tide_end",0) + end + end + return 0 +end + +--有怪死亡时,计分,并更新fever条 +function action_monster_die_before_leave_scene(context,evt) + local monster_eid = evt.source_eid + local monster_cid = evt.param1 + local is_elite = LF_Is_Elite(context,monster_cid) + local fever_ratio = ScriptLib.GetGroupVariableValue(context,"fever_ratio") + if (not is_elite) then + LF_Update_Fever(context,defs.minion_fever*fever_ratio) + else + LF_Update_Fever(context,defs.elite_fever*fever_ratio) + + --精英死亡时,重新开始计时 + ScriptLib.EndTimeAxis(context,"ELITE_AXIS") + ScriptLib.InitTimeAxis(context,"ELITE_AXIS",time_axis.elite_axis,false) + + + ScriptLib.SetGroupVariableValue(context,"is_elite_on_ground",0) + local is_current_minion_tide_end = ScriptLib.GetGroupVariableValue(context,"is_current_minion_tide_end") + + if (is_current_minion_tide_end == 0) then + --当前怪物潮没有结束,则恢复怪物潮即可 + ScriptLib.PrintContextLog(context,"FS: elite died. Restart monster tide") + --性能优化:精英怪死亡时,恢复怪物潮 + ScriptLib.ContinueAutoMonster(context, defs.group_id, LF_Get_Current_Tide_Num(context)) + else + --当前怪物潮已经结束了,但因为精英在场所以被卡住了。精英死亡时,手动开启新的怪物潮 + ScriptLib.PrintContextLog(context,"FS: elite died, but current tide is dead. Start a new tide!") + ScriptLib.KillMonsterTide(context, defs.group_id, LF_Get_Current_Tide_Num(context)) + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + LF_Create_Monster_Tide(context,current_monster_tide) + ScriptLib.SetGroupVariableValue(context,"is_current_minion_tide_end",0) + end + end + LF_Update_Score(context,monster_eid) + return 0 +end + +--玩家换队时触发,启动一个一定时间的时间轴,时间轴tick时修改global value给玩家挂debuff +function action_sumo_switch_team(context,evt) + + --刚刚换队,先清掉team上的换队惩罚global value,并开始计时,如果tick时没有换队,则挂上惩罚标记gv + LF_Set_Team_Global_Value(context,local_defs.team_noswitch_pubishment,0) + ScriptLib.EndTimeAxis(context,"NOSWITCH_PUNISHMENT_AXIS") + ScriptLib.InitTimeAxis(context,"NOSWITCH_PUNISHMENT_AXIS",time_axis.noswitch_punishment_axis,false) + + --换队增加热情值 + LF_Update_Fever(context,defs.switch_team_fever) + + --换队的时候给服务端发送消息,让客户端显示惩罚倒计时UI + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["uid"] = uid_list[1], ["noswitch_time"] = defs.noswitch_punishment_interval}) + + --清除当前显示的换队惩罚的reminder + + local uid_list = ScriptLib.GetSceneUidList(context) + local ret = ScriptLib.RevokePlayerShowTemplateReminder(context, local_defs.team_noswitch_pubishment_reminder, {}) + + ScriptLib.PrintContextLog(context,"FS: Clear reminder result"..ret) + + --换队的时候修改team的gv,重新刷一下新的avatar身上的加成效果 + --ScriptLib.PrintContextLog(context,"FS: team has changed, team_has_change = 1") + LF_Set_Team_Global_Value(context,local_defs.team_has_switch,1) + + ScriptLib.SetGroupVariableValue(context,"is_noswitch_punishment",0) + + return 0 +end + + +--团灭触发,直接结束玩法 +function action_dungeon_all_avatar_die(context,evt) + + LF_Stop_Play(context) + + return 0 +end + +function action_dungeon_settle(context,evt) + + LF_Stop_Play(context) + + return 0 +end + +------------------------------------------------------------------ +--辅助方法--------------------------------------------------------- +------------------------------------------------------------------ + + +--关卡相关方法----------------------------------------------------- + +--启动玩法方法,初始化各种东西 +function LF_Start_Play(context) + + ScriptLib.StartGallery(context, defs.gallery_id) + ScriptLib.InitGalleryProgressScore(context, "fever", defs.gallery_id, fever_progress_table, GalleryProgressScoreUIType.GALLERY_PROGRESS_SCORE_UI_TYPE_SUMO_STAGE, GalleryProgressScoreType.GALLERY_PROGRESS_SCORE_NO_DEGRADE) + + ScriptLib.InitTimeAxis(context,"FEVER_AXIS",time_axis.fever_axis,true) + ScriptLib.InitTimeAxis(context,"MINION_TIDE_AXIS",time_axis.minion_tide_axis,true) + ScriptLib.InitTimeAxis(context,"ELITE_TIDE_AXIS",time_axis.elite_tide_axis,true) + ScriptLib.InitTimeAxis(context,"ELITE_AXIS",time_axis.elite_axis,false) + LF_Set_Current_Tide_Num(context,0) + LF_Set_Current_Monster_Tide(context,1) + LF_Set_Current_Elite_Index(context,1) + LF_Create_Monster_Tide(context,1) + --启动玩法时给第一队挂一下gv,防止一开始就受到惩罚;并开启时间轴开始计时 + LF_Set_Team_Global_Value(context,local_defs.team_noswitch_pubishment,0) + ScriptLib.InitTimeAxis(context,"NOSWITCH_PUNISHMENT_AXIS",time_axis.noswitch_punishment_axis,false) + --玩法开始的时候给服务端发送消息,让客户端显示惩罚倒计时UI + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["uid"] = uid_list[1], ["noswitch_time"] = defs.noswitch_punishment_interval}) + --加载空气墙 + ScriptLib.CreateGadget(context,{config_id = defs.airwall}) +end + +--终止玩法方法,关掉各种东西 +function LF_Stop_Play(context) + + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + --清理一下空气墙,防止其他问题 + ScriptLib.RemoveEntityByConfigId(context, defs.group_id, EntityType.GADGET, defs.airwall) + --玩法结束,清理掉当前的怪物潮 + ScriptLib.KillMonsterTide(context, defs.group_id, current_monster_tide) + ScriptLib.StopGallery(context, defs.gallery_id,true) + ScriptLib.EndTimeAxis(context,"FEVER_AXIS") + ScriptLib.EndTimeAxis(context,"MINION_TIDE_AXIS") + ScriptLib.EndTimeAxis(context,"ELITE_AXIS") + ScriptLib.EndTimeAxis(context,"ELITE_TIDE_AXIS") + --关闭一下地城,以正确触发重新挑战 + ScriptLib.CauseDungeonFail(context) +end + + +--启动一波指定ID的怪物潮,需要传入该波怪物潮的ID(具体配置在miscs中定义) +function LF_Create_Monster_Tide(context,monster_tide_index) + ScriptLib.PrintContextLog(context,"FS: Creating monster tide ["..monster_tide_index.."]") + local monster_config_id_list = monster_tide[monster_tide_index] + + --增加怪物潮的计数,下一次开启时index会+1,防止索引到同一波怪物潮 + local tide_num = LF_Get_Current_Tide_Num(context) + LF_Set_Current_Tide_Num(context,tide_num+1) + + ScriptLib.AutoMonsterTide(context, tide_num+1, defs.group_id, monster_config_id_list, #monster_config_id_list, defs.min_monster_count,defs.max_monster_count) + +end + +--在指定的point,召唤一个指定ID的精英怪 +function LF_Create_Elite_Monster(context,elite_index) + local elite_config_id = elite[elite_index] + local elite_born = LF_Get_Point(context,elite_born_points[elite_index]) + ScriptLib.PrintContextLog(context,"FS: Creating elite ["..elite_index.."] at point "..elite_born.pos.x..","..elite_born.pos.y..","..elite_born.pos.z) + ScriptLib.CreateMonsterByConfigIdByPos(context, elite_config_id, elite_born.pos, elite_born.rot) +end + + + +--通用类方法------------------------------------------------------- + +--切换场上的场景氛围物件状态 +function LF_Activate_Environment_Gadget(context,fever_level) + ScriptLib.PrintContextLog(context,"FS: Activate environment gadgets!") + --根据当前的fever等级,改变天气 + if (fever_level>local_defs.environment_change_level) then + --ScriptLib.PrintContextLog(context,"FS: Changing environment weather!") + local ret = ScriptLib.SetWeatherAreaState(context, DungeonWeather[fever_level],1) + --ScriptLib.PrintContextLog(context,"FS: The result of starting weather ".. DungeonWeather[fever_level].."is "..ret) + local ret = ScriptLib.EnterWeatherArea(context, DungeonWeather[fever_level]) + --ScriptLib.PrintContextLog(context,"FS: The result of changing weather".. DungeonWeather[fever_level].."is "..ret) + end + + --切换场上所有的物件的状态 + for i = 1, #suites[defs.environment_suite].gadgets do + local config_id = suites[defs.environment_suite].gadgets[i] + local gadget_id = LF_Get_Gadget_Id_By_Config_Id(context,config_id) + --大小火盆 + if (gadget_id == 70350306 or gadget_id == 70350307) then + if (fever_level=local_defs.burn_effect_level) then + --喷大火,5秒后转回小火 + --ScriptLib.PrintContextLog(context,"FS: Burn middle fire!") + local ret = ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, config_id, 201) + end + if (fever_level >= #fever_progress_table-2) then + --持续喷大火 + --ScriptLib.PrintContextLog(context,"FS: Burn super fire!") + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, config_id, 202) + end + end + --挂灯 + if (gadget_id == 70350308) then + if (fever_level>=local_defs.burn_effect_level) then + --点燃小火 + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, config_id, 201) + end + end + --场景氛围 + if (gadget_id == 70350309) then + --转到对应的gadgetState:default-0、phase1-201、phase2-202、phase3-203、phase4-204 + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, config_id, 200+fever_level) + end + end +end + +--给team挂global value,角色处理各种特殊效果 +function LF_Set_Team_Global_Value(context,gv_name,value) + --ScriptLib.PrintContextLog(context,"FS: Sending global values to team!") + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.SetTeamEntityGlobalFloatValue(context, uid_list, gv_name, value) +end + + +-----CRUD类方法---------------------------------------------------- + +--更新fever条,fever_delta为fever条改变值 +function LF_Update_Fever(context,fever_delta) + ScriptLib.AddGalleryProgressScore(context, "fever", defs.gallery_id, fever_delta) +end + +--更新积分,需要传入目标monster的entity id +function LF_Update_Score(context,monster_eid) + local uid_list = ScriptLib.GetSceneUidList(context) + local monster_id = ScriptLib.GetMonsterIdByEntityId(context,monster_eid) + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["uid"] = uid_list[1], ["monster_id"] = monster_id}) +end + + +--返回当前等级下的积分衰减速率 +function LF_Get_Fever_Subnum(context) + local fever = ScriptLib.GetGalleryProgressScore(context, "fever", defs.gallery_id) + for i = 1, #fever_progress_table-1 do + local lower_bound = fever_progress_table[i] + local higher_bound = fever_progress_table[i+1] + if fever>=lower_bound and fever 0 then + ScriptLib.SetGroupTempValue(context,"bonusTime", evt.param4, {}) + UpdateBonusTimeForChallenge(context,diff) + end + --如果不是目标鱼,也要更新Gallery + else + --单轮计数重置 + ScriptLib.SetGroupTempValue(context,"tempScore", 0, {}) + + end + + --------更新Gallery分数 + --["fishing_score"]:{钓鱼个数, 最大连续数, 最大Bonus时长} 单目标挑战传单元素就行 + tempUnmissScore = ScriptLib.GetGroupTempValue(context, "tempUnmissScore", {}) + local totalCount = ScriptLib.GetGroupTempValue(context, "totalCount", {}) + local bonusTime = ScriptLib.GetGroupTempValue(context, "bonusTime", {}) + local fishing_score = {totalCount, tempUnmissScore, bonusTime} + + local is_free = false + if evt.param3 ~= 1 then + is_free = true + end + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["fishing_score"] = fishing_score, ["fish_id"] = evt.param1, ["is_free"] = is_free}) + ScriptLib.PrintContextLog(context, "[fishing] Gallery Score updated. score_total@"..totalCount.." score_unmiss@"..tempUnmissScore.." MaxBounesTime@"..bonusTime) + --若失败逃逸 + else + ScriptLib.PrintContextLog(context, "[fishing] Moonfin: tempScore reset") + --单轮计数重置 + ScriptLib.SetGroupTempValue(context,"tempScore", 0, {}) + end + + return 0 +end + +function UpdateBonusTimeForChallenge(context, count) + for i = 1, count do + ScriptLib.ChangeGroupVariableValue(context, "bonus_time", 1) + end + return 0 +end + + +function action_leave_region(context, evt) + + if ScriptLib.GetGroupTempValue(context, "fishing_state", {}) == 1 then + + --设置挑战状态标记 + ScriptLib.SetGroupTempValue(context, "fishing_state", 0, {}) + + --停挑战 + if ScriptLib.GetGroupTempValue(context, "challenge_state", {}) == 1 then + --停挑战 + ScriptLib.EndFatherChallenge(context, cfg.father_id) + end + + --停Gallery false失败 true成功 + if ScriptLib.GetGroupTempValue(context, "gallery_state", {}) == 1 then + ScriptLib.StopGallery(context, defs.gallery_id, false) + end + + --退出钓鱼 + local fisher_uid = ScriptLib.GetGroupTempValue(context, "fisher_uid", {}) + ScriptLib.PrintContextLog(context, "[fishing] Leave challenge region. StopFishing UID@"..fisher_uid) + ScriptLib.StopFishing(context,fisher_uid) + end + return 0 +end + +Initialize() diff --git a/Resources/Scripts/Common/V2_1/ImmortalPot.lua b/Resources/Scripts/Common/V2_1/ImmortalPot.lua index e69de29bb..1949e97e5 100644 --- a/Resources/Scripts/Common/V2_1/ImmortalPot.lua +++ b/Resources/Scripts/Common/V2_1/ImmortalPot.lua @@ -0,0 +1,312 @@ +-- Trigger变量 +--[[ +local defs = { + PotConfigIDA =148004, + PotConfigIDB =148005, + PotConfigIDC =148006, + targetColdTime = 10, + targetHeatTime = 10, + BeHitByFireTemp = 10, + BeHitByIceWaterTemp = -10 +} +--]] +--------------------- +local tempTrigger = { + --监听GadgetState变化 + --监听值变化 + { config_id = 2330001, name = "EVENT_VARIABLE_CHANGE_A", event = EventType.EVENT_VARIABLE_CHANGE, source = "ovenATemp", + condition = "", action = "action_VARIABLE_CHANGE_A", trigger_count = 0}, + { config_id = 2330002, name = "EVENT_VARIABLE_CHANGE_B", event = EventType.EVENT_VARIABLE_CHANGE, source = "ovenBTemp", + condition = "", action = "action_VARIABLE_CHANGE_B", trigger_count = 0}, + { config_id = 2330003, name = "EVENT_VARIABLE_CHANGE_C", event = EventType.EVENT_VARIABLE_CHANGE, source = "ovenCTemp", + condition = "", action = "action_VARIABLE_CHANGE_C", trigger_count = 0}, + { config_id = 2330004, name = "TIME_AXIS_PotOverColdA", event = EventType.EVENT_TIME_AXIS_PASS, source = "PotOverColdA", + condition = "", action = "action_PotOverState", trigger_count = 0}, + { config_id = 2330005, name = "TIME_AXIS_PotOverColdB", event = EventType.EVENT_TIME_AXIS_PASS, source = "PotOverColdB", + condition = "", action = "action_PotOverState", trigger_count = 0}, + { config_id = 2330006, name = "TIME_AXIS_PotOverColdC", event = EventType.EVENT_TIME_AXIS_PASS, source = "PotOverColdC", + condition = "", action = "action_PotOverState", trigger_count = 0}, + { config_id = 2330007, name = "TIME_AXIS_PotOverHeatA", event = EventType.EVENT_TIME_AXIS_PASS, source = "PotOverHeatA", + condition = "", action = "action_PotOverState", trigger_count = 0}, + { config_id = 2330008, name = "TIME_AXIS_PotOverHeatB", event = EventType.EVENT_TIME_AXIS_PASS, source = "PotOverHeatB", + condition = "", action = "action_PotOverState", trigger_count = 0}, + { config_id = 2330009, name = "TIME_AXIS_PotOverHeatC", event = EventType.EVENT_TIME_AXIS_PASS, source = "PotOverHeatC", + condition = "", action = "action_PotOverState", trigger_count = 0}, + { config_id = 2330010, name = "EVENT_VARIABLE_CHANGE_StartPotTaunt", event = EventType.EVENT_TIME_AXIS_PASS, source = "StartPotTaunt", + condition = "", action = "action_StartPotTaunt", trigger_count = 0} +} + +--------初始化---------- +function LF_Initialize_Level() + for k,v in pairs(tempTrigger) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + return 0 +end +--------公用函数---------- +function action_VARIABLE_CHANGE_A(context, evt) + --将值同步给对应锅子,仅在201状态处理 + Pot_Pipeline(context,defs.PotConfigIDA,evt.param1) + return 0 +end + +function action_VARIABLE_CHANGE_B(context, evt) + --将值同步给对应锅子,仅在201状态处理 + Pot_Pipeline(context,defs.PotConfigIDB,evt.param1) + return 0 +end + +function action_VARIABLE_CHANGE_C(context, evt) + --将值同步给对应锅子,仅在201状态处理 + Pot_Pipeline(context,defs.PotConfigIDC,evt.param1) + return 0 +end + +-- 过冷过热双检查 +function action_PotOverState(context, evt) + local state = GetKeyWord(evt.source_name) -- 返回值为 “Cold" or "Heat" + local characterState = GetCharacterKeyWord(state)[1] -- 返回值为 冷 or 热 + local overStateValue = GetCharacterKeyWord(state)[2] -- 返回值为 203 or 202 + local targetConfigID = GetTargetConfigID(context,evt.source_name) + + if (targetConfigID == 0) then + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : source_name = ".. evt.source_name .. "非法") + return 0 + end + + local targetPotName = GetPotName(context,targetConfigID) + local tickTimeKey = "Over".. state .."Time"..targetPotName + local timeAxisKey = "PotOver" ..state.. targetPotName + local targetTime = defs.targetColdTime + local currentTime = ScriptLib.GetGroupTempValue(context, tickTimeKey, {}) + 1 --增加1秒计时 + + if 201 ~= ScriptLib.GetGadgetStateByConfigId(context, 0, targetConfigID) then + -- 如果锅子已经切进其它状态,关闭当前TimeAxis + ScriptLib.PrintContextLog(context, "## TD ImmortalPot 锅炉"..targetPotName .. " 强制结束时间轴") + ScriptLib.SetGroupTempValue(context, timeAxisKey, 0, {}) + ScriptLib.EndTimeAxis(context, timeAxisKey) + return 0 + end + + -- 已超时 + if currentTime >= targetTime then + + ScriptLib.PrintContextLog(context, "## TD ImmortalPot 过".. characterState .."超时,关闭锅炉" .. targetPotName) + -- 锅子切冷炸 + ScriptLib.SetGadgetStateByConfigId(context, targetConfigID, overStateValue) + -- 时间轴结束/计时清空 + ScriptLib.SetGroupTempValue(context, timeAxisKey, 0, {}) + ScriptLib.EndTimeAxis(context, timeAxisKey) + return 0 + else + local IsOverState = false + if state == "Cold" then + IsOverState = IsOverCold(context,targetConfigID) + end + if state == "Heat" then + IsOverState = IsOverHeat(context,targetConfigID) + end + if false == IsOverState then + -- 已炸锅 + ScriptLib.PrintContextLog(context, "## TD ImmortalPot 锅炉".. targetPotName .. " 结束过".. characterState) --描述切换 + -- 时间轴结束/计时清空 + ScriptLib.SetGroupTempValue(context, timeAxisKey, 0, {}) + ScriptLib.EndTimeAxis(context, timeAxisKey) + return 0 + else + -- 锅子异常中 + ScriptLib.PrintContextLog(context, "## TD ImmortalPot 锅炉".. targetPotName .. " 持续过".. characterState ..",已经过" .. currentTime .."秒") --描述切换 + -- 计时累加 + ScriptLib.SetGroupTempValue(context, tickTimeKey, currentTime, {}) + return 0 + end + end +end + +-- 侦测LD调用 +function action_StartPotTaunt(context, evt) + local actionName = evt.source_name + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : 嘲讽开启判定 actionName = "..actionName .. " tempValue = " .. evt.param1 - evt.param2) + if 1 == evt.param1 - evt.param2 then + local functionParam1 = ScriptLib.GetGroupTempValue(context,actionName .. "Param1",{}) + local functionParam2 = ScriptLib.GetGroupTempValue(context,actionName .. "Param2",{}) + StartPotTaunt(context,functionParam1,functionParam2) + end + return 0 +end + +-- serverLuaCall 锅子挨火打 +function BeHitByFire(context, evt) + ScriptLib.PrintContextLog(context, "## Immortal 锅子挨火打| source -> "..context.source_entity_id.." | target -> "..context.target_entity_id) + local configId = ScriptLib.GetGadgetConfigId(context, {gadget_eid = context.source_entity_id}) + local targetPotName = GetPotName(context,configId) + local tempKey = "oven".. targetPotName .. "Temp" + local tempValue = ScriptLib.GetGroupVariableValue(context, tempKey) + ScriptLib.SetGroupVariableValue(context,tempKey,tempValue+defs.BeHitByFireTemp) + ScriptLib.PrintContextLog(context, "## Immortal 锅子挨火打| Change "..tempKey.." from" .. tempValue .. + " to ".. tempValue+defs.BeHitByFireTemp) + return 0 +end + +-- serverLuaCall 锅子挨冰水打 +function BeHitByIceWater(context, evt) + ScriptLib.PrintContextLog(context, "## Immortal 锅子挨冰水打| source -> "..context.source_entity_id.." | target -> "..context.target_entity_id) + local configId = ScriptLib.GetGadgetConfigId(context, {gadget_eid = context.source_entity_id}) + local targetPotName = GetPotName(context,configId) + local tempKey = "oven".. targetPotName .. "Temp" + local tempValue = ScriptLib.GetGroupVariableValue(context, tempKey) + ScriptLib.SetGroupVariableValue(context,tempKey,tempValue+defs.BeHitByIceWaterTemp) + ScriptLib.PrintContextLog(context, "## Immortal 锅子挨冰水打| Change "..tempKey.." from" .. tempValue .. + " to ".. tempValue+defs.BeHitByIceWaterTemp) + return 0 +end + +------------设置仙人锅开启嘲讽--------- +function StartPotTaunt(context,configId,startTaunt) + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : configId = "..configId .. " startTaunt = " .. startTaunt) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, configId, "SGV_Is_Taunting", startTaunt) + return 0 +end +--------私有函数---------- +function Pot_Pipeline(context,config_id,value) + -- 即时更新SGV_Thermometer_Value + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : configId = ".. config_id .. " SGV_Thermometer_Value= " .. value) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, config_id, "SGV_Thermometer_Value", value) + + -- 确认是否进入炸锅倒计时 + Pot_OverColdPipeline(context,config_id) + Pot_OverHeatPipeline(context,config_id) + return 0 +end + +function Pot_OverColdPipeline(context,config_id) + local targetPotName = GetPotName(context,config_id) + local tempKey = "PotOverCold".. targetPotName + local tickTimeKey = "OverColdTime"..targetPotName + if IsOverCold(context,config_id) and 1 ~= ScriptLib.GetGroupTempValue(context, tempKey, {}) then + -- 过冷状态且没有开启独立时间轴时 + local coldTimeAxis = {} + local timeValue = 1 + local targetColdTime = math.ceil(defs.targetColdTime/timeValue) + -- 解析时间轴数组 + for i = 1, targetColdTime, 1 do + coldTimeAxis[i] = timeValue + timeValue = timeValue + 1 + end + -- tempKey依赖时间轴结束自己关闭 + ScriptLib.SetGroupTempValue(context, tickTimeKey, 0, {}) + ScriptLib.SetGroupTempValue(context, tempKey, 1, {}) + -- 开启一个每秒Tick的时间轴 + ScriptLib.InitTimeAxis(context, tempKey, coldTimeAxis, false) + ScriptLib.ShowReminder(context, 400066) + ScriptLib.PrintContextLog(context, "## TD ImmortalPot 开启OverCold观测 Send Time Axis") + end + return 0 +end + +function Pot_OverHeatPipeline(context,config_id) + local targetPotName = GetPotName(context,config_id) + local tempKey = "PotOverHeat".. targetPotName + local tickTimeKey = "OverHeatTime"..targetPotName + if IsOverHeat(context,config_id) and 1 ~= ScriptLib.GetGroupTempValue(context, tempKey, {}) then + -- 过冷状态且没有开启独立时间轴时 + local heatTimeAxis = {} + local timeValue = 1 + local targetColdTime = math.ceil(defs.targetHeatTime/timeValue) + -- 解析时间轴数组 + for i = 1, targetColdTime, 1 do + heatTimeAxis[i] = timeValue + timeValue = timeValue + 1 + end + -- tempKey依赖时间轴结束自己关闭 + ScriptLib.SetGroupTempValue(context, tickTimeKey, 0, {}) + ScriptLib.SetGroupTempValue(context, tempKey, 1, {}) + -- 开启一个每秒Tick的时间轴 + ScriptLib.InitTimeAxis(context, tempKey, heatTimeAxis, false) + ScriptLib.ShowReminder(context, 400066) + ScriptLib.PrintContextLog(context, "## TD ImmortalPot 开启OverHeat观测 Send Time Axis") + end + return 0 +end + +-- 返回当前ConfigID是否过冷 +function IsOverCold(context,config_id) + if config_id == nil then + return true + end + local safeFrom = gadgets[config_id].server_global_value_config["SGV_Thermometer_SafeFrom"] * 100 + local targetPotName = GetPotName(context,config_id) + local tempKey = "oven".. targetPotName .. "Temp" + local tempValue = ScriptLib.GetGroupVariableValue(context, tempKey) + return tempValue<=safeFrom +end + +-- 返回当前ConfigID是否过热 +function IsOverHeat(context,config_id) + if config_id == nil then + return true + end + local safeTo = gadgets[config_id].server_global_value_config["SGV_Thermometer_SafeTo"] * 100 + local targetPotName = GetPotName(context,config_id) + local tempKey = "oven".. targetPotName .. "Temp" + local tempValue = ScriptLib.GetGroupVariableValue(context, tempKey) + return tempValue>=safeTo +end + +--根据ConfigID,获取对应锅关键词 +function GetPotName(context,config_id) + if config_id == defs.PotConfigIDA then + return "A" + end + if config_id == defs.PotConfigIDB then + return "B" + end + if config_id == defs.PotConfigIDC then + return "C" + end + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : Error! Config_id = ".. config_id) + return 0 +end + +--根据时间轴关键词,获取对应锅ConfigID +function GetTargetConfigID(context,keyName) + if keyName == "PotOverHeatA" or keyName == "PotOverColdA" then + return defs.PotConfigIDA + end + if keyName == "PotOverHeatB" or keyName == "PotOverColdB" then + return defs.PotConfigIDB + end + if keyName == "PotOverHeatC" or keyName == "PotOverColdC" then + return defs.PotConfigIDC + end + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : Error! KeyName = ".. keyName) + return 0 +end + +--根据时间轴关键词,获取冷还是热 +function GetKeyWord(keyName) + if keyName == "PotOverColdA" or keyName == "PotOverColdB" or keyName == "PotOverColdC" then + return "Cold" + end + if keyName == "PotOverHeatA" or keyName == "PotOverHeatB" or keyName == "PotOverHeatC" then + return "Heat" + end + return 0 +end + +--根据冷还是热,返回相关汉字 以及 GadgetState +function GetCharacterKeyWord(keyName) + if keyName == "Cold" then + return {"冷",203} + end + if keyName == "Heat"then + return {"热",202} + end + return { "无",0 } +end + +LF_Initialize_Level() +--- ServerUploadTool Save to [/root/env/data/lua/common/V2_1] --- +--ScriptLib.SetGroupVariableValue(context,"ovenATemp",85) +--Pot_Pipeline(context,148004,85) diff --git a/Resources/Scripts/Common/V2_1/ImmortalPotEx.lua b/Resources/Scripts/Common/V2_1/ImmortalPotEx.lua index e69de29bb..9151aa4e3 100644 --- a/Resources/Scripts/Common/V2_1/ImmortalPotEx.lua +++ b/Resources/Scripts/Common/V2_1/ImmortalPotEx.lua @@ -0,0 +1,622 @@ +-- Trigger变量 +--[[ +local defs = { + ButtonLeftConfig = 51001, + ButtonRightConfig = 51002, + StoveConfig = 51003, + PotConfigIDA =51004, + PotConfigIDB =51005, + PotConfigIDC =51006, + targetColdTime = 14, + targetHeatTime = 14, + BeHitByFireTemp = 5, + BeHitByIceWaterTemp = -5, + SecondTempChange = { 7, -3}, -- 每秒对应上升或下降的温度变化 + StartTemp = {50,35,56}, -- ABC三壶的初始温度 + PlatFormRoute ={ -- 定义各个Route的功能,只需对应Log修改数据即可 + [300100395] = {curPos = 2,reachPos = 2,tempDirs = {2,1,2},log = "从中间移动到中间,在中间徘徊"}, + [300100396] = {curPos = 1,reachPos = 2,tempDirs = {2,1,2},log = "从左边移动到中间"}, + [300100397] = {curPos = 2,reachPos = 3,tempDirs = {2,2,1},log = "从中间移动到右边"}, + [300100398] = {curPos = 3,reachPos = 2,tempDirs = {2,1,2},log = "从右边移动到中间"}, + [300100399] = {curPos = 2,reachPos = 1,tempDirs = {1,2,2},log = "从中间移动到左边"} + } +} + +local challengeParam = { + 90, -- Time + 72, -- 72//EVENT_TIME_AXIS_PASS + 666,-- TAG + 1 -- 触发次数 +} +--]] +--------------------- +local tempTrigger = { + --监听GadgetState变化 + --监听值变化 + { config_id = 2330001, name = "EVENT_VARIABLE_CHANGE_A", event = EventType.EVENT_VARIABLE_CHANGE, source = "ovenATemp", + condition = "", action = "action_VARIABLE_CHANGE_A", trigger_count = 0}, + { config_id = 2330002, name = "EVENT_VARIABLE_CHANGE_B", event = EventType.EVENT_VARIABLE_CHANGE, source = "ovenBTemp", + condition = "", action = "action_VARIABLE_CHANGE_B", trigger_count = 0}, + { config_id = 2330003, name = "EVENT_VARIABLE_CHANGE_C", event = EventType.EVENT_VARIABLE_CHANGE, source = "ovenCTemp", + condition = "", action = "action_VARIABLE_CHANGE_C", trigger_count = 0}, + { config_id = 2330004, name = "TIME_AXIS_PotOverColdA", event = EventType.EVENT_TIME_AXIS_PASS, source = "PotOverColdA", + condition = "", action = "action_PotOverState", trigger_count = 0}, + { config_id = 2330005, name = "TIME_AXIS_PotOverColdB", event = EventType.EVENT_TIME_AXIS_PASS, source = "PotOverColdB", + condition = "", action = "action_PotOverState", trigger_count = 0}, + { config_id = 2330006, name = "TIME_AXIS_PotOverColdC", event = EventType.EVENT_TIME_AXIS_PASS, source = "PotOverColdC", + condition = "", action = "action_PotOverState", trigger_count = 0}, + { config_id = 2330007, name = "TIME_AXIS_PotOverHeatA", event = EventType.EVENT_TIME_AXIS_PASS, source = "PotOverHeatA", + condition = "", action = "action_PotOverState", trigger_count = 0}, + { config_id = 2330008, name = "TIME_AXIS_PotOverHeatB", event = EventType.EVENT_TIME_AXIS_PASS, source = "PotOverHeatB", + condition = "", action = "action_PotOverState", trigger_count = 0}, + { config_id = 2330009, name = "TIME_AXIS_PotOverHeatC", event = EventType.EVENT_TIME_AXIS_PASS, source = "PotOverHeatC", + condition = "", action = "action_PotOverState", trigger_count = 0}, + { config_id = 2330010, name = "EVENT_VARIABLE_CHANGE_StartPotTaunt", event = EventType.EVENT_TIME_AXIS_PASS, source = "StartPotTaunt", + condition = "", action = "action_StartPotTaunt", trigger_count = 0}, + { config_id = 2330011, name = "EVENT_VARIABLE_CHANGE_ChallengeStart", event = EventType.EVENT_VARIABLE_CHANGE, source = "startOrNot", + condition = "", action = "action_CHALLENGESTART", trigger_count = 0}, + { config_id = 2330012, name = "TIME_AXIS_TempControl", event = EventType.EVENT_TIME_AXIS_PASS, source = "TempControl", + condition = "", action = "action_TEMPCONTROL", trigger_count = 0}, + { config_id = 2330013, name = "PLATFORM_REACH_POINT_STOVE", event = EventType.EVENT_PLATFORM_REACH_POINT, source = "", + condition = "", action = "action_PLATFORM_REACH_POINT_STOVE", trigger_count = 0}, + { config_id = 2330014, name = "BUTTON_STATE_CHANGE", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", + condition = "", action = "action_BUTTON_STATE_CHANGE", trigger_count = 0}, + { config_id = 2330015, name = "POT_STATE_CHANGE", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", + condition = "", action = "action_POT_STATE_CHANGE", trigger_count = 0}, + { config_id = 2330016, name = "TIME_AXIS_ChallengeTimer", event = EventType.EVENT_TIME_AXIS_PASS, source = "ChallengeTimer", + condition = "", action = "", trigger_count = 0,tag = tostring(challengeParam[3])}, + { config_id = 2330017, name = "EVENT_CHALLENGE_SUCCESS_LevelChange", event = EventType.EVENT_CHALLENGE_SUCCESS, source = "888", + condition = "", action = "action_CHALLENGE_SUCCESS_LevelChange", trigger_count = 0}, + { config_id = 2330018, name = "EVENT_CHALLENGE_FAIL_LevelChange", event = EventType.EVENT_CHALLENGE_FAIL, source = "888", + condition = "", action = "action_CHALLENGE_FAIL_LevelChange", trigger_count = 0}, +} + +--------初始化---------- +function LF_Initialize_Level() + for k,v in pairs(tempTrigger) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + + gadgets[defs.PotConfigIDA].server_global_value_config["SGV_Thermometer_Value"] = defs.StartTemp[1] + gadgets[defs.PotConfigIDB].server_global_value_config["SGV_Thermometer_Value"] = defs.StartTemp[2] + gadgets[defs.PotConfigIDC].server_global_value_config["SGV_Thermometer_Value"] = defs.StartTemp[3] + + return 0 +end + +--------公用函数---------- +-- 当startOrNot被设置为1时,挑战开始启动 +function action_CHALLENGESTART(context,evt) + if 1 ~= evt.param1 then + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : startOrNot被设置为" .. evt.param1 ..",无视之。" ) + return 0 + end + --GadgetState初始化 + ScriptLib.SetGadgetStateByConfigId(context,defs.StoveConfig, 201) + ScriptLib.SetGadgetStateByConfigId(context,defs.PotConfigIDA, 201) + ScriptLib.SetGadgetStateByConfigId(context,defs.PotConfigIDB, 201) + ScriptLib.SetGadgetStateByConfigId(context,defs.PotConfigIDC, 201) + -- 因为初始位置一定在中间 + ScriptLib.SetGroupVariableValue(context, "ovenATempDirection", 2) + ScriptLib.SetGroupVariableValue(context, "ovenBTempDirection", 1) + ScriptLib.SetGroupVariableValue(context, "ovenCTempDirection", 2) + --开启挑战 + local challengeTime = challengeParam[1] + ScriptLib.StartChallenge(context, 888, 245, challengeParam) + + -- 每秒统计温度计时器 + ScriptLib.InitTimeAxis(context, "TempControl", {1}, true) + -- 挑战胜利计时器 + ScriptLib.InitTimeAxis(context, "ChallengeTimer", {challengeTime-0.5}, false) + + -- 挑战后控制第一波移动 + StoveMoveByButtonState(context) + return 0 +end + +-- 挑战开始后启动的时间轴,每秒结算温度变化 +function action_TEMPCONTROL(context,evt) + -- 计算温度变化 + CalculateOvenTemp(context,"ovenA") + CalculateOvenTemp(context,"ovenB") + CalculateOvenTemp(context,"ovenC") + + return 0 +end + +-- 检测炉子抵达的地点,用来处理是否要将其运往下一站 +function action_PLATFORM_REACH_POINT_STOVE(context, evt) + if 1 ~= evt.param3 then + return 0 + end + + + if defs.StoveConfig ~= evt.param1 then + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : 检测到无关的移动,其ConfigID为" .. evt.param1 ) + return 0 + end + + local routeID = evt.param2 + local tempDirs = defs.PlatFormRoute[routeID].tempDirs + local reachPos = defs.PlatFormRoute[routeID].reachPos + local fireDirection = ScriptLib.GetGroupVariableValue(context, "fireDirection") + + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : 炉子移动到" .. reachPos .. "。fireDirection为".. fireDirection..",当前各炉子温度方向为" .. arrayToString(tempDirs)) + + ScriptLib.SetGroupVariableValue(context, "curPos", reachPos) + + -- 尝试移动炉子 + local moveState = StoveMove(context,reachPos,fireDirection) + -- 炉子无法移动 或者 玩家已经离开按钮时 需要重新计算温度变化 + if -1 == moveState or 0 == fireDirection then + -- 到底指定地点温度变化 + ScriptLib.SetGroupVariableValue(context, "ovenATempDirection", tempDirs[1]) + ScriptLib.SetGroupVariableValue(context, "ovenBTempDirection", tempDirs[2]) + ScriptLib.SetGroupVariableValue(context, "ovenCTempDirection", tempDirs[3]) + end + + return 0 +end + +-- 按钮的状态变化,检测后用来控制炉子位移 +function action_BUTTON_STATE_CHANGE(context, evt) + if evt.param2 ~= defs.ButtonLeftConfig and evt.param2 ~= defs.ButtonRightConfig then + return 0 + end + + local startOrNot = ScriptLib.GetGroupVariableValue(context, "startOrNot") + if startOrNot == 0 then + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : 挑战没开的场合,无法移动炉子") + return 0 + end + + StoveMoveByButtonState(context) + + return 0 +end + +-- 锅子状态侦测,一旦某个锅子爆炸了,立刻重置挑战并处理挑战存档 +function action_POT_STATE_CHANGE(context,evt) + -- Gadget是锅子且爆了,开始处理逻辑 + local potName = GetPotName(context,evt.param2) + if 0 ~= potName and (202 == evt.param1 or 203 == evt.param1) then + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : 锅子" .. potName .. "炸了,关卡开始设置状态") + -- 切挑战失败 + ScriptLib.StopChallenge(context, 888, 0) + end + return 0 +end + +-- 计时器结束时,关闭锅子全部状态 +function action_CHALLENGE_SUCCESS_LevelChange(context,evt) + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : 挑战胜利,设置关卡状态") + local potList = {defs.PotConfigIDA,defs.PotConfigIDB,defs.PotConfigIDC} + for i = 1,#potList do + local targetPot = potList[i] + -- 全部锅子进入状态 0 + ScriptLib.SetGadgetStateByConfigId(context,targetPot, 901) + -- 关闭全锅子的嘲讽 + StartPotTaunt(context,targetPot,0) + end + RecoverLevel(context) + return 0 +end + +function action_CHALLENGE_FAIL_LevelChange(context,evt) + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : 挑战失败,重置关卡状态") + local potList = {defs.PotConfigIDA,defs.PotConfigIDB,defs.PotConfigIDC} + + -- 切其它锅子进入State0 + for i = 1,#potList do + local targetPot = potList[i] + -- 只要锅子不是处于202或203 + local targetPotState = ScriptLib.GetGadgetStateByConfigId(context, 0, targetPot) + if 202 ~= targetPotState and 203 ~= targetPotState then + ScriptLib.SetGadgetStateByConfigId(context,targetPot, 0) + end + -- 关闭关卡计时器 + ScriptLib.EndTimeAxis(context, "ChallengeTimer") + + -- 关闭全锅子的嘲讽 + StartPotTaunt(context,targetPot,0) + end + + RecoverLevel(context) + return 0 +end + +-- 关卡回复逻辑 +function RecoverLevel(context) + -- 关闭炉子火焰 + ScriptLib.SetGadgetStateByConfigId(context,defs.StoveConfig, 0) + -- 方向停止 + ScriptLib.SetGroupVariableValue(context, "fireDirection", 0) + + -- 设置温度变化为0 + ScriptLib.SetGroupVariableValue(context, "ovenATempDirection", 0) + ScriptLib.SetGroupVariableValue(context, "ovenBTempDirection", 0) + ScriptLib.SetGroupVariableValue(context, "ovenCTempDirection", 0) + -- 停止温度运作 + ScriptLib.SetGroupVariableValue(context, "startOrNot", 0) + -- 关闭计时器 + ScriptLib.EndTimeAxis(context, "TempControl") + -- 温度初始化 + ScriptLib.SetGroupVariableValue(context, "ovenATemp", defs.StartTemp[1]) + ScriptLib.SetGroupVariableValue(context, "ovenBTemp", defs.StartTemp[2]) + ScriptLib.SetGroupVariableValue(context, "ovenCTemp", defs.StartTemp[3]) + + -- 让炉子回到中间 + local curPos = ScriptLib.GetGroupVariableValue(context, "curPos") + local fireDirection = 2 - curPos + ScriptLib.StopPlatform(context, defs.StoveConfig) + StoveMove(context,curPos,fireDirection) + ScriptLib.SetGroupVariableValue(context, "curPos", 2) + +end + +-- 侦测温度值变化 +function action_VARIABLE_CHANGE_A(context, evt) + --将值同步给对应锅子,仅在201状态处理 + Pot_Pipeline(context,defs.PotConfigIDA,evt.param1) + return 0 +end + +-- 侦测温度值变化 +function action_VARIABLE_CHANGE_B(context, evt) + --将值同步给对应锅子,仅在201状态处理 + Pot_Pipeline(context,defs.PotConfigIDB,evt.param1) + return 0 +end + +-- 侦测温度值变化 +function action_VARIABLE_CHANGE_C(context, evt) + --将值同步给对应锅子,仅在201状态处理 + Pot_Pipeline(context,defs.PotConfigIDC,evt.param1) + return 0 +end + +-- 过冷过热双检查 +function action_PotOverState(context, evt) + local state = GetKeyWord(evt.source_name) -- 返回值为 “Cold" or "Heat" + local characterState = GetCharacterKeyWord(state)[1] -- 返回值为 冷 or 热 + local overStateValue = GetCharacterKeyWord(state)[2] -- 返回值为 203 or 202 + local targetConfigID = GetTargetConfigID(context,evt.source_name) + + if (targetConfigID == 0) then + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : source_name = ".. evt.source_name .. "非法") + return 0 + end + + local targetPotName = GetPotName(context,targetConfigID) + local tickTimeKey = "Over".. state .."Time"..targetPotName + local timeAxisKey = "PotOver" ..state.. targetPotName + local targetTime = defs.targetColdTime + local currentTime = ScriptLib.GetGroupTempValue(context, tickTimeKey, {}) + 1 --增加1秒计时 + + if 201 ~= ScriptLib.GetGadgetStateByConfigId(context, 0, targetConfigID) then + -- 如果锅子已经切进其它状态,关闭当前TimeAxis + ScriptLib.PrintContextLog(context, "## TD ImmortalPot 锅炉"..targetPotName .. " 强制结束时间轴") + ScriptLib.SetGroupTempValue(context, timeAxisKey, 0, {}) + ScriptLib.EndTimeAxis(context, timeAxisKey) + return 0 + end + + -- 已超时 + if currentTime >= targetTime then + + ScriptLib.PrintContextLog(context, "## TD ImmortalPot 过".. characterState .."超时,关闭锅炉" .. targetPotName) + -- 锅子切冷炸 + ScriptLib.SetGadgetStateByConfigId(context, targetConfigID, overStateValue) + -- 时间轴结束/计时清空 + ScriptLib.SetGroupTempValue(context, timeAxisKey, 0, {}) + ScriptLib.EndTimeAxis(context, timeAxisKey) + return 0 + else + local IsOverState = false + if state == "Cold" then + IsOverState = IsOverCold(context,targetConfigID) + end + if state == "Heat" then + IsOverState = IsOverHeat(context,targetConfigID) + end + if false == IsOverState then + -- 已炸锅 + ScriptLib.PrintContextLog(context, "## TD ImmortalPot 锅炉".. targetPotName .. " 结束过".. characterState) --描述切换 + -- 时间轴结束/计时清空 + ScriptLib.SetGroupTempValue(context, timeAxisKey, 0, {}) + ScriptLib.EndTimeAxis(context, timeAxisKey) + return 0 + else + -- 锅子异常中 + ScriptLib.PrintContextLog(context, "## TD ImmortalPot 锅炉".. targetPotName .. " 持续过".. characterState ..",已经过" .. currentTime .."秒") --描述切换 + -- 计时累加 + ScriptLib.SetGroupTempValue(context, tickTimeKey, currentTime, {}) + return 0 + end + end + return 0 +end + +-- 侦测LD调用 +function action_StartPotTaunt(context, evt) + local actionName = evt.source_name + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : 嘲讽开启判定 actionName = "..actionName .. " tempValue = " .. evt.param1 - evt.param2) + if 1 == evt.param1 - evt.param2 then + local functionParam1 = ScriptLib.GetGroupTempValue(context,actionName .. "Param1",{}) + local functionParam2 = ScriptLib.GetGroupTempValue(context,actionName .. "Param2",{}) + StartPotTaunt(context,functionParam1,functionParam2) + end + return 0 +end + +-- serverLuaCall 锅子挨火打 +function BeHitByFire(context, evt) + ScriptLib.PrintContextLog(context, "## Immortal 锅子挨火打| source -> "..context.source_entity_id.." | target -> "..context.target_entity_id) + local configId = ScriptLib.GetGadgetConfigId(context, {gadget_eid = context.source_entity_id}) + local targetPotName = GetPotName(context,configId) + local tempKey = "oven".. targetPotName .. "Temp" + local tempValue = ScriptLib.GetGroupVariableValue(context, tempKey) + ScriptLib.SetGroupVariableValue(context,tempKey,tempValue+defs.BeHitByFireTemp) + ScriptLib.PrintContextLog(context, "## Immortal 锅子挨火打| Change "..tempKey.." from" .. tempValue .. + " to ".. tempValue+defs.BeHitByFireTemp) + return 0 +end + +-- serverLuaCall 锅子挨冰水打 +function BeHitByIceWater(context, evt) + ScriptLib.PrintContextLog(context, "## Immortal 锅子挨冰水打| source -> "..context.source_entity_id.." | target -> "..context.target_entity_id) + local configId = ScriptLib.GetGadgetConfigId(context, {gadget_eid = context.source_entity_id}) + local targetPotName = GetPotName(context,configId) + local tempKey = "oven".. targetPotName .. "Temp" + local tempValue = ScriptLib.GetGroupVariableValue(context, tempKey) + ScriptLib.SetGroupVariableValue(context,tempKey,tempValue+defs.BeHitByIceWaterTemp) + ScriptLib.PrintContextLog(context, "## Immortal 锅子挨冰水打| Change "..tempKey.." from" .. tempValue .. + " to ".. tempValue+defs.BeHitByIceWaterTemp) + return 0 +end + +------------设置仙人锅开启嘲讽--------- +-- 控制锅子是否开启嘲讽 +function StartPotTaunt(context,configId,startTaunt) + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : configId = "..configId .. " startTaunt = " .. startTaunt) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, configId, "SGV_Is_Taunting", startTaunt) + return 0 +end +--------私有函数---------- +-- 温度管理管线 +function Pot_Pipeline(context,config_id,value) + -- 即时更新SGV_Thermometer_Value + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : configId = ".. config_id .. " SGV_Thermometer_Value= " .. value) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, config_id, "SGV_Thermometer_Value", value) + + -- 确认是否进入炸锅倒计时 + Pot_OverColdPipeline(context,config_id) + Pot_OverHeatPipeline(context,config_id) + return 0 +end + +-- 过冷检测管线 +function Pot_OverColdPipeline(context,config_id) + local targetPotName = GetPotName(context,config_id) + local tempKey = "PotOverCold".. targetPotName + local tickTimeKey = "OverColdTime"..targetPotName + if IsOverCold(context,config_id) and 1 ~= ScriptLib.GetGroupTempValue(context, tempKey, {}) then + -- 过冷状态且没有开启独立时间轴时 + local coldTimeAxis = {} + local timeValue = 1 + local targetColdTime = math.ceil(defs.targetColdTime/timeValue) + -- 解析时间轴数组 + for i = 1, targetColdTime, 1 do + coldTimeAxis[i] = timeValue + timeValue = timeValue + 1 + end + -- tempKey依赖时间轴结束自己关闭 + ScriptLib.SetGroupTempValue(context, tickTimeKey, 0, {}) + ScriptLib.SetGroupTempValue(context, tempKey, 1, {}) + -- 开启一个每秒Tick的时间轴 + ScriptLib.InitTimeAxis(context, tempKey, coldTimeAxis, false) + ScriptLib.ShowReminder(context, 400066) + ScriptLib.PrintContextLog(context, "## TD ImmortalPot 开启OverCold观测 Send Time Axis") + end + return 0 +end + +-- 过热检测管线 +function Pot_OverHeatPipeline(context,config_id) + local targetPotName = GetPotName(context,config_id) + local tempKey = "PotOverHeat".. targetPotName + local tickTimeKey = "OverHeatTime"..targetPotName + if IsOverHeat(context,config_id) and 1 ~= ScriptLib.GetGroupTempValue(context, tempKey, {}) then + -- 过冷状态且没有开启独立时间轴时 + local heatTimeAxis = {} + local timeValue = 1 + local targetColdTime = math.ceil(defs.targetHeatTime/timeValue) + -- 解析时间轴数组 + for i = 1, targetColdTime, 1 do + heatTimeAxis[i] = timeValue + timeValue = timeValue + 1 + end + -- tempKey依赖时间轴结束自己关闭 + ScriptLib.SetGroupTempValue(context, tickTimeKey, 0, {}) + ScriptLib.SetGroupTempValue(context, tempKey, 1, {}) + -- 开启一个每秒Tick的时间轴 + ScriptLib.InitTimeAxis(context, tempKey, heatTimeAxis, false) + ScriptLib.ShowReminder(context, 400066) + ScriptLib.PrintContextLog(context, "## TD ImmortalPot 开启OverHeat观测 Send Time Axis") + end + return 0 +end + +-- 返回当前ConfigID是否过冷 +function IsOverCold(context,config_id) + if config_id == nil then + return true + end + local safeFrom = gadgets[config_id].server_global_value_config["SGV_Thermometer_SafeFrom"] * 100 + local targetPotName = GetPotName(context,config_id) + local tempKey = "oven".. targetPotName .. "Temp" + local tempValue = ScriptLib.GetGroupVariableValue(context, tempKey) + return tempValue<=safeFrom +end + +-- 返回当前ConfigID是否过热 +function IsOverHeat(context,config_id) + if config_id == nil then + return true + end + local safeTo = gadgets[config_id].server_global_value_config["SGV_Thermometer_SafeTo"] * 100 + local targetPotName = GetPotName(context,config_id) + local tempKey = "oven".. targetPotName .. "Temp" + local tempValue = ScriptLib.GetGroupVariableValue(context, tempKey) + return tempValue>=safeTo +end + +-- 根据锅炉当前为加热或降温设置锅子温度 +function CalculateOvenTemp(context,potName) + local tempDir = ScriptLib.GetGroupVariableValue(context, potName.."TempDirection") + local temp = ScriptLib.GetGroupVariableValue(context, potName.."Temp") + + if tempDir > 2 or tempDir < 1 then + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : 锅子".. potName .."方向不合法,值为" .. tempDir) + end + + temp = temp + defs.SecondTempChange[tempDir] + temp = math.max(math.min(temp,100),0) + + ScriptLib.SetGroupVariableValue(context, potName.."Temp", temp) + + return 0 +end + +--根据ConfigID或Pos信息,获取对应锅关键词 +function GetPotName(context,keyName) + if keyName == defs.PotConfigIDA or keyName == 1 then + return "A" + end + if keyName == defs.PotConfigIDB or keyName == 2 then + return "B" + end + if keyName == defs.PotConfigIDC or keyName == 3 then + return "C" + end + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : GetPotName Error! KeyName = ".. keyName) + return 0 +end + +--根据时间轴关键词,获取对应锅ConfigID +function GetTargetConfigID(context,keyName) + if keyName == "PotOverHeatA" or keyName == "PotOverColdA" then + return defs.PotConfigIDA + end + if keyName == "PotOverHeatB" or keyName == "PotOverColdB" then + return defs.PotConfigIDB + end + if keyName == "PotOverHeatC" or keyName == "PotOverColdC" then + return defs.PotConfigIDC + end + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : GetTargetConfigID Error! KeyName = ".. keyName) + return 0 +end + +-- 根据当前踏板状态控制锅炉移动 +function StoveMoveByButtonState(context) + local leftState = ScriptLib.GetGadgetStateByConfigId(context, 0, defs.ButtonLeftConfig) + local rightState = ScriptLib.GetGadgetStateByConfigId(context, 0, defs.ButtonRightConfig) + local curPos = ScriptLib.GetGroupVariableValue(context, "curPos") + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : LeftState:" .. leftState .. "RightState" .. rightState) + local fireDirection = 0 + if 201 == leftState and 0 == rightState then + fireDirection = -1 + ScriptLib.SetGroupVariableValue(context, "fireDirection", fireDirection) + StoveMove(context,curPos,fireDirection) + return 0 + end + if 0 == leftState and 201 == rightState then + fireDirection = 1 + ScriptLib.SetGroupVariableValue(context, "fireDirection", fireDirection) + StoveMove(context,curPos,fireDirection) + return 0 + end + if 201 == leftState and 201 == rightState then + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : 左右按钮已全部开启,暂时维持之前方向") + ScriptLib.SetGroupVariableValue(context, "fireDirection", 0) + return 0 + end + if 0 == leftState and 0 == rightState then + ScriptLib.SetGroupVariableValue(context, "fireDirection", 0) + return 0 + end + return 0 +end + +-- 管理炉子移动的方法 +function StoveMove(context,curPos,fireDirection) + local targetPos = curPos + fireDirection + local routeID = GetRouteID(curPos,targetPos) + + if 0 == routeID then + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : StoveMove 不成功,参数为 curPos =" .. curPos .. ",fireDirection =" .. fireDirection ) + return -1 + end + + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : 炉子开始移动," .. defs.PlatFormRoute[routeID].log) + ScriptLib.SetPlatformRouteId(context, defs.StoveConfig, routeID) + ScriptLib.StartPlatform(context, defs.StoveConfig) + + local potName = GetPotName(context,curPos) + local targetPotTempDirection = "oven"..potName.."TempDirection" + ScriptLib.SetGroupVariableValue(context, targetPotTempDirection, 2) + ScriptLib.PrintContextLog(context, "## TD ImmortalPot : 因为炉子移开,设置锅子" .. potName .. '进入降温状态') + + return 0 +end + +--根据时间轴关键词,获取冷还是热 +function GetKeyWord(keyName) + if keyName == "PotOverColdA" or keyName == "PotOverColdB" or keyName == "PotOverColdC" then + return "Cold" + end + if keyName == "PotOverHeatA" or keyName == "PotOverHeatB" or keyName == "PotOverHeatC" then + return "Heat" + end + return 0 +end + +--根据冷还是热,返回相关汉字 以及 GadgetState +function GetCharacterKeyWord(keyName) + if keyName == "Cold" then + return {"冷",203} + end + if keyName == "Heat"then + return {"热",202} + end + return { "无",0 } +end + +-- 计算对应的RouteID +function GetRouteID(curPos,targetPos) + for k,v in pairs(defs.PlatFormRoute) do + if curPos == v.curPos and targetPos == v.reachPos then + return k + end + end + return 0 +end + +-- 简单拆分一个数组 +function arrayToString(array) + local s = "{" + for k,v in pairs(array) do + if k < #array then + s = s .. v .."," + else + s = s .. v + end + end + s = s .."}" + return s +end + +LF_Initialize_Level() +--- ServerUploadTool Save to [/root/env/data/lua/common/V2_1] --- diff --git a/Resources/Scripts/Common/V2_1/MoonlitCamp.lua b/Resources/Scripts/Common/V2_1/MoonlitCamp.lua index e69de29bb..fa49cb865 100644 --- a/Resources/Scripts/Common/V2_1/MoonlitCamp.lua +++ b/Resources/Scripts/Common/V2_1/MoonlitCamp.lua @@ -0,0 +1,225 @@ +--[[ +local defs = { + -- 进入指定Region获得对应AbilityGroup + -- AG:AbilityGroup + GroupID = 133003041, + AGRegionConfigID = 41012, + AGName = "ActivityAbility_ToMoon_FoodChallenge_Part1", --AbilityGroupName + AGKey = "_Activity_ToMoon_Part1_Level", --AbilityGroupValueKey + -- 进入指定Region时开启对应挑战 + ChallengeRegionConfigID = 41012, + ChallengeID = 111168, + TriggerTag = 41013, + TargetTriggerTime = 1, + -- 供奉时对应响应,通知Team修改GlobalValue ScriptLib.SetTeamEntityGlobalFloatValue(context, {uid}, key, value) + AreaID = 1, -- 1璃月 2蒙德 3雪山 + -- 挑战成功时,创生宝箱(考虑灵活性,挑战成功时逻辑交给LD处理) + -- 当LD觉得应当结束Bundle时,将OverKey修改为1 + OverKey = "OverKey", + WatchKey = "save", + RewardSuit = 7, +} + +local Phase ={ + [1] = {3,4}, + [2] = {3,4,5}, + [3] = {7}, +} +--]] +--------------------- +local tempTrigger = { + { config_id = 2230001, name = "ENTER_REGION_Challenge", event = EventType.EVENT_ENTER_REGION, source = "1", + condition = "", action = "action_ENTER_REGION_Challenge", trigger_count = 0}, + { config_id = 2230002, name = "LEAVE_REGION_Challenge", event = EventType.EVENT_LEAVE_REGION, source = "1", + condition = "", action = "action_LEAVE_REGION_Challenge", trigger_count = 0}, + { config_id = 2230003, name = "LUNA_RITE_SACRIFICE", event = EventType.EVENT_LUNA_RITE_SACRIFICE, source = "", + condition = "", action = "action_LUNA_RITE_SACRIFICE", trigger_count = 0}, + { config_id = 2230004, name = "VARIABLE_CHANGE_End", event = EventType.EVENT_VARIABLE_CHANGE, source = defs.WatchKey, + condition = "", action = "", trigger_count = 0, tag = tostring(defs.TriggerTag) }, + { config_id = 2330005, name = "VARIABLE_CHANGE_BundleEnd", event = EventType.EVENT_VARIABLE_CHANGE, source = defs.OverKey, + condition = "", action = "action_VARIABLE_CHANGE_BundleEnd", trigger_count = 0}, + { config_id = 2330006, name = "ChallengeEndCheckWin", event = EventType.EVENT_CHALLENGE_SUCCESS, source = tostring(10*defs.ChallengeID), condition = "", action = "action_ChallengeWin" }, + { config_id = 2330007, name = "ChallengeEndCheckLose", event = EventType.EVENT_CHALLENGE_FAIL, source = tostring(10*defs.ChallengeID), condition = "", action = "action_ChallengeLose" }, +} + +--------初始化---------- +function LF_Initialize_Level() + for k,v in pairs(tempTrigger) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + -- 给指定region挂AbilityGroup + regions[defs.AGRegionConfigID].team_ability_group_list = {defs.AGName} + return 0 +end +--------公用函数---------- +-- 进入Region后触发对应挑战 +function action_ENTER_REGION_Challenge(context, evt) + + if evt.param1 ~= defs.ChallengeRegionConfigID or ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + ScriptLib.PrintContextLog(context, "## TD_MoonlitCamp : 非对应挑战Region触发 ") + return 0 + end + + -- 新手教程相关 + StartNewbie(context) + + -- 防止连续启挑战 + if -1 == CheckChallenge(context) then return 0 end + + -- 检查WatcherKey是否合法 + local startVariable = ScriptLib.GetGroupVariableValue(context,defs.WatchKey) + if 0 ~= CheckWatcherKey(context,startVariable) then + return 0 + end + + -- ☆开启挑战 + ScriptLib.PrintContextLog(context, "## TD_MoonlitCamp : 准备开启挑战, 挑战内容是 = "..defs.ChallengeRegionConfigID + .." tag是 "..defs.TriggerTag.." 目标触发次数是 "..defs.TargetTriggerTime.." 继承次数为 "..startVariable) + ScriptLib.StartChallenge(context, 10*defs.ChallengeID, defs.ChallengeID, {3, defs.TriggerTag, defs.TargetTriggerTime, 1, startVariable}) + ScriptLib.SetGroupTempValue(context, "haveStartChallenge", 1, {}) + RefreshAllSacrificeNum(context) + + -- 根据阶段刷新,为Phase设置保底 + RefreshPhaseSuit(context) + + return 0 +end + +-- 挑战结束将值还原 +function action_ChallengeWin(context, evt) + ScriptLib.PrintContextLog(context, "## TD_MoonlitCamp : 挑战成功,关闭Region ") + ScriptLib.SetGroupTempValue(context, "haveStartChallenge", 2, {}) + ScriptLib.RemoveEntityByConfigId(context, defs.GroupID, EntityType.REGION, defs.ChallengeRegionConfigID) + return 0 +end + +function action_ChallengeLose(context, evt) + ScriptLib.PrintContextLog(context, "## TD_MoonlitCamp : 挑战失败,关闭并刷新Region ") + ScriptLib.RemoveEntityByConfigId(context, defs.GroupID, EntityType.REGION, defs.ChallengeRegionConfigID) + ScriptLib.RefreshGroup(context, { group_id = defs.GroupID, suite = 1 }) + ScriptLib.SetGroupTempValue(context, "haveStartChallenge", 0, {}) + return 0 +end + +-- 离开指定区域且区域内人员为零时挑战失败 +function action_LEAVE_REGION_Challenge(context, evt) + if evt.param1 == defs.ChallengeRegionConfigID and ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + ScriptLib.StopChallenge(context, 10*defs.ChallengeID, 0) + end + return 0 +end + +-- 逐月节食物供奉改变时 +function action_LUNA_RITE_SACRIFICE(context, evt) + ScriptLib.PrintContextLog(context, "## TD_MoonlitCamp : 玩家触发了供奉 ") + RefreshAllSacrificeNum(context) + return 0 +end + +-- 结束Bundle +function action_VARIABLE_CHANGE_BundleEnd(context, evt) + ScriptLib.PrintContextLog(context, "## TD_MoonlitCamp : LD触发了指定数值操作 ") + ScriptLib.RemoveEntityByConfigId(context, defs.GroupID, EntityType.REGION, defs.ChallengeRegionConfigID) + ScriptLib.FinishGroupLinkBundle(context, defs.GroupID) + return 0 +end + +--------私有函数---------- +-- 刷新供奉数量,用于为AbilityGroup提供支持 +function RefreshAllSacrificeNum(context) + local uid_list = ScriptLib.GetSceneUidList(context) + local sacrificeNum = ScriptLib.GetLunaRiteSacrificeNum(context, defs.AreaID); + ScriptLib.PrintContextLog(context, "## TD_MoonlitCamp 触发供奉 : UID_List为:".. arrayToString(uid_list).." //AreaID为 " .. defs.AreaID .." //当前供奉数为 " .. sacrificeNum) + ScriptLib.SetTeamEntityGlobalFloatValue(context,uid_list, defs.AGKey, sacrificeNum) + ScriptLib.PrintContextLog(context, "## TD_MoonlitCamp 触发供奉: UID_List为:"..arrayToString(uid_list).." //其AbilityGroup的Key刷新了 ") + return 0 +end + +-- 刷新供奉数量,用于为AbilityGroup提供支持 +function RefreshSacrificeNum(context) + local tempUid = context.uid + local sacrificeNum = ScriptLib.GetLunaRiteSacrificeNum(context, defs.AreaID); + ScriptLib.PrintContextLog(context, "## TD_MoonlitCamp ABGroup挂起: 对应UID为:".. tempUid.." //AreaID为 " .. defs.AreaID .." //当前供奉数为 " .. sacrificeNum) + ScriptLib.SetTeamEntityGlobalFloatValue(context,{ tempUid }, defs.AGKey, sacrificeNum) + ScriptLib.PrintContextLog(context, "## TD_MoonlitCamp ABGroup挂起: 对应UID为:"..tempUid.." //其AbilityGroup的Key刷新了 ") + return 0 +end + +function StartNewbie(context) + local UidList = ScriptLib.GetSceneUidList(context) + local ownerUid = UidList[1] + local havePlayed = ScriptLib.GetExhibitionAccumulableData(context,ownerUid,10501001) + + if 0 == havePlayed then + ScriptLib.ShowClientTutorial(context,910,{ownerUid}) + ScriptLib.AddExhibitionAccumulableData(context,ownerUid,"MoonlitCamp_HavePlayed",1) + end + + return 0 +end + +function CheckChallenge(context) + local haveStartChallenge = ScriptLib.GetGroupTempValue(context, "haveStartChallenge",{}) + if 1 == haveStartChallenge then + ScriptLib.PrintContextLog(context, "## TD_MoonlitCamp : 挑战已触发,不再重复触发 ") + return -1 + end + if 2 == haveStartChallenge then + ScriptLib.PrintContextLog(context, "## TD_MoonlitCamp : 挑战已结束,不再触发 ") + return -1 + end + + return 0 +end + +function CheckWatcherKey(context,startVariable) + if startVariable < defs.TargetTriggerTime then + return 0 + end + + ScriptLib.PrintContextLog(context, "## TD_MoonlitCamp : 挑战应已完成,请检查进入原因 ") + return -1 +end + +function RefreshPhaseSuit(context) + local stage = ScriptLib.GetGroupVariableValue(context, "stage") + + if nil == Phase then + ScriptLib.PrintContextLog(context, "## TD_MoonlitCamp : Group: " .. defs.GroupID .. "没有对应Phase") + return 0 + end + + if stage > #Phase then + ScriptLib.PrintContextLog(context, "## TD_MoonlitCamp : stage超过Phase界限,stage = " .. stage) + return 0 + end + + local needRefreshSuit = Phase[stage] + + ScriptLib.PrintContextLog(context, "## TD_MoonlitCamp : PhaseStage= " .. stage .. "需要刷新的suit为:" .. arrayToString(needRefreshSuit)) + + for k,v in ipairs(needRefreshSuit) do + ScriptLib.AddExtraGroupSuite(context, defs.GroupID, v) + end + + return 0 +end + +---自骏ToolBox:数组转字符串函数--- +function arrayToString(array) + local s = "{" + for k,v in pairs(array) do + if k < #array then + s = s .. v .."," + else + s = s .. v + end + end + s = s .."}" + return s +end + +LF_Initialize_Level() +--- ServerUploadTool Save to [/root/env/data/lua/common/V2_1] --- + diff --git a/Resources/Scripts/Common/V2_1/WoodFloorPlayOrder.lua b/Resources/Scripts/Common/V2_1/WoodFloorPlayOrder.lua index e69de29bb..66890e0bf 100644 --- a/Resources/Scripts/Common/V2_1/WoodFloorPlayOrder.lua +++ b/Resources/Scripts/Common/V2_1/WoodFloorPlayOrder.lua @@ -0,0 +1,213 @@ +--- def参数 +--- 描述长宽 +--[[ +local defs = { + -- 该参数 填入ConfigID 用来确认临接关系 + InitFloorArrays = { + {6001,6004,6007,6010}, + {6002,6006,6009,6012}, + {6003,6005,6008,6011}, + }, + -- 该参数用来确认合法序列 (日月星) + FloorGadgetID = {70310059,70310060,70310061}, --lastFloorIndex + FloorNum = 12, +} +--]] +--------------------- +local tempTrigger = { + { config_id = 2330001, name = "floorStateChange", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", + condition = "", action = "action_floorStateChange", trigger_count = 0}, + { config_id = 2330002, name = "EVENT_FloorPlayStart", event = EventType.EVENT_VARIABLE_CHANGE, source = "FloorPlayStart", + condition = "", action = "action_FloorPlayStart", trigger_count = 0}, + { config_id = 2330003, name = "EVENT_NoticeFloorPlayEnd", event = EventType.EVENT_VARIABLE_CHANGE, source = "totalFloorNum", + condition = "", action = "action_NoticeFloorPlayEnd", trigger_count = 0}, + { config_id = 2330004, name = "EVENT_GROUP_LOAD", event = EventType.EVENT_GROUP_LOAD, source = "", + condition = "", action = "action_EVENT_GROUP_LOAD", trigger_count = 0}, +} + +--------初始化---------- +function LF_Initialize_Level() + for k,v in pairs(tempTrigger) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + + LF_InitCheckFloorStyle() + + local var = { config_id=50000001,name = "lastFloorIndex", value = 0, no_refresh = false } --上一次踩亮的地板顺位Index ,每次开始游戏重置 + variables[var.name] = var + var = { config_id=50000002,name = "lastConfigID", value = 0, no_refresh = false } --上一次踩亮的地板configID ,每次开始游戏重置 + variables[var.name] = var + var = { config_id=50000003,name = "totalFloorNum", value = defs.FloorNum, no_refresh = false } --地板计数器,侦测玩法结束变量 + variables[var.name] = var + var = { config_id=50000004,name = "FloorPlayStart", value = 0, no_refresh = false } --玩法开始变量,设为1时玩法开启 , 玩法失败时会置为0 + variables[var.name] = var + var = { config_id=50000005,name = "FloorPlayEnd", value = 0, no_refresh = true } --玩法结束变量,设为1时玩法结束,需要设计师侦测 + variables[var.name] = var + + return 0 +end + +function LF_InitCheckFloorStyle() + -- 处理地板边界 xNotEnd为False是下边界,yNotEnd为False是右边界。 + for i=1,#defs.InitFloorArrays do + local tempXNotEnd = i ~= #defs.InitFloorArrays + for j=1,#defs.InitFloorArrays[i] do + local tempYNotEnd = j ~= #defs.InitFloorArrays[i] + local tempConfigId = defs.InitFloorArrays[i][j] + if tempConfigId > 0 then + gadgets[tempConfigId].FloorParam = {x=i,y=j,xNotEnd=tempXNotEnd,yNotEnd=tempYNotEnd} + gadgets[tempConfigId].isFloor = true + end + end + end + return 0 +end + +--------公用函数---------- +------------Group加载时保底-------- +function action_EVENT_GROUP_LOAD(context,evt) + local floorPlayEnd = ScriptLib.GetGroupVariableValue(context, "FloorPlayEnd") + + if 0 == floorPlayEnd then + -- Group强制刷新 + local groupID = ScriptLib.GetContextGroupId(context) + ScriptLib.RefreshGroup(context, { group_id = groupID, suite = 1 }) + end + return 0 +end +------------响应地板玩法开始-------- + function action_FloorPlayStart(context,evt) + if 1 ~= evt.param1 then return 0 end + + -- 所有地板设为0 + for i=1,#defs.InitFloorArrays do + for j=1,#defs.InitFloorArrays[i] do + local tempConfigId = defs.InitFloorArrays[i][j] + if tempConfigId > 0 then + ScriptLib.SetGadgetStateByConfigId(context, tempConfigId, 0) + ScriptLib.PrintContextLog(context, "TD WoodFloorPlay : 将对应地板设置为0,ConfigID为" .. tempConfigId) + end + end + end + + ScriptLib.SetGroupVariableValue(context, "FloorPlayEnd", 0) + ScriptLib.SetGroupVariableValue(context, "lastConfigID", 0) + ScriptLib.SetGroupVariableValue(context, "lastFloorIndex", 0) + ScriptLib.SetGroupVariableValue(context, "totalFloorNum", defs.FloorNum) + return 0 + end +---------------对应地板被踩时触发-------- + function action_floorStateChange(context,evt) + local toGadgetState = evt.param1 + local configID = evt.param2 + ScriptLib.PrintContextLog(context, "TD WoodFloorPlay : 侦测到物件状态切入"..toGadgetState.."ConfigID为" .. configID) + if 201 == toGadgetState and gadgets[configID].isFloor then + AnalyzeFloorByFixedOrder(context,configID) + return 0 + end + return 0 + end +------------通知地板玩法结束-------- +function action_NoticeFloorPlayEnd(context,evt) + if 0 == evt.param1 then + -- 将地板玩法结束参数设为1 + ScriptLib.SetGroupVariableValue(context, "FloorPlayEnd", 1) + ScriptLib.PrintContextLog(context, "TD WoodFloorPlay : 地板玩法结束") + end + return 0 +end +------------踩踏木制地板判定(日月星)-------- +---地板只有进入201时,才启动以下分析逻辑 + function AnalyzeFloorByFixedOrder(context,currentConfigID) + local lastIndex = ScriptLib.GetGroupVariableValue(context, "lastFloorIndex") --上一个踩中地板的顺位 + local lastConfigID = ScriptLib.GetGroupVariableValue(context, "lastConfigID") --上一个踩中地板的ConfigID + local currentIndex = 0 + if lastConfigID == 0 then + --获取其在日月星中的顺位 + currentIndex = GetFirstDataInArray(gadgets[currentConfigID].gadget_id) + ScriptLib.ChangeGroupVariableValue(context, "totalFloorNum", -1) + else + --获取其在日月星中的下一个顺位 + currentIndex = lastIndex + 1 + if currentIndex == #defs.FloorGadgetID+1 then currentIndex = 1 end + + -- 附近地板且顺位正确 + if IsNearbyFloor(lastConfigID,currentConfigID) and IsRightFloor(currentIndex,currentConfigID) then + --成功,可能需要处理特效 + ScriptLib.ChangeGroupVariableValue(context, "totalFloorNum", -1) + ScriptLib.PrintContextLog(context, "## TD_Log:WoodFloorPlay : 踩入的地板顺序正确") + + else + --失败,重置所有地板 + ScriptLib.PrintContextLog(context, "## TD_Log:WoodFloorPlay : 踩入的地板顺序错误") + + -- 所有地板设为0 + for i=1,#defs.InitFloorArrays do + for j=1,#defs.InitFloorArrays[i] do + local tempConfigId = defs.InitFloorArrays[i][j] + if tempConfigId > 0 then + ScriptLib.SetGadgetStateByConfigId(context, tempConfigId, 202) + ScriptLib.PrintContextLog(context, "TD WoodFloorPlay : 将对应地板设置为202,ConfigID为" .. tempConfigId) + end + end + end + + -- 地板玩法重启 + ScriptLib.SetGroupVariableValue(context, "FloorPlayStart", 0) + ScriptLib.SetGroupVariableValue(context, "lastConfigID", 0) + + return 0 + end + end + --存档 + ScriptLib.SetGroupVariableValue(context, "lastFloorIndex", currentIndex) + ScriptLib.SetGroupVariableValue(context, "lastConfigID", currentConfigID) + return 0 + end + +------------是否为附近地板--------- + function IsNearbyFloor(lastConfigID,currentConfigID) + local currentFloorConfigList = GetNearbyFloorConfigList(lastConfigID) + for i = 1,#currentFloorConfigList do + if currentConfigID == currentFloorConfigList[i] then + return true + end + end + return false + end + +------------是否为正确顺序地板--------- + function IsRightFloor(currentIndex,currentConfigID) + local targetGadgetID = defs.FloorGadgetID[currentIndex] + local currentGadgetID = gadgets[currentConfigID].gadget_id + return currentGadgetID == targetGadgetID + end + +------------Private:获取附近地板ConfigList--------- + function GetNearbyFloorConfigList(configID) + local currentFloorConfigList = {} + local tempPos = gadgets[configID].FloorParam + if tempPos ~= nil then + local tempX = tempPos.x + local tempY = tempPos.y + if(tempX > 1) then table.insert(currentFloorConfigList,defs.InitFloorArrays[tempX-1][tempY]) end + if(tempY > 1) then table.insert(currentFloorConfigList,defs.InitFloorArrays[tempX][tempY-1]) end + if(tempPos.xNotEnd) then table.insert(currentFloorConfigList,defs.InitFloorArrays[tempX+1][tempY]) end + if(tempPos.yNotEnd) then table.insert(currentFloorConfigList,defs.InitFloorArrays[tempX][tempY+1]) end + end + return currentFloorConfigList + end +------------Private:根据gadgetID返回其在FloorGadgetID序列中的Index--------- + function GetFirstDataInArray(gadgetID) + for i = 1,#defs.FloorGadgetID do + if gadgetID == defs.FloorGadgetID[i] then + return i + end + end + return 0 + end + +LF_Initialize_Level() + +--- ServerUploadTool Save to [/root/env/data/lua/common/V2_1] --- diff --git a/Resources/Scripts/Common/V2_1/WoodFloorPlaySame.lua b/Resources/Scripts/Common/V2_1/WoodFloorPlaySame.lua index 085dc943f..160066ab5 100644 --- a/Resources/Scripts/Common/V2_1/WoodFloorPlaySame.lua +++ b/Resources/Scripts/Common/V2_1/WoodFloorPlaySame.lua @@ -1,7 +1,7 @@ --- def参数 --- 描述长宽 --[[ -defs = { +local defs = { -- 该参数用来确认合法对子地板 FloorGadgetID = {70310062,70310063,70310064,70310065,70310087,70310088}, FloorNum = 8, diff --git a/Resources/Scripts/Common/V2_2/Dig.lua b/Resources/Scripts/Common/V2_2/Dig.lua index e69de29bb..73b3892e6 100644 --- a/Resources/Scripts/Common/V2_2/Dig.lua +++ b/Resources/Scripts/Common/V2_2/Dig.lua @@ -0,0 +1,560 @@ +--ServerUploadTool Save to [/root/env/data/lua/common/V2_2] +--[[ +local defs = { + region_Enter = 191004, + region_Leave = 191006 + Boss = 222, +} + +-- DEFS_MISCS +local Pursina = { + {191001,191008}, + {191002,191009}, + {191003,191007}, +} +]] +--[[ 陈列室的key +2.2挖矿活动__完成boss挑战 Activity_PursinaChallenge_watcher_1 +2.2挖矿活动__完成且保持桩子血量 Activity_PursinaChallenge_watcher_2 +2.2挖矿活动__n分钟内完成挑战 Activity_PursinaChallenge_watcher_3 +2.2挖矿活动__完成且中断特殊技能n次 Activity_PursinaChallenge_watcher_4 +2.2挖矿活动__完成且击倒少于n次 Activity_PursinaChallenge_watcher_5 +2.2挖矿活动__累计击破弱点n次 Activity_PursinaChallenge_watcher_6 +]] +local RMD_HP_LOW = {600077,600090,600091} +local LOWPOWER_SPEED = 0 --低电量充能速度(千分比) +local MEDIUMPOWER_SPEED = 5 --中电量充能速度(千分比) +local HIGHPOWER_SPEED = 10 --高电量充能速度(千分比) +local GALLERY_ID = defs.gallery_id +local CHALLENGEID = 2002007 +local CHALLENGEID_CHILD = 2001007 +local Operator_Config_id = 0 +local Watcher_Condition = { --watcher的条件,检测用 + [1] = 1, --完成boss挑战【无用】 + [2] = 50, --完成且保持所有桩子血量 填0~100 + [3] = 180, --n秒内完成挑战 填秒数 + [4] = 2, --完成且中断特殊技能n次 填次数 + [5] = 2, --完成且击倒少于n次 填次数 + [6] = 6, --已废弃 +} +local temp_Variables = { + { config_id=50000001,name = "IsFinished", value = 2, no_refresh = false }, --用于标识是否已完成,未开始为2,战斗中为0,完成后变1. + { config_id=50000002,name = "Boss_Enhance", value = 0, no_refresh = false }, --用于标识是否狂暴,挑战开始时初始化为0,其他时候由ServerLuaCall控制 + { config_id=50000003,name = "Active_Count", value = 0, no_refresh = false }, --用于表示当前运行中挖掘器数量。(0~3) + { config_id=50000004,name = "test_quickFinish", value = 0, no_refresh = false }, --快速完成 + { config_id=50000005,name = "Boss_SetBattle", value = 0, no_refresh = false }, --快速完成 +} +local Tirgger_Start = { + { name = "1", config_id = 9000001, event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "Finteract",trigger_count = 0}, + { name = "2", config_id = 9000002, event = EventType.EVENT_TIME_AXIS_PASS, source = "tick", condition = "", action = "tick",trigger_count = 0}, + { name = "3", config_id = 9000003, event = EventType.EVENT_GALLERY_STOP, source = "", condition = "", action = "gallerytimeout",trigger_count = 0}, + { name = "4", config_id = 9000004, event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "groupLoad",trigger_count = 0}, + { name = "5", config_id = 9000005, event = EventType.EVENT_GROUP_REFRESH, source = "", condition = "", action = "groupRefresh",trigger_count = 0}, + { name = "6", config_id = 9000006, event = EventType.EVENT_GADGET_CREATE, source = "", condition = "", action = "SetOptionToOperator",trigger_count = 0}, + { name = "7", config_id = 9000007, event = EventType.EVENT_LEAVE_REGION, source = "1", condition = "", action = "leaveRegion",trigger_count = 0}, + { name = "8", config_id = 9000008, event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "", action = "gadgetDie",trigger_count = 0}, + { name = "9", config_id = 9000009, event = EventType.EVENT_TIME_AXIS_PASS, source = "watcher3", condition = "", action = "action_watcher3",trigger_count = 0}, + { name = "10", config_id = 9000010, event = EventType.EVENT_TIME_AXIS_PASS, source = "refreshgroup", condition = "", action = "action_refreshgroup",trigger_count = 0}, + { name = "11", config_id = 9000011, event = EventType.EVENT_VARIABLE_CHANGE, source = "IsFinished", condition = "condition_EndGameCheck", action = "action_EndGame",tag = "1000",trigger_count = 0}, + { name = "12", config_id = 9000012, event = EventType.EVENT_VARIABLE_CHANGE, source = "test_quickFinish", condition = "", action = "test_quickFinish",trigger_count = 0}, + { name = "13", config_id = 9000013, event = EventType.EVENT_VARIABLE_CHANGE, source = "Boss_SetBattle", condition = "", action = "action_Boss_SetBattle",trigger_count = 1}, + { name = "14", config_id = 9000014, event = EventType.EVENT_VARIABLE_CHANGE, source = "Active_Count", condition = "", action = "action_Active_Count",trigger_count = 0}, + { name = "15", config_id = 9000015, event = EventType.EVENT_ENTER_REGION, source = "1", condition = "", action = "enterRegion",trigger_count = 0}, + { name = "16", config_id = 9000016, event = EventType.EVENT_SCENE_MP_PLAY_ALL_AVATAR_DIE, source = "", condition = "", action = "action_ALL_AVATAR_DIE",trigger_count = 0}, + { name = "17", config_id = 9000017, event = EventType.EVENT_TIME_AXIS_PASS, source = "reminder", condition = "", action = "action_showReminder",trigger_count = 0}, + { name = "18", config_id = 9000018, event = EventType.EVENT_TIME_AXIS_PASS, source = "CreateBoss", condition = "", action = "action_CreateBoss",trigger_count = 0}, + +} +function action_CreateBoss(context,evt) + ScriptLib.PrintContextLog(context,"【[action_CreateBoss]】evt.param1 = ".. evt.param1) + local result = ScriptLib.CreateMonster(context, {config_id = defs.Boss, delay_time = 0}) + ScriptLib.SetGadgetStateByConfigId(context, Pursina[1][1], GadgetState.Default) + ScriptLib.SetGadgetStateByConfigId(context, Pursina[2][1], GadgetState.Default) + ScriptLib.SetGadgetStateByConfigId(context, Pursina[3][1], GadgetState.Default) + if evt.param1 == 1 then + for k,v in pairs(gadgets) do + if v.gadget_id == 70800055 then + ScriptLib.CreateGadget(context,{config_id = v.config_id}) + end + if v.gadget_id == 70800054 then + ScriptLib.SetWorktopOptionsByGroupId(context, ScriptLib.GetContextGroupId(context), v.config_id,{175}) + ScriptLib.SetGroupTempValue(context,"Operator_Config_id",v.config_id,{}) + end + end + end + ScriptLib.PrintContextLog(context,"【[action_CreateBoss]】result = " .. result) + return 0 +end +function action_showReminder(context,evt) + ScriptLib.PrintContextLog(context,"【[action_showReminder]】") + ScriptLib.ShowReminder(context,600073) + return 0 +end +function log_ActivityDig_2(context,result) --胜负结果 & 失败原因 埋点 + ScriptLib.PrintContextLog(context,"【[log_ActivityDig_2]】"..result) + --埋点 + local hp1=ScriptLib.GetGroupTempValue(context, "HP_1",{}) + local hp2=ScriptLib.GetGroupTempValue(context, "HP_2",{}) + local hp3=ScriptLib.GetGroupTempValue(context, "HP_3",{}) + ScriptLib.MarkGroupLuaAction(context, "ActivityDig_2",ScriptLib.GetGalleryTransaction(context, GALLERY_ID) , {["result"] = result,["left_hp1"]=hp1,["left_hp2"]=hp2,["left_hp3"]=hp3}) + return 0 +end +function action_ALL_AVATAR_DIE(context,evt) + ScriptLib.PrintContextLog(context,"【[action_ALL_AVATAR_DIE]】") + log_ActivityDig_2(context,3) + return 0 +end +function enterRegion(context,evt) + ScriptLib.PrintContextLog(context,"【[enterRegion]】") + if evt.param1 == defs.region_Enter then + ScriptLib.ForbidPlayerRegionVision(context, context.uid) + ScriptLib.SetPlayerGroupVisionType(context, {context.uid}, {0}) + end + return 0 +end +function action_Active_Count(context,evt) --纯reminder 用 无逻辑 + if defs.Boss ~= nil then + if evt.param1 == 2 and evt.param1 > evt.param2 then ScriptLib.ShowReminder(context,600081) end + if evt.param1 == 3 and evt.param1 > evt.param2 then ScriptLib.ShowReminder(context,600080) end + end + return 0 +end +function action_Boss_SetBattle(context,evt) + local groupID = ScriptLib.GetContextGroupId(context) + --if defs.Boss ~= nil then ScriptLib.SetMonsterBattleByGroup(context, defs.Boss, groupID) end --LD负责通知进战 + if defs.Boss ~= nil then + --给血量物件增加血量modifier + ScriptLib.PrintContextLog(context, "【[find3digger]】defs.Boss ~= nil") + ScriptLib.AddEntityGlobalFloatValueByConfigId(context, {Pursina[1][2]}, "Upgrade_HP", 1) + ScriptLib.AddEntityGlobalFloatValueByConfigId(context, {Pursina[2][2]}, "Upgrade_HP", 1) + ScriptLib.AddEntityGlobalFloatValueByConfigId(context, {Pursina[3][2]}, "Upgrade_HP", 1) + end + return 0 +end + +function test_quickFinish(context,evt) + finishPlay(context) + return 0 +end +function condition_EndGameCheck(context,evt) + ScriptLib.PrintContextLog(context,"【onEndGameCheck】") + if evt.param1 == 1 then return true end + return false +end +function action_EndGame(context,evt)--只用来触发挑战,同时关gallery + ScriptLib.PrintContextLog(context,"【EndGame】") + ScriptLib.StopGallery(context,GALLERY_ID,true) + return 0 +end +function action_refreshgroup(context,evt) + local groupID = ScriptLib.GetContextGroupId(context) + ScriptLib.RefreshGroup(context, { group_id = groupID, suite = init_config.suite}) + return 0 +end + +function action_watcher3(context,evt) + ScriptLib.PrintContextLog(context, "【[action_watcher3]】") + ScriptLib.SetGroupTempValue(context,"watcher3",1,{}) + return 0 +end + +function gadgetDie(context,evt) + ScriptLib.PrintContextLog(context, "【[gadgetDie]】") + for i = 1 , #Pursina do + if evt.param1 == Pursina[i][2] then + log_ActivityDig_2(context,1) + fail(context) + end + end + return 0 +end +function leaveRegion(context,evt) + ScriptLib.PrintContextLog(context, "【[leaveRegion]】") + if evt.param1 == defs.region_Leave then + ScriptLib.PrintContextLog(context, "【[leaveRegion]】2") + ScriptLib.RevertPlayerRegionVision(context, context.uid) + ScriptLib.SetPlayerGroupVisionType(context, {context.uid}, {1}) + if ScriptLib.GetGroupVariableValue(context,"IsFinished") == 0 then --该then内为 未完成玩法时离开region时执行的操作 + log_ActivityDig_2(context,4) + fail(context) + end + end + return 0 +end +function fail(context) --离场、超时后执行。关tick、关gallery、标记玩法结束、refresh + ScriptLib.PrintContextLog(context, "【[fail]】") + ScriptLib.EndTimeAxis(context, "tick") + --标识回到未开始状态 + ScriptLib.SetGroupVariableValue(context, "IsFinished", 2) + local groupID = ScriptLib.GetContextGroupId(context) + -- 停止标识为"looptime"的时间轴【LD需求】 + ScriptLib.EndTimeAxis(context, "looptime") + ScriptLib.StopGallery(context,GALLERY_ID,false) + ScriptLib.EndFatherChallenge(context, CHALLENGEID) + --让他清理残留gadget + ScriptLib.SetEntityServerGlobalValueByConfigId(context, Operator_Config_id, "SGV_Try_Clean_Gadgets", 1.0) + ScriptLib.RefreshGroup(context, { group_id = groupID, suite = init_config.suite}) +end +--gadget创建时,如果是挑战操作台,增加挑战选项。 +function SetOptionToOperator(context,evt) + ScriptLib.PrintContextLog(context, "【[SetOptionToOperator]】") + if evt.param2 == 70350082 or evt.param2 == 70800055 then + ScriptLib.SetWorktopOptions(context, {175}) + ScriptLib.SetGroupTempValue(context,"Operator_Config_id",evt.param1,{}) + end + return 0 +end +--设置挖掘桩的state为201、给他们创建血量物件、给他们创建billboard +function find3digger(context) + ScriptLib.PrintContextLog(context, "【[find3digger]】") + if Pursina == nil then ScriptLib.PrintContextLog(context, "【LD请注意:】未在DEFS_MISCS中找到table:Pursina") end + for i = 1 , #Pursina do + ScriptLib.SetGadgetStateByConfigId(context, Pursina[i][1], GadgetState.GearStart) + ScriptLib.CreateGadget(context, {config_id = Pursina[i][2]}) + ScriptLib.CreateGadget(context, {config_id = 888880 + i}) + ScriptLib.InitGalleryProgressScore(context, "digProgress".. i - 1, GALLERY_ID, {0,100}, GalleryProgressScoreUIType.GALLERY_PROGRESS_SCORE_UI_TYPE_DIG,GalleryProgressScoreType.GALLERY_PROGRESS_SCORE_NONE) + ScriptLib.SetGroupTempValue(context, "FinishPursina_"..i,0,{}) + end + return 0 +end + +function groupLoad(context,evt) + ScriptLib.PrintContextLog(context, "【[groupLoad]】") + ScriptLib.InitTimeAxis(context,"CreateBoss",{1},false) + return 0 +end +function groupRefresh(context,evt) + ScriptLib.PrintContextLog(context, "【[groupRefresh]】[2021_7_29_171549]") + ScriptLib.EndTimeAxis(context, "refreshgroup") + ScriptLib.StopGallery(context,GALLERY_ID,false) + ScriptLib.EndFatherChallenge(context, CHALLENGEID) + ScriptLib.InitTimeAxis(context,"CreateBoss",{1},false) + return 0 +end + +function Finteract(context, evt) + if evt.param2 == 175 then + local groupID = ScriptLib.GetContextGroupId(context) + --boss专用:设置进战、初始化watcher + if defs.Boss ~= nil then + ScriptLib.PrintContextLog(context, "【[bOSS]1】") + ScriptLib.AddEntityGlobalFloatValueByConfigId(context, {defs.Boss}, "isFinalChallenge", 1) + ScriptLib.SetGroupTempValue(context,"watcher2",0,{}) + ScriptLib.SetGroupTempValue(context,"watcher3",0,{}) --代表耗时是否能完成watcher + ScriptLib.InitTimeAxis(context, "watcher3", {Watcher_Condition[3]}, false) --限时watcher用 + ScriptLib.SetGroupTempValue(context,"watcher4",0,{}) --代表中断特殊技能多少次 + ScriptLib.SetGroupTempValue(context,"watcher5",0,{}) --代表boss被击倒多少次 + ScriptLib.SetGroupTempValue(context,"watcher6",0,{}) --代表boss被击破弱点多少次 + ScriptLib.SetEntityServerGlobalValueByConfigId(context, Pursina[1][1], "SGV_NeedCollider", 1.0)--打开ScenePropCollider(激光用) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, Pursina[2][1], "SGV_NeedCollider", 1.0)--打开ScenePropCollider(激光用) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, Pursina[3][1], "SGV_NeedCollider", 1.0)--打开ScenePropCollider(激光用) + end + --初始化LD用变量 + ScriptLib.SetGroupVariableValue(context, "IsFinished", 0) + ScriptLib.SetGroupVariableValue(context, "Boss_Enhance", 0) + ScriptLib.SetGroupVariableValue(context, "Active_Count", 0) + --初始化TD用变量 + ScriptLib.SetGroupTempValue(context,"FinishPursinaCount",0,{}) --已经挖完多少个 + ScriptLib.SetGroupTempValue(context,"HP_1",100,{}) --初始血量1 + ScriptLib.SetGroupTempValue(context,"HP_2",100,{}) --初始血量2 + ScriptLib.SetGroupTempValue(context,"HP_3",100,{}) --初始血量3 + ScriptLib.SetGroupTempValue(context,"Progress_To_Add_1",0,{}) --挖掘进度中转变量 + ScriptLib.SetGroupTempValue(context,"Progress_To_Add_2",0,{}) --挖掘进度中转变量 + ScriptLib.SetGroupTempValue(context,"Progress_To_Add_3",0,{}) --挖掘进度中转变量 + + -- 卸载操作台 + if defs.Boss == nil then ScriptLib.SetGadgetStateByConfigId(context, evt.param1, GadgetState.GearStart) end + ScriptLib.DelWorktopOptionByGroupId(context, groupID, evt.param1, 175) + --gallery+challenge同开同关 + local uid = ScriptLib.GetSceneUidList(context) + ScriptLib.SetPlayerStartGallery(context, GALLERY_ID, {uid[1]}) + ScriptLib.CreateFatherChallenge(context,CHALLENGEID,CHALLENGEID,99999999, {success=1, fail=1,fail_on_wipe=false}) + ScriptLib.StartFatherChallenge(context, CHALLENGEID) + ScriptLib.AttachChildChallenge(context,CHALLENGEID,CHALLENGEID_CHILD,CHALLENGEID_CHILD,{3,1000,1},{uid[1]},{success=1, fail=1}) + --标记挖掘桩,设置为201 + find3digger(context) + -- 创建标识为"tick",时间节点为{1}的时间轴,true用于控制该时间轴是否循环 + ScriptLib.InitTimeAxis(context, "tick", {1}, true) + --5秒后显示reminder + ScriptLib.InitTimeAxis(context, "reminder", {6}, false) + end + return 0 +end +function tick(context,evt)--每tick计算进度 "Progress_To_Add_"..i + local FinishPursina = {} + for i = 1, #Pursina do + FinishPursina[i] = ScriptLib.GetGroupTempValue(context,"FinishPursina_"..i,{}) + if FinishPursina[i] ~= 1 then + local Progress_wait_for_Add = ScriptLib.GetGroupTempValue(context, "Progress_To_Add_"..i,{}) --取当前待增加进度 + if Progress_wait_for_Add >= 10 then + local real_add = math.floor(Progress_wait_for_Add/10) + ScriptLib.AddGalleryProgressScore(context, "digProgress"..i-1, GALLERY_ID, real_add) + ScriptLib.SetGroupTempValue(context,"Progress_To_Add_"..i,Progress_wait_for_Add - real_add*10,{}) + + local nowProgress = ScriptLib.GetGalleryProgressScore(context,"digProgress".. i-1,GALLERY_ID) + if nowProgress >= 100 then + local groupID = ScriptLib.GetContextGroupId(context) + ScriptLib.SetGadgetStateByConfigId(context,Pursina[i][1], GadgetState.GearAction1) + ScriptLib.RemoveEntityByConfigId(context, groupID, EntityType.GADGET, Pursina[i][2]) + ScriptLib.RemoveEntityByConfigId(context, groupID, EntityType.GADGET, 888880+i) + ScriptLib.SetGroupTempValue(context, "FinishPursina_"..i,1,{}) + end + end + end + end + if FinishPursina[1] == 1 and FinishPursina[2] == 1 and FinishPursina[3] == 1 then + finishPlay(context) + end + return 0 +end +function finishPlay(context) + ScriptLib.PrintContextLog(context, "【[finishPlay]】") + ScriptLib.EndTimeAxis(context, "tick") + local groupID = ScriptLib.GetContextGroupId(context) + --标识设为1 + ScriptLib.SetGroupVariableValue(context, "IsFinished", 1) + -- 停止标识为"looptime"的时间轴【LD需求】 + ScriptLib.EndTimeAxis(context, "looptime") + --让他清理残留gadget + if Operator_Config_id ~= 0 then + ScriptLib.SetEntityServerGlobalValueByConfigId(context, Operator_Config_id, "SGV_Try_Clean_Gadgets", 1.0) + end + --中间操作台特效关掉 + ScriptLib.SetGadgetStateByConfigId(context, ScriptLib.GetGroupTempValue(context,"Operator_Config_id",{}), GadgetState.GearStop) + --处理watcher + local uid = ScriptLib.GetSceneUidList(context) + local groupID = ScriptLib.GetContextGroupId(context) + if defs.Boss ~= nil then + --杀死boss + ScriptLib.AddEntityGlobalFloatValueByConfigId(context, {defs.Boss}, "Monster_Konungmathr_None_RealDie_Label", 1) + --2.2挖矿活动__完成 + ScriptLib.AddExhibitionAccumulableData(context, uid[1], "Activity_PursinaChallenge_watcher_1",1) + --2.2挖矿活动__完成且所有光钉血量高于xx + if ScriptLib.GetGroupTempValue(context,"watcher2",{}) == 0 then + ScriptLib.AddExhibitionAccumulableData(context, uid[1], "Activity_PursinaChallenge_watcher_2", 1) + end + --2.2挖矿活动__特定时间内完成 + local temp_result = ScriptLib.GetGroupTempValue(context,"watcher3",{}) + if temp_result ~= 1 then + ScriptLib.AddExhibitionAccumulableData(context, uid[1], "Activity_PursinaChallenge_watcher_3", 1) + ScriptLib.PrintContextLog(context, "[通关成就]特定时间内完成") + end +--[[ --2.2挖矿活动__完成且中断特殊技能n次 + local temp_result = ScriptLib.GetGroupTempValue(context,"watcher4",{}) + ScriptLib.PrintContextLog(context, "[通关计数]中断特殊技能".. temp_result.. "次") + if temp_result >= Watcher_Condition[4] then + ScriptLib.AddExhibitionAccumulableData(context, uid[1], "Activity_PursinaChallenge_watcher_4", 1) + end ]] + --2.2挖矿活动__完成且击倒boss不少于n次 + local temp_result = ScriptLib.GetGroupTempValue(context,"watcher5",{}) + ScriptLib.PrintContextLog(context, "[通关计数]击倒boss".. temp_result.. "次") + if temp_result >= Watcher_Condition[5] then + ScriptLib.AddExhibitionAccumulableData(context, uid[1], "Activity_PursinaChallenge_watcher_5", 1) + end + --2.2挖矿活动__完成且未击倒boss + if temp_result == 0 then + ScriptLib.AddExhibitionAccumulableData(context, uid[1], "Activity_PursinaChallenge_watcher_4", 1) + end + --完成后,等待一段时间refreshgroup + ScriptLib.InitTimeAxis(context, "refreshgroup", {15}, false) + else + ScriptLib.AddExhibitionAccumulableData(context, uid[1], "Activity_Pursina_Group_".. groupID,1) + ScriptLib.FinishGroupLinkBundle(context, groupID) + end + + log_ActivityDig_2(context,0) + return 0 +end +function gallerytimeout(context,evt) + ScriptLib.PrintContextLog(context, "【[gallerytimeout]】") + ScriptLib.PrintContextLog(context, "【[gallerytimeout]】evt.param1="..evt.param1) + ScriptLib.PrintContextLog(context, "【[gallerytimeout]】evt.param2="..evt.param2) + ScriptLib.PrintContextLog(context, "【[gallerytimeout]】GALLERY_ID="..GALLERY_ID) + if evt.param1 == GALLERY_ID and evt.param2 == 0 then + if evt.param3 == 1 then + ScriptLib.PrintContextLog(context, "【[gallerytimeout]】evt.param3="..evt.param3) + --埋点 + log_ActivityDig_2(context,2) + end + fail(context) + end + return 0 +end +function action_HPChange_1(context,evt) + ScriptLib.PrintContextLog(context, "【[action_HPChange_1]】") + ScriptLib.SetGroupTempValue(context,"HP_1",evt.param3,{}) + if evt.param3 < 20 then ScriptLib.ShowReminder(context,RMD_HP_LOW[1]) end + if evt.param3 < Watcher_Condition[2] then ScriptLib.SetGroupTempValue(context,"watcher2",1,{}) end + return 0 +end +function action_HPChange_2(context,evt) + ScriptLib.PrintContextLog(context, "【[action_HPChange_2]】") + ScriptLib.SetGroupTempValue(context,"HP_2",evt.param3,{}) + if evt.param3 < 20 then ScriptLib.ShowReminder(context,RMD_HP_LOW[2]) end + if evt.param3 < Watcher_Condition[2] then ScriptLib.SetGroupTempValue(context,"watcher2",1,{}) end + return 0 +end +function action_HPChange_3(context,evt) + ScriptLib.PrintContextLog(context, "【[action_HPChange_3]】") + ScriptLib.SetGroupTempValue(context,"HP_3",evt.param3,{}) + if evt.param3 < 20 then ScriptLib.ShowReminder(context,RMD_HP_LOW[3]) end + if evt.param3 < Watcher_Condition[2] then ScriptLib.SetGroupTempValue(context,"watcher2",1,{}) end + return 0 +end +--以下为ServerLuaCall函数。 +function AddProgress_LowPower(context) + local configID = ScriptLib.GetGadgetConfigId(context, {gadget_eid = context.source_entity_id}) + for i = 1 , #Pursina do + if configID ==Pursina[i][1] then + ScriptLib.ChangeGroupTempValue(context,"Progress_To_Add_"..i, LOWPOWER_SPEED,{}) + end + end + return 0 +end +function AddProgress_MediumPower(context) + local configID = ScriptLib.GetGadgetConfigId(context, {gadget_eid = context.source_entity_id}) + for i = 1 , #Pursina do + if configID ==Pursina[i][1] then + ScriptLib.ChangeGroupTempValue(context,"Progress_To_Add_"..i, MEDIUMPOWER_SPEED,{}) + end + end + return 0 +end +function AddProgress_HighPower(context) + local configID = ScriptLib.GetGadgetConfigId(context, {gadget_eid = context.source_entity_id}) + for i = 1 , #Pursina do + if configID ==Pursina[i][1] then + ScriptLib.ChangeGroupTempValue(context,"Progress_To_Add_"..i, HIGHPOWER_SPEED,{}) + end + end + return 0 +end +function LowPower(context) + ScriptLib.PrintContextLog(context, "【[LowPower]】") + local configID = ScriptLib.GetGadgetConfigId(context, {gadget_eid = context.source_entity_id}) + ScriptLib.MarkGroupLuaAction(context, "ActivityDig_3",ScriptLib.GetGalleryTransaction(context, GALLERY_ID), {["Pursina_ID"] = configID,["change_type"]=4}) + return 0 +end +function MediumPower(context) + ScriptLib.PrintContextLog(context, "【[MediumPower]】") + local configID = ScriptLib.GetGadgetConfigId(context, {gadget_eid = context.source_entity_id}) + ScriptLib.MarkGroupLuaAction(context, "ActivityDig_3",ScriptLib.GetGalleryTransaction(context, GALLERY_ID) , {["Pursina_ID"] = configID,["change_type"]=3}) + return 0 +end +function HighPower(context) + ScriptLib.PrintContextLog(context, "【[HighPower]】") + local configID = ScriptLib.GetGadgetConfigId(context, {gadget_eid = context.source_entity_id}) + if defs.Boss ~= nil then ScriptLib.SetGroupVariableValue(context, "Boss_SetBattle", 1) end + ScriptLib.MarkGroupLuaAction(context, "ActivityDig_3",ScriptLib.GetGalleryTransaction(context, GALLERY_ID), {["Pursina_ID"] = configID,["change_type"]=2}) + return 0 +end + +function SLC_ShowUI(context) + ScriptLib.PrintContextLog(context, "【[SLC_ShowUI]】") + local configID = ScriptLib.GetGadgetConfigId(context, {gadget_eid = context.source_entity_id}) + for i = 1, #Pursina do + if Pursina[i][2] == configID then ScriptLib.CreateGadget(context, {config_id = 888880 + i}) end + end + return 0 +end +function SLC_HideUI(context) + ScriptLib.PrintContextLog(context, "【[SLC_HideUI]】") + local configID = ScriptLib.GetGadgetConfigId(context, {gadget_eid = context.source_entity_id}) + local groupID = ScriptLib.GetContextGroupId(context) + for i = 1, #Pursina do + if Pursina[i][2] == configID then ScriptLib.RemoveEntityByConfigId(context, groupID, EntityType.GADGET, 888880+i) end + end + return 0 +end +function ServerLuaCall_Pursina_Start(context)--桩子物件用,用于当前激活桩子的计数,顺便埋个点 + ScriptLib.ChangeGroupVariableValue(context, "Active_Count", 1) + ScriptLib.MarkGroupLuaAction(context, "ActivityDig_3",ScriptLib.GetGalleryTransaction(context, GALLERY_ID), {["Pursina_ID"] = configID,["change_type"]=1}) + return 0 +end +function ServerLuaCall_Pursina_End(context)--桩子物件用,用于当前激活桩子的计数 + ScriptLib.ChangeGroupVariableValue(context, "Active_Count", -1) + return 0 +end +function ServerLuaCall_Enhance_Start(context)--事件[Boss狂暴开始]供战斗组的ServerLuaCall调用 + ScriptLib.SetGroupVariableValue(context, "Boss_Enhance", 1) + ScriptLib.ShowReminder(context,600083) + return 0 +end +function ServerLuaCall_Enhance_End(context)--事件[Boss狂暴结束]供战斗组的ServerLuaCall调用 + ScriptLib.SetGroupVariableValue(context, "Boss_Enhance", 0) + return 0 +end +function watcher4_count(context)--事件[中断特殊技能]供战斗组的ServerLuaCall调用 + ScriptLib.PrintContextLog(context, "【[watcher4_count]】") + ScriptLib.ChangeGroupTempValue(context, "watcher4", 1, {}) + return 0 +end +function watcher5_count(context)--事件[击倒]供战斗组的ServerLuaCall调用 + ScriptLib.PrintContextLog(context, "【[watcher5_count]】") + ScriptLib.ChangeGroupTempValue(context, "watcher5", 1, {}) + ScriptLib.ShowReminder(context,600078) + return 0 +end +function watcher6_count(context)--事件[击破弱点]供战斗组的ServerLuaCall调用 【直接add陈列室,因为不用局内计算 而是累计值】 + ScriptLib.PrintContextLog(context, "【[watcher6_count]】") + local uid = ScriptLib.GetSceneUidList(context) + ScriptLib.AddExhibitionAccumulableData(context, uid[1], "Activity_PursinaChallenge_watcher_6", 1) + return 0 +end +function ChargeBarChange(context) + ScriptLib.PrintContextLog(context, "【[ChargeBarChange]】") + + return 0 +end + +function Initialize() + --加触发器 + for k,v in pairs(Tirgger_Start) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + for k,v in pairs(Pursina) do --根据桩子数量创建监控桩子血量的触发器 + table.insert(triggers,{ name = "HP"..k, config_id = 8000000+k, event = EventType.EVENT_SPECIFIC_GADGET_HP_CHANGE, source = tostring(Pursina[k][2]), condition = "", action = "action_HPChange_"..k,trigger_count = 0}) + table.insert(suites[1].triggers, "HP"..k) + end + --加变量 + for k,v in pairs(temp_Variables) do + table.insert(variables,v) + end + --调整血量物件位置 + for k,v in pairs(gadgets) do + for k2,v2 in pairs(Pursina) do + if v.config_id == v2[2] then + for k3,v3 in pairs(gadgets) do + if v3.config_id == v2[1] then v.pos = v3.pos end + end + end + end + if v.config_id == 70800055 then + v.server_global_value_config = {["SGV_Try_Clean_Gadgets"]= 0} + Operator_Config_id = 70800055 + end + end + --加物件(隐形billboard挂点) + for k,v in pairs(gadgets) do + if v.gadget_id == 70800047 then + table.insert(gadgets , {config_id = 888881 , gadget_id = 70800050, pos = v.pos, rot = v.rot, level = v.level, area_id = v.area_id }) + break + end + end + for k,v in pairs(gadgets) do + if v.gadget_id == 70800048 then + table.insert(gadgets , {config_id = 888882 , gadget_id = 70800051, pos = v.pos, rot = v.rot, level = v.level, area_id = v.area_id }) + break + end + end + for k,v in pairs(gadgets) do + if v.gadget_id == 70800049 then + table.insert(gadgets , {config_id = 888883 , gadget_id = 70800052, pos = v.pos, rot = v.rot, level = v.level, area_id = v.area_id }) + break + end + end + return 0 +end +Initialize() + diff --git a/Resources/Scripts/Common/V2_3/Boss_Hound.lua b/Resources/Scripts/Common/V2_3/Boss_Hound.lua index 372f53dc1..372ad4e7b 100644 --- a/Resources/Scripts/Common/V2_3/Boss_Hound.lua +++ b/Resources/Scripts/Common/V2_3/Boss_Hound.lua @@ -6,7 +6,7 @@ --怪物脱战时,会在一系列表演之后发一个SLC_BossBattleReset,group重置 ]] --[[ -defs = { +local defs = { --开启怪物用的特效gadget gadget_starter = 275001, diff --git a/Resources/Scripts/Common/V2_3/EnergyDisk.lua b/Resources/Scripts/Common/V2_3/EnergyDisk.lua index 84893ca63..ee808868d 100644 --- a/Resources/Scripts/Common/V2_3/EnergyDisk.lua +++ b/Resources/Scripts/Common/V2_3/EnergyDisk.lua @@ -4,7 +4,7 @@ --[[ -defs = { +local defs = { } ]] diff --git a/Resources/Scripts/Common/V2_3/EnergyDisk_Dungeon.lua b/Resources/Scripts/Common/V2_3/EnergyDisk_Dungeon.lua index 1536b1499..6027a49fd 100644 --- a/Resources/Scripts/Common/V2_3/EnergyDisk_Dungeon.lua +++ b/Resources/Scripts/Common/V2_3/EnergyDisk_Dungeon.lua @@ -10,7 +10,7 @@ --[[ -defs = { +local defs = { buff_gadget = , } diff --git a/Resources/Scripts/Common/V2_3/HachiBattle.lua b/Resources/Scripts/Common/V2_3/HachiBattle.lua index 260a055f7..f7d66f564 100644 --- a/Resources/Scripts/Common/V2_3/HachiBattle.lua +++ b/Resources/Scripts/Common/V2_3/HachiBattle.lua @@ -4,7 +4,7 @@ --[[ -defs = { +local defs = { group_id = , diff --git a/Resources/Scripts/Common/V2_3/HachiDungeon.lua b/Resources/Scripts/Common/V2_3/HachiDungeon.lua index fcaa641e5..a98a94fbd 100644 --- a/Resources/Scripts/Common/V2_3/HachiDungeon.lua +++ b/Resources/Scripts/Common/V2_3/HachiDungeon.lua @@ -4,7 +4,7 @@ --[[ -defs = { +local defs = { group_id = 246101001, --Boss目标点 target_points = {1004,1005,1006,1007,1008,1009,1010,1011,1012} diff --git a/Resources/Scripts/Common/V2_3/HachiSneak.lua b/Resources/Scripts/Common/V2_3/HachiSneak.lua index e69de29bb..70c5dcdcb 100644 --- a/Resources/Scripts/Common/V2_3/HachiSneak.lua +++ b/Resources/Scripts/Common/V2_3/HachiSneak.lua @@ -0,0 +1,586 @@ +--- ServerUploadTool Save to [/root/env/data/lua/common/V2_3] --- +--[[ + 2.3狗子活动 救小动物潜行关 +]] + +--[[ + +local defs = { + + group_id = , + + --触发开始/接续挑战的region,此region在suite1 + start_region_id = , + + --开始挑战后,哪些suit要Add + challenge_suits = + { 2 }, + + --挑战index + ChallengeIndex = 1001, + + --开始小光柱 + starting_point_id = 590040, + + --玩法限定region,出圈触发暂离,此region在suite1 + level_region_id = , + + --挑战id + challenge_id = 2003001, + + --目标捕捉数 + taget_score = 5, + --已捕捉数 + exhibition_id = 5, + + --狗和寻路点。格式为:[狗configid] = {startMarkFlag, endMarkFlag}, + waypoint = { + [0000] = {1, 10}, + [0000] = {11, 20}, + } +} + +]] + +local extraTriggers={ + { config_id = 8000000, name = "Group_Load", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0 }, + { config_id = 8000001,name = "Enter_Region", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_enter_region", trigger_count = 0 }, + { config_id = 8000002,name = "LeaveRegion_Region", event = EventType.EVENT_LEAVE_REGION, source = "", condition = "", action = "action_leave_region", trigger_count = 0 }, + --挑战计数trigger + { config_id = 8000003, name = "Variable_Change", event = EventType.EVENT_VARIABLE_CHANGE, source = "saved_progress", condition = "", action = "", trigger_count = 0 ,tag = "1000"}, + { config_id = 8000004,name = "Challenge_Success", event = EventType.EVENT_CHALLENGE_SUCCESS, source = "", condition = "", action = "action_challenge_success", trigger_count = 0 }, + { config_id = 8000005, name = "Group_Refresh", event = EventType.EVENT_GROUP_REFRESH, source = "", condition = "", action = "action_group_refresh", trigger_count = 0 }, + { config_id = 8000006, name = "Any_Monster_Die", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "", action = "action_any_monster_die", trigger_count = 0 }, + { config_id = 8000007, name = "Group_Will_Unload", event = EventType.EVENT_GROUP_WILL_UNLOAD, source = "", condition = "", action = "action_group_will_unload", trigger_count = 0}, + { config_id = 8000008,name = "Challenge_Fail", event = EventType.EVENT_CHALLENGE_FAIL, source = "", condition = "", action = "action_challenge_fail", trigger_count = 0 }, + --挑战暂离 + { config_id = 8000009,name = "Challenge_Pause", event = EventType.EVENT_CHALLENGE_PAUSE, source = "", condition = "", action = "action_challenge_pause", trigger_count = 0 }, + --活动任务中,第一个潜行、战斗营地的首次挑战是由任务通知开启的 + { config_id = 8800001, name = "Quest_Notify_Challenge", event= EventType.EVENT_QUEST_FINISH, source = "4003109", condition = "", action = "action_quest4003109_notify", trigger_count = 0 }, + { config_id = 8800002, name = "Quest_Notify_Challenge2", event= EventType.EVENT_QUEST_FINISH, source = "4003103", condition = "", action = "action_quest4003103_notify", trigger_count = 0 }, + +} + +--运营日志所需key,都是累计值。 +--作为groupTempVa,在挑战开始时重置,在挑战结束时上报。需求见单号 1286672 +local log_enum = { + "found_times",--本次挑战中被狗子发现的次数 怪物SLC + "tool1_used_times",--本次挑战中使用潜行物件烟雾的次数 物件SLC + "tool2_used_times",--本次挑战中使用潜行物件诱饵的次数 物件SLC + "widget_times",--本次挑战中使用抓捕小道具的次数 小道具SLC + "capture_times"--本次挑战中抓到小动物的次数 小道具SLC +} + +function Initialize_Group(triggers, suites) + for i=1,#extraTriggers do + table.insert(triggers, extraTriggers[i]) + table.insert(suites[init_config.suite].triggers,extraTriggers[i].name) + end + --进度保存 + table.insert(variables,{ config_id=50000001,name = "saved_progress", value = 0, no_refresh =true}) + --挑战状态标记 + table.insert(variables,{ config_id=50000002,name = "challenge_state", value = 0}) + --路点状态标记 + table.insert(variables,{ config_id=50000003,name = "waypoint_set", value = 0}) + --最多4只动物 存活记录 + table.insert(variables,{ config_id=50000004,name = "animal", value = 10000}) + + --第一个营地的挑战是否已通过任务正常开启(如果不是的话,接到第二次任务通知,要再开一次挑战) + table.insert(variables,{ config_id=50000005,name = "quest_done", value = 0, no_refresh =true}) + +end +function action_challenge_pause(context, evt) + UpLoadActionLog(context, evt.param_str1) + return 0 +end +--处理小动物意外死亡 约定小动物都在Suit 5 +function action_any_monster_die(context, evt) + if CheckIsInTable(context, evt.param1, suites[5].monsters) then + + local exist_int = ScriptLib.GetGroupVariableValue(context, "animal") + local exist_table = LF_Split_Int(context, exist_int) + ScriptLib.PrintContextLog(context, "[HachiSneak] Try Set Animal. exist_int@"..exist_int) + local animal_index = GetIndexInTable(context, evt.param1, suites[5].monsters) + if exist_table[animal_index] == 0 then + local ret = ScriptLib.CreateMonster(context, { config_id = evt.param1, delay_time = 2 }) + ScriptLib.PrintContextLog(context, "[HachiSneak] Reset animal@"..evt.param1.." ret@"..ret) + end + end + return 0 + +end +--Group一旦被卸载的保护 +function action_group_will_unload(context,evt) + --清SGV + ScriptLib.PrintContextLog(context, "[HachiSneak] SGV_CAN_CLEAR_THREAT Set: 0") + local uidList = ScriptLib.GetSceneUidList(context) + if #uidList > 0 then + ScriptLib.SetTeamServerGlobalValue(context, uidList[1], "SGV_CAN_CLEAR_THREAT", 0) + --ScriptLib.SetTeamServerGlobalValue(context, uidList[1], "Hachi_IsInSmokeArea", 0) + end + --弹出暂离提示 + --ScriptLib.PauseChallenge(context, defs.ChallengeIndex) + --如果正在挑战中,清挑战标记 + if ScriptLib.GetGroupVariableValue(context, "challenge_state") == 1 then + ScriptLib.SetGroupVariableValue(context, "challenge_state", 0) + end + + return 0 +end + +function action_group_load(context, evt) + if defs.group_id == 133212590 then--首个潜行营地和任务耦合 + PrepareStartPoint(context) + end + --LF_SetAnimal(context) + return 0 +end + +function action_group_refresh(context, evt) + if defs.group_id == 133212590 then--首个潜行营地和任务耦合 + PrepareStartPoint(context) + end + return 0 +end +--根据任务状态,是否显示常规潜行起点。 4003103任务状态为finished时开启黄点 +function PrepareStartPoint(context) + if ScriptLib.GetGroupVariableValue(context, "challenge_state") == 2 then + return 0 + end + if true == ScriptLib.CheckIsInMpMode(context) then + --ScriptLib.ShowReminder(context, 400053) + return 0 + end + + --此处不能通过get玩家questState来判断,因为可能取不到玩家uid + if ScriptLib.GetGroupVariableValue(context, "quest_done") == 0 then + --隐藏黄点 + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.starting_point_id, 201) + + else + --显示黄点 + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.starting_point_id, 0) + end + return 0 +end + +--狗潜行活动的挑战ability上,给玩家挂一个onKill时执行的SLC +--关卡接到后检查任务状态,如果标志任务4003103没完成,则退出挑战状态 +function SLC_PlayerDie_DuringQuest(context) + + if ScriptLib.GetGroupVariableValue(context,"challenge_state") ~= 1 then + return 0 + end + + local quest_state = ScriptLib.GetQuestState(context, context.source_entity_id, 4003103) + if 3 ~= quest_state then + --允许再次接受任务通知 + ScriptLib.SetGroupVariableValue(context, "quest_done", 0) + --恢复玩家SGV + ScriptLib.SetTeamServerGlobalValue(context, context.uid, "SGV_CAN_CLEAR_THREAT", 0) + --ScriptLib.SetTeamServerGlobalValue(context, context.uid, "Hachi_IsInSmokeArea", 0) + --暂离挑战 + ScriptLib.SetGroupVariableValue(context, "challenge_state", 0) + --ScriptLib.StopChallenge(context,defs.challenge_id,1) + ScriptLib.PauseChallenge(context, defs.ChallengeIndex) + + --处理黄点 + --ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.starting_point_id, 0) + + --移除开挑战时添加的suit, + for k,v in pairs(defs.challenge_suits) do + ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, v) + end + + end + + return 0 +end + +function LF_SetAnimal(context) + if #suites[5].monsters > 4 then + ScriptLib.PrintContextLog(context, "[HachiSneak] #WARN# Too Many Animal in Suit 5! Tell LD.") + return -1 + end + local exist_int = ScriptLib.GetGroupVariableValue(context, "animal") + local exist_table = LF_Split_Int(context, exist_int) + ScriptLib.PrintContextLog(context, "[HachiSneak] Try Set Animal. exist_int@"..exist_int) + for i=1, #suites[5].monsters do + if exist_table[i] == 0 then + ScriptLib.CreateMonster(context, { config_id = suites[5].monsters[i], delay_time = 0 }) + end + end + return 0 +end +function LF_Split_Int(context, num) + local tb = {0,0,0,0} + for i=1, #tb do + tb[i] = num%10 + num = math.floor(num/10) + end + return tb +end + +function action_challenge_success(context, evt) + --任务通知 + ScriptLib.AddQuestProgress(context, defs.group_id.."_finish") + --挑战标记 + ScriptLib.SetGroupVariableValue(context, "challenge_state", 2) + --处理黄点 + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.starting_point_id, GadgetState.GearStart) + --移除开挑战时添加的suit, + for k,v in pairs(defs.challenge_suits) do + ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, v) + end + --恢复玩家SGV + ScriptLib.PrintContextLog(context, "[HachiSneak] SGV_CAN_CLEAR_THREAT Set: 0") + local uidList = ScriptLib.GetSceneUidList(context) + if #uidList > 0 then + ScriptLib.SetTeamServerGlobalValue(context, uidList[1], "SGV_CAN_CLEAR_THREAT", 0) + --ScriptLib.SetTeamServerGlobalValue(context, uidList[1], "Hachi_IsInSmokeArea", 0) + end + UpLoadActionLog(context, evt.param_str1) + + return 0 +end +--常规流程不会有失败,做个保底 +function action_challenge_fail(context,evt) + + UpLoadActionLog(context, evt.param_str1) + + --挑战标记 + ScriptLib.SetGroupVariableValue(context, "challenge_state", 0) + --处理黄点 + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.starting_point_id, 0) + + --恢复玩家SGV + ScriptLib.PrintContextLog(context, "[HachiSneak] SGV_CAN_CLEAR_THREAT Set: 0") + + local uidList = ScriptLib.GetSceneUidList(context) + if #uidList > 0 then + ScriptLib.SetTeamServerGlobalValue(context, uidList[1], "SGV_CAN_CLEAR_THREAT", 0) + --ScriptLib.SetTeamServerGlobalValue(context, uidList[1], "Hachi_IsInSmokeArea", 0) + --移除开挑战时添加的suit, + end + for k,v in pairs(defs.challenge_suits) do + + ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, v) + + end + + return 0 +end + +function ResetGroupTempVar(context) + for k,v in pairs(log_enum) do + ScriptLib.SetGroupTempValue(context, v,0,{}) + end + return 0 +end + +--给狗分配路点。为了保证时序,这个方法由怪物在ability准备好后调用,只调用一次 +function SetHachiWayPointGV(context) + if ScriptLib.GetGroupVariableValue(context, "waypoint_set") == 0 then + + ScriptLib.SetGroupVariableValue(context, "waypoint_set", 1) + + for k,v in pairs(defs.waypoint) do + ScriptLib.AddEntityGlobalFloatValueByConfigId(context, {k}, "_INU_SHIHANDAI_SEARCH_START" ,v[1]) + ScriptLib.AddEntityGlobalFloatValueByConfigId(context, {k}, "_INU_SHIHANDAI_SEARCH_END" ,v[2]) + local tmp = ScriptLib.GetEntityIdByConfigId(context, k) + ScriptLib.PrintContextLog(context, "[HachiSneak] Add GV: DogConfigID@"..k.." EntityID@"..tmp.." SEARCH_START@"..v[1].." SEARCH_END@"..v[2]) + end + end + + return 0 +end + +function action_quest4003109_notify(context,evt) + + ScriptLib.PrintContextLog(context, "[HachiSneak] 4003109 Quest notify Challenge. UID@"..context.uid) + + --不再接受任务通知 + ScriptLib.SetGroupVariableValue(context, "quest_done", 1) + --处理开始挑战 + --挑战标记 + ScriptLib.SetGroupVariableValue(context, "challenge_state", 1) + ScriptLib.SetGroupVariableValue(context, "waypoint_set", 0) + + ScriptLib.SetGroupTempValue(context, "player_uid", context.uid, {} ) + + --处理黄点 + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.starting_point_id, 201) + + local start_process = ScriptLib.GetGroupVariableValue(context,"saved_progress") + ScriptLib.PrintContextLog(context, "[HachiSneak] Start Challenge. ChallengeID@ "..defs.challenge_id.." TargetScore@".. defs.taget_score.." CurrentScore@"..start_process) + --参数1: event_type所在枚举序号; 参数2: trigger_tag;参数3: 次数;参数4:Bool,次数达成是否计为成功;参数5:初始次数值 + ScriptLib.StartChallenge(context, defs.ChallengeIndex, defs.challenge_id, {3, 1000, defs.taget_score, 1, start_process}) + --迭代后suite 5 的内容不通过addsuit来加,由LF_SetAnimal管 + for k,v in pairs(defs.challenge_suits) do + if k ~= 5 then + ScriptLib.AddExtraGroupSuite(context, defs.group_id, v) + ScriptLib.PrintContextLog(context, "[HachiSneak] Add Suit @"..v) + end + end + --安排动物 + LF_SetAnimal(context) + --重置日志 + ResetGroupTempVar(context) + + return 0 +end + +function action_quest4003103_notify(context,evt) + + ScriptLib.PrintContextLog(context, "[HachiSneak] 4003103 Quest notify Challenge. UID@"..context.uid) + + if ScriptLib.GetGroupVariableValue(context, "quest_done") ~= 0 then + return 0 + end + --不再接受任务通知 + ScriptLib.SetGroupVariableValue(context, "quest_done", 1) + --处理开始挑战 + --挑战标记 + ScriptLib.SetGroupVariableValue(context, "challenge_state", 1) + ScriptLib.SetGroupVariableValue(context, "waypoint_set", 0) + + ScriptLib.SetGroupTempValue(context, "player_uid", context.uid, {} ) + + --处理黄点 + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.starting_point_id, 201) + + local start_process = ScriptLib.GetGroupVariableValue(context,"saved_progress") + ScriptLib.PrintContextLog(context, "[HachiSneak] Start Challenge. ChallengeID@ "..defs.challenge_id.." TargetScore@".. defs.taget_score.." CurrentScore@"..start_process) + --参数1: event_type所在枚举序号; 参数2: trigger_tag;参数3: 次数;参数4:Bool,次数达成是否计为成功;参数5:初始次数值 + ScriptLib.StartChallenge(context, defs.ChallengeIndex, defs.challenge_id, {3, 1000, defs.taget_score, 1, start_process}) + --迭代后suite 5 的内容不通过addsuit来加,由LF_SetAnimal管 + for k,v in pairs(defs.challenge_suits) do + if k ~= 5 then + ScriptLib.AddExtraGroupSuite(context, defs.group_id, v) + ScriptLib.PrintContextLog(context, "[HachiSneak] Add Suit @"..v) + end + end + --安排动物 + LF_SetAnimal(context) + --重置日志 + ResetGroupTempVar(context) + + return 0 +end + +function action_leave_region(context,evt) + if defs.level_region_id ~= evt.param1 then + return -1 + end + + if ScriptLib.GetGroupVariableValue(context, "challenge_state") ~= 1 then + return -1 + end + + --暂离挑战 + ScriptLib.SetGroupVariableValue(context, "challenge_state", 0) + --ScriptLib.StopChallenge(context,defs.challenge_id,1) + ScriptLib.PauseChallenge(context, defs.ChallengeIndex) + + --处理黄点 + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.starting_point_id, 0) + + --移除开挑战时添加的suit, + for k,v in pairs(defs.challenge_suits) do + ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, v) + end + --恢复玩家SGV + ScriptLib.SetTeamServerGlobalValue(context, context.uid, "SGV_CAN_CLEAR_THREAT", 0) + --ScriptLib.SetTeamServerGlobalValue(context, context.uid, "Hachi_IsInSmokeArea", 0) + + return 0 +end + +function action_enter_region(context,evt) + + --检查是不是起点区域 + if defs.start_region_id ~= evt.param1 then + return -1 + end + + --检查前置任务 4003103任务状态不为finished时隐藏黄点,不可踩region开挑战 + local avatar_entity = ScriptLib.GetAvatarEntityIdByUid(context, context.uid) + if 3 ~= ScriptLib.GetQuestState(context, avatar_entity, 4003103) then + return -1 + end + + --检查联机 + if true == ScriptLib.CheckIsInMpMode(context) then + ScriptLib.ShowReminder(context, 400053) + return -1 + end + --检查挑战状态 + if ScriptLib.GetGroupVariableValue(context, "challenge_state") ~= 0 then + return -1 + else + --处理开始挑战 + --挑战标记 + ScriptLib.SetGroupVariableValue(context, "challenge_state", 1) + ScriptLib.SetGroupVariableValue(context, "waypoint_set", 0) + + ScriptLib.SetGroupTempValue(context, "player_uid", context.uid, {} ) + + --处理黄点 + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.starting_point_id, GadgetState.GearStart) + + --读取进度 + --local start_process = ScriptLib.GetGroupVariableValue(context,"saved_progress") + local start_process = ScriptLib.GetExhibitionAccumulableData(context, context.uid, defs.exhibition_id) + ScriptLib.PrintContextLog(context, "[HachiSneak] Start Challenge. ChallengeID@ "..defs.challenge_id.." TargetScore@".. defs.taget_score.." CurrentScore@"..start_process) + --参数1: event_type所在枚举序号; 参数2: trigger_tag;参数3: 次数;参数4:Bool,次数达成是否计为成功;参数5:初始次数值 + ScriptLib.StartChallenge(context, defs.ChallengeIndex, defs.challenge_id, {3, 1000, defs.taget_score, 1, start_process}) + + --迭代后suite 5 的内容不通过addsuit来加,由LF_SetAnimal管 + for k,v in pairs(defs.challenge_suits) do + if v ~= 5 then + ScriptLib.AddExtraGroupSuite(context, defs.group_id, v) + ScriptLib.PrintContextLog(context, "[HachiSneak] Add Suit @"..v) + end + end + --安排动物 + LF_SetAnimal(context) + --重置日志 + ResetGroupTempVar(context) + + end + + return 0 +end + +--小动物被抓时,告诉关卡进度+1, 然后移除它,并标记到GroupVar +function MonsterCallCaught(context) + if ScriptLib.GetGroupVariableValue(context, "challenge_state") ~= 1 then + ScriptLib.PrintContextLog(context, "[HachiSneak] #WARN# Challenge Not Open but Got Animal LuaCall!!") + return -1 + end + + local player_uid = ScriptLib.GetGroupTempValue(context, "player_uid", {}) + ScriptLib.ChangeGroupTempValue(context, "capture_times", 1, {}) + ScriptLib.ChangeGroupVariableValue(context,"saved_progress",1) + + ScriptLib.AddExhibitionAccumulableData(context, player_uid, "Activity_Hachi_Group_"..defs.group_id, 1) + ScriptLib.PrintContextLog(context, "[HachiSneak] Exhibition Update. UID@"..player_uid.." key@".."Activity_Hachi_Group_"..defs.group_id) + -- + local animal = ScriptLib.GetMonsterConfigId(context, { monster_eid = context.source_entity_id }) + LF_MarkAnimal(context,animal) + ScriptLib.RemoveEntityByConfigId(context, defs.group_id, EntityType.MONSTER, animal) + --ScriptLib.KillEntityByConfigId(context, { config_id = animal }) + + return 0 +end + +function LF_MarkAnimal(context,animal_id) + local animal_index = GetIndexInTable(context, animal_id, suites[5].monsters) + local mark = math.pow(10,animal_index-1) + ScriptLib.PrintContextLog(context, "[HachiSneak] Exhibition Update. animal_index@"..animal_index.." AnimalMark@"..mark) + ScriptLib.ChangeGroupVariableValue(context, "animal",mark) + + return 0 +end + +--日志埋点 小道具使用次数 +function HachiSneakWidgetUsed(context) + + if ScriptLib.GetGroupVariableValue(context, "challenge_state") ~= 1 then + ScriptLib.PrintContextLog(context, "[HachiSneak] #WARN# Challenge Not Open but Got Widget LuaCall!!") + return -1 + end + ScriptLib.PrintContextLog(context, "[HachiSneak] Widget Use!!") + ScriptLib.ChangeGroupTempValue(context, "widget_times", 1, {}) + return 0 +end + +--用于记录本次挑战中被狗子发现的次数 日志埋点 +function MonsterCallPlayerCaught(context) + if ScriptLib.GetGroupVariableValue(context, "challenge_state") ~= 1 then + return -1 + end + ScriptLib.PrintContextLog(context, "[HachiSneak] Got PlayerCaught LuaCall!!") + ScriptLib.ChangeGroupTempValue(context, "found_times", 1, {}) + return 0 +end + +--烟雾弹物件会serverLuaCall处理玩家清仇恨的SGV。清仇恨功能详见单子s1260223。 +function SLC_SmokeClearThreat(context) + if ScriptLib.GetGroupVariableValue(context, "challenge_state") ~= 1 then + return -1 + end + ScriptLib.PrintContextLog(context, "[HachiSneak] SGV_CAN_CLEAR_THREAT Set: 1") + local uidList = ScriptLib.GetSceneUidList(context) + if #uidList > 0 then + ScriptLib.SetTeamServerGlobalValue(context, uidList[1], "SGV_CAN_CLEAR_THREAT", 1) + end + return 0 +end + +--烟雾弹物件会serverLuaCall处理玩家清仇恨的SGV。清仇恨功能详见单子s1260223。 +function SLC_SmokeSetThreat(context) + --[[if ScriptLib.GetGroupVariableValue(context, "challenge_state") ~= 1 then + return -1 + end]] + ScriptLib.PrintContextLog(context, "[HachiSneak] SGV_CAN_CLEAR_THREAT Set: 0") + local uidList = ScriptLib.GetSceneUidList(context) + if #uidList > 0 then + ScriptLib.SetTeamServerGlobalValue(context, uidList[1], "SGV_CAN_CLEAR_THREAT", 0) + end + return 0 +end + +--上报运营日志数据 +function UpLoadActionLog(context,transaction) + + local log = { + ["found_times"] = 0,--本次挑战中被狗子发现的次数 怪物SLC + ["tool1_used_times"] = 0,--本次挑战中使用潜行物件烟雾的次数 物件SLC + ["tool2_used_times"] = 0,--本次挑战中使用潜行物件诱饵的次数 物件SLC + ["widget_times"] = 0,--本次挑战中使用抓捕小道具的次数 小道具SLC + ["capture_times"] = 0--本次挑战中抓到小动物的次数 小道具SLC + } + + for k, v in pairs(log) do + log[k] = ScriptLib.GetGroupTempValue(context, k ,{}) + end + + ScriptLib.MarkGroupLuaAction(context, "ActivityHachi_1", transaction, log) + + ScriptLib.PrintContextLog(context, "[HachiSneak] UpLoadActionLog: "..log["found_times"].." |"..log["tool1_used_times"].." |"..log["tool2_used_times"].." |"..log["widget_times"].." |"..log["capture_times"]) + return 0 +end + +function SLC_HachiGadgetActionMark(context,param1) + --["tool1_used_times"] = 0,--本次挑战中使用潜行物件烟雾的次数 + --["tool2_used_times"] = 0,--本次挑战中使用潜行物件诱饵的次数 + ScriptLib.PrintContextLog(context, "[HachiSneak] Got SLC_HachiGadgetActionMark @"..param1) + if param1 == 1 then + ScriptLib.ChangeGroupTempValue(context, "tool1_used_times", 1, {}) + elseif param1 == 2 then + ScriptLib.ChangeGroupTempValue(context, "tool2_used_times", 1, {}) + end + + return 0 +end +--用于检查value是否在目标table中 +function CheckIsInTable(context,value,check_table) + + for i = 1, #check_table do + if check_table[i] == value then + return true + end + end + return false +end +function GetIndexInTable(context, value, check_table) + for i = 1, #check_table do + if check_table[i] == value then + return i + end + end + return 0 +end + +Initialize_Group(triggers, suites) \ No newline at end of file diff --git a/Resources/Scripts/Common/V2_3/MistTrialV2.lua b/Resources/Scripts/Common/V2_3/MistTrialV2.lua index 66a6d630d..cdeb198bc 100644 --- a/Resources/Scripts/Common/V2_3/MistTrialV2.lua +++ b/Resources/Scripts/Common/V2_3/MistTrialV2.lua @@ -13,7 +13,7 @@ 最终挑战 903 ]] --[[ - defs = { + local defs = { --galleryID gallery_id = , diff --git a/Resources/Scripts/Common/V2_3/WinterCampDevice.lua b/Resources/Scripts/Common/V2_3/WinterCampDevice.lua index ad0d0fae9..f0726a976 100644 --- a/Resources/Scripts/Common/V2_3/WinterCampDevice.lua +++ b/Resources/Scripts/Common/V2_3/WinterCampDevice.lua @@ -6,7 +6,7 @@ --[[ -defs = { +local defs = { --按想要的解谜顺序, 填子装置的config_id branch_gadgets = {117012, 117013, 117014}, --主装置的config_id,可填一个或多个 diff --git a/Resources/Scripts/Common/V2_3/WinterCampGacha.lua b/Resources/Scripts/Common/V2_3/WinterCampGacha.lua index dafcc05d2..726d02f68 100644 --- a/Resources/Scripts/Common/V2_3/WinterCampGacha.lua +++ b/Resources/Scripts/Common/V2_3/WinterCampGacha.lua @@ -3,7 +3,7 @@ ]] --[[ -defs = { +local defs = { --挑战ID challenge_id = , diff --git a/Resources/Scripts/Common/V2_3/WinterCampMimik.lua b/Resources/Scripts/Common/V2_3/WinterCampMimik.lua index dd569f875..34de17061 100644 --- a/Resources/Scripts/Common/V2_3/WinterCampMimik.lua +++ b/Resources/Scripts/Common/V2_3/WinterCampMimik.lua @@ -4,7 +4,7 @@ ]] --[[ -defs = { +local defs = { --战斗开始加载suit(空气墙等) add_onStart = {2}, --开启流程的操作台configID diff --git a/Resources/Scripts/Common/V2_3/WinterCampMimik_Quest.lua b/Resources/Scripts/Common/V2_3/WinterCampMimik_Quest.lua index 0add24f23..82fdc62b1 100644 --- a/Resources/Scripts/Common/V2_3/WinterCampMimik_Quest.lua +++ b/Resources/Scripts/Common/V2_3/WinterCampMimik_Quest.lua @@ -4,7 +4,7 @@ ]] --[[ -defs = { +local defs = { --战斗开始加载suit(空气墙等) add_onStart = {2}, --开启流程的操作台configID diff --git a/Resources/Scripts/Common/V2_3/WinterCampParkour.lua b/Resources/Scripts/Common/V2_3/WinterCampParkour.lua index ba55264a0..e84867060 100644 --- a/Resources/Scripts/Common/V2_3/WinterCampParkour.lua +++ b/Resources/Scripts/Common/V2_3/WinterCampParkour.lua @@ -7,7 +7,7 @@ --[[ -defs = { +local defs = { gallery_id = , diff --git a/Resources/Scripts/Common/V2_3/WinterCampSnowman.lua b/Resources/Scripts/Common/V2_3/WinterCampSnowman.lua index 7ec4cd326..0e79a9def 100644 --- a/Resources/Scripts/Common/V2_3/WinterCampSnowman.lua +++ b/Resources/Scripts/Common/V2_3/WinterCampSnowman.lua @@ -3,7 +3,7 @@ ]] --[[ -defs = { +local defs = { guide_regionID = [configID], } ]] diff --git a/Resources/Scripts/Common/V2_4/BoxPusher.lua b/Resources/Scripts/Common/V2_4/BoxPusher.lua index dd01c438d..03d3879f3 100644 --- a/Resources/Scripts/Common/V2_4/BoxPusher.lua +++ b/Resources/Scripts/Common/V2_4/BoxPusher.lua @@ -1,5 +1,5 @@ --[[ -defs = { +local defs = { box_gadget_id = 1, point_array_id = 1, option_id = 1, diff --git a/Resources/Scripts/Common/V2_4/HideAndSeek_Gallery_V2.lua b/Resources/Scripts/Common/V2_4/HideAndSeek_Gallery_V2.lua index 984781c44..e24cfd979 100644 --- a/Resources/Scripts/Common/V2_4/HideAndSeek_Gallery_V2.lua +++ b/Resources/Scripts/Common/V2_4/HideAndSeek_Gallery_V2.lua @@ -1,4 +1,4 @@ ---[[defs = { +--[[local defs = { group_id = xxx, gadget_prison_list = {1,2,3,4}, gadget_guide = {1,2,3}, diff --git a/Resources/Scripts/Common/V2_5/FightingStage_ByNum.lua b/Resources/Scripts/Common/V2_5/FightingStage_ByNum.lua index e69de29bb..563089162 100644 --- a/Resources/Scripts/Common/V2_5/FightingStage_ByNum.lua +++ b/Resources/Scripts/Common/V2_5/FightingStage_ByNum.lua @@ -0,0 +1,492 @@ +--2.5换人挑战玩法 +--ServerUploadTool Save to [/root/env/data/lua/common/V2_5] +--miscs配置内容 +--[[ +击杀数量,每击杀一定数量的怪物,换一个刷怪池子,到最后一个池子时无限刷怪 +没有精英怪 +一关内最多5个池子,难度会逐渐提升,一关定时4分钟, +普通玩家可能只能刷到池子3,能拿到所有奖励,头部玩家能刷到池子5,后面的2个池子就是用于给头部玩家进行 +--fever进度升级节点 +local fever_progress_table = { + 0,40,120,270,570,800 +} +--各等级fever的下降速率 +local fever_attenuation = { + -1,-1,-2,-2,-3 +} +--地城对应的天气配置 +local DungeonWeather = { + 10039,10040,10041,10042 +} + +--怪物潮 +local monster_tide = { + [1] = {2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2048,2049,2050,2051}, + [2] = {2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2052,2053,2054,2055}, + [3] = {2038,2039,2040,2041,2042,2043,2044,2045,2046,2047,2056,2057,2058,2059}, + [4] = {2038,2039,2040,2041,2042,2043,2044,2045,2046,2047,2056,2057,2058,2059}, + [5] = {2038,2039,2040,2041,2042,2043,2044,2045,2046,2047,2056,2057,2058,2059}, +} + + +local defs = { + group_id = 235801002, + worktop_id = 123, --操作台对应的操作数 + air_wall = 2005, --场内空气墙对应的ConfigID + minion_fever = 5, --普通怪物死亡增加的热度值 + game_time = 360, --挑战时间 + min_monster_count = 5, --场上最少怪物数量 + max_monster_count = 5, --场上最多怪物数量 + environment_suite = 4, --环境灯光所在的Suite + noswitch_punishment_interval = 30, --不换人开始有惩罚的最小时间间隔 + num_killed_per_tide = {20, 20, 20, 20, 0} --每组怪物潮对应需要的杀怪数量 +} + +--配置一个region,覆盖场内的战斗空间,用来在玩家进入时创建空气墙 +]] + + +local local_defs = { + worktop_option = 30110, + progress_key = 1, + team_global_value = "FEVER_LEVEL", + team_noswitch_pubishment = "NOSWITCH_PUNISHMENT", + team_has_switch = "HAS_SWITCHED_TEAM", + burn_effect_level = 2, + environment_change_level = 1, + base_upgrade_reminder = 358010102, + team_noswitch_pubishment_reminder = 144, + punish_inAdvance_reminder = 201 +} + + +local time_axis = { + --扣分时间轴,每秒掉一定的分数 + fever_axis = {1}, + + noswitch_punishment_axis = {defs.noswitch_punishment_interval}, + noswitch_punishment_inAdvance_axis = {defs.noswitch_punishment_interval-(defs.punish_inAdvance_reminder_time or 3)} + +} + + +local Tri = { + [1] = { name = "group_load", config_id = 8000001, event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0}, + [2] = { name = "select_option", config_id = 8000002, event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_select_option", trigger_count = 0}, + [3] = { name = "time_axis_pass", config_id = 8000003, event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "", action = "action_time_axis_pass", trigger_count = 0}, + [4] = { name = "gallery_progress_pass", config_id = 8000004, event = EventType.EVENT_GALLERY_PROGRESS_PASS, source = "", condition = "", action = "action_gallery_progress_pass", trigger_count = 0}, + [5] = { name = "monster_tide_die", config_id = 8000005, event = EventType.EVENT_MONSTER_TIDE_DIE, source = "", condition = "", action = "action_monster_tide_die", trigger_count = 0}, + [6] = { name = "monster_die_before_leave_scene", config_id = 8000006, event = EventType.EVENT_MONSTER_DIE_BEFORE_LEAVE_SCENE, source = "", condition = "", action = "action_monster_die_before_leave_scene", trigger_count = 0}, + [7] = { name = "gallery_stop", config_id = 8000007, event = EventType.EVENT_GALLERY_STOP, source = "", condition = "", action = "action_gallery_stop", trigger_count = 0}, + [8] = { name = "sumo_switch_team", config_id = 8000008, event = EventType.EVENT_SUMO_SWITCH_TEAM_EVENT, source = "", condition = "", action = "action_sumo_switch_team", trigger_count = 0}, + [9] = { name = "dungeon_all_avatar_die", config_id = 8000009, event = EventType.EVENT_DUNGEON_ALL_AVATAR_DIE, source = "", condition = "", action = "action_dungeon_all_avatar_die", trigger_count = 0}, + [10] = { name = "dungeon_settle", config_id = 8000010, event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "", action = "action_dungeon_settle", trigger_count = 0}, + [11] = { name = "enter_start_region", config_id = 8000011, event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_enter_start_region", trigger_count = 0}, + +} + +function Initialize() + for k,v in pairs(Tri) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + for config_id,infos in pairs(monsters) do + table.insert(infos.affix, 9009) + end + + table.insert(variables,{ config_id=50000001,name = "current_monster_tide", value = 0}) + table.insert(variables,{ config_id=50000002,name = "current_elite", value = 1}) + table.insert(variables,{ config_id=50000003,name = "fever_ratio", value = 1}) + --用于记录当前是否开启不换队惩罚,用于客户端断线重连时恢复状态 + table.insert(variables,{ config_id=50000004,name = "is_noswitch_punishment", value = 0}) + --用于记录当前怪物潮中的击杀数量,当击杀数量达到配置数量时,加载下一波怪物潮 + table.insert(variables,{ config_id=50000005,name = "num_current_minion_killed", value = 0}) + --用于记录是否已经创建空气墙,防止玩家卡在空气墙外 + table.insert(variables,{ config_id=50000006,name = "is_air_wall_created", value = 0}) + --用于记录当前怪物潮是否处于切换状态 + table.insert(variables,{ config_id=50000007,name = "is_tide_being_switched", value = 0}) +end + +------------------------------------------------------------------ + +--group load后,加载操作台选项 +function action_group_load(context,evt) + ScriptLib.SetWorktopOptionsByGroupId(context, defs.group_id, defs.worktop_id, {local_defs.worktop_option}) + + --开场就直接加载氛围物件,不要等玩家开启挑战 + --加载环境氛围物件 + ScriptLib.AddExtraGroupSuite(context,defs.group_id, defs.environment_suite) + return 0 +end + +--按下操作台按键,启动玩法 +function action_select_option(context,evt) + --如果空气墙没有提前创建,那么不会处理开始事件 + if 1~= ScriptLib.GetGroupVariableValue(context,"is_air_wall_created") then + return -1 + end + ScriptLib.DelWorktopOptionByGroupId(context, defs.group_id, defs.worktop_id, local_defs.worktop_option) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.worktop_id, GadgetState.GearStop) + LF_Start_Play(context) + return 0 +end + +--时间轴tick事件,根据tick的时间轴不同处理不同逻辑 +function action_time_axis_pass(context,evt) + +--纯数量刷怪,不再走刷怪Tick + --fever条tick,扣分 + if (evt.source_name == "FEVER_AXIS") then + LF_Update_Fever(context,LF_Get_Fever_Subnum(context)) + end + + --提前显示一下需要换队 + if (evt.source_name == "NOSWITCH_PUNISHMENT_INADVANCE_AXIS") then + ScriptLib.ShowTemplateReminder(context, local_defs.punish_inAdvance_reminder, {defs.punish_inAdvance_reminder_time or 3}) + end + + --不换队tick,如果长时间不换队则将设置惩罚gv + if (evt.source_name == "NOSWITCH_PUNISHMENT_AXIS") then + ScriptLib.ShowTemplateReminder(context, local_defs.team_noswitch_pubishment_reminder, {0}) + ScriptLib.SetGroupVariableValue(context,"is_noswitch_punishment",1) + LF_Set_Team_Global_Value(context,local_defs.team_noswitch_pubishment,1) + end + + return 0 +end + +--fever升级时,给team挂global value,并激活场景氛围物件 +function action_gallery_progress_pass(context,evt) + local fever_level = evt.param1 + ScriptLib.PrintContextLog(context,"FS: Fever uprade to level "..fever_level) + ScriptLib.ShowReminder(context, local_defs.base_upgrade_reminder+fever_level) + LF_Set_Team_Global_Value(context,local_defs.team_global_value,fever_level) + LF_Activate_Environment_Gadget(context,fever_level) + return 0 +end + +function action_gallery_stop(context,evt) + LF_Stop_Play(context) + return 0 +end + + +--当前的怪物潮刷完的时候,重置当前的怪物潮或者刷下一波怪物潮 +function action_monster_tide_die(context,evt) +-- ScriptLib.PrintContextLog(context,"FS: Tide Clear"..evt.param1) +-- local is_being_switched = ScriptLib.GetGroupVariableValue(context,"is_tide_being_switched") +-- ScriptLib.PrintContextLog(context,"FS: Tide Switch"..is_being_switched) + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + local current_tide_list = monster_tide[current_monster_tide] +-- ScriptLib.PrintContextLog(context,"FS: Tide Max"..(#current_tide_list)) + --不在刷够怪物切换怪物潮的过程中 + --如果当前怪物潮已经被杀完了 + if evt.param1 >= #current_tide_list then + if defs.num_killed_per_tide[current_monster_tide] == 0 then + LF_Refresh_Monster_Tide(context,"Current") + else + LF_Refresh_Monster_Tide(context,"Next") + end + end + return 0 +end + +--有怪死亡时,计分,并更新fever条,怪物死亡只处理积分 +function action_monster_die_before_leave_scene(context,evt) + local monster_eid = evt.source_eid + local monster_cid = evt.param1 + local fever_ratio = ScriptLib.GetGroupVariableValue(context,"fever_ratio") + local monster_fever = monsters[monster_cid].kill_score + LF_Update_Fever(context,monster_fever*fever_ratio) + LF_Update_Score(context,monster_eid) + return 0 +end + + +function LF_Refresh_Monster_Tide(context, refresh_mode) + local current_monster_tide_index = LF_Get_Current_Monster_Tide(context) +-- ScriptLib.KillMonsterTide(context, defs.group_id, LF_Get_Current_Tide_Num(context)) +-- ScriptLib.SetGroupVariableValue(context,"is_tide_being_switched",1) + if refresh_mode == "Current" then + LF_Set_Current_Monster_Tide(context, current_monster_tide_index) + LF_Create_Monster_Tide(context,current_monster_tide_index) + ScriptLib.PrintContextLog(context,"FS: Tide Clear Refresh Current") + end + if refresh_mode == "Next" then + LF_Set_Current_Monster_Tide(context, current_monster_tide_index + 1) + LF_Create_Monster_Tide(context,current_monster_tide_index + 1) + ScriptLib.PrintContextLog(context,"FS: Tide Clear Refresh Next") + end +-- LF_Set_Current_Tide_Minion_Killed(context,0) +-- ScriptLib.SetGroupVariableValue(context,"is_tide_being_switched",0) +end +--玩家换队时触发,启动一个一定时间的时间轴,时间轴tick时修改global value给玩家挂debuff +function action_sumo_switch_team(context,evt) + + --刚刚换队,先清掉team上的换队惩罚global value,并开始计时,如果tick时没有换队,则挂上惩罚标记gv + LF_Set_Team_Global_Value(context,local_defs.team_noswitch_pubishment,0) + ScriptLib.EndTimeAxis(context,"NOSWITCH_PUNISHMENT_AXIS") + ScriptLib.InitTimeAxis(context,"NOSWITCH_PUNISHMENT_AXIS",time_axis.noswitch_punishment_axis,false) + + --清理换队提示 + ScriptLib.EndTimeAxis(context,"NOSWITCH_PUNISHMENT_INADVANCE_AXIS") + ScriptLib.InitTimeAxis(context,"NOSWITCH_PUNISHMENT_INADVANCE_AXIS",time_axis.noswitch_punishment_inAdvance_axis,false) + + --换队增加热情值 + LF_Update_Fever(context,defs.switch_team_fever) + + --换队的时候给服务端发送消息,让客户端显示惩罚倒计时UI + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["uid"] = uid_list[1], ["noswitch_time"] = defs.noswitch_punishment_interval}) + + --清除当前显示的换队惩罚的reminder + + local uid_list = ScriptLib.GetSceneUidList(context) + local ret = ScriptLib.RevokePlayerShowTemplateReminder(context, local_defs.team_noswitch_pubishment_reminder, {}) + ScriptLib.RevokePlayerShowTemplateReminder(context, local_defs.punish_inAdvance_reminder, {}) + + ScriptLib.PrintContextLog(context,"FS: Clear reminder result"..ret) + + --换队的时候修改team的gv,重新刷一下新的avatar身上的加成效果 + LF_Set_Team_Global_Value(context,local_defs.team_has_switch,1) + + ScriptLib.SetGroupVariableValue(context,"is_noswitch_punishment",0) + + return 0 +end + +--玩家进入区域直接创建空气墙,防止卡延迟出圈 +function action_enter_start_region(context,evt) + --加载空气墙 + ScriptLib.CreateGadget(context,{config_id = defs.air_wall}) + ScriptLib.SetGroupVariableValue(context,"is_air_wall_created",1) + return 0 +end + +--团灭触发,直接结束玩法 +function action_dungeon_all_avatar_die(context,evt) + + LF_Stop_Play(context) + + return 0 +end + +function action_dungeon_settle(context,evt) + + LF_Stop_Play(context) + + return 0 +end + +------------------------------------------------------------------ +--辅助方法--------------------------------------------------------- +------------------------------------------------------------------ + + +--关卡相关方法----------------------------------------------------- + +--启动玩法方法,初始化各种东西 +function LF_Start_Play(context) + + ScriptLib.StartGallery(context, defs.gallery_id) + ScriptLib.InitGalleryProgressScore(context, "fever", defs.gallery_id, fever_progress_table, GalleryProgressScoreUIType.GALLERY_PROGRESS_SCORE_UI_TYPE_SUMO_STAGE, GalleryProgressScoreType.GALLERY_PROGRESS_SCORE_NO_DEGRADE) + + ScriptLib.InitTimeAxis(context,"FEVER_AXIS",time_axis.fever_axis,true) + LF_Set_Current_Tide_Num(context,0) + LF_Set_Current_Monster_Tide(context,1) + LF_Create_Monster_Tide(context,1) + --启动玩法时给第一队挂一下gv,防止一开始就受到惩罚;并开启时间轴开始计时 + LF_Set_Team_Global_Value(context,local_defs.team_noswitch_pubishment,0) + ScriptLib.InitTimeAxis(context,"NOSWITCH_PUNISHMENT_AXIS",time_axis.noswitch_punishment_axis,false) + ScriptLib.InitTimeAxis(context,"NOSWITCH_PUNISHMENT_INADVANCE_AXIS",time_axis.noswitch_punishment_inAdvance_axis,false) + --玩法开始的时候给服务端发送消息,让客户端显示惩罚倒计时UI + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["uid"] = uid_list[1], ["noswitch_time"] = defs.noswitch_punishment_interval}) +end + +--终止玩法方法,关掉各种东西 +function LF_Stop_Play(context) + + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + --清理一下空气墙,防止其他问题 + ScriptLib.RemoveEntityByConfigId(context, defs.group_id, EntityType.GADGET, defs.air_wall) + --玩法结束,清理掉当前的怪物潮 + ScriptLib.KillMonsterTide(context, defs.group_id, current_monster_tide) + ScriptLib.StopGallery(context, defs.gallery_id,true) + ScriptLib.EndTimeAxis(context,"FEVER_AXIS") + --关闭一下地城,以正确触发重新挑战 + ScriptLib.CauseDungeonFail(context) +end + + +--启动一波指定ID的怪物潮,需要传入该波怪物潮的ID(具体配置在miscs中定义) +function LF_Create_Monster_Tide(context,monster_tide_index) + ScriptLib.PrintContextLog(context,"FS: Creating monster tide ["..monster_tide_index.."]") + local monster_config_id_list = monster_tide[monster_tide_index] + --增加怪物潮的计数,下一次开启时index会+1,防止索引到同一波怪物潮 + local tide_num = LF_Get_Current_Tide_Num(context) + LF_Set_Current_Tide_Num(context,tide_num+1) + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + ScriptLib.AutoMonsterTide(context, tide_num+1, defs.group_id, monster_config_id_list, #monster_config_id_list, tide_suite_config[current_monster_tide].min, tide_suite_config[current_monster_tide].max) +end + +--刷新指定 + + +--通用类方法------------------------------------------------------- + +--切换场上的场景氛围物件状态 +function LF_Activate_Environment_Gadget(context,fever_level) + ScriptLib.PrintContextLog(context,"FS: Activate environment gadgets! Fever Level_"..fever_level) + --根据当前的fever等级,改变天气 + if (fever_level>local_defs.environment_change_level) then + ScriptLib.PrintContextLog(context,"FS: Changing environment weather!") + local ret = ScriptLib.SetWeatherAreaState(context, DungeonWeather[fever_level],1) + ScriptLib.PrintContextLog(context,"FS: The result of starting weather ".. DungeonWeather[fever_level].."is "..ret) + local ret = ScriptLib.EnterWeatherArea(context, DungeonWeather[fever_level]) + ScriptLib.PrintContextLog(context,"FS: The result of changing weather".. DungeonWeather[fever_level].."is "..ret) + end + + --切换场上所有的物件的状态 + for i = 1, #suites[defs.environment_suite].gadgets do + local config_id = suites[defs.environment_suite].gadgets[i] + local gadget_id = LF_Get_Gadget_Id_By_Config_Id(context,config_id) + --大小火盆 + if (gadget_id == 70350306 or gadget_id == 70350307) then + if (fever_level=local_defs.burn_effect_level) then + --喷大火,5秒后转回小火 + --ScriptLib.PrintContextLog(context,"FS: Burn middle fire!") + local ret = ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, config_id, 201) + end + if (fever_level >= #fever_progress_table-2) then + --持续喷大火 + --ScriptLib.PrintContextLog(context,"FS: Burn super fire!") + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, config_id, 202) + end + end + --挂灯 + if (gadget_id == 70350308) then + if (fever_level>=local_defs.burn_effect_level) then + --点燃小火 + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, config_id, 201) + end + end + --场景氛围 + if (gadget_id == 70350309) then + --转到对应的gadgetState:default-0、phase1-201、phase2-202、phase3-203、phase4-204 + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, config_id, 200+fever_level) + end + end +end + +--给team挂global value,角色处理各种特殊效果 +function LF_Set_Team_Global_Value(context,gv_name,value) + --ScriptLib.PrintContextLog(context,"FS: Sending global values to team!") + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.SetTeamEntityGlobalFloatValue(context, uid_list, gv_name, value) +end + + +-----CRUD类方法---------------------------------------------------- + +--更新fever条,fever_delta为fever条改变值 +function LF_Update_Fever(context,fever_delta) +-- ScriptLib.PrintContextLog(context,"FS: Update Fever!") + ScriptLib.AddGalleryProgressScore(context, "fever", defs.gallery_id, fever_delta) +end + +--更新积分,需要传入目标monster的entity id +function LF_Update_Score(context,monster_eid) +-- ScriptLib.PrintContextLog(context,"FS: Update Score!") + local uid_list = ScriptLib.GetSceneUidList(context) + local monster_id = ScriptLib.GetMonsterIdByEntityId(context,monster_eid) + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["uid"] = uid_list[1], ["monster_id"] = monster_id}) +end + + +--返回当前等级下的积分衰减速率 +function LF_Get_Fever_Subnum(context) + local fever = ScriptLib.GetGalleryProgressScore(context, "fever", defs.gallery_id) + for i = 1, #fever_progress_table-1 do + local lower_bound = fever_progress_table[i] + local higher_bound = fever_progress_table[i+1] + if fever>=lower_bound and fever= #monster_tide[current_monster_tide]) then + --标记非手动结束的怪物潮里的怪已经刷完了 + ScriptLib.SetGroupVariableValue(context,"is_current_minion_tide_end",1) + local is_elite_on_ground = ScriptLib.GetGroupVariableValue(context,"is_elite_on_ground") + ScriptLib.PrintContextLog(context,"FS:[TIDE_DIE] 怪物潮"..tide_index.."所有怪物清空") + if (is_elite_on_ground == 0) then + --精英不在场,才能开一个新的怪物潮 + ScriptLib.PrintContextLog(context,"FS: [TIDE_DIE] 场上没有精英怪,获取当前对应波次,创建怪物潮") + LF_Create_Monster_Tide(context,current_monster_tide) + ScriptLib.SetGroupVariableValue(context,"is_current_minion_tide_end",0) + end + end + return 0 +end + +--记录当前结束的MonsterTideIndex +function action_monster_tide_over(context, evt) + local end_index = tonumber(evt.source_name) + if end_index ~= nil then + ScriptLib.SetGroupVariableValue(context,"last_end_tide", end_index) + ScriptLib.PrintContextLog(context,"FS:[DEBUG][TIDE_OVER] 当前怪物潮结束,波次"..end_index) + end + return 0 +end + +--有怪死亡时,计分,并更新fever条,这里只处理怪物计分和精英怪阻塞 +function action_monster_die_before_leave_scene(context,evt) + local monster_eid = evt.source_eid + local monster_cid = evt.param1 + local is_elite = LF_Is_Elite(context,monster_cid) + local fever_ratio = ScriptLib.GetGroupVariableValue(context,"fever_ratio") + local monster_fever = monsters[monster_cid].kill_score + LF_Update_Fever(context,monster_fever*fever_ratio) + LF_Update_Score(context,monster_eid) + --死的是精英怪,看看之前有没有阻塞 + if is_elite then + --精英死亡时,检测该组刷新的精英怪数量,如果全部死亡就重新开始计时 + local elite_num = ScriptLib.GetGroupVariableValue(context,"is_elite_on_ground") + if elite_num > 1 then + --场上还有别的精英怪 + ScriptLib.SetGroupVariableValue(context,"is_elite_on_ground",elite_num-1) + else + ScriptLib.SetGroupVariableValue(context,"is_elite_on_ground",0) + ScriptLib.EndTimeAxis(context,"ELITE_AXIS") + ScriptLib.InitTimeAxis(context,"ELITE_AXIS",time_axis.elite_axis,false) + if ScriptLib.GetGroupVariableValue(context,"is_current_minion_tide_end") == 0 then + if not LF_Is_Current_Index_End(context) then + ScriptLib.PrintContextLog(context,"FS:[DEBUG][MonDie] 精英怪死亡,当前怪物潮没有触发OVER,继续刷新,波次"..LF_Get_Current_Tide_Num(context)) + ScriptLib.ContinueAutoMonster(context, defs.group_id, LF_Get_Current_Tide_Num(context)) + else + if 0 == ScriptLib.GetGroupMonsterCount(context) then + ScriptLib.PrintContextLog(context,"FS:[DEBUG] [MonDie]精英怪死亡,当前怪物潮已经触发OVER且场上没有Monster,重新创建怪物潮") + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + LF_Create_Monster_Tide(context,current_monster_tide) + ScriptLib.SetGroupVariableValue(context,"is_current_minion_tide_end",0) + end + end + else + --当前怪物潮已经结束了,因为场上有精英怪被卡住了。精英死亡时,手动开启新的怪物潮 + if 0 == ScriptLib.GetGroupMonsterCount(context) then + ScriptLib.PrintContextLog(context,"FS:[DEBUG][MonDie] 精英怪死亡且场上没有怪物,波次"..LF_Get_Current_Tide_Num(context)) + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + LF_Create_Monster_Tide(context,current_monster_tide) + ScriptLib.SetGroupVariableValue(context,"is_current_minion_tide_end",0) + end + end + end + end + + return 0 +end + +--玩家换队时触发,启动一个一定时间的时间轴,时间轴tick时修改global value给玩家挂debuff +function action_sumo_switch_team(context,evt) + + --刚刚换队,先清掉team上的换队惩罚global value,并开始计时,如果tick时没有换队,则挂上惩罚标记gv + LF_Set_Team_Global_Value(context,local_defs.team_noswitch_pubishment,0) + ScriptLib.EndTimeAxis(context,"NOSWITCH_PUNISHMENT_AXIS") + ScriptLib.InitTimeAxis(context,"NOSWITCH_PUNISHMENT_AXIS",time_axis.noswitch_punishment_axis,false) + + --清理换队提示 + ScriptLib.EndTimeAxis(context,"NOSWITCH_PUNISHMENT_INADVANCE_AXIS") + ScriptLib.InitTimeAxis(context,"NOSWITCH_PUNISHMENT_INADVANCE_AXIS",time_axis.noswitch_punishment_inAdvance_axis,false) + + --换队增加热情值 + LF_Update_Fever(context,defs.switch_team_fever) + + --换队的时候给服务端发送消息,让客户端显示惩罚倒计时UI + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["uid"] = uid_list[1], ["noswitch_time"] = defs.noswitch_punishment_interval}) + + --清除当前显示的换队惩罚的reminder + + local uid_list = ScriptLib.GetSceneUidList(context) + local ret = ScriptLib.RevokePlayerShowTemplateReminder(context, local_defs.team_noswitch_pubishment_reminder, {}) + ScriptLib.RevokePlayerShowTemplateReminder(context, local_defs.punish_inAdvance_reminder, {}) + + ScriptLib.PrintContextLog(context,"FS: Clear reminder result"..ret) + + --换队的时候修改team的gv,重新刷一下新的avatar身上的加成效果 + --ScriptLib.PrintContextLog(context,"FS: team has changed, team_has_change = 1") + LF_Set_Team_Global_Value(context,local_defs.team_has_switch,1) + + ScriptLib.SetGroupVariableValue(context,"is_noswitch_punishment",0) + + return 0 +end + + +--玩家进入区域直接创建空气墙,防止卡延迟出圈 +function action_enter_start_region(context,evt) + --加载空气墙 + ScriptLib.CreateGadget(context,{config_id = defs.air_wall}) + ScriptLib.SetGroupVariableValue(context,"is_air_wall_created",1) + return 0 +end + +--团灭触发,直接结束玩法 +function action_dungeon_all_avatar_die(context,evt) + + LF_Stop_Play(context) + + return 0 +end + +function action_dungeon_settle(context,evt) + + LF_Stop_Play(context) + + return 0 +end + +------------------------------------------------------------------ +--辅助方法--------------------------------------------------------- +------------------------------------------------------------------ + + +--关卡相关方法----------------------------------------------------- + +--启动玩法方法,初始化各种东西 +function LF_Start_Play(context) + + ScriptLib.StartGallery(context, defs.gallery_id) + ScriptLib.InitGalleryProgressScore(context, "fever", defs.gallery_id, fever_progress_table, GalleryProgressScoreUIType.GALLERY_PROGRESS_SCORE_UI_TYPE_SUMO_STAGE, GalleryProgressScoreType.GALLERY_PROGRESS_SCORE_NO_DEGRADE) + + ScriptLib.InitTimeAxis(context,"FEVER_AXIS",time_axis.fever_axis,true) + ScriptLib.InitTimeAxis(context,"MINION_TIDE_AXIS",time_axis.minion_tide_axis,true) + ScriptLib.InitTimeAxis(context,"ELITE_TIDE_AXIS",time_axis.elite_tide_axis,true) + ScriptLib.InitTimeAxis(context,"ELITE_AXIS",time_axis.elite_axis,false) + LF_Set_Current_Tide_Num(context,0) + LF_Set_Current_Monster_Tide(context,1) + LF_Set_Current_Elite_Index(context,1) + LF_Create_Monster_Tide(context,1) + --启动玩法时给第一队挂一下gv,防止一开始就受到惩罚;并开启时间轴开始计时 + LF_Set_Team_Global_Value(context,local_defs.team_noswitch_pubishment,0) + ScriptLib.InitTimeAxis(context,"NOSWITCH_PUNISHMENT_AXIS",time_axis.noswitch_punishment_axis,false) + ScriptLib.InitTimeAxis(context,"NOSWITCH_PUNISHMENT_INADVANCE_AXIS",time_axis.noswitch_punishment_inAdvance_axis,false) + --玩法开始的时候给服务端发送消息,让客户端显示惩罚倒计时UI + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["uid"] = uid_list[1], ["noswitch_time"] = defs.noswitch_punishment_interval}) + --加载空气墙 + ScriptLib.CreateGadget(context,{config_id = defs.air_wall}) +end + +--终止玩法方法,关掉各种东西 +function LF_Stop_Play(context) + + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + --清理一下空气墙,防止其他问题 + ScriptLib.RemoveEntityByConfigId(context, defs.group_id, EntityType.GADGET, defs.air_wall) + --玩法结束,清理掉当前的怪物潮 + if not LF_Is_Current_Index_End(context) then + ScriptLib.KillMonsterTide(context, defs.group_id, current_monster_tide) + end + ScriptLib.StopGallery(context, defs.gallery_id,true) + ScriptLib.EndTimeAxis(context,"FEVER_AXIS") + ScriptLib.EndTimeAxis(context,"MINION_TIDE_AXIS") + ScriptLib.EndTimeAxis(context,"ELITE_AXIS") + ScriptLib.EndTimeAxis(context,"ELITE_TIDE_AXIS") + --关闭一下地城,以正确触发重新挑战 + ScriptLib.CauseDungeonFail(context) +end + + +--启动一波指定ID的怪物潮,需要传入该波怪物潮的ID(具体配置在miscs中定义) +function LF_Create_Monster_Tide(context,monster_tide_index) + local monster_config_id_list = monster_tide[monster_tide_index] + --增加怪物潮的计数,下一次开启时index会+1,防止索引到同一波怪物潮 + local tide_num = LF_Get_Current_Tide_Num(context) + LF_Set_Current_Tide_Num(context,tide_num+1) + ScriptLib.PrintContextLog(context,"FS: [DEBUG][CREATE] 创建怪物潮,怪物波次 ["..monster_tide_index.."]".."怪物潮INDEX"..(tide_num+1)) + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + ScriptLib.AutoMonsterTide(context, tide_num+1, defs.group_id, monster_config_id_list, #monster_config_id_list, tide_suite_config[current_monster_tide].min, tide_suite_config[current_monster_tide].max) +end + +--停止目前的怪物潮,下次刷新新配置的怪物潮 +function LF_Refresh_Currtent_Monster_Tide(context) + ScriptLib.PrintContextLog(context,"FS:[DEBUG] [REFRESH]时间轴刷新怪物潮,标记当前怪物潮结束") + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + --标记当前怪物潮结束,如果怪物潮没有结束则手动结束 + local tide_index = LF_Get_Current_Tide_Num(context) + ScriptLib.SetGroupVariableValue(context,"refresh_end_tide",tide_index) + if not LF_Is_Current_Index_End(context) then + ScriptLib.PrintContextLog(context,"FS:[DEBUG] [REFRESH]手动结束当前怪物潮") + ScriptLib.EndMonsterTide(context, defs.group_id, tide_index, 1) + end +-- ScriptLib.SetGroupVariableValue(context,"is_current_minion_tide_end",1) + LF_Set_Current_Monster_Tide(context,current_monster_tide+1) + --如果场上没有怪就直接创建 + if 0 == ScriptLib.GetGroupMonsterCount(context) then + LF_Create_Monster_Tide(context,current_monster_tide+1) + ScriptLib.SetGroupVariableValue(context,"is_current_minion_tide_end",0) + ScriptLib.PrintContextLog(context,"FS:[DEBUG] [REFRESH]更新怪物潮,刷新怪物,并且标记这一波怪没有结束") + end +end + +--在随机的位置,刷新指定序列的精英怪 +function LF_Create_Elite_Monster(context,elite_index) + local elite_list = elite[elite_index] + ScriptLib.PrintContextLog(context,"FS: Creating elite nums_"..#elite_list) + --生成一个点的序列表,每次随机的时候把结果踢出 + local point_index = {} + local choices = {} + for i=1,#elite_born_points do + table.insert(point_index,i) + end + for i=1,#elite_list do + local randomNum = math.random(1,#point_index) + table.insert(choices, point_index[randomNum]) + table.remove(point_index, randomNum) + end + for i=1,#elite_list do + for k,v in pairs(points) do + if elite_born_points[choices[i]] == v.config_id then + ScriptLib.PrintContextLog(context,"FS: Creating elite ["..elite_list[i].."] at point "..v.pos.x..","..v.pos.y..","..v.pos.z) + ScriptLib.CreateMonsterByConfigIdByPos(context, elite_list[i], v.pos, v.rot) + end + end + + end + ScriptLib.SetGroupVariableValue(context,"is_elite_on_ground",#elite_list) +end + +--从1~max间随机nums个 +function LF_Random_Choice(max, nums) + local choices = {} + local list = {} + + for i=1,nums do + local randomNum = math.random(1,#list) + table.insert(choices, list[randomNum]) + table.remove(list, randomNum) + end + return choices +end + +function LF_Is_Current_Index_End(context) + if LF_Get_Current_Tide_Num(context) > ScriptLib.GetGroupVariableValue(context,"last_end_tide") then + ScriptLib.PrintContextLog(context,"FS:[DEBUG] [JUDGE]判断当前怪物潮没有结束") + return false + end + ScriptLib.PrintContextLog(context,"FS:[DEBUG] [JUDGE] 判断当前怪物潮已经结束") + return true +end +--通用类方法------------------------------------------------------- + +--切换场上的场景氛围物件状态 +function LF_Activate_Environment_Gadget(context,fever_level) + ScriptLib.PrintContextLog(context,"FS: Activate environment gadgets!") + --根据当前的fever等级,改变天气 + if (fever_level>local_defs.environment_change_level) then + ScriptLib.PrintContextLog(context,"FS: Changing environment weather!") + local ret = ScriptLib.SetWeatherAreaState(context, DungeonWeather[fever_level],1) + --ScriptLib.PrintContextLog(context,"FS: The result of starting weather ".. DungeonWeather[fever_level].."is "..ret) + local ret = ScriptLib.EnterWeatherArea(context, DungeonWeather[fever_level]) + --ScriptLib.PrintContextLog(context,"FS: The result of changing weather".. DungeonWeather[fever_level].."is "..ret) + end + + --切换场上所有的物件的状态 + for i = 1, #suites[defs.environment_suite].gadgets do + local config_id = suites[defs.environment_suite].gadgets[i] + local gadget_id = LF_Get_Gadget_Id_By_Config_Id(context,config_id) + --大小火盆 + if (gadget_id == 70350306 or gadget_id == 70350307) then + if (fever_level=local_defs.burn_effect_level) then + --喷大火,5秒后转回小火 + --ScriptLib.PrintContextLog(context,"FS: Burn middle fire!") + local ret = ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, config_id, 201) + end + if (fever_level >= #fever_progress_table-2) then + --持续喷大火 + --ScriptLib.PrintContextLog(context,"FS: Burn super fire!") + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, config_id, 202) + end + end + --挂灯 + if (gadget_id == 70350308) then + if (fever_level>=local_defs.burn_effect_level) then + --点燃小火 + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, config_id, 201) + end + end + --场景氛围 + if (gadget_id == 70350309) then + --转到对应的gadgetState:default-0、phase1-201、phase2-202、phase3-203、phase4-204 + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, config_id, 200+fever_level) + end + end +end + +--给team挂global value,角色处理各种特殊效果 +function LF_Set_Team_Global_Value(context,gv_name,value) + --ScriptLib.PrintContextLog(context,"FS: Sending global values to team!") + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.SetTeamEntityGlobalFloatValue(context, uid_list, gv_name, value) +end + + + +-----CRUD类方法---------------------------------------------------- + +--更新fever条,fever_delta为fever条改变值 +function LF_Update_Fever(context,fever_delta) + ScriptLib.AddGalleryProgressScore(context, "fever", defs.gallery_id, fever_delta) +end + +--更新积分,需要传入目标monster的entity id +function LF_Update_Score(context,monster_eid) + local uid_list = ScriptLib.GetSceneUidList(context) + local monster_id = ScriptLib.GetMonsterIdByEntityId(context,monster_eid) + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["uid"] = uid_list[1], ["monster_id"] = monster_id}) +end + + +--返回当前等级下的积分衰减速率 +function LF_Get_Fever_Subnum(context) + local fever = ScriptLib.GetGalleryProgressScore(context, "fever", defs.gallery_id) + for i = 1, #fever_progress_table-1 do + local lower_bound = fever_progress_table[i] + local higher_bound = fever_progress_table[i+1] + if fever>=lower_bound and fever= #monster_tide[current_monster_tide]) or (LF_Is_Current_Minion_All_Dead(context) and LF_Monster_Tide_Index_Has_Move_Forward(context)) then + -- ScriptLib.SetGroupVariableValue(context,"current_tide_all_killed", 1) + if LF_Is_Current_Minion_All_Dead(context) and LF_Monster_Tide_Index_Has_Move_Forward(context) then + ScriptLib.SetGroupVariableValue(context,"current_tide_all_killed", 1) + --如果没有时间轴,怪物潮结束时要重新开一波新的怪物潮 + --这里相当于是手动做出了一个循环怪物潮,和怪物潮启停的逻辑本身没有关系 + if (defs.monster_create_min_interval == 0) then + if (LF_Is_Pause_Operation_Stack_Empty(context)) then + if (LF_Is_Current_Tide_All_Killed(context)) then + ScriptLib.PrintContextLog(context,"## [CrystalLink]action_monster_tide_die:当前波次死完,要手动重开一次怪物潮") + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + LF_Create_Monster_Tide(context,current_monster_tide) + end + end + end + end + if (LF_Is_Current_Minion_All_Dead(context) and LF_Monster_Tide_Index_Has_Move_Forward(context)) then + ScriptLib.PrintContextLog(context,"## [CrystalLink] monster die:轮次已切换,重开一波怪物潮") + if ScriptLib.GetGroupVariableValue(context,"has_paused_by_index_move_forward") == 1 then + LF_Try_Continue_Or_Create_Monster_Tide(context) + ScriptLib.SetGroupVariableValue(context,"has_paused_by_index_move_forward",0) + end + end + + ScriptLib.PrintContextLog(context,"## [CrystalLink] monster die:怪物死亡,重启时间轴") + local has_paused_by_minion_die = ScriptLib.GetGroupVariableValue(context,"has_paused_by_minion_die") + if (has_paused_by_minion_die == 0) then + if (defs.monster_create_min_interval ~= 0) then + ScriptLib.PrintContextLog(context,"## [CrystalLink] monster die:之前没有怪物死亡了,pause一次怪物潮") + ScriptLib.InitTimeAxis(context,"MONSTER_CREATE_MIN_INTERVAL_AXIS",time_axis.monster_create_min_interval_axis,false) + LF_Try_Pause_Monster_Tide(context) + ScriptLib.SetGroupVariableValue(context,"has_paused_by_minion_die",1) + end + end + end + return 0 +end + +--有怪死亡时,计分,并更新fever条 +function action_monster_die_before_leave_scene(context,evt) + local monster_eid = evt.source_eid + local monster_cid = evt.param1 + local is_elite = LF_Is_Elite(context,monster_cid) + + if (is_elite) then + + if (LF_Is_Current_Elite_All_Dead(context)) then + ScriptLib.PrintContextLog(context,"## [CrystalLink] monster die:本轮次的精英怪死完了,精英怪重新开始计时") + --精英死亡时,重新开始计时 + ScriptLib.EndTimeAxis(context,"ELITE_AXIS") + ScriptLib.InitTimeAxis(context,"ELITE_AXIS",time_axis.elite_axis,false) + --精英死亡时,重新开始精英怪预警计时 + ScriptLib.EndTimeAxis(context,"ELITE_PREVIEW_REMINDER_AXIS") + ScriptLib.InitTimeAxis(context,"ELITE_PREVIEW_REMINDER_AXIS",time_axis.elite_preview_reminder_axis,false) + + --精英怪死亡时,可能波次已经推进且场上小怪死完,但小怪是在波次推进之前死完的,无法触发这个事件 + if (LF_Is_Current_Minion_All_Dead(context) and LF_Monster_Tide_Index_Has_Move_Forward(context)) then + ScriptLib.SetGroupVariableValue(context,"current_tide_all_killed", 1) + end + --精英怪死亡,create or continue + LF_Try_Continue_Or_Create_Monster_Tide(context) + end + end + --根据怪物eid计分 + LF_Update_Score(context,monster_eid) + return 0 +end + + +--gallery倒计时结束,开始清理玩法 +function action_gallery_stop(context,evt) + --如果gallery时间到结算,则执行一次当前轮次玩法结算流程,否则是其他情况强行中断,直接使地城fail + ScriptLib.PrintContextLog(context,"## [CrystalLink] gallery stop: Gallery终止,原因为:"..evt.param3) + if evt.param3 == 1 then + LF_Stop_Play(context) + end + return 0 +end + +--团灭,直接结束玩法 +function action_dungeon_all_avatar_die(context,evt) + + --触发事件时做一次校验,只在当前激活的group做清理 + local is_active = ScriptLib.GetGroupVariableValue(context,"is_active") + if (is_active == 1) then + ScriptLib.CauseDungeonFail(context) + end + return 0 +end + + +--副本结算,结束玩法 +function action_dungeon_settle(context,evt) + + --触发事件时做一次校验,只在当前激活的group做清理 + local is_active = ScriptLib.GetGroupVariableValue(context,"is_active") + if (is_active == 1) then + + LF_Immediate_Stop_Play(context) + ScriptLib.CauseDungeonSuccess(context) + end + + return 0 +end + +------------------------------------------------------------------ +--辅助方法--------------------------------------------------------- +------------------------------------------------------------------ + + +--关卡相关方法----------------------------------------------------- + +--初始化玩法,加载操作台等物件 +function LF_Init_Play(context) + + ScriptLib.PrintContextLog(context,"## [CrystalLink] LF Init Play: ----------玩法初始化开始----------") + + --先将当前group置为激活状态 + ScriptLib.SetGroupVariableValue(context,"is_active",1) + ScriptLib.CreateGadget(context,{config_id = defs.worktop_id}) + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, defs.worktop_id, {local_defs.worktop_option}) + --加载环境氛围物件 + ScriptLib.AddExtraGroupSuite(context,base_info.group_id,defs.environment_suite) + --上半场开场,将team上的半场SGV记录为0 + if (defs.play_round == 1) then + LF_Set_Team_Global_Value(context,"SGV_CLEAR_LEVEL",0) + end + --如果是下半场,需要直接将振晶石切换到上半场的状态 + if (defs.play_round == 2) then + local current_fever = ScriptLib.GetGroupVariableValue(context,"current_fever") + local fever_level = LF_Get_Fever_Level(context,current_fever) + LF_Activate_Environment_Gadget(context,fever_level) + end + ScriptLib.PrintContextLog(context,"## [CrystalLink] LF Init Play: ----------玩法初始化结束----------") +end + +--启动玩法方法,初始化各种东西 +function LF_Start_Play(context) + + ScriptLib.PrintContextLog(context,"## [CrystalLink] LF Start Play: ----------玩法启动开始----------") + + + --先启动gallery并设置热度条 + ScriptLib.StartGallery(context, defs.gallery_id) + ScriptLib.InitGalleryProgressScore(context, "fever", defs.gallery_id, fever_progress_table, GalleryProgressScoreUIType.GALLERY_PROGRESS_SCORE_UI_TYPE_CRYSTAL_LINK, GalleryProgressScoreType.GALLERY_PROGRESS_SCORE_NO_DEGRADE) + + --如果是下半场,在开场的时候用current_fever刷新一次fever值,把上半场的fever带过来 + if (defs.play_round == 2) then + local current_fever = ScriptLib.GetGroupVariableValue(context,"current_fever") + LF_Update_Fever(context,current_fever) + end + --启动各种时间轴 + ScriptLib.InitTimeAxis(context,"FEVER_AXIS",time_axis.fever_axis,true) + ScriptLib.InitTimeAxis(context,"MINION_TIDE_AXIS",time_axis.minion_tide_axis,true) + ScriptLib.InitTimeAxis(context,"ELITE_TIDE_AXIS",time_axis.elite_tide_axis,true) + ScriptLib.InitTimeAxis(context,"ELITE_AXIS",time_axis.elite_axis,false) + ScriptLib.InitTimeAxis(context,"ELITE_PREVIEW_REMINDER_AXIS",time_axis.elite_preview_reminder_axis,false) + ScriptLib.InitTimeAxis(context,"ATTENUATION_INTERVAL_AXIS",time_axis.attenuation_interval_axis,false) + ScriptLib.InitTimeAxis(context,"ADD_FEVER_CHECK_WINDOW_AXIS",time_axis.add_fever_check_window_axis,true) + + --玩法变量初始化 + --设置怪物潮编号(仅用于内部怪物潮自增计数) + LF_Set_Current_Tide_Num(context,0) + --设置怪物潮波次 + LF_Set_Current_Monster_Tide(context,1) + --设置精英怪波次 + LF_Set_Current_Elite_Index(context,1) + + + --local current_monster_tide = LF_Get_Current_Monster_Tide(context) + --LF_Create_Monster_Tide(context,current_monster_tide) + --开始生成第一波怪物潮 + LF_Try_Continue_Or_Create_Monster_Tide(context) + + --加载空气墙 + ScriptLib.CreateGadget(context,{config_id = defs.airwall}) + + ScriptLib.PrintContextLog(context,"## [CrystalLink] LF Start Play: ----------玩法启动结束----------") +end + +--终止玩法方法,关掉各种东西 +function LF_Stop_Play(context) + ScriptLib.PrintContextLog(context,"## [CrystalLink] LF Stop Play: ----------当前玩法轮次开始结束----------") + LF_Play_Clear_All(context) + --玩法自然结束时,将group设置为未激活状态 + ScriptLib.SetGroupVariableValue(context,"is_active",0) + if (defs.play_round == 1) then + --上半场结束,让下半场开始加载 + ScriptLib.PrintContextLog(context,"## [CrystalLink] LF Stop Play: 当前为上半场挑战结束,切换到下半场") + --将当前热度值转移到下半场 + local current_fever = ScriptLib.GetGalleryProgressScore(context, "fever", defs.gallery_id) + ScriptLib.SetGroupVariableValueByGroup(context,"current_fever",current_fever,defs.next_play_group) + ScriptLib.SetGroupVariableValueByGroup(context,"can_start",1,defs.next_play_group) + + LF_Set_Team_Global_Value(context,"SGV_CLEAR_LEVEL",1) + if ScriptLib.CrystalLinkDungeonTeamSetUp(context,2,{init_gallery_progress=current_fever})~=0 then + ScriptLib.PrintContextLog(context,"## [CrystalLink] LF Stop Play: 切换队伍失败,直接结束地城") + ScriptLib.CauseDungeonFail(context) + end + else + --下半场结束,地城结算 + ScriptLib.PrintContextLog(context,"## [CrystalLink] LF Stop Play: 当前为下半场挑战结束,地城结算") + ScriptLib.CauseDungeonSuccess(context) + end + ScriptLib.PrintContextLog(context,"## [CrystalLink] LF Stop Play: ----------当前玩法轮次结束----------") +end + + +--立刻终止玩法,用于玩家地城退出或团灭等情况 +function LF_Immediate_Stop_Play(context,is_success) + ScriptLib.PrintContextLog(context,"## [CrystalLink] LF Stop Play: ----------玩法需要立刻结束----------") + LF_Play_Clear_All(context) + ScriptLib.StopGallery(context,defs.gallery_id,false) + ScriptLib.PrintContextLog(context,"## [CrystalLink] LF Stop Play: ----------玩法结束,地城结算----------") +end + + +--清理玩法数据方法,将当前开启的物件、怪物、时间轴全部清空 +function LF_Play_Clear_All(context) + ScriptLib.PrintContextLog(context,"## [CrystalLink] LF Clear Play All: ----------开始清理当前玩法数据----------") + --清理一下操作台和环境物件,防止其他问题 + --ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, defs.airwall) + ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, defs.worktop_id) + ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, defs.environment_suite) + --玩法结束,清理掉当前的怪物潮和精英怪 + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + ScriptLib.KillMonsterTide(context, base_info.group_id, current_monster_tide) + + --清干净场上残存的怪物 + local alive_monster_list = ScriptLib.GetGroupAliveMonsterList(context,base_info.group_id) + for i = 1,#alive_monster_list do + ScriptLib.PrintContextLog(context,"## [CrystalLink] LF Clear Play All: 清理在场monster "..alive_monster_list[i]) + ScriptLib.RemoveEntityByConfigId(context,base_info.group_id,EntityType.MONSTER,alive_monster_list[i]) + end + + --结束各个时间轴 + ScriptLib.EndTimeAxis(context,"FEVER_AXIS") + ScriptLib.EndTimeAxis(context,"MINION_TIDE_AXIS") + ScriptLib.EndTimeAxis(context,"ELITE_AXIS") + ScriptLib.EndTimeAxis(context,"ELITE_TIDE_AXIS") + ScriptLib.EndTimeAxis(context,"ELITE_PREVIEW_REMINDER_AXIS") + ScriptLib.EndTimeAxis(context,"ATTENUATION_INTERVAL_AXIS") + ScriptLib.EndTimeAxis(context,"ADD_FEVER_CHECK_WINDOW_AXIS") + ScriptLib.EndTimeAxis(context,"MONSTER_CREATE_MIN_INTERVAL_AXIS") + ScriptLib.PrintContextLog(context,"## [CrystalLink] LF Clear Play All: ----------清理当前玩法数据结束----------") + +end + +--启动一波指定ID的怪物潮,需要传入该波怪物潮的ID(具体配置在miscs中定义) +function LF_Create_Monster_Tide(context,monster_tide_index) + ScriptLib.PrintContextLog(context,"## [CrystalLink] Create Monster Tide: ----------开始生成一波怪物潮,怪物潮索引为 = "..monster_tide_index.."----------") + local monster_config_id_list = monster_tide[monster_tide_index] + + --增加怪物潮的计数,下一次开启时index会+1,防止索引到同一波怪物潮 + local tide_num = LF_Get_Current_Tide_Num(context) + LF_Set_Current_Tide_Num(context,tide_num+1) + + local min = monster_tide_count[monster_tide_index].min + local max = monster_tide_count[monster_tide_index].max + ScriptLib.AutoMonsterTide(context, tide_num+1, base_info.group_id, monster_config_id_list, 0, min ,max) + + --创建一波怪物潮后,将当前怪物潮的index记下来,方便怪物潮指针前进后的比对 + ScriptLib.SetGroupVariableValue(context,"last_created_tide_index",monster_tide_index) + --重置记录monstertide的变量 + ScriptLib.SetGroupVariableValue(context,"current_tide_all_killed",0) + + ScriptLib.PrintContextLog(context,"## [CrystalLink] Create Monster Tide: ----------怪物潮生成结束----------") + + +end + +--召唤指定ID的精英怪组 +function LF_Create_Elite_Monster(context,elite_index) + ScriptLib.PrintContextLog(context,"## [CrystalLink] Create Elite Monster: ----------开始生成精英怪,精英怪索引为 = "..elite_index.."----------") + + local elite_list = elite[elite_index] + + math.randomseed(ScriptLib.GetServerTime(context)) + local point_index=math.random(#elite_born_points) + local points = elite_born_points[point_index] + + for i = 1,#elite_list do + local born_point = LF_Get_Point(context,points[i]) + ScriptLib.CreateMonsterByConfigIdByPos(context, elite_list[i],born_point.pos,born_point.rot) + end + + ScriptLib.PrintContextLog(context,"## [CrystalLink] Create Elite Monster: ----------精英怪生成结束----------") +end + + +--以下为怪物潮的暂停、继续、生成操作。为了保证逻辑之间耦合正确,所有对怪物潮的操作都要走这2个接口 +--尝试暂停怪物潮 +function LF_Try_Pause_Monster_Tide(context) + ScriptLib.PrintContextLog(context,"## [CrystalLink]LF_Try_Pause_Monster_Tide:尝试暂停怪物潮") + LF_Push_Pause_Operation(context) + ScriptLib.PauseAutoMonsterTide(context, base_info.group_id, LF_Get_Current_Tide_Num(context)) +end + +--尝试重启或新建当前怪物潮 +function LF_Try_Continue_Or_Create_Monster_Tide(context) + ScriptLib.PrintContextLog(context,"## [CrystalLink]LF_Try_Continue_Or_Create_Monster_Tide:尝试重启或新建怪物潮") + LF_Pop_Pause_Operation(context) + if (LF_Is_Pause_Operation_Stack_Empty(context)) then + if (LF_Is_Current_Tide_All_Killed(context)) then + ScriptLib.PrintContextLog(context,"## [CrystalLink]LF_Try_Continue_Or_Create_Monster_Tide:当前波次怪物死完,新建怪物潮") + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + LF_Create_Monster_Tide(context,current_monster_tide) + else + ScriptLib.PrintContextLog(context,"## [CrystalLink]LF_Try_Continue_Or_Create_Monster_Tide:当前波次怪物未死完,重启怪物潮") + ScriptLib.ContinueAutoMonster(context, base_info.group_id, LF_Get_Current_Tide_Num(context)) + end + + end +end + + +--尝试pause,向栈内push一个pause操作 +function LF_Push_Pause_Operation(context) + ScriptLib.ChangeGroupVariableValue(context,"pause_operation_num",1) +end + +--尝试重启或新建怪物潮,从栈内pop一个pause操作 +function LF_Pop_Pause_Operation(context) + if (not LF_Is_Pause_Operation_Stack_Empty(context)) then + ScriptLib.ChangeGroupVariableValue(context,"pause_operation_num",-1) + end +end + +--返回Pause操作栈是否为空 +function LF_Is_Pause_Operation_Stack_Empty(context) + local pause_operation_num = ScriptLib.GetGroupVariableValue(context,"pause_operation_num") + ScriptLib.PrintContextLog(context,"## [CrystalLink]LF_Is_Pause_Operation_Stack_Empty: Pause指令计数为"..pause_operation_num) + return pause_operation_num == 0 +end + +--通用类方法------------------------------------------------------- + +--切换场上的场景氛围物件状态 +function LF_Activate_Environment_Gadget(context,fever_level) + ScriptLib.PrintContextLog(context,"## [CrystalLink] Activate Environment Gadget: ----------激活场景物件!----------") + + if (ReactionGems == nil) then + return 0 + end + + if (fever_level < #fever_progress_table-2) then + for i = 1, fever_level do + ScriptLib.SetGroupGadgetStateByConfigId(context,base_info.group_id,ReactionGems[i][1],201) + ScriptLib.SetGroupGadgetStateByConfigId(context,base_info.group_id,ReactionGems[i][2],201) + end + else + for i = 1, #ReactionGems do + ScriptLib.SetGroupGadgetStateByConfigId(context,base_info.group_id,ReactionGems[i][1],202) + ScriptLib.SetGroupGadgetStateByConfigId(context,base_info.group_id,ReactionGems[i][2],202) + end + end + + ScriptLib.PrintContextLog(context,"## [CrystalLink] Activate Environment Gadget: ----------激活场景物件结束!----------") +end + +--给team挂global value,角色处理各种特殊效果 +function LF_Set_Team_Global_Value(context,gv_name,value) + ScriptLib.PrintContextLog(context,"## [CrystalLink] Set Team GV: ----------开始向team写gv: "..gv_name.." = "..value.."----------") + local uid = ScriptLib.GetSceneOwnerUid(context) + ScriptLib.SetTeamServerGlobalValue(context, uid, gv_name, value) + ScriptLib.PrintContextLog(context,"## [CrystalLink] Set Team GV: ----------设置team gv结束----------") +end + + +-----CRUD类方法---------------------------------------------------- + +--更新fever条,fever_delta为fever条改变值 +--增补需求:单位m时间内,获取的fever的次数存在上限,超过上限后,无法继续增加fever +--增补需求:超过一定时间未增加fever后,fever开始衰减 +function LF_Update_Fever(context,fever_delta) + + --增加fever的情况 + if (fever_delta>0) then + local add_fever_times = ScriptLib.GetGroupTempValue(context,"add_fever_times",{}) + --如果增加的次数小于上限,则允许增加,并次数+1 + if (add_fever_times=lower_bound and fever=lower_bound and fever #elite) then + index = #elite + end + ScriptLib.SetGroupVariableValue(context,"current_elite",index) +end + +--获取当前大怪的进度index +function LF_Get_Current_Elite_Index(context) + local elite_index = ScriptLib.GetGroupVariableValue(context,"current_elite") + return elite_index +end + +--设置当前怪物潮波次的index +function LF_Set_Current_Monster_Tide(context,index) + --做一下校验,如果超出monster_tide范围,则强制限定到monster_tide范围内 + if (index > #monster_tide) then + index = #monster_tide + end + ScriptLib.SetGroupVariableValue(context,"current_monster_tide",index) +end + +--获取当前怪物潮波次的index +function LF_Get_Current_Monster_Tide(context) + local monster_tide = ScriptLib.GetGroupVariableValue(context,"current_monster_tide") + return monster_tide +end + + +--设置当前怪物潮的波次数(注意这不是怪物潮的index,只是用来给怪物潮进行自增计数的变量)。每次创建怪物潮会使波次数+1,方便索引新的怪物潮 +function LF_Set_Current_Tide_Num(context,value) + ScriptLib.SetGroupTempValue(context, "MinionTide", value, {}) +end + +--获取当前怪物潮的波次数(注意这不是怪物潮的index,只是用来给怪物潮进行自增计数的变量)。每次创建怪物潮会使波次数+1,方便索引新的怪物潮 +function LF_Get_Current_Tide_Num(context) + return ScriptLib.GetGroupTempValue(context, "MinionTide", {}) +end + + + +--根据config id 返回一个点位 +function LF_Get_Point(context,point_cid) + for i = 1,#points do + if (points[i].config_id == point_cid) then + return points[i] + end + end + return -1 +end + +--根据gadget的config_id查询gadget_id +function LF_Get_Gadget_Id_By_Config_Id(context, config_id) + for i = 1,#gadgets do + if (gadgets[i].config_id == config_id) then + return gadgets[i].gadget_id + end + end + return 0 +end + + +--返回一个指定configid的怪物是否是大怪 +function LF_Is_Elite(context,monster_cid) + for i = 1,#elite do + for j = 1,#elite[i] do + if monster_cid == elite[i][j] then + return true + end + end + end + return false +end + +--返回当前场上精英怪是否全死了 +function LF_Is_Current_Elite_All_Dead(context) + + local alive_monster_list = ScriptLib.GetGroupAliveMonsterList(context,base_info.group_id) + for i = 1, #alive_monster_list do + if (LF_Is_Elite(context,alive_monster_list[i])) then + return false + end + end + return true +end + +--返回当前场上小怪是否全死了 +function LF_Is_Current_Minion_All_Dead(context) + + local alive_monster_list = ScriptLib.GetGroupAliveMonsterList(context,base_info.group_id) + for i = 1, #alive_monster_list do + if (not LF_Is_Elite(context,alive_monster_list[i])) then + return false + end + end + return true +end + + + +--返回当前场上是否已经没怪了 +function LF_Is_Monster_All_Dead(context) + return #ScriptLib.GetGroupAliveMonsterList(context,0) == 0 +end + + +function LF_Get_Current_Tide_Max(context) + local current_tide = LF_Get_Current_Monster_Tide(context) + return monster_tide_count[current_tide].max +end + + +--返回怪物潮index是否已经推进 +function LF_Monster_Tide_Index_Has_Move_Forward(context) + local last_created_tide_index = ScriptLib.GetGroupVariableValue(context,"last_created_tide_index") + local current_tide_index = LF_Get_Current_Monster_Tide(context) + if (last_created_tide_index == current_tide_index) then + return false + end + return true +end + +function LF_Is_Current_Tide_All_Killed(context) + return ScriptLib.GetGroupVariableValue(context,"current_tide_all_killed") == 1 +end + +------------------------------------------------------------------ +--server lua call------------------------------------------------- + +function SLC_Add_Fever(context) + ScriptLib.PrintContextLog(context,"## [CrystalLink]SLC_Add_Fever:---------SLC: 连线buff触发,fever增加!---------") + LF_Update_Fever(context,defs.buff_fever) + ScriptLib.PrintContextLog(context,"## [CrystalLink]SLC_Update buff Icon State:---------SLC: 连线buff触发处理完成---------") + return 0 +end + + +------------------------------------------------------------------ +Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V2_6/IrodoriMaster.lua b/Resources/Scripts/Common/V2_6/IrodoriMaster.lua index e69de29bb..61a0c926c 100644 --- a/Resources/Scripts/Common/V2_6/IrodoriMaster.lua +++ b/Resources/Scripts/Common/V2_6/IrodoriMaster.lua @@ -0,0 +1,188 @@ +--[[====================================== +|| filename: IrodoriMaster +|| owner: luyao.huang +|| description: 2.6容彩祭-剑道大师挑战 +|| LogName: IrodoriMaster +|| Protection: +=======================================]]-- + +------ +--local defs = { +-- challenge_time = 240, +-- hard_challenge_time = 120, +-- father_challenge_id = 123, +-- normal_challenge_id = 1234, +-- hard_challenge_id = 1235, +-- gallery_id = 123456, +-- swordmaster_id = 120, +--} +local local_defs = +{ + swordmaster_reminder_hp_ratio = 50 +} +local Tri = { + [1] = { name = "select_difficulty", config_id = 8000001, event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "", action = "action_select_difficulty", trigger_count = 0}, + [2] = { name = "irodori_master_ready", config_id = 8000002, event = EventType.EVENT_IRODORI_MASTER_READY, source = "", condition = "", action = "action_irodori_master_ready", trigger_count = 0}, + [3] = { name = "challenge_success", config_id = 8000003, event = EventType.EVENT_CHALLENGE_SUCCESS, source = "", condition = "", action = "action_challenge_success", trigger_count = 0}, + [4] = { name = "challenge_fail", config_id = 8000004, event = EventType.EVENT_CHALLENGE_FAIL, source = "", condition = "", action = "action_challenge_fail", trigger_count = 0}, + --[5] = { name = "leave_region", config_id = 8000005, event = EventType.EVENT_LEAVE_REGION, source = "", condition = "", action = "action_leave_region", trigger_count = 0}, + [6] = { name = "group_will_unload", config_id = 8000006, event = EventType.EVENT_GROUP_WILL_UNLOAD, source = "", condition = "", action = "action_group_will_unload", trigger_count = 0}, + [7] = { name = "specific_monster_hp_change_1", config_id = 80000007, event = EventType.EVENT_SPECIFIC_MONSTER_HP_CHANGE, source = tostring(swordmaster_id[1]), condition = "condition_specific_monster_hp_change", action = "action_specific_monster_hp_change_1", trigger_count = 1}, + [8] = { name = "specific_monster_hp_change_2", config_id = 80000008, event = EventType.EVENT_SPECIFIC_MONSTER_HP_CHANGE, source = tostring(swordmaster_id[2]), condition = "condition_specific_monster_hp_change", action = "action_specific_monster_hp_change_2", trigger_count = 1}, + [9] = { name = "specific_monster_hp_change_3", config_id = 80000009, event = EventType.EVENT_SPECIFIC_MONSTER_HP_CHANGE, source = tostring(swordmaster_id[3]), condition = "condition_specific_monster_hp_change", action = "action_specific_monster_hp_change_3", trigger_count = 1}, + +} + +function Initialize() + for k,v in pairs(Tri) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + +end + +------------------------------------------------------------------ + +--选择难度后,加载剑道大师、空气墙,并卸载剑道大师NPC +function action_select_difficulty(context,evt) + ScriptLib.PrintContextLog(context,"## [IrodoriMaster] action_select_difficulty: 玩家选择挑战难度,加载对应suite") + + local difficulty = evt.param3 + ScriptLib.SetGroupTempValue(context, "current_difficulty", difficulty, { group_id = base_info.group_id}) + ScriptLib.PrintContextLog(context,"## [IrodoriMaster] action_select_difficulty: 选择的难度为"..difficulty) + LF_Init_Play(context,difficulty) + return 0 +end + +--挑战开启前准备工作准备完毕,正式开启挑战 +function action_irodori_master_ready(context,evt) + + ScriptLib.PrintContextLog(context,"## [IrodoriMaster] action_cutscene_end: 前置工作完成,开启挑战") + + local uidList = ScriptLib.GetSceneUidList(context) + local difficulty = ScriptLib.GetGroupTempValue(context, "current_difficulty", { group_id = base_info.group_id}) + + --播完cutscene之后,创建剑道大师怪物 + ScriptLib.CreateMonster(context, { config_id = swordmaster_id[difficulty], delay_time = 0 }) + + + ScriptLib.CreateFatherChallenge(context, 1, defs.father_challenge_id, defs.challenge_time, {success = 5, fail = 10}) + --先开,再attach,给子挑战保序 + ScriptLib.StartFatherChallenge(context,1) + ScriptLib.AttachChildChallenge(context,1, 11, defs.normal_challenge_id,{defs.challenge_time,base_info.group_id,swordmaster_id[difficulty]},{uidList[1]},{success = 5,fail = 10}) --普通挑战 + + --只有中等难度有两个挑战目标 + if (difficulty == 2) then + ScriptLib.AttachChildChallenge(context,1, 10, defs.hard_challenge_id,{defs.hard_challenge_time,base_info.group_id,swordmaster_id[difficulty]},{uidList[1]},{success = 0,fail = 0}) --优秀挑战 + end + return 0 +end + +--处理挑战成功 +function action_challenge_success(context,evt) + local success_challenge_id = evt.param1 + if (success_challenge_id == defs.normal_challenge_id) then + ScriptLib.PrintContextLog(context,"## [IrodoriMaster] action_challenge_success: 普通挑战成功") + LF_Clear_Stage(context) + --普通挑战成功、优秀挑战失败 + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["is_finish"] = true, ["timeout"] = false}) + end + if (success_challenge_id == defs.hard_challenge_id) then + ScriptLib.PrintContextLog(context,"## [IrodoriMaster] action_challenge_success: 优秀挑战成功") + LF_Clear_Stage(context) + --普通挑战成功、优秀挑战成功 + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["is_finish"] = true, ["timeout"] = false}) + end + return 0 +end + +--处理挑战失败 +function action_challenge_fail(context,evt) + local fail_challenge_id = evt.param1 + if (fail_challenge_id == defs.father_challenge_id) then + ScriptLib.PrintContextLog(context,"## [IrodoriMaster] action_challenge_fail: 父挑战失败") + LF_Clear_Stage(context) + --只需要处理父挑战失败:普通挑战失败,则父挑战失败;优秀挑战失败,则无事发生 + if (evt.param2 <= 0) then + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["is_finish"] = false, ["timeout"] = true}) + else + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["is_finish"] = false, ["timeout"] = false}) + end + end + return 0 +end + + +--group意外卸载保护 +function action_group_will_unload(context,evt) + ScriptLib.PrintContextLog(context,"## [IrodoriMaster] action_group_will_unload:group即将卸载,回滚所有玩法状态") + LF_Reset_Play(context) + return 0 +end + +function condition_specific_monster_hp_change(context,evt) + if evt.param3 <= local_defs.swordmaster_reminder_hp_ratio then + return true + end + return false +end + + +--剑道大师低血量说话 +function action_specific_monster_hp_change_1(context,evt) + ScriptLib.ShowReminder(context,defs.swordmaster_reminder_id) + return 0 +end + +--剑道大师低血量说话 +function action_specific_monster_hp_change_2(context,evt) + ScriptLib.ShowReminder(context,defs.swordmaster_reminder_id) + return 0 +end + +--剑道大师低血量说话 +function action_specific_monster_hp_change_3(context,evt) + ScriptLib.ShowReminder(context,defs.swordmaster_reminder_id) + return 0 +end + +------------------------------------------------------------------ + +function LF_Init_Play(context, difficulty) + ScriptLib.CreateGadget(context, { config_id = defs.airwall_id}) + --隐藏剑道大师NPC + ScriptLib.RefreshGroup(context, { group_id = defs.NPC_group_id, suite = 2}) + --屏蔽天气 + ScriptLib.SetWeatherAreaState(context, defs.weather_id, 1) +end + + +function LF_Clear_Stage(context) + --恢复剑道大师NPC + ScriptLib.RefreshGroup(context, { group_id = defs.NPC_group_id, suite = 1}) + ScriptLib.PrintContextLog(context,"## [IrodoriMaster] LF_Reset_Play:开始重置玩法") + --移除空气墙 + local ret1 = ScriptLib.RemoveEntityByConfigId(context,0,EntityType.GADGET, defs.airwall_id) + ScriptLib.PrintContextLog(context,"## [IrodoriMaster] LF_Reset_Play:移除空气墙"..ret1) + --移除怪物 + --local difficulty = ScriptLib.GetGroupTempValue(context,"current_difficulty",{}) + --local ret2 = ScriptLib.RemoveEntityByConfigId(context,0,EntityType.MONSTER, swordmaster_id[difficulty]) + --ScriptLib.PrintContextLog(context,"## [IrodoriMaster] LF_Reset_Play:移除怪物"..ret2) + --开启天气 + ScriptLib.SetWeatherAreaState(context, defs.weather_id, 0) +end + + +--重置玩法的方法 +function LF_Reset_Play(context) + LF_Clear_Stage(context) + --强行以失败终止挑战 + ScriptLib.StopChallenge(context,defs.normal_challenge_id,0) + ScriptLib.StopChallenge(context,defs.hard_challenge_id,0) + ScriptLib.StopChallenge(context,defs.father_challenge_id,0) +end + + + +------------------------------------------------------------------ +Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V2_6/PhotographActivity.lua b/Resources/Scripts/Common/V2_6/PhotographActivity.lua index e69de29bb..9dd7cf6e0 100644 --- a/Resources/Scripts/Common/V2_6/PhotographActivity.lua +++ b/Resources/Scripts/Common/V2_6/PhotographActivity.lua @@ -0,0 +1,190 @@ +--[[====================================== +|| filename: PhotographActivity +|| owner: luyao.huang +|| description: 2.6拍照活动 +|| LogName: PhotographActivity +|| Protection: +=======================================]]-- + +------ +--local defs = { +-- worktop_id = 10001, +-- gallery_id = 18001, +-- region_id = 20001, +-- client_judge_id = 1 +--} + +local local_defs = { + worktop_option = 190, + region_out_reminder = 600106, +} + +local Tri = { + [1] = { name = "group_load", config_id = 40000000, event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0}, + [3] = { name = "select_option", config_id = 40000002, event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_select_option", trigger_count = 0}, + [4] = { name = "photo_finish", config_id = 40000003, event = EventType.EVENT_PHOTO_FINISH, source = "", condition = "", action = "action_photo_finish", trigger_count = 0}, + [5] = { name = "leave_region", config_id = 40000004, event = EventType.EVENT_LEAVE_REGION, source = "", condition = "", action = "action_leave_region", trigger_count = 0}, + [6] = { name = "group_will_unload", config_id = 40000005, event = EventType.EVENT_GROUP_WILL_UNLOAD, source = "", condition = "", action = "action_group_will_unload", trigger_count = 0}, + [7] = { name = "gallery_stop", config_id = 40000006, event = EventType.EVENT_GALLERY_STOP, source = "", condition = "", action = "action_gallery_stop", trigger_count = 0}, + +} + +function Initialize() + for k,v in pairs(Tri) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + table.insert(variables,{ config_id=50000001,name = "has_succeeded", value = 0, no_refresh = true}) +end + +------------------------------------------------------------------ + +--group load后,根据当前玩法状态,恢复物件表现 +function action_group_load(context,evt) + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_group_load:group加载,恢复玩法状态") + --group load时做一次校验,如果之前成功后,group未被正确反注册,则在group_load时手动完成一次玩法 + --if (not LF_Has_Succeeded(context)) then + LF_Init_Play(context) + --else + -- LF_Stop_Play(context,true) + --end + return 0 +end + +--玩家与选项交互,开启挑战 +function action_select_option(context,evt) + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_select_option: 玩家与选项交互,开启玩法") + LF_Start_Play(context) + return 0 +end + +--挑战成功处理 +--拍照成功,以成功结束gallery,并流转group状态 +function action_photo_finish(context,evt) + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_photo_finish: 收到推送的拍照成功消息") + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_photo_finish: gallery id为"..evt.param1) + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_photo_finish: 客户端逻辑id为"..evt.param2) + --对客户端推送的拍照成功消息做一次校验 + if (evt.param1 == defs.gallery_id and evt.param2 == defs.client_judge_id) then + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_photo_finish: 拍照成功") + LF_Stop_Play(context,true) + end + return 0 +end + + +--挑战失败处理 +--失败情况1:玩家出圈 +function action_leave_region(context,evt) + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_leave_region: 玩家出圈") + --校验当前玩法状态,只有未完成状态的group才能回滚到初始状态 + --if (evt.param1 == defs.region_id and not LF_Has_Succeeded(context) and ScriptLib.IsGalleryStart(context,defs.gallery_id)) then + if (evt.param1 == defs.region_id and ScriptLib.IsGalleryStart(context,defs.gallery_id)) then + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_leave_region: 挑战失败,并回滚group状态") + ScriptLib.ShowReminder(context, local_defs.region_out_reminder) + LF_Stop_Play(context,false) + end + return 0 +end + +--失败情况2:group即将卸载 +function action_group_will_unload(context,evt) + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_group_will_unload: group即将卸载") + --校验当前玩法状态,只有未完成状态的group才能回滚到初始状态 + --if (not LF_Has_Succeeded(context) and ScriptLib.IsGalleryStart(context,defs.gallery_id)) then + if (ScriptLib.IsGalleryStart(context,defs.gallery_id)) then + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_group_will_unload: 回退至初始状态作为保护") + LF_Stop_Play(context,false) + end + return 0 +end + +--失败情况3:灭队 +function action_gallery_stop(context,evt) + if (evt.param3 == 0) then + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_gallery_stop: 灭队") + LF_Stop_Play(context,false) + end + + return 0 +end + +------------------------------------------------------------------ +------------------------流程相关---------------------------------- +--初始化玩法 +--加载操作台并上选项 +function LF_Init_Play(context) + --操作台激活 + LF_Set_Worktop(context,true) + --卸载打点suite + LF_Set_Photo_Point_Suite(context,false) +end + +--开启玩法 +function LF_Start_Play(context) + --先尝试启动gallery,如果未成功,则直接返回 + if (ScriptLib.SetPlayerStartGallery(context, defs.gallery_id, {ScriptLib.GetSceneOwnerUid(context)}) ~= 0) then + return + end + --操作台转为未激活 + LF_Set_Worktop(context,false) + --加载打点suite + LF_Set_Photo_Point_Suite(context,true) + --显示黄圈 + ScriptLib.ActivateGroupLinkBundle(context, base_info.group_id) +end + +function LF_Stop_Play(context, is_success) + --卸载打点suite + --LF_Set_Photo_Point_Suite(context,false) + --关闭黄圈 + ScriptLib.DeactivateGroupLinkBundle(context, base_info.group_id) + if (is_success) then + --关闭操作台 + --LF_Set_Worktop(context,false) + ScriptLib.StopGallery(context,defs.gallery_id,false) + --ScriptLib.SetGroupVariableValue(context,"has_succeeded",1) + --ScriptLib.FinishGroupLinkBundle(context, base_info.group_id) + else + --lua里处理的都是出界StopGallery,所以Reason直接都给5 + ScriptLib.StopGalleryByReason(context,defs.gallery_id,5) + end + --重新做一次初始化的流程 + LF_Init_Play(context) +end + +------------------------group元素操作相关---------------------------------- +--设置操作台状态(包括设置gadgetState和上下选项) +function LF_Set_Worktop(context, is_active) + if (is_active) then + ScriptLib.SetGroupGadgetStateByConfigId(context, base_info.group_id, defs.worktop_id, 0) + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, defs.worktop_id, {local_defs.worktop_option}) + else + ScriptLib.SetGroupGadgetStateByConfigId(context, base_info.group_id, defs.worktop_id, 201) + ScriptLib.DelWorktopOptionByGroupId(context, base_info.group_id, defs.worktop_id, local_defs.worktop_option) + end +end + +--加载/卸载打点用suite +function LF_Set_Photo_Point_Suite(context,is_active) + if (is_active) then + if #suites>=2 then + --如果有配置打点用物件,将其加载出来 + ScriptLib.AddExtraGroupSuite(context,base_info.group_id,2) + end + else + if #suites>=2 then + --如果有配置打点用物件,清理加载出来的打点用物件 + ScriptLib.RemoveExtraGroupSuite(context,base_info.group_id,2) + end + end +end + +--返回当前group的玩法是否已经成功了 +--如果已经成功,group load时不能再重新开启玩法 +function LF_Has_Succeeded(context) + return ScriptLib.GetGroupVariableValue(context,"has_succeeded") == 1 +end + +------------------------------------------------------------------ +Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V2_6/TowerDefense_Challenge_V3.0.lua b/Resources/Scripts/Common/V2_6/TowerDefense_Challenge_V3.0.lua index 5d15f5421..968c50706 100644 --- a/Resources/Scripts/Common/V2_6/TowerDefense_Challenge_V3.0.lua +++ b/Resources/Scripts/Common/V2_6/TowerDefense_Challenge_V3.0.lua @@ -14,7 +14,7 @@ --[[ -- Trigger变量 - defs = { + local defs = { group_id = 245002001, gear_group_id = 245002002, route_guide_timer = 5, diff --git a/Resources/Scripts/Common/V2_6/TowerDefense_Gear_V3.0.lua b/Resources/Scripts/Common/V2_6/TowerDefense_Gear_V3.0.lua index 3d6a06133..760b4e93e 100644 --- a/Resources/Scripts/Common/V2_6/TowerDefense_Gear_V3.0.lua +++ b/Resources/Scripts/Common/V2_6/TowerDefense_Gear_V3.0.lua @@ -15,7 +15,7 @@ --[[ -- Trigger变量 - defs = { + local defs = { group_id = 245002002, fundation_id = 70350145, challange_group_id = 245002001, diff --git a/Resources/Scripts/Common/V2_6/TowerDefense_Monster_V3.0.lua b/Resources/Scripts/Common/V2_6/TowerDefense_Monster_V3.0.lua index 0e7b59b15..f50d1c627 100644 --- a/Resources/Scripts/Common/V2_6/TowerDefense_Monster_V3.0.lua +++ b/Resources/Scripts/Common/V2_6/TowerDefense_Monster_V3.0.lua @@ -15,7 +15,7 @@ --编辑器配置 --[[ - defs = { + local defs = { group_id = 245002003, gear_group_id = 245002002 } diff --git a/Resources/Scripts/Common/V2_6/TowerDefense_SpecialGears_V3.0.lua b/Resources/Scripts/Common/V2_6/TowerDefense_SpecialGears_V3.0.lua index 882487310..281c88615 100644 --- a/Resources/Scripts/Common/V2_6/TowerDefense_SpecialGears_V3.0.lua +++ b/Resources/Scripts/Common/V2_6/TowerDefense_SpecialGears_V3.0.lua @@ -15,7 +15,7 @@ --[[ -- Trigger变量 - defs = { + local defs = { group_id = 245002013, challenge_group_id = 245002001, close_cd = 5, diff --git a/Resources/Scripts/Common/V2_7/Activity_LumenCharge.lua b/Resources/Scripts/Common/V2_7/Activity_LumenCharge.lua index e69de29bb..88a3f430f 100644 --- a/Resources/Scripts/Common/V2_7/Activity_LumenCharge.lua +++ b/Resources/Scripts/Common/V2_7/Activity_LumenCharge.lua @@ -0,0 +1,498 @@ +--ServerUploadTool Save to [/root/env/data/lua/common/V2_7] +--====================================================================================================================== +--|| Filename || Activity_LumenCharge +--|| RelVersion || V2_7 +--|| Owner || chao-jin +--|| Description || +--|| LogName || ##[Activity_LumenCharge] +--|| Protection || +--====================================================================================================================== +--[[Defs & Miscs +local defs = { + challenge_time = 300, + pursina = 581032, + pursina_tip = 581105, + muds_lv1 = {581066,581067,581068,581069,581070,581071}, + muds_lv2 = {581014,581016}, + score_lv1 = 3, + score_lv2 = 6, + fail_region = 581197, +} + +local extra_info = { + start_operator = 581002, + lantern = 581011, +} + +local mud_list = { +--普通黑泥 +[581016] = { mud_id = 581009, cover_list= {}, respawn_time = 8, mutex_id = 0, score = 6, cover_content = {} }, +[581014] = { mud_id = 581008, cover_list= {}, respawn_time = 8, mutex_id = 0, score = 6, cover_content = {} }, + +--黑泥核心1 +[581066] = { mud_id = 581082, cover_list= {581094}, respawn_time = 4, mutex_id = 581067, score = 3, + cover_content = { + [1] = {581025}, + [2] = {581033}, + [3] = {581051}, + [4] = {581079}, + [5] = {581123},} +}, +--黑泥核心2 +[581068] = { mud_id = 581081, cover_list= {581095,581096}, respawn_time = 4, mutex_id = 581071, score = 3, + cover_content = { + [1] = {581020,581026}, + [2] = {581049,581044}, + [3] = {581054,581055}, + [4] = {581108,581080}, + [5] = {581127,581124},} +}, +--黑泥核心3 +[581069] = { mud_id = 581083, cover_list= {581093}, respawn_time = 4, mutex_id = 581070, score = 3, + cover_content = { + [1] = {581022}, + [2] = {581045}, + [3] = {581099}, + [4] = {581098}, + [5] = {581125},} +}, +--黑泥核心4 +[581067] = {mud_id = 581084, cover_list = {581091, 581092}, respawn_time = 6, mutex_id = 581066, score = 3, + cover_content = { + [1] = {581031,581036}, + [2] = {581053,581046}, + [3] = {581056,581100}, + [4] = {581101,581113}, + [5] = {581126,581128},}, +}, +--黑泥核心5 +[581070] = {mud_id = 581085, cover_list = {581087, 581088}, respawn_time = 6, mutex_id = 581069, score = 3, + cover_content = { + [1] = {581029,581039}, + [2] = {581047,581048}, + [3] = {581102,581103}, + [4] = {581115,581116}, + [5] = {581129,581130},}, +}, +--黑泥核心6 +[581071] = {mud_id = 581086, cover_list = {581017,581019,581089, 581090}, respawn_time = 6, mutex_id = 581068, score = 3, + cover_content = { + [1] = {581040,581041,581042,581043}, + [2] = {581052,581058,581059,581050}, + [3] = {581104,581106,581057,581076}, + [4] = {581078,581119,581118,581117}, + [5] = {581122,581131,581132,581139},}, +}, +} +--====================================================================================================================]] +--====================================================================================================================== + +local LumenCharge_Triggers = { + { config_id = 9100401, name = "group_load", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0}, + { config_id = 9100402, name = "add_charge_progress", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_add_charge_progress", action = "", trigger_count = 0, tag = "1001" }, + { config_id = 9100403, name = "variable_change", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "", action = "action_variable_change", trigger_count = 0,}, + { config_id = 9100404, name = "select_option", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_select_option", trigger_count = 0,}, + { config_id = 9100405, name = "challenge_success", event = EventType.EVENT_CHALLENGE_SUCCESS, source = "", condition = "", action = "action_challenge_success", trigger_count = 0,}, + { config_id = 9100406, name = "challenge_fail", event = EventType.EVENT_CHALLENGE_FAIL, source = "", condition = "", action = "action_challenge_fail", trigger_count = 0,}, + { config_id = 9100407, name = "any_gadget_die", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "", action = "action_any_gadget_die", trigger_count = 0}, + { config_id = 9100408, name = "leave_fail_region", event = EventType.EVENT_LEAVE_REGION, source = "", condition = "", action = "action_leave_fail_region", trigger_count = 0}, + { config_id = 9100409, name = "time_axis_pass", event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "", action = "action_time_axis_pass", trigger_count = 0}, +} +--Events +--Group加载时处理内容 +function action_group_load(context, evt) + ScriptLib.PrintContextLog(context,"##[LumenCharge]:加载Group") + ScriptLib.ActivateGroupLinkBundle(context, base_info.group_id) + LF_ResetAllValues(context) + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, extra_info.start_operator, {7}) + return 0 +end + +--处理进度计数,当能量增加时增加进度 +function condition_add_charge_progress(context, evt) + if evt.source_name == "energy" and evt.param1 ~= 0 then + return true + end + return false +end + +--处理能量进度变化时的进度显示 +function action_variable_change(context, evt) + if evt.source_name == "energy" then + --充能进度10%刷怪 + if evt.param1 == 10 then + ScriptLib.PrintContextLog(context,"##[LumenCharge]:刷新第1波怪") + ScriptLib.ChangeGroupVariableValue(context, "stage", 1) + ScriptLib.ShowReminder(context, 4000144) + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, 5) + ScriptLib.CreateGadget(context, {config_id = defs.enemy_gadget}) + -- ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, 9) + end + --充能进度35%刷怪 + if evt.param1 == 35 then + ScriptLib.PrintContextLog(context,"##[LumenCharge]:刷新第2波怪") + ScriptLib.ChangeGroupVariableValue(context, "stage", 1) + ScriptLib.ShowReminder(context, 4000144) + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, 6) + -- ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, 11) + end + --充能进度60%刷怪 + if evt.param1 == 60 then + ScriptLib.PrintContextLog(context,"##[LumenCharge]:刷新第3波怪") + ScriptLib.ChangeGroupVariableValue(context, "stage", 1) + ScriptLib.ShowReminder(context, 4000144) + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, 7) + -- ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, 13) + end + --充能进度85%刷怪 + if evt.param1 == 85 then + ScriptLib.PrintContextLog(context,"##[LumenCharge]:刷新第4波怪") + ScriptLib.ChangeGroupVariableValue(context, "stage", 1) + ScriptLib.ShowReminder(context, 4000144) + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, 17) + -- ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, 15) + --移除BGM物件 + if 0 ~= ScriptLib.GetEntityIdByConfigId(context, defs.enemy_gadget) then + ScriptLib.PrintContextLog(context,"##[LumenCharge]:移除BGM物件") + ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, defs.enemy_gadget) + end + end + end + return 0 +end + + +--玩家与操作台交互 +function action_select_option(context, evt) + if extra_info.start_operator ~= evt.param1 then + return 0 + end + + LF_ResetAllValues(context) + + ScriptLib.PrintContextLog(context,"##[LumenCharge]:开启挑战") + ScriptLib.CreateFatherChallenge(context, 1, 2009007, defs.challenge_time, {success = 10, fail = 5}) + ScriptLib.AttachChildChallenge(context, 1, 2009009, 2009009, { defs.challenge_time, 3, 1002, 100},{},{success = 1,fail = 1}) + ScriptLib.AttachChildChallenge(context, 1, 2009010, 2009010, { defs.challenge_time, 3, 1003, 100},{},{success = 1,fail = 1}) + ScriptLib.AttachChildChallenge(context, 1, 2009008, 2009008, { defs.challenge_time, 3, 1001, 100},{},{success = 10,fail = 5}) + ScriptLib.StartFatherChallenge(context,1) + + --启动reminder,开灯 + ScriptLib.ShowReminder(context, 4000143) + ScriptLib.SetGadgetStateByConfigId(context, extra_info.lantern, GadgetState.GearStart) + + --刷新黑泥对应Group + ScriptLib.AddExtraGroupSuite(context, 166001581, 2) + ScriptLib.AddExtraGroupSuite(context, 166001581, 3) + ScriptLib.AddExtraGroupSuite(context, 166001581, 4) + + --处理光钉,启动,嘲讽 + LF_StartPursina(context) + LF_SetPursinaMidSpeed(context) + --开启充能进度时间轴 + ScriptLib.DelWorktopOptionByGroupId(context, base_info.group_id, extra_info.start_operator, 7) + ScriptLib.InitTimeAxis(context, "energyBasic", {2}, true) + return 0 +end + +--玩家距离过远挑战失败 +function action_leave_fail_region(context, evt) + if evt.param1 == defs.fail_region then + ScriptLib.PrintContextLog(context,"##[LumenCharge]:玩家脱离战斗区域,手动结束挑战") + ScriptLib.StopChallenge(context, 1, 0) + end + return 0 +end + +--处理时间轴 +function action_time_axis_pass(context, evt) + --充能的时间轴 + if evt.source_name == "energyBasic" then + --增加进度 + ScriptLib.ChangeGroupVariableValue(context, "energy", 1) + end + --黑泥重生的时间轴 + local core_id = tonumber(evt.source_name) + if core_id ~= nil then + if mud_list[core_id] ~= nil then + --普通黑泥,没有互斥,直接创生核心和黑泥 + if mud_list[core_id].mutex_id == 0 then + ScriptLib.PrintContextLog(context,"##[LumenCharge]:[普通黑泥]时间轴触发") + LF_CreateMudSet(context, core_id) + else + --核心黑泥 + --互斥黑泥不存在 + if 0 == ScriptLib.GetEntityIdByConfigId(context, mud_list[core_id].mutex_id) then + LF_CreateMudSet(context, core_id) + ScriptLib.EndTimeAxis(context, tostring(core_id)) + ScriptLib.PrintContextLog(context,"##[LumenCharge]:[核心黑泥]复活完成,关闭自身时间轴") + else + --互斥黑泥存在 + ScriptLib.PrintContextLog(context,"##[LumenCharge]:[核心黑泥]互斥黑泥存在,此次不刷新"..(mud_list[core_id].mutex_id )) + return 0 + end + end + end + end + return 0 +end + + +--处理黑泥死亡,加进度,计入统计 +function action_any_gadget_die(context,evt) + if not ScriptLib.IsChallengeStartedByChallengeId(context, 2009007) then + ScriptLib.PrintContextLog(context,"##[LumenCharge]:挑战未開啟,不處理") + return 0 + end + local core_id = evt.param1 + --确定死亡的是黑泥核心 + if mud_list[core_id] ~= nil then + ScriptLib.PrintContextLog(context,"##[LumenCharge]:增加清除黑泥的总计数") + ScriptLib.ChangeGroupTempValue(context, "MUD_REMOVED", 1, {}) + if 1 ~= ScriptLib.GetGroupTempValue(context, "PURSINA_WORKING", {}) then + ScriptLib.PrintContextLog(context,"##[LumenCharge]:光钉损坏中,清除黑泥不增加进度") + else + ScriptLib.PrintContextLog(context,"##[LumenCharge]:清除黑泥,增加进度") + for i=1,mud_list[core_id].score do + ScriptLib.ChangeGroupVariableValue(context, "energy", 1) + end + end + --移除黑泥对应的组件 + LF_RemoveMudSet(context,core_id) + if mud_list[core_id].mutex_id == 0 then + ScriptLib.PrintContextLog(context,"##[LumenCharge]:创建普通黑泥复生时间轴") + ScriptLib.InitTimeAxis(context, tostring(core_id), {mud_list[core_id].respawn_time}, false) + else + ScriptLib.PrintContextLog(context,"##[LumenCharge]:创建核心黑泥复生时间轴") + ScriptLib.InitTimeAxis(context, tostring(core_id), {mud_list[core_id].respawn_time}, true) + end + end + return 0 +end + + +--处理挑战成功 +function action_challenge_success(context, evt) + if evt.param1 ~= 2009007 then + return 0 + end + ScriptLib.PrintContextLog(context,"##[LumenCharge]:总挑战成功") + --处理运营数据 + local transaction = evt.param_str1 + local used_time = defs.challenge_time - evt.param2 + local remove_mud = ScriptLib.GetGroupTempValue(context, "MUD_REMOVED", {}) + local lumen_level = ScriptLib.GetTeamServerGlobalValue(context, context.owner_uid, "SGV_Light_Stone_Level") + ScriptLib.PrintContextLog(context,"##[LumenCharge]:埋点数据, 挑战成功,流水号"..transaction.."耗时"..used_time.."清除黑泥总数"..remove_mud.."流明石等级"..lumen_level) + ScriptLib.MarkGroupLuaAction(context, "Luminous_challenge_2", transaction, {["challenge_id"] = 2009007,["end_reason"] = 1,["use_time"]= used_time ,["remove_mud"]= remove_mud,["luminous_level"] = lumen_level}) + + --Group流转 + LF_ClearGroup(context) + --跳转到EndSuite + ScriptLib.GoToGroupSuite(context, base_info.group_id, 16) + ScriptLib.TryFinishLuminanceStoneChallengeStage(context, base_info.group_id) + + ScriptLib.FinishGroupLinkBundle(context, base_info.group_id) + return 0 +end + + +--处理挑战失败 +function action_challenge_fail(context, evt) + if evt.param1 ~= 2009007 then + return 0 + end + ScriptLib.PrintContextLog(context,"##[LumenCharge]:总挑战失败") + --处理运营数据 + local transaction = evt.param_str1 + local used_time = defs.challenge_time - evt.param2 + local remove_mud = ScriptLib.GetGroupTempValue(context, "MUD_REMOVED", {}) + local lumen_level = ScriptLib.GetTeamServerGlobalValue(context, context.owner_uid, "SGV_Light_Stone_Level") + if evt.param2 <= 0 then + ScriptLib.PrintContextLog(context,"##[LumenCharge]:埋点数据,时间用尽,流水号"..transaction.."耗时"..used_time.."清除黑泥总数"..remove_mud.."流明石等级"..lumen_level) + ScriptLib.MarkGroupLuaAction(context, "Luminous_challenge_2", transaction, {["challenge_id"] = 2009007,["end_reason"] = 2,["use_time"]= used_time ,["remove_mud"]= remove_mud, ["luminous_level"] = lumen_level}) + else + if ScriptLib.IsPlayerAllAvatarDie(context, context.owner_uid) then + ScriptLib.PrintContextLog(context,"##[LumenCharge]:埋点数据,团灭,流水号"..transaction.."耗时"..used_time.."清除黑泥总数"..remove_mud.."流明石等级"..lumen_level) + ScriptLib.MarkGroupLuaAction(context, "Luminous_challenge_2", transaction, {["challenge_id"] = 2009007,["end_reason"] = 0,["use_time"]= used_time ,["remove_mud"]= remove_mud, ["luminous_level"] = lumen_level}) + else + ScriptLib.PrintContextLog(context,"##[LumenCharge]:挑战失败,未团灭") + end + end + --重置部分内容 + LF_ClearGroup(context) + ScriptLib.CreateGadget(context, {config_id = defs.pursina_tip}) + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, extra_info.start_operator, {7}) + + return 0 +end +--====================================================================================================================== +--LevelFunctions + +--Group结束重置内容 +function LF_ClearGroup(context, evt) + ScriptLib.PrintContextLog(context,"##[LumenCharge]:移除Group额外内容") + LF_StopPursina(context) + LF_SetPursinaNormal(context) + --保底,移除BGM物件 + if 0 ~= ScriptLib.GetEntityIdByConfigId(context, defs.enemy_gadget) then + ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, defs.enemy_gadget) + end + --移除额外Suite + for i=1,17 do + ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, i+1) + end + + --停掉时间轴 + ScriptLib.EndTimeAxis(context, "energyBasic") + for core_id,infos in pairs(mud_list) do + ScriptLib.EndTimeAxis(context, tostring(core_id)) + end +end + +--初始化所有变量 +function LF_ResetAllValues(context) + ScriptLib.SetGroupTempValue(context, "MUD_REMOVED", 0, {}) + ScriptLib.SetGroupVariableValue(context, "energy", 0) + ScriptLib.SetGroupVariableValue(context, "stage", 1) +end + +--无特效和无冲击波状态 +function LF_SetPursinaNormal(context) + ScriptLib.PrintContextLog(context,"##[LumenCharge]:光钉移除破损状态效果") + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.pursina, "SGV_PURSINA_ROTATE", 0) + ScriptLib.SetGroupTempValue(context, "PURSINA_WORKING", 1, {}) +end +--故障状态 +function LF_SetPursinaBroken(context) + ScriptLib.PrintContextLog(context,"##[LumenCharge]:光钉破损") + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.pursina, "SGV_PURSINA_ROTATE", 1) + ScriptLib.SetGroupTempValue(context, "PURSINA_WORKING", 0, {}) +end +--中速正常运转 +function LF_SetPursinaMidSpeed(context) + ScriptLib.PrintContextLog(context,"##[LumenCharge]:正常充能") + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.pursina, "SGV_PURSINA_ROTATE", 2) + ScriptLib.SetGroupTempValue(context, "PURSINA_WORKING", 1, {}) +end +--高速运转,这里第二天玩法里用不到 +function LF_SetPursinaHighSpeed(context) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.pursina, "SGV_PURSINA_ROTATE", 3) + ScriptLib.SetGroupTempValue(context, "PURSINA_WORKING", 1, {}) +end +--启动光钉,打开嘲讽 +function LF_StartPursina(context, evt) + ScriptLib.PrintContextLog(context,"##[LumenCharge]:启动光钉") + ScriptLib.SetGadgetStateByConfigId(context, defs.pursina, 202) + ScriptLib.SetGroupTempValue(context, "PURSINA_WORKING", 1, {}) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.pursina, "SGV_PURSINA_TAUNT", 1) + --启动时移除指示物 + ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, defs.pursina_tip) +end +--停止光钉,关闭嘲讽 +function LF_StopPursina(context, evt) + ScriptLib.PrintContextLog(context,"##[LumenCharge]:关闭光钉") + ScriptLib.SetGadgetStateByConfigId(context, defs.pursina, 203) + ScriptLib.SetGroupTempValue(context, "PURSINA_WORKING", 0, {}) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.pursina, "SGV_PURSINA_TAUNT", 0) +end + + +--创建黑泥套组 +function LF_CreateMudSet(context, core_id) + if mud_list[core_id] ~= nil then + local covers = mud_list[core_id].cover_list + local content = mud_list[core_id].cover_content + ScriptLib.PrintContextLog(context,"##[LumenCharge]:创建黑泥,黑泥白盒") + ScriptLib.CreateGadget(context, {config_id = core_id}) + ScriptLib.CreateGadget(context, {config_id = mud_list[core_id].mud_id}) + if #covers ~= 0 then + ScriptLib.PrintContextLog(context,"##[LumenCharge]:创建黑泥包裹物") + for k,cover_id in pairs(covers) do + ScriptLib.CreateGadget(context, {config_id = cover_id}) + end + end + if #content ~= 0 then + -- local cur_stage = ScriptLib.GetGroupVariableValue(context, "stage") + ScriptLib.PrintContextLog(context,"##[LumenCharge]:遍历移除包裹内容物") + -- 这里遍历了所有stage的包裹物,全部尝试进行一次移除 + for stage_index=1,5 do + for k,content_id in pairs(content[stage_index]) do + if 0 ~= ScriptLib.GetEntityIdByConfigId(context, content_id) then + ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, content_id) + end + end + end + end + else + ScriptLib.PrintContextLog(context,"##[LumenCharge]:[WARINING] 使用了错误的黑泥核心ID,注意检查") + end +end + +--移除黑泥套组 +function LF_RemoveMudSet(context, core_id) + if mud_list[core_id] ~= nil then + local covers = mud_list[core_id].cover_list + local content= mud_list[core_id].cover_content + ScriptLib.PrintContextLog(context,"##[LumenCharge]:移除黑泥白盒") + if 0 ~= ScriptLib.GetEntityIdByConfigId(context, mud_list[core_id].mud_id) then + ScriptLib.KillEntityByConfigId(context, { group_id = base_info.group_id, config_id = mud_list[core_id].mud_id, entity_type = EntityType.GADGET }) +-- ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, mud_list[core_id].mud_id) + end + + ScriptLib.PrintContextLog(context,"##[LumenCharge]:移除黑泥包裹物") + for k,cover_id in pairs(covers) do + if 0 ~= ScriptLib.GetEntityIdByConfigId(context, cover_id) then + ScriptLib.KillEntityByConfigId(context, { group_id = base_info.group_id, config_id = cover_id, entity_type = EntityType.GADGET }) + -- ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, cover_id) + end + end + + local cur_stage = ScriptLib.GetGroupVariableValue(context, "stage") + if content[cur_stage] ~= nil then + ScriptLib.PrintContextLog(context,"##[LumenCharge]:创建包裹内容物") + for k,content_id in pairs(content[cur_stage]) do + ScriptLib.CreateGadget(context, {config_id = content_id}) + end + end + else + ScriptLib.PrintContextLog(context,"##[LumenCharge]:[WARINING] 使用了错误的黑泥核心ID,注意检查") + end +end + +--移除黑泥套组,创建内容物 + +--====================================================================================================================== +--ServerLuaCalls +function SLC_PausePursina(context) + LF_SetPursinaBroken(context) + ScriptLib.EndTimeAxis(context, "energyBasic") + return 0 +end + +function SLC_ResumePursina(context) + if not ScriptLib.IsChallengeStartedByChallengeId(context, 2009007) then + ScriptLib.PrintContextLog(context,"##[LumenCharge]:挑战已结束,不再恢复时间轴") + return 0 + end + LF_SetPursinaMidSpeed(context) + ScriptLib.InitTimeAxis(context, "energyBasic", {2}, true) + return 0 +end + +--===================================================================================================================== +--初始化GroupTrigger +function LumenCharge_Initialize() + for config_id,infos in pairs(monsters) do + if infos.affix ~= nil then + table.insert(infos.affix, 4160) + else + infos["affix"] = {4160} + end + end + for k,v in pairs(LumenCharge_Triggers) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end +end + +LumenCharge_Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V2_7/Activity_LumenWipeout.lua b/Resources/Scripts/Common/V2_7/Activity_LumenWipeout.lua index e69de29bb..651288e02 100644 --- a/Resources/Scripts/Common/V2_7/Activity_LumenWipeout.lua +++ b/Resources/Scripts/Common/V2_7/Activity_LumenWipeout.lua @@ -0,0 +1,295 @@ +--ServerUploadTool Save to [/root/env/data/lua/common/V2_7] +--====================================================================================================================== +--|| Filename || Activity_LumenWipeout +--|| RelVersion || V2_7 +--|| Owner || chao-jin +--|| Description || +--|| LogName || ##[Activity_LumenWipeout] +--|| Protection || +--[[====================================================================================================================== +--Defs & Miscs +local defs = { + pursina = 630015, + pursina_tip = 630087, + fail_region = 630038 +} +local mud_list = { + [630009] = 630063, + [630012] = 630062, + [630023] = 630028, + +} +local extra_infos = { + start_operator = 630002, + mud_cover = 630096, +} + +--======================================================================================================================]] + +local LumenWipeout_Triggers = { + {config_id = 8002001, name = "pursina_state", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "", action = "action_pursina_state", trigger_count = 0}, + {config_id = 8002002, name = "challenge_success", event = EventType.EVENT_CHALLENGE_SUCCESS, source = "", condition = "", action = "action_challenge_success", trigger_count = 0 }, + {config_id = 8002003, name = "challenge_fail", event = EventType.EVENT_CHALLENGE_FAIL, source = "", condition = "", action = "action_challenge_fail", trigger_count = 0 }, + {config_id = 8002004, name = "any_gadget_die", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "", action = "action_any_gadget_die", trigger_count = 0}, + {config_id = 8002005, name = "group_load", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0}, + {config_id = 8002006, name = "leave_fail_region", event = EventType.EVENT_LEAVE_REGION, source = "", condition = "", action = "action_leave_fail_region", trigger_count = 0}, + {config_id = 8002007, name = "gadget_create", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "", action = "action_gadget_create", trigger_count = 0}, + {config_id = 8002008, name = "time_axis_pass", event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "", action = "action_time_axis_pass", trigger_count = 0}, + {config_id = 8002009, name = "select_option", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_select_option", trigger_count = 0}, + {config_id = 8002010, name = "pause_battle_bgm", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "", action = "action_pause_battle_bgm", trigger_count = 0}, +} + + +--Events + +function action_pursina_state(context, evt) + if evt.source_name == "pursina_state" then + if evt.param1 == 0 then + LF_SetPursinaNormal(context) + return 0 + end + if evt.param1 == 1 then + LF_SetPursinaBroken(context) + return 0 + end + if evt.param1 == 2 then + LF_SetPursinaMidSpeed(context) + return 0 + end + if evt.param3 == 3 then + LF_SetPursinaHighSpeed(context) + return 0 + end + end + return 0 +end + +--挑战成功处理 +function action_challenge_success(context, evt) + ScriptLib.PrintContextLog(context,"##[LumenWipeout]:挑战成功") + --运营用的埋点数据 + local used_time = 300 - evt.param2 + local remove_mud = ScriptLib.GetGroupTempValue(context, "MUD_REMOVED", {}) + local transaction = evt.param_str1 + local lumen_level = ScriptLib.GetTeamServerGlobalValue(context, context.owner_uid, "SGV_Light_Stone_Level") + ScriptLib.PrintContextLog(context,"##[LumenWipeout]:埋点数据,挑战成功,流水号"..transaction.."耗时"..used_time.."清除黑泥总数"..remove_mud.."流明石等级"..lumen_level) + ScriptLib.MarkGroupLuaAction(context, "Luminous_challenge_2", transaction, {["challenge_id"] = 2009002,["end_reason"] = 1,["use_time"]= used_time ,["remove_mud"]= remove_mud,["luminous_level"] = lumen_level}) + + LF_ClearGroup(context) + ScriptLib.TryFinishLuminanceStoneChallengeStage(context, base_info.group_id) + ScriptLib.GoToGroupSuite(context, base_info.group_id, 10) + + ScriptLib.FinishGroupLinkBundle(context, base_info.group_id) + return 0 +end + +--处理BGM物件 +function action_pause_battle_bgm(context, evt) + if evt.param1 == 630078 then + ScriptLib.PrintContextLog(context,"##[LumenWipeout]:刷最后一波怪,移除BGM入战物件") + if 0 ~= ScriptLib.GetEntityIdByConfigId(context, defs.enemy_gadget) then + ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, defs.enemy_gadget) + end + end + return 0 +end + +--挑战失败处理 +function action_challenge_fail(context, evt) + ScriptLib.PrintContextLog(context,"##[LumenWipeout]:挑战失败") + --运营用的埋点数据 + local used_time = 300 - evt.param2 + local remove_mud = ScriptLib.GetGroupTempValue(context, "MUD_REMOVED", {}) + local lumen_level = ScriptLib.GetTeamServerGlobalValue(context, context.owner_uid, "SGV_Light_Stone_Level") + local transaction = evt.param_str1 + if evt.param2 <= 0 then + ScriptLib.PrintContextLog(context,"##[LumenWipeout]:埋点数据,时间用尽,流水号"..transaction.."耗时"..used_time.."清除黑泥总数"..remove_mud.."流明石等级"..lumen_level) + ScriptLib.MarkGroupLuaAction(context, "Luminous_challenge_2", transaction, {["challenge_id"] = 2009002,["end_reason"] = 2,["use_time"]= used_time ,["remove_mud"]= remove_mud, ["luminous_level"] = lumen_level}) + else + if ScriptLib.IsPlayerAllAvatarDie(context, context.owner_uid) then + ScriptLib.PrintContextLog(context,"##[LumenWipeout]:埋点数据,团灭,流水号"..transaction.."耗时"..used_time.."清除黑泥总数"..remove_mud.."流明石等级"..lumen_level) + ScriptLib.MarkGroupLuaAction(context, "Luminous_challenge_2", transaction, {["challenge_id"] = 2009002,["end_reason"] = 0,["use_time"]= used_time ,["remove_mud"]= remove_mud, ["luminous_level"] = lumen_level}) + end + end + --清除额外内容并恢复 + LF_ClearGroup(context) + ScriptLib.CreateGadget(context, {config_id = defs.pursina_tip}) + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, extra_infos.start_operator, {7}) + + return 0 +end + +--Group加载 +function action_group_load( context, evt ) + ScriptLib.PrintContextLog(context,"##[LumenWipeout]:加载Group,初始化一些内容") + ScriptLib.SetGroupTempValue(context, "MUD_REMOVED", 0, {}) + return 0 +end + +--玩家脱离战斗区域,挑战失败 +function action_leave_fail_region(context, evt) + if evt.param1 == defs.fail_region then + ScriptLib.PrintContextLog(context,"##[LumenWipeout]:玩家脱离战斗区域,手动结束挑战") + ScriptLib.StopChallenge(context, 233, 0) + end + return 0 +end + +-- 触发操作 +function action_select_option(context, evt) + ScriptLib.PrintContextLog(context,"##[LumenWipeout]:开启挑战") + --记录场上的黑泥数量 + ScriptLib.SetGroupTempValue(context, "MUD_NUMS", 0, {}) + ScriptLib.SetGroupTempValue(context, "MUD_REMIND", 0, {}) + --开启挑战 + ScriptLib.ActiveChallenge(context, 233, 2009005, 300, 166001630, 29, 0) + ScriptLib.DelWorktopOptionByGroupId(context, 166001630, 630002, 7) + --启动光钉 + LF_StartPursina(context) + LF_SetPursinaNormal(context) + ScriptLib.InitTimeAxis(context, "pursinaDelay", {2}, false) + --创建两个喷气岩 + ScriptLib.CreateGadget(context, { config_id = 630068 }) + ScriptLib.CreateGadget(context, { config_id = 630076 }) + ScriptLib.CreateGadget(context, { config_id = defs.enemy_gadget }) + --刷第一波怪 + ScriptLib.AddExtraGroupSuite(context, 166001630, 2) + ScriptLib.ShowReminder(context, 400012) + local pos = {x=993, y=737, z=409} + ScriptLib.ScenePlaySound(context, {play_pos = pos, sound_name = "LevelHornSound001", play_type= 1, is_broadcast = false }) + return 0 +end + +-- 黑泥创生处理 +function action_gadget_create(context,evt) + --黑泥核心创建时,同步创建黑泥 + if mud_list[evt.param1] ~= nil then +-- ScriptLib.CreateGadget(context, {config_id = mud_list[evt.param1]}) + ScriptLib.ChangeGroupTempValue(context, "MUD_NUMS", 1, {}) + --创建黑泥,看看光钉的工作状态 + if 0 ~= ScriptLib.GetGroupTempValue(context, "MUD_NUMS", {}) then + if 1 == ScriptLib.GetGroupTempValue(context, "PURSINA_WORKING", {}) then + if 0 == ScriptLib.GetGroupTempValue(context, "MUD_REMIND", {}) then + ScriptLib.PrintContextLog(context,"##[LumenWipeout]:弹出第一次Reminder") + ScriptLib.ShowReminder(context, 4000146) + ScriptLib.SetGroupTempValue(context, "MUD_REMIND",1, {}) + end + ScriptLib.PrintContextLog(context,"##[LumenWipeout]:创建黑泥,光钉在工作中,光钉损坏") + ScriptLib.ShowReminder(context, 4000151) + LF_SetPursinaBroken(context) + end + end + end + if evt.param1 == extra_infos.start_operator then + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, extra_infos.start_operator, {7}) + end + return 0 +end + +--统计黑泥核心死亡数量 +function action_any_gadget_die(context,evt) + if mud_list[evt.param1] ~= nil then + --移除对应的黑泥白盒 + ScriptLib.ChangeGroupTempValue(context, "MUD_NUMS", -1, {}) + ScriptLib.KillEntityByConfigId(context, { group_id = base_info.group_id, config_id = mud_list[evt.param1], entity_type = EntityType.GADGET }) +-- ScriptLib.RemoveEntityByConfigId(context, 166001630, EntityType.GADGET, mud_list[evt.param1]) + if not ScriptLib.IsChallengeStartedByChallengeId(context, 2009005) then + ScriptLib.PrintContextLog(context,"##[LumenWipeout]:挑战未开始,不增加统计") + return 0 + end + --场上没有黑泥了,移除包裹物,恢复光钉 + if 0 == ScriptLib.GetGroupTempValue(context, "MUD_NUMS", {}) then + if 0 ~= ScriptLib.GetEntityIdByConfigId(context, extra_infos.mud_cover) then + ScriptLib.KillEntityByConfigId(context, { group_id = base_info.group_id, config_id = extra_infos.mud_cover, entity_type = EntityType.GADGET }) +-- ScriptLib.RemoveEntityByConfigId(context, 166001630, EntityType.GADGET, extra_infos.mud_cover) + end + LF_SetPursinaMidSpeed(context) + end + ScriptLib.PrintContextLog(context,"##[LumenWipeout]:黑泥核心死亡,增加统计") + ScriptLib.ChangeGroupTempValue(context, "MUD_REMOVED", 1, {}) + end + return 0 +end + +--时间轴移动 +function action_time_axis_pass(context,evt) + if evt.source_name == "pursinaDelay" then + ScriptLib.PrintContextLog(context,"##[LumenWipeout]:光钉开始正常运转") + LF_SetPursinaMidSpeed(context) + ScriptLib.ShowReminder(context, 4000145) + end + return 0 +end +--====================================================================================================================== +--LevelFunctions +function LF_ClearGroup(context) + ScriptLib.PrintContextLog(context,"##[LumenWipeout]:移除Group额外内容") + if 0 ~= ScriptLib.GetEntityIdByConfigId(context, defs.enemy_gadget) then + ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, defs.enemy_gadget) + end + for i=1,8 do + ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, i+1) + end + LF_SetPursinaNormal(context) + LF_StopPursina(context) + ScriptLib.EndTimeAxis(context, "pursinaDelay") +end + + +--无特效和无冲击波状态 +function LF_SetPursinaNormal(context) + ScriptLib.PrintContextLog(context,"##[LumenWipeout]:光钉移除破损状态效果") + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.pursina, "SGV_PURSINA_ROTATE", 0) + ScriptLib.SetGroupTempValue(context, "PURSINA_WORKING", 1, {}) +end +--故障状态 +function LF_SetPursinaBroken(context) + ScriptLib.PrintContextLog(context,"##[LumenWipeout]:光钉破损") + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.pursina, "SGV_PURSINA_ROTATE", 1) + ScriptLib.SetGroupTempValue(context, "PURSINA_WORKING", 0, {}) +end +--中速正常运转 +function LF_SetPursinaMidSpeed(context) + ScriptLib.PrintContextLog(context,"##[LumenWipeout]:正常充能") + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.pursina, "SGV_PURSINA_ROTATE", 2) + ScriptLib.SetGroupTempValue(context, "PURSINA_WORKING", 1, {}) +end +--高速运转,这里第三天玩法里用不到 +function LF_SetPursinaHighSpeed(context) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.pursina, "SGV_PURSINA_ROTATE", 3) + ScriptLib.SetGroupTempValue(context, "PURSINA_WORKING", 1, {}) +end +--启动光钉 +function LF_StartPursina(context, evt) + ScriptLib.PrintContextLog(context,"##[LumenWipeout]:启动光钉") + ScriptLib.SetGadgetStateByConfigId(context, defs.pursina, 202) + ScriptLib.SetGroupTempValue(context, "PURSINA_WORKING", 1, {}) + --启动时移除指示物 + ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, defs.pursina_tip) +end +--停止光钉 +function LF_StopPursina(context, evt) + ScriptLib.PrintContextLog(context,"##[LumenWipeout]:关闭光钉") + ScriptLib.SetGadgetStateByConfigId(context, defs.pursina, 203) + ScriptLib.SetGroupTempValue(context, "PURSINA_WORKING", 0, {}) +end + + +function LumenWipeout_Initialize() + for config_id,infos in pairs(monsters) do + if infos.affix ~= nil then + table.insert(infos.affix, 4160) + else + infos["affix"] = {4160} + end + end + table.insert(variables, { config_id=50000001,name = "pursina_state", value = 0,no_refresh = false}) + table.insert(variables, { config_id=50000002,name = "ChallengeSuccess", value = 0,no_refresh = false}) +-- suites[1].triggers = {} + for k,v in pairs(LumenWipeout_Triggers) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end +end + +LumenWipeout_Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V2_7/Rogue_Terrain_2.lua b/Resources/Scripts/Common/V2_7/Rogue_Terrain_2.lua index e69de29bb..e1b41837d 100644 --- a/Resources/Scripts/Common/V2_7/Rogue_Terrain_2.lua +++ b/Resources/Scripts/Common/V2_7/Rogue_Terrain_2.lua @@ -0,0 +1,130 @@ +--[[ +local defs={ + air_wall = 999, +} +]] +local T_Gruop_ID = 246202004 +local T_Air_Wall = 4001 +local Next_Group_List = { + [246202001] = 246202002, + [246202002] = 246202003, + [246202003] = 246202005, + [246202005] = 246202006, + [246202006] = 246202007, + [246202007] = 246202001, +} +local temp_Gadget = { + { config_id = 20000991, gadget_id = 70800183, pos = { x = 17.537, y = -43.175, z = 0.008 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, +} +local temp_Variables_Rogue_Terrain_2 = { + { config_id=50000001,name = "Terrain", value = 2, no_refresh = false }, + { config_id=50000002,name = "Ready", value = 0, no_refresh = false }, +} +local temp_Tirgger_Rogue_Terrain_2 = { + {event = EventType.EVENT_CHALLENGE_SUCCESS,source = "",condition="",action="action_t2_EVENT_CHALLENGE_SUCCESS",trigger_count=0}, + {event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_t2_EVENT_GROUP_LOAD",trigger_count = 0}, + {event = EventType.EVENT_ROGUE_OPEN_ACCESS, source = "", condition = "", action = "action_t2_action_EVENT_ROGUE_OPEN_ACCESS",trigger_count = 0}, + {event = EventType.EVENT_VARIABLE_CHANGE, source = "Ready", condition = "", action = "action_t2_EVENT_VARIABLE_CHANGE_Ready", trigger_count = 0 }, + {event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_t2_EVENT_SELECT_OPTION", trigger_count = 0 }, + {event = EventType.EVENT_GADGET_STATE_CHANGE,source = "",condition="",action="action_t2_EVENT_GADGET_STATE_CHANGE",trigger_count=0}, + {event = EventType.EVENT_ROGUE_START_FIGHT,source = "",condition="",action="action_t2_EVENT_ROGUE_START_FIGHT",trigger_count=0}, +} +--通知下个group延迟创建操作台,时点1,开始战斗 +function action_t2_EVENT_ROGUE_START_FIGHT(context,evt) + ScriptLib.PrintContextLog(context,"## Rogue_Terraion_2 action_t2_EVENT_ROGUE_START_FIGHT:") + LF_Notify_Next_Group_Wait(context) + return 0 +end +--通知下个group延迟创建操作台,时点2,触发备战 +function action_t2_EVENT_GADGET_STATE_CHANGE(context,evt) + ScriptLib.PrintContextLog(context,"## Rogue_Terraion_2 action_t2_EVENT_GADGET_STATE_CHANGE:p1="..evt.param1.."|p2="..evt.param2) + if evt.param1 ~= 201 then return 0 end + if evt.param2 == Rogue_Cell.Prepare_Operator_Config_ID then + LF_Notify_Next_Group_Wait(context) + end + return 0 +end +function LF_Notify_Next_Group_Wait(context) + for k , v in pairs(Next_Group_List) do + local _targetgroup = 0 + if k ==base_info.group_id then + _targetgroup = v + ScriptLib.SetGroupTempValue(context,"Need_Wait",1,{ group_id = _targetgroup}) + end + end + return 0 +end +function action_t2_EVENT_SELECT_OPTION(context,evt) + ScriptLib.PrintContextLog(context,"## Rogue_Terraion_2 action_t2_EVENT_SELECT_OPTION:") + if evt.param1 == 20000991 then + ScriptLib.SetGroupVariableValueByGroup(context,"Turn",4,T_Gruop_ID) + end + ScriptLib.RefreshGroup(context, {group_id = base_info.group_id, suite = 1}) + ScriptLib.KillEntityByConfigId(context, {config_id=20000991, entity_type = EntityType.GADGET}) + ScriptLib.KillEntityByConfigId(context, {group_id = T_Gruop_ID, config_id= T_Air_Wall, entity_type = EntityType.GADGET}) + return 0 +end +function action_t2_EVENT_VARIABLE_CHANGE_Ready(context,evt) + local _wait = ScriptLib.GetGroupTempValue(context,"Need_Wait",{}) + ScriptLib.PrintContextLog(context,"## Rogue_Terraion_2 action_t2_EVENT_VARIABLE_CHANGE_Ready: _wait=".._wait) + if _wait == 1 then + ScriptLib.SetGroupTempValue(context,"Need_Wait",0,{}) + local _hard = ScriptLib.GetGroupTempValue(context,"operator_is_hard",{}) + local _boss = ScriptLib.GetGroupTempValue(context,"operator_is_boss",{}) + LF_Create_Fight_Operator(context,_hard,_boss) + local _vec = ScriptLib.GetRogueDiaryRoundAndRoom(context) + --地城2特殊处理:创建操作台时给个reminder + if #_vec == 2 then + local _stage = _vec[1] + local _cell = _vec[2] + local _uidlist = ScriptLib.GetSceneUidList(context) + ScriptLib.AssignPlayerShowTemplateReminder(context, 167+_stage, {param_vec={_cell},param_uid_vec={},uid_vec={_uidlist[1]}}) + else + ScriptLib.PrintContextLog(context,"## Rogue_Cell action_EVENT_ENTER_REGION[Warning]:#_vec="..#_vec) + end + end + return 0 +end +function action_t2_action_EVENT_ROGUE_OPEN_ACCESS(context,evt) + ScriptLib.PrintContextLog(context,"## Rogue_Terraion_2 action_t2_action_EVENT_ROGUE_OPEN_ACCESS:") + if evt.param1 == 1 then return 0 end --通关后不需要开通路 + ScriptLib.CreateGadget(context, { config_id = 20000991}) + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, 20000991, {198}) + return 0 +end +function action_t2_EVENT_CHALLENGE_SUCCESS(context,evt) + ScriptLib.SetGroupVariableValueByGroup(context,"Clear",0,T_Gruop_ID) + return 0 +end +function action_t2_EVENT_GROUP_LOAD(context,evt) + ScriptLib.PrintContextLog(context,"## Rogue_Terraion_2 action_t2_EVENT_GROUP_LOAD:") + ScriptLib.SetGroupTempValue(context,"Need_Wait",0,{}) + return 0 +end +--初始化 +function Initialize_2() + --加变量 + if temp_Variables_Rogue_Terrain_2 ~= nil then + for k,v in pairs(temp_Variables_Rogue_Terrain_2) do + table.insert(variables,v) + end + end + --加触发器 + if temp_Tirgger_Rogue_Terrain_2 ~= nil then + for k,v in pairs(temp_Tirgger_Rogue_Terrain_2) do + v.name = "temp_Tirgger2_"..k + v.config_id = 40200000 + k + table.insert(triggers, v) + table.insert(suites[init_config.suite].triggers, v.name) + end + end + + --地城2部分: + --加奇点传送门 + for k , v in pairs(temp_Gadget) do + table.insert(gadgets,v) + end + + return 0 +end +Initialize_2() \ No newline at end of file diff --git a/Resources/Scripts/Common/V2_7/Rogue_Terrain_3.lua b/Resources/Scripts/Common/V2_7/Rogue_Terrain_3.lua index 8b611c568..b51c12c46 100644 --- a/Resources/Scripts/Common/V2_7/Rogue_Terrain_3.lua +++ b/Resources/Scripts/Common/V2_7/Rogue_Terrain_3.lua @@ -1,5 +1,5 @@ --[[ -defs={ +local defs={ Portal_Eff = 999, Portal_Trigger = 999, Streaming_Gadget = 999, diff --git a/Resources/Scripts/Common/V2_7/YeLan_BoxPusher.lua b/Resources/Scripts/Common/V2_7/YeLan_BoxPusher.lua index 01c9f785d..fc2073e66 100644 --- a/Resources/Scripts/Common/V2_7/YeLan_BoxPusher.lua +++ b/Resources/Scripts/Common/V2_7/YeLan_BoxPusher.lua @@ -8,7 +8,7 @@ --[[ 设置var: level_start为1以开启推箱子流程 用var_change接source为"level_finish"即可响应箱子推完的结果 -defs = { +local defs = { box_gadget_id_1 = 1, --可推箱子的gadget_id box_gadget_id_2 = 2, --可推箱子的gadget_id config_suites = {1} --注册逻辑的suite队列 diff --git a/Resources/Scripts/Common/V2_8/AnimalSeelie.lua b/Resources/Scripts/Common/V2_8/AnimalSeelie.lua index d5076c994..dabe39eba 100644 --- a/Resources/Scripts/Common/V2_8/AnimalSeelie.lua +++ b/Resources/Scripts/Common/V2_8/AnimalSeelie.lua @@ -9,7 +9,7 @@ =======================================]] --[[ -defs = { +local defs = { gadget_animal = 26001, pointarray_ID = 110200012, maxPointCount = 8, diff --git a/Resources/Scripts/Common/V2_8/BoatRace_V2.lua b/Resources/Scripts/Common/V2_8/BoatRace_V2.lua index 9c2446135..95f4e35b4 100644 --- a/Resources/Scripts/Common/V2_8/BoatRace_V2.lua +++ b/Resources/Scripts/Common/V2_8/BoatRace_V2.lua @@ -1,5 +1,5 @@ --[[ -defs = { +local defs = { --开启操作台configID starter_gadget = , --终点Region的ConfigID diff --git a/Resources/Scripts/Common/V2_8/CloudPlatform.lua b/Resources/Scripts/Common/V2_8/CloudPlatform.lua index 8507be8bf..0c8f8d1ab 100644 --- a/Resources/Scripts/Common/V2_8/CloudPlatform.lua +++ b/Resources/Scripts/Common/V2_8/CloudPlatform.lua @@ -9,7 +9,7 @@ =======================================]] --[[ -defs = { +local defs = { stages = { --key为第几段,value1为这一段的起点suite,value2为这一段的主体suite diff --git a/Resources/Scripts/Common/V2_8/DLActivityDungeon.lua b/Resources/Scripts/Common/V2_8/DLActivityDungeon.lua index 66409cea3..be682b188 100644 --- a/Resources/Scripts/Common/V2_8/DLActivityDungeon.lua +++ b/Resources/Scripts/Common/V2_8/DLActivityDungeon.lua @@ -7,7 +7,7 @@ || Protection: =======================================]] --[[ -defs = { +local defs = { --是否教学关 is_tutorial = 1, --起始操作台 diff --git a/Resources/Scripts/Common/V2_8/DrawOneLine_Dreamland.lua b/Resources/Scripts/Common/V2_8/DrawOneLine_Dreamland.lua index 370daecbc..b405a4938 100644 --- a/Resources/Scripts/Common/V2_8/DrawOneLine_Dreamland.lua +++ b/Resources/Scripts/Common/V2_8/DrawOneLine_Dreamland.lua @@ -7,7 +7,7 @@ || Protection: =======================================]] --[[ -defs = +local defs = { --玩法完成时 这个gadget如果为GearStop则会被设为Default finish_gadget = , diff --git a/Resources/Scripts/Common/V2_8/DreamOperation.lua b/Resources/Scripts/Common/V2_8/DreamOperation.lua index 24b235cf9..1ea976fb8 100644 --- a/Resources/Scripts/Common/V2_8/DreamOperation.lua +++ b/Resources/Scripts/Common/V2_8/DreamOperation.lua @@ -9,7 +9,7 @@ =======================================]] --[[ -defs = { +local defs = { --每个操作台config_id, 控制的markfalg和它的解,最多5位数字。 --玩家按按钮,左转写2 右转写3。 --例如“左左右左”即为“{2,2,3,2}” diff --git a/Resources/Scripts/Common/V2_8/MonaPortal.lua b/Resources/Scripts/Common/V2_8/MonaPortal.lua index dcfe47fe6..a68731812 100644 --- a/Resources/Scripts/Common/V2_8/MonaPortal.lua +++ b/Resources/Scripts/Common/V2_8/MonaPortal.lua @@ -7,7 +7,7 @@ || Protection: =======================================]]-- --[[ -defs = { +local defs = { target_leveltag = 22, pos = { x=-677.9, y=135, z=-16}, rot = {x=0, y=0, z=1}, diff --git a/Resources/Scripts/Common/V2_8/TimeReverser.lua b/Resources/Scripts/Common/V2_8/TimeReverser.lua index 4119293a8..c3073a793 100644 --- a/Resources/Scripts/Common/V2_8/TimeReverser.lua +++ b/Resources/Scripts/Common/V2_8/TimeReverser.lua @@ -7,7 +7,7 @@ || Protection: =======================================]]-- --[[ -defs = { +local defs = { reverse_time = 10,--回溯倒计时,整数秒 } ]] diff --git a/Resources/Scripts/Common/V3_0/Activity_MuqadasPotion.lua b/Resources/Scripts/Common/V3_0/Activity_MuqadasPotion.lua index ec227f373..9202c5539 100644 --- a/Resources/Scripts/Common/V3_0/Activity_MuqadasPotion.lua +++ b/Resources/Scripts/Common/V3_0/Activity_MuqadasPotion.lua @@ -9,7 +9,7 @@ --[[ - defs = + local defs = { operator_id = 574048, --操作台的configid option_id = 175, --操作台的option id diff --git a/Resources/Scripts/Common/V3_0/Activity_Parkour.lua b/Resources/Scripts/Common/V3_0/Activity_Parkour.lua index 9966102bc..25257fcbe 100644 --- a/Resources/Scripts/Common/V3_0/Activity_Parkour.lua +++ b/Resources/Scripts/Common/V3_0/Activity_Parkour.lua @@ -7,7 +7,7 @@ =======================================]] --[[ -defs = { +local defs = { gallery_id = , diff --git a/Resources/Scripts/Common/V3_0/Activity_Photo.lua b/Resources/Scripts/Common/V3_0/Activity_Photo.lua index eec1a683a..20ba4419b 100644 --- a/Resources/Scripts/Common/V3_0/Activity_Photo.lua +++ b/Resources/Scripts/Common/V3_0/Activity_Photo.lua @@ -9,7 +9,7 @@ -- @李鸿杰 还没布设相关GROUP --[[ -defs = +local defs = { -- Group对应的groupbundle group_bundle_id = 0, diff --git a/Resources/Scripts/Common/V3_0/Activity_TreasureSeelie.lua b/Resources/Scripts/Common/V3_0/Activity_TreasureSeelie.lua index 3fe28faa2..eb81fba5d 100644 --- a/Resources/Scripts/Common/V3_0/Activity_TreasureSeelie.lua +++ b/Resources/Scripts/Common/V3_0/Activity_TreasureSeelie.lua @@ -7,7 +7,7 @@ =======================================]] --[[ -defs = +local defs = { -- 挑战编号 challenge_id = 2009009, diff --git a/Resources/Scripts/Common/V3_0/ContinuousTrampoline.lua b/Resources/Scripts/Common/V3_0/ContinuousTrampoline.lua index ea9ec668e..34b2d2c00 100644 --- a/Resources/Scripts/Common/V3_0/ContinuousTrampoline.lua +++ b/Resources/Scripts/Common/V3_0/ContinuousTrampoline.lua @@ -6,7 +6,7 @@ || Protection: =======================================]] --- defs = +-- local defs = -- { -- maxRegion = 34004, -- maxJumpTimes = 5, diff --git a/Resources/Scripts/Common/V3_0/DeathZoneObservation.lua b/Resources/Scripts/Common/V3_0/DeathZoneObservation.lua index c70139390..3defd7a0e 100644 --- a/Resources/Scripts/Common/V3_0/DeathZoneObservation.lua +++ b/Resources/Scripts/Common/V3_0/DeathZoneObservation.lua @@ -7,7 +7,7 @@ =======================================]] --[[ -defs_miscs = +local defs_miscs = { -- 死域观测站透镜的config id lensConfigId = 103001, diff --git a/Resources/Scripts/Common/V3_0/Dreamland.lua b/Resources/Scripts/Common/V3_0/Dreamland.lua index 3542de3dc..248a332c3 100644 --- a/Resources/Scripts/Common/V3_0/Dreamland.lua +++ b/Resources/Scripts/Common/V3_0/Dreamland.lua @@ -16,7 +16,7 @@ -- 综上所述,需要LD手动配置的内容包括:门,花,灵,怪,宝箱;没有特殊需求不需要创建其他东西 --[[ -defs = { +local defs = { -- 【根据实际情况修改】幻梦之门的config id door = 17001, diff --git a/Resources/Scripts/Common/V3_0/GopherPlay.lua b/Resources/Scripts/Common/V3_0/GopherPlay.lua index b9f7a4763..2af9da77f 100644 --- a/Resources/Scripts/Common/V3_0/GopherPlay.lua +++ b/Resources/Scripts/Common/V3_0/GopherPlay.lua @@ -8,7 +8,7 @@ || Protection: [Protection] =======================================]] --- defs = +-- local defs = -- { -- regionId = 12345, -- targetScore = 3, diff --git a/Resources/Scripts/Common/V3_0/LanlaluoCommander.lua b/Resources/Scripts/Common/V3_0/LanlaluoCommander.lua index ce5ef4792..542aa27e9 100644 --- a/Resources/Scripts/Common/V3_0/LanlaluoCommander.lua +++ b/Resources/Scripts/Common/V3_0/LanlaluoCommander.lua @@ -9,7 +9,7 @@ -- 特定Region或者Group可以写,每次EnterRegion会检测 --[[ -defs ={ +local defs ={ regionList = {123}, -- 1,2,3,4对应4套等级 curCommander =1, diff --git a/Resources/Scripts/Common/V3_0/TitanEnergy.lua b/Resources/Scripts/Common/V3_0/TitanEnergy.lua index 27b7f03f8..d4a2b6f5a 100644 --- a/Resources/Scripts/Common/V3_0/TitanEnergy.lua +++ b/Resources/Scripts/Common/V3_0/TitanEnergy.lua @@ -7,7 +7,7 @@ =======================================]] --[[ -defs = { +local defs = { -- 【特别注意】所有流程必需的machine必须放在suite1中,在电池全亮后自动开启 -- 【特别注意】探索性质的machine必须放在suite2中,在电池全亮后不会自动开启 -- 【特别注意】只有suite1会在group load时加载 diff --git a/Resources/Scripts/Common/V3_0/UnstableSpray.lua b/Resources/Scripts/Common/V3_0/UnstableSpray.lua index 248e5d7e8..e75c47092 100644 --- a/Resources/Scripts/Common/V3_0/UnstableSpray.lua +++ b/Resources/Scripts/Common/V3_0/UnstableSpray.lua @@ -6,7 +6,7 @@ || Protection: =======================================]] --[[ -defs = +local defs = { -- 本轮对应的gallery id galleryId = 0, diff --git a/Resources/Scripts/Common/V3_0/VarunaStandard.lua b/Resources/Scripts/Common/V3_0/VarunaStandard.lua index 6ff9cd244..ba6356a0c 100644 --- a/Resources/Scripts/Common/V3_0/VarunaStandard.lua +++ b/Resources/Scripts/Common/V3_0/VarunaStandard.lua @@ -7,7 +7,7 @@ =======================================]] --[[ -defs = +local defs = { -- 钓鱼点 fishingPoint = { diff --git a/Resources/Scripts/Common/V3_0/VarunaWaterspout.lua b/Resources/Scripts/Common/V3_0/VarunaWaterspout.lua index b0767908b..db2a5fde8 100644 --- a/Resources/Scripts/Common/V3_0/VarunaWaterspout.lua +++ b/Resources/Scripts/Common/V3_0/VarunaWaterspout.lua @@ -6,7 +6,7 @@ || Protection: =======================================]] --[[ -defs = +local defs = { -- 受回流之柱控制的group id groupTable = diff --git a/Resources/Scripts/Common/V3_1/Activity_Hunt_Stage_1.lua b/Resources/Scripts/Common/V3_1/Activity_Hunt_Stage_1.lua index e69de29bb..a200b5ba3 100644 --- a/Resources/Scripts/Common/V3_1/Activity_Hunt_Stage_1.lua +++ b/Resources/Scripts/Common/V3_1/Activity_Hunt_Stage_1.lua @@ -0,0 +1,159 @@ +--[[====================================== +|| filename: Activity_Hunt_Stage_1 +|| owner: juntao.chen +|| description: 营地挑战玩法 +|| LogName: Activity_Hunt_Stage_1 +|| Protection: [Protection] +=======================================]] + +--需求defs +--[[ + local defs = { + gallery_id = 111, + region = 111 + } +]] +--[[ 一阶段: +胆小型野猪:add_timid_cnt +野蛮型野猪:add_brutal_cnt +精英野猪:add_elite_cnt + +二阶段: +monster_id +left_num +total_num ]] + +local stage_2_group_id = 133002100 +local temp_Variables = {--已自动添加config_id + { name = "gm_Try_End", value = 0, no_refresh = false }, + { name = "gm_Try_Start", value = 0, no_refresh = false }, + --一阶段 + { name = "add_timid_cnt", value = 0, no_refresh = false }, + { name = "add_brutal_cnt", value = 0, no_refresh = false }, + { name = "add_elite_cnt", value = 0, no_refresh = false }, + --二阶段 + { name = "left_num", value = 0, no_refresh = false }, + { name = "total_num", value = 0, no_refresh = false }, + { name = "monster_id", value = 0, no_refresh = false }, + { name = "monster_id_sneak", value = 0, no_refresh = false }, + { name = "Stage_2_Monster_Count", value = 0, no_refresh = false },--仅策划用 + --三阶段 + { name = "is_finish", value = 0, no_refresh = false }, + { name = "go_weak", value = 0, no_refresh = false }, +} +local temp_Tirgger = { + {event = EventType.EVENT_VARIABLE_CHANGE, source = "", action = "action_EVENT_VARIABLE_CHANGE"}, + {event = EventType.EVENT_GALLERY_START, source = "", action = "action_EVENT_GALLERY_START"}, + {event = EventType.EVENT_GROUP_REFRESH, source = "", action = "action_EVENT_GROUP_REFRESH"}, + {event = EventType.EVENT_GROUP_WILL_UNLOAD, source = "", action = "action_EVENT_GROUP_WILL_UNLOAD"}, + {event = EventType.EVENT_LEAVE_REGION, source = "", action = "action_EVENT_LEAVE_REGION"}, + {event = EventType.EVENT_GALLERY_STOP, source = "", action = "action_EVENT_GALLERY_STOP"}, +} +function action_EVENT_GALLERY_STOP(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_1 action_EVENT_GALLERY_STOP:evt.param1="..evt.param1) + local _uidlist = ScriptLib.GetSceneUidList(context) + ScriptLib.SetPlayerGroupVisionType(context, _uidlist, {1}) + return 0 +end +function action_EVENT_LEAVE_REGION(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_1 action_EVENT_LEAVE_REGION:evt.param1="..evt.param1) + if ScriptLib.IsGalleryStart(context, defs.gallery_id) and evt.param1 == defs.region then + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_1 action_EVENT_LEAVE_REGION:StopGalleryByReason") + ScriptLib.StopGalleryByReason(context, defs.gallery_id, 5) + end + return 0 +end +function action_EVENT_GROUP_WILL_UNLOAD(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_1 action_EVENT_GROUP_WILL_UNLOAD") + return 0 +end +function action_EVENT_GROUP_REFRESH(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_1 action_EVENT_GROUP_REFRESH") + + return 0 +end +function action_EVENT_GALLERY_START(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_1 action_EVENT_GALLERY_START:2022_6_21_205629") + if base_info.group_id == stage_2_group_id then + ScriptLib.UpdatePlayerGalleryScore(context,defs.gallery_id,{["total_num"] = defs.stage_2_goal}) + ScriptLib.SetGroupVariableValue(context, "Stage_2_Monster_Count", 0) + local _uid = ScriptLib.GetSceneOwnerUid(context) + ScriptLib.SetTeamServerGlobalValue(context, _uid, "SGV_CUR_STAGE", 2) + else + local _uid = ScriptLib.GetSceneOwnerUid(context) + ScriptLib.SetTeamServerGlobalValue(context, _uid, "SGV_CUR_STAGE", 0) + end + return 0 +end +function action_EVENT_VARIABLE_CHANGE(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_1 action_EVENT_VARIABLE_CHANGE:evt.source_name = ".. evt.source_name.."| value = "..evt.param1) + --还是判一下name,避免发无用key到gallery上 + if evt.source_name == "add_timid_cnt" then + ScriptLib.UpdatePlayerGalleryScore(context,defs.gallery_id,{[evt.source_name] = evt.param1}) + end + if evt.source_name == "add_brutal_cnt" then + ScriptLib.UpdatePlayerGalleryScore(context,defs.gallery_id,{[evt.source_name] = evt.param1}) + end + if evt.source_name == "add_elite_cnt" then + ScriptLib.UpdatePlayerGalleryScore(context,defs.gallery_id,{[evt.source_name] = evt.param1}) + end + if evt.source_name == "left_num" then + ScriptLib.UpdatePlayerGalleryScore(context,defs.gallery_id,{[evt.source_name] = evt.param1}) + end + if evt.source_name == "total_num" then + ScriptLib.UpdatePlayerGalleryScore(context,defs.gallery_id,{[evt.source_name] = evt.param1}) + end + if evt.source_name == "monster_id" then + ScriptLib.UpdatePlayerGalleryScore(context,defs.gallery_id,{[evt.source_name] = evt.param1}) + end + if evt.source_name == "monster_id_sneak" then + ScriptLib.UpdatePlayerGalleryScore(context,defs.gallery_id,{["monster_id"] = evt.param1,["sneak_count"] = 1}) + end + if evt.source_name == "is_finish" then + ScriptLib.UpdatePlayerGalleryScore(context,defs.gallery_id,{[evt.source_name] = evt.param1}) + end + if evt.source_name == "go_weak" then + ScriptLib.UpdatePlayerGalleryScore(context,defs.gallery_id,{[evt.source_name] = evt.param1}) + end + --二阶段抓到动物后 判断是否完成 + if evt.source_name == "Stage_2_Monster_Count" then + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_1 action_EVENT_VARIABLE_CHANGE1:defs.stage_2_goal="..defs.stage_2_goal) + if evt.param1 >= defs.stage_2_goal then + ScriptLib.StopGallery(context, 27002, false) + end + end + return 0 +end +function LF_Try_Start(context) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_1 LF_Try_Start:") + return 0 +end +function SLC_onStageReady(context) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 SLC_onStageReady:") + ScriptLib.SetGroupVariableValueByGroup(context,"start", 1,133002075) + return 0 +end +--初始化 +function Initialize() + --加触发器 + if temp_Tirgger ~= nil then + for k,v in pairs(temp_Tirgger) do + v.name = v.action + v.config_id = 40000000 + k + v.trigger_count = 0 + v.condition = "" + table.insert(triggers, v) + table.insert(suites[init_config.suite].triggers, v.name) + end + end + --加变量 + if temp_Variables ~= nil then + for k,v in pairs(temp_Variables) do + v.config_id = 50000000 + k + table.insert(variables,v) + end + end + + return 0 +end +Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_1/Activity_Hunt_Stage_2.lua b/Resources/Scripts/Common/V3_1/Activity_Hunt_Stage_2.lua index e69de29bb..185901680 100644 --- a/Resources/Scripts/Common/V3_1/Activity_Hunt_Stage_2.lua +++ b/Resources/Scripts/Common/V3_1/Activity_Hunt_Stage_2.lua @@ -0,0 +1,342 @@ +--[[====================================== +|| filename: Activity_Hunt_Stage_2 +|| owner: juntao.chen +|| description: 营地挑战玩法(布设group) +|| LogName: Activity_Hunt_Stage_2 +|| Protection: [Protection] +=======================================]] + +--需求defs +--[[ + local defs = { + target_group = 111 + } +]] +--[[ 一阶段: +胆小型野猪:add_timid_cnt +野蛮型野猪:add_brutal_cnt +精英野猪:add_elite_cnt + +二阶段: +monster_id +left_num +total_num ]] +local stage_1_group_id = 133002075 +local stage_2_group_id = {133002081,133002082,133002099} +local stage_3_group_id = 133002068 +local monster_list = { + [28020310] = "add_timid_cnt", + [28020311] = "add_brutal_cnt", + [28020312] = "add_elite_cnt", +} +local score_list = { + [28020310] = 10, + [28020311] = 50, + [28020312] = 100, +} +local temp_Variables = { + { config_id=50000009,name = "create_random_shield_orb", value = 0, no_refresh = false }, + { config_id=50000001,name = "create_monster_1", value = 0, no_refresh = false }, + { config_id=50000002,name = "create_monster_2", value = 0, no_refresh = false }, + { config_id=50000003,name = "create_monster_3", value = 0, no_refresh = false }, +} +local temp_Tirgger = { + {event = EventType.EVENT_MONSTER_DIE_BEFORE_LEAVE_SCENE, source = "", action = "action_EVENT_MONSTER_DIE_BEFORE_LEAVE_SCENE"}, + {event = EventType.EVENT_ENTER_REGION, source = "", action = "action_EVENT_ENTER_REGION"}, + {event = EventType.EVENT_VARIABLE_CHANGE, source = "", action = "action2_EVENT_VARIABLE_CHANGE"}, + {event = EventType.EVENT_GROUP_LOAD, source = "", action = "action_EVENT_GROUP_LOAD"}, + {event = EventType.EVENT_TIME_AXIS_PASS, source = "Active_Trap", action = "action_EVENT_TIME_AXIS_PASS_Active_Trap"}, + {event = EventType.EVENT_TIME_AXIS_PASS, source = "create_random_shield_orb", action = "action_EVENT_TIME_AXIS_PASS_create_random_shield_orb"}, + {event = EventType.EVENT_ANY_MONSTER_DIE, source = "", action = "action_EVENT_ANY_MONSTER_DIE"}, +} +function action_EVENT_TIME_AXIS_PASS_create_random_shield_orb(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 action_EVENT_TIME_AXIS_PASS_create_random_shield_orb:") + local _cfgid = ScriptLib.GetGroupTempValue(context,"last_cfgid",{}) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 action_EVENT_TIME_AXIS_PASS_create_random_shield_orb:_cfgid=".._cfgid) + ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, 20000002) + ScriptLib.CreateGadget(context, { config_id = _cfgid }) + return 0 +end +--剩余怪物数量检测:用于二阶段线性解锁黄圈 +function action_EVENT_ANY_MONSTER_DIE(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 action_EVENT_ANY_MONSTER_DIE:") + --非二阶段不跑该function + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 action_EVENT_ANY_MONSTER_DIE:base_info.group_id="..base_info.group_id) + if stage_2_group_id == nil then + return 0 + end + if #stage_2_group_id ~= 3 then + return 0 + end + if base_info.group_id ~=stage_2_group_id[1] and base_info.group_id ~=stage_2_group_id[2] and base_info.group_id ~=stage_2_group_id[3] then + return 0 + end + local _count = ScriptLib.GetGroupMonsterCount(context) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 action_EVENT_ANY_MONSTER_DIE:_count=".._count) + --1解锁2,2解锁3 + if _count == 2 and base_info.group_id == stage_2_group_id[1] then + ScriptLib.ActivateGroupLinkBundle(context, stage_2_group_id[2]) + ScriptLib.AddExtraGroupSuite(context, stage_2_group_id[2], 2) + elseif _count == 2 and base_info.group_id == stage_2_group_id[2] then + ScriptLib.ActivateGroupLinkBundle(context, stage_2_group_id[3]) + ScriptLib.AddExtraGroupSuite(context, stage_2_group_id[3], 2) + end + --如果最近踩过的黄圈是本group的圈,则更新左侧剩余数量 + local _circle = ScriptLib.GetGroupTempValue(context, "Cur_Circle",{ group_id = defs.target_group}) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 action_EVENT_ANY_MONSTER_DIE:_circle=".._circle) + if _circle == defs.circle_region then + --更新左侧面板 + ScriptLib.SetGroupVariableValueByGroup(context, "left_num", _count, defs.target_group) + end + --如果数量为0,关闭黄圈 + if _count == 0 then + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 action_EVENT_ENTER_REGION:DeactivateGroupLinkBundle") + ScriptLib.DeactivateGroupLinkBundle(context,base_info.group_id) + end + return 0 +end +--三阶段用 定时激活捕网机关 +function action_EVENT_TIME_AXIS_PASS_Active_Trap(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 action_EVENT_TIME_AXIS_PASS_Active_Trap:") + if evt.param1 == 1 then + ScriptLib.ShowReminder(context, 400174) + --随机挑选一个未激活的trap,记录config_id,生成倒三角箭头 + local _list = {} + for k,v in pairs(gadgets) do + if v.gadget_id == 70800230 and ScriptLib.GetGadgetStateByConfigId(context,base_info.group_id,v.config_id) ~= 201 then + table.insert(_list,v.config_id) + end + end + if #_list > 0 then + local _t = math.random(#_list) + ScriptLib.SetGroupTempValue(context,"random_cfgid",_list[_t],{}) + --找到待激活的机关,在他头顶创建一个倒三角 + for k,v in pairs(gadgets) do + if v.config_id == _list[_t] then + ScriptLib.CreateGadgetByConfigIdByPos(context, 20000001,{x=v.pos.x, y=v.pos.y+2, z=v.pos.z}, v.rot) + end + end + end + elseif evt.param1 == 2 then + --根据_t生成gadget,移除倒三角 + local _cfgid = ScriptLib.GetGroupTempValue(context,"random_cfgid",{}) + ScriptLib.SetGadgetStateByConfigId(context,_cfgid,201) + ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, 20000001) + end + return 0 +end +--二阶段逻辑:更新当前区域剩余怪物显示 +function action_EVENT_ENTER_REGION(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 action_EVENT_ENTER_REGION:evt.param1="..evt.param1) + --是否二阶段 + if base_info.group_id ~= stage_2_group_id[1] and base_info.group_id ~= stage_2_group_id[2] and base_info.group_id ~= stage_2_group_id[3] then + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 action_EVENT_ENTER_REGION:是否二阶段") + return 0 + end + --是否走进黄圈 + if evt.param1 ~= defs.circle_region then + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 action_EVENT_ENTER_REGION:是否走进黄圈") + return 0 + end + --记录最新踩到的黄圈 + ScriptLib.SetGroupTempValue(context,"Cur_Circle",evt.param1,{ group_id = defs.target_group}) + --更新当前区域剩余怪物显示 + local _count = ScriptLib.GetGroupMonsterCount(context) + ScriptLib.SetGroupVariableValueByGroup(context, "left_num", _count, defs.target_group) + + return 0 +end +function action_EVENT_GROUP_LOAD(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 action_EVENT_GROUP_LOAD33:") + local _uid = ScriptLib.GetSceneOwnerUid(context) + --三个阶段分别弹图文教程 + if base_info.group_id == stage_1_group_id then + ScriptLib.AssignPlayerShowTemplateReminder(context,194,{param_uid_vec={},param_vec={},uid_vec={_uid}}) + end + if base_info.group_id == stage_2_group_id[1] then + ScriptLib.AssignPlayerShowTemplateReminder(context,195,{param_uid_vec={},param_vec={},uid_vec={_uid}}) + --二阶段额外初始化下变量 + ScriptLib.SetGroupTempValue(context,"catched",0,{}) + end + + if base_info.group_id == stage_3_group_id then + --三阶段帮忙激活下八方网 + ScriptLib.AssignPlayerShowTemplateReminder(context,196,{param_uid_vec={},param_vec={},uid_vec={_uid}}) + local _time = 20 + if defs.Active_Trap_Time ~= nil then _time = defs.Active_Trap_Time end + ScriptLib.InitTimeAxis(context,"Active_Trap",{_time-5,_time},true) + end + + + return 0 +end +function action2_EVENT_VARIABLE_CHANGE(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 action2_EVENT_VARIABLE_CHANGE:"..evt.source_name.."="..evt.param1) + if evt.source_name == "create_random_shield_orb" then + local _last_cfgid = ScriptLib.GetGroupTempValue(context,"last_cfgid",{}) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 action2_EVENT_VARIABLE_CHANGE:_last_cfgid=" .. _last_cfgid) + local _list = {} + for k,v in pairs(gadgets) do + if v.gadget_id == 70800232 and v.config_id ~= _last_cfgid then + table.insert(_list,v.config_id) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 action2_EVENT_VARIABLE_CHANGE:v.config_id=" .. v.config_id) + end + end + local _t = math.random(#_list) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 action2_EVENT_VARIABLE_CHANGE:_t=" .. _t .. "| _list[_t] =" .. _list[_t] ) + ScriptLib.SetGroupTempValue(context,"last_cfgid",_list[_t] , {}) + ScriptLib.InitTimeAxis(context,"create_random_shield_orb",{5},false) + --找到待创建的护盾球,在他头顶创建一个倒三角 + for k,v in pairs(gadgets) do + if v.config_id == _list[_t] then + ScriptLib.CreateGadgetByConfigIdByPos(context, 20000002,{x=v.pos.x, y=v.pos.y+1, z=v.pos.z}, v.rot) + end + end + end + if evt.source_name == "create_monster_1" then + LF_Create_Monster_By_Random_Point(context,28020310,evt.param1) + end + if evt.source_name == "create_monster_2" then + LF_Create_Monster_By_Random_Point(context,28020311,evt.param1) + end + if evt.source_name == "create_monster_3" then + LF_Create_Monster_By_Random_Point(context,28020312,evt.param1) + end + return 0 +end +--只有一阶段才会走这个方式创建怪物 +function LF_Create_Monster_By_Random_Point(context,m_id,num) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 LF_Create_Monster_By_Random_Point:") + local _alivelist = ScriptLib.GetGroupAliveMonsterList(context,base_info.group_id) + local _count = 0 + local _list = {} + for k,v in pairs(monsters) do + if v.monster_id == m_id then + local _isalive = false + for i = 1 , #_alivelist do + if _alivelist[i] == v.config_id then + _isalive = true + break + end + end + if _isalive == false then + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 LF_Create_Monster_By_Random_Point:v.config_id="..v.config_id) + table.insert(_list,v.config_id) + else + _count = _count + 1 + end + end + end + local _max = 0 + if m_id == 28020310 then _max = defs.monster_max_1 end + if m_id == 28020311 then _max = defs.monster_max_2 end + if m_id == 28020312 then _max = defs.monster_max_3 end + --创建相应数量怪物且不超过max值 + local _create_count = 0 + if _count + num <= _max then + _create_count = num + else + _create_count = _max - _count + end + --开始创建 + for i = 1 ,_create_count do + if #_list ~= 0 then + local _t = math.random(#_list) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 LF_Create_Monster_By_Random_Point:_list[_t]=".._list[_t]) + --创建且给小猪、野林猪加初始sgv 设为0 (只有一阶段)其他阶段会默认1 + if m_id == 28020310 or m_id == 28020311 then + ScriptLib.CreateMonsterWithGlobalValue(context, _list[_t], {["SGV_STAGE"] = 0}) + else + ScriptLib.CreateMonster(context, {config_id = _list[_t], delay_time = 0}) + end + --创建完移出待创建list + table.remove(_list,_t) + end + end + return 0 +end +function action_EVENT_MONSTER_DIE_BEFORE_LEAVE_SCENE(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 action_EVENT_MONSTER_DIE_BEFORE_LEAVE_SCENE:"..evt.source_eid) + local _v = ScriptLib.GetGroupTempValue(context,"eid_"..evt.source_eid,{}) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 action_EVENT_MONSTER_DIE_BEFORE_LEAVE_SCENE:_v=".._v) + if base_info.group_id == stage_1_group_id then + --一阶段 + local _id = ScriptLib.GetMonsterIdByEntityId(context, evt.source_eid) + --一阶段 林野猪和雪猪,不看v直接算分(他们不会逃跑,死了肯定都是捕捉) + if _id == 28020311 or _id == 28020312 then + ScriptLib.SetGroupVariableValueByGroup(context, monster_list[_id], 1, defs.target_group) + elseif _id == 28020310 then--一阶段小猪 + if _v ~= 0 then --非0都算捕捉 + --根据一阶段怪物id发对应key + ScriptLib.SetGroupVariableValueByGroup(context, monster_list[_id], 1, defs.target_group) + end + end + elseif base_info.group_id == stage_3_group_id then + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 action_EVENT_MONSTER_DIE_BEFORE_LEAVE_SCENE:base_info.group_id == stage_3_group_id") + --三阶段 + ScriptLib.SetGroupVariableValueByGroup(context, "is_finish", 1, defs.target_group) + else + --二阶段 + if _v ~= 0 then + --走到这里的怪都是抓到的,发monsterid + local _monster_id = ScriptLib.GetMonsterIdByEntityId(context, evt.source_eid) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 action_EVENT_MONSTER_DIE_BEFORE_LEAVE_SCENE:_monster_id=".._monster_id) + if _v == 1 then + ScriptLib.SetGroupVariableValueByGroup(context, "monster_id", _monster_id, defs.target_group) + elseif _v == 2 then + ScriptLib.SetGroupVariableValueByGroup(context, "monster_id_sneak", _monster_id, defs.target_group) + end + --发数量检测变量 + ScriptLib.ChangeGroupVariableValueByGroup(context, "Stage_2_Monster_Count", 1, defs.target_group) + end + end + return 0 +end +function SLC_BeCaptured(context) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 SLC_BeCaptured:") + if ScriptLib.GetGroupTempValue(context,"eid_"..context.source_entity_id,{}) == 0 then + ScriptLib.SetGroupTempValue(context,"eid_"..context.source_entity_id,1,{}) + end + return 0 +end +function SLC_HuntAnimal_Sneak(context) + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 SLC_HuntAnimal_Sneak:") + ScriptLib.SetGroupTempValue(context,"eid_"..context.source_entity_id,2,{}) + return 0 +end +function SLC_GoWeak(context)--三阶段雪猪王眩晕计数 + ScriptLib.PrintContextLog(context,"## Activity_Hunt_Stage_2 SLC_GoWeak:") + if base_info.group_id ~= stage_3_group_id then + return 0 + end + ScriptLib.SetGroupVariableValueByGroup(context, "go_weak", 1, defs.target_group) + return 0 +end +--初始化 +function Initialize() + --加触发器 + if temp_Tirgger ~= nil then + for k,v in pairs(temp_Tirgger) do + v.name = v.action + v.config_id = 40000000 + k + v.trigger_count = 0 + v.condition = "" + table.insert(triggers, v) + table.insert(suites[init_config.suite].triggers, v.name) + end + end + --加变量 + if temp_Variables ~= nil then + for k,v in pairs(temp_Variables) do + table.insert(variables,v) + end + end + + --指示物件倒三角 + local _temp_gadget = {config_id = 20000001, gadget_id = 70710432, pos = { x = 1074.944, y = 286.500, z = -424.074 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, area_id = 10 } + table.insert(gadgets,_temp_gadget) + local _temp_gadget = {config_id = 20000002, gadget_id = 70710432, pos = { x = 1074.944, y = 286.500, z = -424.074 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, area_id = 10 } + table.insert(gadgets,_temp_gadget) + return 0 +end +Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_1/Activity_RockBoardExplore.lua b/Resources/Scripts/Common/V3_1/Activity_RockBoardExplore.lua index f1236a482..cb13dd610 100644 --- a/Resources/Scripts/Common/V3_1/Activity_RockBoardExplore.lua +++ b/Resources/Scripts/Common/V3_1/Activity_RockBoardExplore.lua @@ -8,7 +8,7 @@ --需求defs --[[ - defs = { + local defs = { enter_region = 111, leave_region = 111, } diff --git a/Resources/Scripts/Common/V3_1/Activity_WindMaze_Battle.lua b/Resources/Scripts/Common/V3_1/Activity_WindMaze_Battle.lua index 452bace42..dc61f977d 100644 --- a/Resources/Scripts/Common/V3_1/Activity_WindMaze_Battle.lua +++ b/Resources/Scripts/Common/V3_1/Activity_WindMaze_Battle.lua @@ -8,7 +8,7 @@ --需求misc --[[ - defs ={ + local defs ={ gallery_id = 27004, finish_region = 111, } diff --git a/Resources/Scripts/Common/V3_1/Activity_WindMaze_Normal.lua b/Resources/Scripts/Common/V3_1/Activity_WindMaze_Normal.lua index e69de29bb..5622a558d 100644 --- a/Resources/Scripts/Common/V3_1/Activity_WindMaze_Normal.lua +++ b/Resources/Scripts/Common/V3_1/Activity_WindMaze_Normal.lua @@ -0,0 +1,504 @@ +--[[====================================== +|| filename: Activity_WindMaze_Normal +|| owner: juntao.chen +|| description: 风场迷宫活动关卡流程控制 +|| LogName: Activity_WindMaze_Normal +|| Protection: [Protection] +=======================================]] + +--需求misc +--[[ + local defs ={ + gallery_id = 27004, + finish_region = 111, + challenge_id = 2, + ball_challenge_id = 1, + + } +]] +--测试结束 +local Stage_Normal = { + BigOrb_Gadget_ID = 70800281, + SmallOrb_Gadget_ID = 70800268, + Coin_Gadget_ID = 70800269, + Ball_Challenge_Time = 15, +} +local level_list = { + [247021001] = 1, + [247022002] = 2, + [247023001] = 3, + [247024001] = 4, +} + +local temp_Variables = { + { name = "gm_Try_Start", value = 0, no_refresh = false }, + { name = "gm_Try_End", value = 0, no_refresh = false }, + { name = "element_ball", value = 0, no_refresh = false }, + { name = "coin", value = 0, no_refresh = false }, + { name = "killed_monster", value = 0, no_refresh = false }, + { name = "rotate1", value = 0, no_refresh = false }, + { name = "rotate2", value = 0, no_refresh = false }, + { name = "gm_Try_Start_Ball", value = 0, no_refresh = false }, + { name = "gm_Try_Finish_Ball", value = 0, no_refresh = false }, + { name = "Ball_Challenge_Finish", value = 0, no_refresh = false }, +} +local temp_Tirgger = { + {event = EventType.EVENT_GROUP_LOAD, source = "", action = "action_EVENT_GROUP_LOAD"}, + {event = EventType.EVENT_VARIABLE_CHANGE, source = "", action = "action_EVENT_VARIABLE_CHANGE"}, + {event = EventType.EVENT_ENTER_REGION, source = "", action = "action_EVENT_ENTER_REGION", forbid_guest = false }, + {event = EventType.EVENT_ANY_GADGET_DIE, source = "", action = "action_EVENT_ANY_GADGET_DIE"}, + {event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", action = "action_EVENT_GADGET_STATE_CHANGE"}, + {event = EventType.EVENT_TIME_AXIS_PASS, source = "Ball_Challenge", action = "action_EVENT_TIME_AXIS_PASS_Ball_Challenge"}, + {event = EventType.EVENT_GROUP_WILL_UNLOAD, source = "", action = "action_EVENT_GROUP_WILL_UNLOAD"}, + {event = EventType.EVENT_ANY_MONSTER_DIE, source = "", action = "action_EVENT_ANY_MONSTER_DIE"}, + {event = EventType.EVENT_GALLERY_STOP, source = "", action = "action_EVENT_GALLERY_STOP"}, + {event = EventType.EVENT_GALLERY_PLAYER_LEAVE_SCENE, source = "", action = "action_EVENT_GALLERY_PLAYER_LEAVE_SCENE"}, + {event = EventType.EVENT_DUNGEON_SETTLE, source = "", action = "action_EVENT_DUNGEON_SETTLE"}, + {event = EventType.EVENT_DUNGEON_ALL_AVATAR_DIE, source = "", action = "action_EVENT_DUNGEON_ALL_AVATAR_DIE"}, + -- +} +--团灭检测器 +function action_EVENT_DUNGEON_ALL_AVATAR_DIE(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal action_EVENT_DUNGEON_ALL_AVATAR_DIE" ) + local _uidlist = ScriptLib.GetSceneUidList(context) + if _uidlist == nil then + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal action_EVENT_DUNGEON_ALL_AVATAR_DIE:_uidlist == nil") + return 0 + end + for i = 1 ,#_uidlist do + if ScriptLib.IsPlayerAllAvatarDie(context,_uidlist[i]) == false then --任一活着则结束 + return 0 + end + end + ScriptLib.StopGalleryByReason(context, defs.gallery_id, 8) + return 0 +end +--处理地城关闭,如单人Esc退出 +function action_EVENT_DUNGEON_SETTLE(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal action_EVENT_DUNGEON_SETTLE" ) + LF_Try_End(context,true) + return 0 +end +--处理联机时其中一人离开的情况 +function action_EVENT_GALLERY_PLAYER_LEAVE_SCENE(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal action_EVENT_GALLERY_PLAYER_LEAVE_SCENE" ) + local _region_eid = ScriptLib.GetGroupTempValue(context,"region_eid",{}) + LF_Check_Finish(context,false) + return 0 +end +function action_EVENT_GALLERY_STOP(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal action_EVENT_GALLERY_STOP |is_fail = "..evt.param2.." |reason = "..evt.param3 ) +--[[ enum GalleryStopReason + { + GALLERY_STOP_NONE = 0; + GALLERY_STOP_TIMEUP = 1; + GALLERY_STOP_CLIENT_INTERRUPT = 2; + GALLERY_STOP_LUA_INTERRUPT_SUCCESS = 3; + GALLERY_STOP_LUA_INTERRUPT_FAIL = 4; + GALLERY_STOP_OWNER_LEAVE_SCENE = 5; + GALLERY_STOP_PLAY_INIT_FAILED = 6; // 玩法启动失败 + GALLERY_STOP_OTHER_PLAYER_ENTER = 7;// 其他玩家进来 + GALLERY_STOP_AVATAR_DIE = 8; // AVATAR阵亡 + GALLERY_STOP_FINISHED = 9; // 完成gallery + GALLERY_STOP_FUNGUS_ALL_DIE = 10; // 3.2新增蕈兽团灭发起gallery stop + } ]] + if evt.param3 == 3 or evt.param3 == 9 then + ScriptLib.CauseDungeonSuccess(context) + else + ScriptLib.CauseDungeonFail(context) + end + return 0 +end +function action_EVENT_ANY_MONSTER_DIE(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal action_EVENT_ANY_MONSTER_DIE") + ScriptLib.ChangeGroupVariableValue(context,"killed_monster",1) + return 0 +end +function action_EVENT_GROUP_WILL_UNLOAD(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal action_EVENT_GROUP_WILL_UNLOAD") + LF_Try_End(context,true) + return 0 +end +function action_EVENT_TIME_AXIS_PASS_Ball_Challenge(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal action_EVENT_TIME_AXIS_PASS_Ball_Challenge: evt.param1=" .. evt.param1) + --重置各组吃球 + LF_Try_FailBall(context) + --重置标记 + ScriptLib.SetGroupTempValue(context,"Ball_Cfgid",0,{}) + return 0 +end +function action_EVENT_GADGET_STATE_CHANGE(context,evt)--吃大球 + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal action_EVENT_GADGET_STATE_CHANGE: evt.param1=" .. evt.param1) + --查询gadget_id + local _gadgetid = 0 + for k,v in pairs(gadgets) do + if v.config_id == evt.param2 then + _gadgetid = v.gadget_id + break + end + end + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal action_EVENT_GADGET_STATE_CHANGE: _gadgetid=" .. _gadgetid) + if _gadgetid == Stage_Normal.BigOrb_Gadget_ID and evt.param1 == 201 then + --如果大球切了 + if ScriptLib.GetGroupTempValue(context,"Ball_Cfgid",{}) ==0 then + --且没有正在进行的吃球挑战 + LF_Try_StartBall(context,evt.param2) + end + end + return 0 +end +function action_EVENT_ANY_GADGET_DIE(context,evt)--吃金币、吃小球 + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal action_EVENT_ANY_GADGET_DIE: evt.param1=" .. evt.param1) + --查询gadgetid + local _gadgetid = 0 + for k,v in pairs(gadgets) do + if v.config_id == evt.param1 then + _gadgetid = v.gadget_id + break + end + end + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal action_EVENT_ANY_GADGET_DIE:_gadgetid = ".._gadgetid) + --金币 + if _gadgetid == Stage_Normal.Coin_Gadget_ID then + ScriptLib.ChangeGroupVariableValue(context,"coin",1) + --watcher单局收集金币数量 + local _uidlist = ScriptLib.GetSceneUidList(context) + if _uidlist == nil then + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal action_EVENT_ANY_GADGET_DIE:_uidlist == nil") + return 0 + end + if level_list == nil then + return 0 + end + if level_list[base_info.group_id] == nil then + return 0 + end + for i = 1 , #_uidlist do + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal action_EVENT_ANY_GADGET_DIE:level_list[base_info.group_id] = "..level_list[base_info.group_id]) + ScriptLib.AddExhibitionReplaceableDataAfterSuccess(context, _uidlist[i], "Activity_WindField_"..level_list[base_info.group_id].."_Coin", 1, {play_type=ExhibitionPlayType.Gallery,gallery_id=defs.gallery_id}) + end + end + --小球 + if _gadgetid == Stage_Normal.SmallOrb_Gadget_ID then + ScriptLib.ChangeGroupTempValue(context,"ball_count",-1,{}) + ScriptLib.ChangeGroupTempValue(context,"temp_ball_current_count",1,{}) + --update到服务器 + ScriptLib.UpdatePlayerGalleryScore(context,defs.gallery_id,{["ball_current_count"] = ScriptLib.GetGroupTempValue(context,"temp_ball_current_count",{})}) + end + return 0 +end +function action_EVENT_ENTER_REGION(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal action_EVENT_ENTER_REGION:p1="..evt.param1.."|defs.finish_region="..defs.finish_region) + if evt.param1 == defs.finish_region then + ScriptLib.SetGroupTempValue(context,"region_eid",evt.source_eid,{}) + LF_Check_Finish(context,true) + end + if evt.param1 == defs.ability_region then + if level_list == nil then + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal action_EVENT_ENTER_REGION:level_list == nil") + return 0 + end + if level_list[base_info.group_id] == nil then + return 0 + end + if level_list[base_info.group_id] == 4 then + --ScriptLib.AttachGalleryTeamAbilityGroup(context, {evt.uid}, defs.gallery_id, 0) + end + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal action_EVENT_ENTER_REGION:清空陈列室替换值=".."Activity_WindField_"..level_list[base_info.group_id].."_Ball") + --清空陈列室替换值 + --球 + ScriptLib.ClearExhibitionReplaceableData(context, evt.uid, "Activity_WindField_"..level_list[base_info.group_id].."_Ball") + --金币 + ScriptLib.ClearExhibitionReplaceableData(context, evt.uid, "Activity_WindField_"..level_list[base_info.group_id].."_Coin") + end + return 0 +end +function LF_Check_Finish(context,is_enter_region) + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal LF_Check_Finish:") +--[[ --Step1 检查吃够球了没【砍了】 + local _maxcount = 0 + for k,v in pairs(gadgets) do + if v.gadget_id == Stage_Normal.BigOrb_Gadget_ID then + _maxcount = _maxcount + 1 + end + end + local _ball = ScriptLib.GetGroupVariableValue(context,"element_ball") + if _ball < _maxcount then + --没吃够球,弹reminder,return + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal LF_Check_Finish:没吃够球,弹reminder,return") + ScriptLib.ShowReminder(context,470210101) + return 0 + end ]] + + --Step2 检查都进region了没 + --2.1 取活着的玩家_alive_uidlist + local _eid = ScriptLib.GetEntityIdByConfigId(context, defs.finish_region) + local _count = ScriptLib.GetRegionEntityCount(context, { region_eid =_eid, entity_type = EntityType.AVATAR }) + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal LF_Check_Finish:_count".._count) + local _alive_uidlist = {} + local _uidlist = ScriptLib.GetSceneUidList(context) + if _uidlist == nil then + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal LF_Check_Finish:_uidlist == nil") + return 0 + end + for i = 1 , #_uidlist do + if ScriptLib.IsPlayerAllAvatarDie(context, _uidlist[i]) == false then + table.insert(_alive_uidlist,_uidlist[i]) + end + end + --2.2 判断活着的玩家都到达 + if _count == 0 then + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal LF_Check_Finish:终点位置没人") + --终点没人,return + return 0 + end + if _count ~= #_alive_uidlist then + --还有人没到达终点,return + if is_enter_region == true then + --如果这次检测是由enter_region引起,则提示玩家 + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal LF_Check_Finish:需要全部人到达终点,弹reminder,return") + ScriptLib.ShowReminder(context,470210102) + end + return 0 + end + + --完成watcher[要先于gallerystop执行 + --watcher完成 + --local _uidlist = ScriptLib.GetSceneUidList(context)--上面有了 + if level_list == nil then + return 0 + end + if level_list[base_info.group_id] == nil then + return 0 + end + for i = 1 , #_uidlist do + ScriptLib.AddExhibitionReplaceableDataAfterSuccess(context, _uidlist[i], "Activity_WindField_"..level_list[base_info.group_id].."_LevelFinish", 1, {play_type=ExhibitionPlayType.Gallery,gallery_id=defs.gallery_id}) + end + + --完成 + LF_Try_End(context,false) + return 0 +end +function action_EVENT_VARIABLE_CHANGE(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal action_EVENT_VARIABLE_CHANGE:"..evt.source_name.." = "..evt.param1) + --gm + if evt.source_name == "gm_Try_Start" and evt.param1 ~= 0 then + LF_Try_Start(context,evt.param1) + elseif evt.source_name == "gm_Try_End" and evt.param1 ~= 0 then + LF_Try_End(context,true) + elseif evt.source_name == "gm_Try_Start_Ball" then + LF_Try_StartBall(context,ball_id) + elseif evt.source_name == "gm_Try_Finish_Ball" then + LF_Try_FinishBall(context) + --gm结束 + --正式: + elseif evt.source_name == "ball_count" then + if evt.param1 == 0 then + LF_Try_FinishBall(context) + end + elseif evt.source_name == "element_ball" then + ScriptLib.UpdatePlayerGalleryScore(context,defs.gallery_id,{[evt.source_name] = evt.param1}) + + elseif evt.source_name == "killed_monster" then + ScriptLib.UpdatePlayerGalleryScore(context,defs.gallery_id,{[evt.source_name] = evt.param1}) + + elseif evt.source_name == "coin" then + ScriptLib.UpdatePlayerGalleryScore(context,defs.gallery_id,{[evt.source_name] = evt.param1}) + end + return 0 +end +function action_EVENT_GROUP_LOAD(context,evt) + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal action_EVENT_GROUP_LOAD:") + ScriptLib.SetGroupVariableValue(context,"element_ball",0) + ScriptLib.SetGroupVariableValue(context,"coin",0) + LF_Try_Start(context,2) + return 0 +end +function LF_Try_End(context,is_fail) + if is_fail then + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal LF_Try_End:true") + else + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal LF_Try_End:false") + end + ScriptLib.StopGallery(context, defs.gallery_id, is_fail) + return 0 +end +function LF_Try_StartBall(context,ball_id) + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal LF_Try_StartBall") + local _get_config_suc = false + --对大小球suite的操作 + for k,v in pairs(windball_list) do + if k == ball_id then --找到对应配置 + _get_config_suc = true + if suites[v] == nil then + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal LF_Try_StartBall:suites[v] == nil") + return 0 + end + --创建小球们 + ScriptLib.AddExtraGroupSuite(context,base_info.group_id,v) + --记录有多少个小球(用于本次挑战计数,吃一个-1,直到0) + ScriptLib.SetGroupTempValue(context,"ball_count",#suites[v].gadgets,{}) + --组织数据table,update到服务器 + local _uidlist = ScriptLib.GetSceneUidList(context) + if _uidlist == nil then + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal LF_Try_StartBall:_uidlist == nil") + return 0 + end + local _time = defs.ball_challenge_time + if _time == nil then + _time = Stage_Normal.Ball_Challenge_Time + ScriptLib.PrintGroupWarning(context,"## Activity_WindMaze_Normal LF_Try_StartBall:没配吃球挑战时间,设为20秒") + else + end + local _score = { + ["is_start"] = true, + ["is_success"] = false, + ["challenge_time"] = _time, + ["show_id"] = defs.ball_challenge_id, + ["ball_max_count"] = #suites[v].gadgets, + ["ball_current_count"] = 0, + } + ScriptLib.UpdatePlayerGalleryScore(context,defs.gallery_id,_score) + --temp变量归零(用来每次吃球给服务器发"ball_current_count") + ScriptLib.SetGroupTempValue(context,"temp_ball_current_count",0,{}) + --记录当前处于哪组捡球小挑战。(完成的时候根据这个判断完成了哪组) + ScriptLib.SetGroupTempValue(context,"Ball_Cfgid",ball_id,{}) + --计时 + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal LF_Try_StartBall:_time=".._time) + ScriptLib.InitTimeAxis(context,"Ball_Challenge",{_time},false) + else + --其他的大球暂时隐藏 + ScriptLib.SetGadgetStateByConfigId(context,k,201) + end + end + if _get_config_suc == false then ScriptLib.PrintGroupWarning(context,"## Activity_WindMaze_Normal LF_Try_StartBall:找不到吃球配置,大球configid:"..ball_id) end + return 0 +end +function LF_Try_FailBall(context) + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal LF_Try_FailBall") + --结束捡球挑战 + local _score = { + ["is_start"] = false, + ["is_success"] = false, + ["challenge_time"] = 0, + ["show_id"] = defs.ball_challenge_id, + } + ScriptLib.UpdatePlayerGalleryScore(context,defs.gallery_id,_score) + --切回原挑战 + local _score = { + ["is_start"] = true, + ["is_success"] = false, + ["challenge_time"] = 180, + ["show_id"] = defs.challenge_id, + } + ScriptLib.UpdatePlayerGalleryScore(context,defs.gallery_id,_score) + local _cfgid = ScriptLib.GetGroupTempValue(context,"Ball_Cfgid",{}) + for k,v in pairs(windball_list) do + if k == _cfgid then + ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, v) + ScriptLib.SetGadgetStateByConfigId(context,k,0) + else + --未完成的大球重新显示 + if ScriptLib.GetGroupTempValue(context,"BigOrb_Is_Fisnish_"..k,{}) ~=1 then + ScriptLib.SetGadgetStateByConfigId(context,k,0) + end + end + end + --重置标记 + ScriptLib.SetGroupTempValue(context,"Ball_Cfgid",0,{}) + return 0 +end +function LF_Try_FinishBall(context) + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal LF_Try_FinishBall") + --结束捡球挑战 + local _score = { + ["is_start"] = false, + ["is_success"] = true, + ["challenge_time"] = 0, + ["show_id"] = defs.ball_challenge_id, + } + ScriptLib.UpdatePlayerGalleryScore(context,defs.gallery_id,_score) + --切回原挑战 + local _score = { + ["is_start"] = true, + ["is_success"] = false, + ["challenge_time"] = 180, + ["show_id"] = defs.challenge_id, + } + ScriptLib.UpdatePlayerGalleryScore(context,defs.gallery_id,_score) + --给大球计数+1 + ScriptLib.ChangeGroupVariableValue(context,"element_ball",1) + --记录该组吃球已完成 + local _cfgid = ScriptLib.GetGroupTempValue(context,"Ball_Cfgid",{}) + ScriptLib.SetGroupTempValue(context,"BigOrb_Is_Fisnish_".._cfgid,1,{}) + --重置其他大球 + for k,v in pairs(windball_list) do + if ScriptLib.GetGroupTempValue(context,"BigOrb_Is_Fisnish_"..k,{}) ~= 1 then + ScriptLib.SetGadgetStateByConfigId(context,k,0) + end + end + --重置标记 + ScriptLib.SetGroupTempValue(context,"Ball_Cfgid",0,{}) + --停掉计时器 + ScriptLib.EndTimeAxis(context,"Ball_Challenge") + --通知LD完成,值为大球的id + ScriptLib.SetGroupVariableValue(context,"Ball_Challenge_Finish",_cfgid) + --watcher单局收集风元素球数量 + local _uidlist = ScriptLib.GetSceneUidList(context) + if _uidlist == nil then + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal LF_Try_StartBall:_uidlist == nil") + return 0 + end + if level_list == nil then + return 0 + end + if level_list[base_info.group_id] == nil then + return 0 + end + for i = 1 , #_uidlist do + ScriptLib.AddExhibitionReplaceableDataAfterSuccess(context, _uidlist[i], "Activity_WindField_"..level_list[base_info.group_id].."_Ball", 1, {play_type=ExhibitionPlayType.Gallery,gallery_id=defs.gallery_id}) + end + return 0 +end +function LF_Try_Start(context,show_id) + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal LF_Try_Start: is_start = true") + local uidlist = ScriptLib.GetSceneUidList(context) + if uidlist == nil then + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal LF_Try_StartBall:uidlist == nil") + return 0 + end + ScriptLib.PrintContextLog(context,"## Activity_WindMaze_Normal LF_Try_Start: #uidlist = "..#uidlist) + ScriptLib.SetPlayerStartGallery(context,defs.gallery_id,uidlist) + local _score = { + ["is_start"] = true, + ["is_success"] = false, + ["challenge_time"] = 180, + ["show_id"] = defs.challenge_id, + } + ScriptLib.UpdatePlayerGalleryScore(context,defs.gallery_id,_score) + return 0 +end +--初始化 +function Initialize() + --加触发器 + if temp_Tirgger ~= nil then + for k,v in pairs(temp_Tirgger) do + v.name = v.action + v.config_id = 40000000 + k + v.trigger_count = 0 + v.condition = "" + table.insert(triggers, v) + table.insert(suites[init_config.suite].triggers, v.name) + end + end + --加变量 + if temp_Variables ~= nil then + for k,v in pairs(temp_Variables) do + v.config_id = 50000000 + k + table.insert(variables,v) + end + end + + return 0 +end +Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_1/CampChallenge.lua b/Resources/Scripts/Common/V3_1/CampChallenge.lua index e69de29bb..91416cbc1 100644 --- a/Resources/Scripts/Common/V3_1/CampChallenge.lua +++ b/Resources/Scripts/Common/V3_1/CampChallenge.lua @@ -0,0 +1,186 @@ +--[[====================================== +|| filename: CampChallenge +|| owner: juntao.chen +|| description: 营地挑战玩法 +|| LogName: CampChallenge +|| Protection: [Protection] +=======================================]] + +--需求defs +--[[ + local defs = { + challenge_id = 111, + enter_region = 1, + leave_region = 1, + trigger_time = 1 + } +]] +local buff_id_list = { + [2010060] = 1, + [2010061] = 3, + [2010062] = 2, + [2010063] = 3, + [2010064] = 1, +} +local temp_Variables = { + { config_id=50000001,name = "SET_TRIGGER", value = 0, no_refresh = true }, +} +local temp_Tirgger = { + {event = EventType.EVENT_ENTER_REGION, source = "", action = "action_EVENT_ENTER_REGION",forbid_guest = false}, + {event = EventType.EVENT_LEAVE_REGION, source = "", action = "action_EVENT_LEAVE_REGION",forbid_guest = false}, + {event = EventType.EVENT_VARIABLE_CHANGE, source = "SET_TRIGGER", action = "EVENT_VARIABLE_CHANGE_SET_TRIGGER",tag = "111"}, + {event = EventType.EVENT_CHALLENGE_SUCCESS, source = "", action = "action_EVENT_CHALLENGE_SUCCESS"}, + {event = EventType.EVENT_CHALLENGE_FAIL, source = "", action = "action_EVENT_CHALLENGE_FAIL"}, + {event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", action = "action_EVENT_GADGET_STATE_CHANGE"}, + --{event = EventType.EVENT_MONSTER_BATTLE, source = "", action = "action_EVENT_MONSTER_BATTLE"}, --不需要了 +} +--[[ function action_EVENT_MONSTER_BATTLE(context,evt) + ScriptLib.PrintContextLog(context, "## CampChallenge : action_EVENT_MONSTER_BATTLE ") + return 0 +end + ]] +--风种子被拾取,传日志 +function action_EVENT_GADGET_STATE_CHANGE(context,evt) + ScriptLib.PrintContextLog(context, "## CampChallenge : action_EVENT_GADGET_STATE_CHANGE ") + if evt.param1 ~= 201 then return 0 end + if ScriptLib.GetGadgetIdByEntityId(context,evt.source_eid) ~= 70800251 then return 0 end + ScriptLib.PrintContextLog(context, "## CampChallenge : action_EVENT_GADGET_STATE_CHANGE 风种子被拾取") + --【【3.1 backlog内】数据埋点 - 蒙德佳酿节(TD)相关运营埋点】 + --https://www.tapd.cn/22963631/prong/stories/view/1122963631001540454 + local _trans = ScriptLib.GetChallengeTransaction(context, defs.challenge_id) + ScriptLib.MarkGroupLuaAction(context, "Vintage_Camp_4",_trans,{}) + return 0 +end + +--挑战失败,传日志 +function action_EVENT_CHALLENGE_FAIL(context,evt) + ScriptLib.PrintContextLog(context, "## CampChallenge : action_EVENT_CHALLENGE_FAIL ") + --【【3.1 backlog内】数据埋点 - 蒙德佳酿节(TD)相关运营埋点】 + --https://www.tapd.cn/22963631/prong/stories/view/1122963631001540454 + ScriptLib.MarkGroupLuaAction(context, "Vintage_Camp_3",evt.param_str1,{}) + + --失败后删掉额外suite + ScriptLib.RefreshGroup(context,{group_id = base_info.group_id, suite = init_config.suite}) + return 0 +end + +--挑战成功,关grouplink、传日志 +function action_EVENT_CHALLENGE_SUCCESS(context,evt) + ScriptLib.PrintContextLog(context, "## CampChallenge : action_EVENT_CHALLENGE_SUCCESS ") + + --移除ability region(该操作会导致被移除的region触发leave_region,顺便会恢复visionType) + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.REGION, defs.leave_region) + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.REGION, defs.enter_region) + + --bundle完成 + ScriptLib.FinishGroupLinkBundle(context, base_info.group_id) + + return 0 +end + +--挑战进度变化,传日志 +function EVENT_VARIABLE_CHANGE_SET_TRIGGER(context,evt) + ScriptLib.PrintContextLog(context, "## CampChallenge : EVENT_VARIABLE_CHANGE_SET_TRIGGER ") + --【【3.1 backlog内】数据埋点 - 蒙德佳酿节(TD)相关运营埋点】 + --https://www.tapd.cn/22963631/prong/stories/view/1122963631001540454 + local _trans = ScriptLib.GetChallengeTransaction(context, defs.challenge_id) + ScriptLib.MarkGroupLuaAction(context, "Vintage_Camp_2",_trans,{["cur_progress"] = evt.param1,["total_progress"]= defs.trigger_time}) + return 0 +end + +--主客机进区域设置visiontype;主机进区域开挑战、恢复suite内容、传日志 +function action_EVENT_ENTER_REGION(context,evt) + ScriptLib.PrintContextLog(context, "## CampChallenge : action_EVENT_ENTER_REGION:evt.param1 = "..evt.param1.."uid = "..evt.uid) + if evt.param1 ~= defs.enter_region then + ScriptLib.PrintContextLog(context, "## CampChallenge : action_EVENT_ENTER_REGION:".." evt.param1 ~= defs.enter_region") + return 0 + end + + -- 主客机都设置visionType + ScriptLib.SetPlayerGroupVisionType(context, {evt.uid}, {0}) + + if evt.uid ~= ScriptLib.GetSceneOwnerUid(context) then --剩余操作只对主机执行 + ScriptLib.PrintContextLog(context, "## CampChallenge : action_EVENT_ENTER_REGION:".."evt.uid ~= ScriptLib.GetSceneOwnerUid(context) ") + return 0 + end + + if ScriptLib.IsChallengeStartedByChallengeIndex(context,base_info.group_id,defs.challenge_id) == true then + ScriptLib.PrintContextLog(context, "## CampChallenge : action_EVENT_ENTER_REGION:".." ScriptLib.IsChallengeStartedByChallengeIndex(context,base_info.group_id,defs.challenge_id) == true ") + return 0 + end + + local _cur_count = ScriptLib.GetGroupVariableValue(context,"SET_TRIGGER") + if _cur_count >= defs.trigger_time then + ScriptLib.PrintContextLog(context, "## CampChallenge : action_EVENT_ENTER_REGION:".."_cur_count >= defs.trigger_time") + ScriptLib.FinishGroupLinkBundle(context, base_info.group_id)--保底再次finish一下 + return 0 --进度已完成,不开挑战 + end + + --开挑战 + ScriptLib.StartChallenge(context, defs.challenge_id, defs.challenge_id, {3, 111, defs.trigger_time, 1, _cur_count}) + + --【【3.1 backlog内】数据埋点 - 蒙德佳酿节(TD)相关运营埋点】 + --https://www.tapd.cn/22963631/prong/stories/view/1122963631001540454 + local _trans = ScriptLib.GetChallengeTransaction(context, defs.challenge_id) + ScriptLib.MarkGroupLuaAction(context, "Vintage_Camp_1",_trans,{}) + + --恢复suite内容 + if Phase == nil then + ScriptLib.PrintContextLog(context, "## CampChallenge : action_EVENT_ENTER_REGION LD注意:没有配置Phase") + return 0 + end + local _p = ScriptLib.GetGroupVariableValue(context,"STAGE") + if _p ==0 then + ScriptLib.PrintContextLog(context, "## CampChallenge : action_EVENT_ENTER_REGION LD注意:没有找到Variable:STAGE") + return 0 + end + if Phase[_p] == nil then + ScriptLib.PrintContextLog(context, "## CampChallenge : action_EVENT_ENTER_REGION LD注意:没有找到STAGE=".._p.."对应的suite配置") + return 0 + end + for i = 1 , #Phase[_p] do + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, Phase[_p][i]) + end + return 0 +end +--主客机出区域恢复visiontype; 主机出区域挑战失败、group重置 +function action_EVENT_LEAVE_REGION(context,evt) + ScriptLib.PrintContextLog(context, "## CampChallenge : action_EVENT_LEAVE_REGION evt.param1="..evt.param1 .. "|defs.leave_region = "..defs.leave_region) + if evt.param1 ~= defs.leave_region then return 0 end + + --主客机离开恢复visionType + ScriptLib.SetPlayerGroupVisionType(context, {evt.uid}, {1}) + + if evt.uid ~= ScriptLib.GetSceneOwnerUid(context) then + return 0 + end + + --主机离开关挑战 + if ScriptLib.IsChallengeStartedByChallengeIndex(context,base_info.group_id,defs.challenge_id) == true then + ScriptLib.StopChallenge(context, defs.challenge_id, 0) + end + return 0 +end +--初始化 +function Initialize() + --加触发器 + if temp_Tirgger ~= nil then + for k,v in pairs(temp_Tirgger) do + v.name = v.action + v.config_id = 40000000 + k + v.trigger_count = 0 + v.condition = "" + table.insert(triggers, v) + table.insert(suites[init_config.suite].triggers, v.name) + end + end + --加变量 + if temp_Variables ~= nil then + for k,v in pairs(temp_Variables) do + table.insert(variables,v) + end + end + + return 0 +end +Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_1/FightingStage_ByNum.lua b/Resources/Scripts/Common/V3_1/FightingStage_ByNum.lua index e69de29bb..380e20eb2 100644 --- a/Resources/Scripts/Common/V3_1/FightingStage_ByNum.lua +++ b/Resources/Scripts/Common/V3_1/FightingStage_ByNum.lua @@ -0,0 +1,498 @@ +--2.5换人挑战玩法 +--ServerUploadTool Save to [/root/env/data/lua/common/V2_5] +--miscs配置内容 +--[[ +击杀数量,每击杀一定数量的怪物,换一个刷怪池子,到最后一个池子时无限刷怪 +没有精英怪 +一关内最多5个池子,难度会逐渐提升,一关定时4分钟, +普通玩家可能只能刷到池子3,能拿到所有奖励,头部玩家能刷到池子5,后面的2个池子就是用于给头部玩家进行 +--fever进度升级节点 +local fever_progress_table = { + 0,40,120,270,570,800 +} +--各等级fever的下降速率 +local fever_attenuation = { + -1,-1,-2,-2,-3 +} +--地城对应的天气配置 +local DungeonWeather = { + 10039,10040,10041,10042 +} + +--怪物潮 +local monster_tide = { + [1] = {2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2048,2049,2050,2051}, + [2] = {2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2052,2053,2054,2055}, + [3] = {2038,2039,2040,2041,2042,2043,2044,2045,2046,2047,2056,2057,2058,2059}, + [4] = {2038,2039,2040,2041,2042,2043,2044,2045,2046,2047,2056,2057,2058,2059}, + [5] = {2038,2039,2040,2041,2042,2043,2044,2045,2046,2047,2056,2057,2058,2059}, +} + + +local defs = { + group_id = 235801002, + worktop_id = 123, --操作台对应的操作数 + air_wall = 2005, --场内空气墙对应的ConfigID + minion_fever = 5, --普通怪物死亡增加的热度值 + game_time = 360, --挑战时间 + min_monster_count = 5, --场上最少怪物数量 + max_monster_count = 5, --场上最多怪物数量 + environment_suite = 4, --环境灯光所在的Suite + noswitch_punishment_interval = 30, --不换人开始有惩罚的最小时间间隔 + num_killed_per_tide = {20, 20, 20, 20, 0} --每组怪物潮对应需要的杀怪数量 +} + +--配置一个region,覆盖场内的战斗空间,用来在玩家进入时创建空气墙 +]] + + +local local_defs = { + worktop_option = 30110, + progress_key = 1, + team_global_value = "FEVER_LEVEL", + team_noswitch_pubishment = "NOSWITCH_PUNISHMENT", + team_has_switch = "HAS_SWITCHED_TEAM", + burn_effect_level = 2, + environment_change_level = 1, + base_upgrade_reminder = 358010102, + team_noswitch_pubishment_reminder = 144, + punish_inAdvance_reminder = 201 +} + + +local time_axis = { + --扣分时间轴,每秒掉一定的分数 + fever_axis = {1}, + + noswitch_punishment_axis = {defs.noswitch_punishment_interval}, + noswitch_punishment_inAdvance_axis = {defs.noswitch_punishment_interval-(defs.punish_inAdvance_reminder_time or 3)} + +} + + +local Tri = { + [1] = { name = "group_load", config_id = 8000001, event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0}, + [2] = { name = "select_option", config_id = 8000002, event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_select_option", trigger_count = 0}, + [3] = { name = "time_axis_pass", config_id = 8000003, event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "", action = "action_time_axis_pass", trigger_count = 0}, + [4] = { name = "gallery_progress_pass", config_id = 8000004, event = EventType.EVENT_GALLERY_PROGRESS_PASS, source = "", condition = "", action = "action_gallery_progress_pass", trigger_count = 0}, + [5] = { name = "monster_tide_die", config_id = 8000005, event = EventType.EVENT_MONSTER_TIDE_DIE, source = "", condition = "", action = "action_monster_tide_die", trigger_count = 0}, + [6] = { name = "monster_die_before_leave_scene", config_id = 8000006, event = EventType.EVENT_MONSTER_DIE_BEFORE_LEAVE_SCENE, source = "", condition = "", action = "action_monster_die_before_leave_scene", trigger_count = 0}, + [7] = { name = "gallery_stop", config_id = 8000007, event = EventType.EVENT_GALLERY_STOP, source = "", condition = "", action = "action_gallery_stop", trigger_count = 0}, + [8] = { name = "sumo_switch_team", config_id = 8000008, event = EventType.EVENT_SUMO_SWITCH_TEAM_EVENT, source = "", condition = "", action = "action_sumo_switch_team", trigger_count = 0}, + [9] = { name = "dungeon_all_avatar_die", config_id = 8000009, event = EventType.EVENT_DUNGEON_ALL_AVATAR_DIE, source = "", condition = "", action = "action_dungeon_all_avatar_die", trigger_count = 0}, + [10] = { name = "dungeon_settle", config_id = 8000010, event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "", action = "action_dungeon_settle", trigger_count = 0}, + [11] = { name = "enter_start_region", config_id = 8000011, event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_enter_start_region", trigger_count = 0}, + +} + +function Initialize() + for k,v in pairs(Tri) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + for config_id,infos in pairs(monsters) do + table.insert(infos.affix, 9009) + end + + table.insert(variables,{ config_id=50000001,name = "current_monster_tide", value = 0}) + table.insert(variables,{ config_id=50000002,name = "current_elite", value = 1}) + table.insert(variables,{ config_id=50000003,name = "fever_ratio", value = 1}) + --用于记录当前是否开启不换队惩罚,用于客户端断线重连时恢复状态 + table.insert(variables,{ config_id=50000004,name = "is_noswitch_punishment", value = 0}) + --用于记录当前怪物潮中的击杀数量,当击杀数量达到配置数量时,加载下一波怪物潮 + table.insert(variables,{ config_id=50000005,name = "num_current_minion_killed", value = 0}) + --用于记录是否已经创建空气墙,防止玩家卡在空气墙外 + table.insert(variables,{ config_id=50000006,name = "is_air_wall_created", value = 0}) + --用于记录当前怪物潮是否处于切换状态 + table.insert(variables,{ config_id=50000007,name = "is_tide_being_switched", value = 0}) +end + +------------------------------------------------------------------ + +--group load后,加载操作台选项 +function action_group_load(context,evt) + ScriptLib.SetWorktopOptionsByGroupId(context, defs.group_id, defs.worktop_id, {local_defs.worktop_option}) + + --开场就直接加载氛围物件,不要等玩家开启挑战 + --加载环境氛围物件 + ScriptLib.AddExtraGroupSuite(context,defs.group_id, defs.environment_suite) + return 0 +end + +--按下操作台按键,启动玩法 +function action_select_option(context,evt) + --如果空气墙没有提前创建,那么不会处理开始事件 + if 1~= ScriptLib.GetGroupVariableValue(context,"is_air_wall_created") then + return -1 + end + ScriptLib.DelWorktopOptionByGroupId(context, defs.group_id, defs.worktop_id, local_defs.worktop_option) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.worktop_id, GadgetState.GearStop) + LF_Start_Play(context) + return 0 +end + +--时间轴tick事件,根据tick的时间轴不同处理不同逻辑 +function action_time_axis_pass(context,evt) + +--纯数量刷怪,不再走刷怪Tick + --fever条tick,扣分 + if (evt.source_name == "FEVER_AXIS") then + LF_Update_Fever(context,LF_Get_Fever_Subnum(context)) + end + + --提前显示一下需要换队 + if (evt.source_name == "NOSWITCH_PUNISHMENT_INADVANCE_AXIS") then + ScriptLib.ShowTemplateReminder(context, local_defs.punish_inAdvance_reminder, {defs.punish_inAdvance_reminder_time or 3}) + end + + --不换队tick,如果长时间不换队则将设置惩罚gv + if (evt.source_name == "NOSWITCH_PUNISHMENT_AXIS") then + ScriptLib.ShowTemplateReminder(context, local_defs.team_noswitch_pubishment_reminder, {0}) + ScriptLib.SetGroupVariableValue(context,"is_noswitch_punishment",1) + LF_Set_Team_Global_Value(context,local_defs.team_noswitch_pubishment,1) + end + + return 0 +end + +--fever升级时,给team挂global value,并激活场景氛围物件 +function action_gallery_progress_pass(context,evt) + local fever_level = evt.param1 + ScriptLib.PrintContextLog(context,"FS: Fever uprade to level "..fever_level) + ScriptLib.ShowReminder(context, local_defs.base_upgrade_reminder+fever_level) + LF_Set_Team_Global_Value(context,local_defs.team_global_value,fever_level) + LF_Activate_Environment_Gadget(context,fever_level) + return 0 +end + +function action_gallery_stop(context,evt) + LF_Stop_Play(context) + return 0 +end + + +--当前的怪物潮刷完的时候,重置当前的怪物潮或者刷下一波怪物潮 +function action_monster_tide_die(context,evt) +-- ScriptLib.PrintContextLog(context,"FS: Tide Clear"..evt.param1) +-- local is_being_switched = ScriptLib.GetGroupVariableValue(context,"is_tide_being_switched") +-- ScriptLib.PrintContextLog(context,"FS: Tide Switch"..is_being_switched) + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + local current_tide_list = monster_tide[current_monster_tide] +-- ScriptLib.PrintContextLog(context,"FS: Tide Max"..(#current_tide_list)) + --不在刷够怪物切换怪物潮的过程中 + --如果当前怪物潮已经被杀完了 + if evt.param1 >= #current_tide_list then + if defs.num_killed_per_tide[current_monster_tide] == 0 then + LF_Refresh_Monster_Tide(context,"Current") + else + LF_Refresh_Monster_Tide(context,"Next") + end + end + return 0 +end + +--有怪死亡时,计分,并更新fever条,怪物死亡只处理积分 +function action_monster_die_before_leave_scene(context,evt) + local monster_eid = evt.source_eid + local monster_cid = evt.param1 + local fever_ratio = ScriptLib.GetGroupVariableValue(context,"fever_ratio") + local monster_fever = monsters[monster_cid].kill_score + LF_Update_Fever(context,monster_fever*fever_ratio) + LF_Update_Score(context,monster_eid) + return 0 +end + + +function LF_Refresh_Monster_Tide(context, refresh_mode) + local current_monster_tide_index = LF_Get_Current_Monster_Tide(context) +-- ScriptLib.KillMonsterTide(context, defs.group_id, LF_Get_Current_Tide_Num(context)) +-- ScriptLib.SetGroupVariableValue(context,"is_tide_being_switched",1) + if refresh_mode == "Current" then + LF_Set_Current_Monster_Tide(context, current_monster_tide_index) + LF_Create_Monster_Tide(context,current_monster_tide_index) + ScriptLib.PrintContextLog(context,"FS: Tide Clear Refresh Current") + end + if refresh_mode == "Next" then + LF_Set_Current_Monster_Tide(context, current_monster_tide_index + 1) + LF_Create_Monster_Tide(context,current_monster_tide_index + 1) + ScriptLib.PrintContextLog(context,"FS: Tide Clear Refresh Next") + end +-- LF_Set_Current_Tide_Minion_Killed(context,0) +-- ScriptLib.SetGroupVariableValue(context,"is_tide_being_switched",0) +end +--玩家换队时触发,启动一个一定时间的时间轴,时间轴tick时修改global value给玩家挂debuff +function action_sumo_switch_team(context,evt) + + --刚刚换队,先清掉team上的换队惩罚global value,并开始计时,如果tick时没有换队,则挂上惩罚标记gv + LF_Set_Team_Global_Value(context,local_defs.team_noswitch_pubishment,0) + ScriptLib.EndTimeAxis(context,"NOSWITCH_PUNISHMENT_AXIS") + ScriptLib.InitTimeAxis(context,"NOSWITCH_PUNISHMENT_AXIS",time_axis.noswitch_punishment_axis,false) + + --清理换队提示 + ScriptLib.EndTimeAxis(context,"NOSWITCH_PUNISHMENT_INADVANCE_AXIS") + ScriptLib.InitTimeAxis(context,"NOSWITCH_PUNISHMENT_INADVANCE_AXIS",time_axis.noswitch_punishment_inAdvance_axis,false) + + --换队增加热情值 + LF_Update_Fever(context,defs.switch_team_fever) + + --换队的时候给服务端发送消息,让客户端显示惩罚倒计时UI + local uid_list = ScriptLib.GetSceneUidList(context) + if uid_list and nil~=uid_list[1]then + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["uid"] = uid_list[1], ["noswitch_time"] = defs.noswitch_punishment_interval}) + end + + --清除当前显示的换队惩罚的reminder + + local uid_list = ScriptLib.GetSceneUidList(context) + local ret = ScriptLib.RevokePlayerShowTemplateReminder(context, local_defs.team_noswitch_pubishment_reminder, {}) + ScriptLib.RevokePlayerShowTemplateReminder(context, local_defs.punish_inAdvance_reminder, {}) + + ScriptLib.PrintContextLog(context,"FS: Clear reminder result"..ret) + + --换队的时候修改team的gv,重新刷一下新的avatar身上的加成效果 + LF_Set_Team_Global_Value(context,local_defs.team_has_switch,1) + + ScriptLib.SetGroupVariableValue(context,"is_noswitch_punishment",0) + + return 0 +end + +--玩家进入区域直接创建空气墙,防止卡延迟出圈 +function action_enter_start_region(context,evt) + --加载空气墙 + ScriptLib.CreateGadget(context,{config_id = defs.air_wall}) + ScriptLib.SetGroupVariableValue(context,"is_air_wall_created",1) + return 0 +end + +--团灭触发,直接结束玩法 +function action_dungeon_all_avatar_die(context,evt) + + LF_Stop_Play(context) + + return 0 +end + +function action_dungeon_settle(context,evt) + + LF_Stop_Play(context) + + return 0 +end + +------------------------------------------------------------------ +--辅助方法--------------------------------------------------------- +------------------------------------------------------------------ + + +--关卡相关方法----------------------------------------------------- + +--启动玩法方法,初始化各种东西 +function LF_Start_Play(context) + + ScriptLib.StartGallery(context, defs.gallery_id) + ScriptLib.InitGalleryProgressScore(context, "fever", defs.gallery_id, fever_progress_table, GalleryProgressScoreUIType.GALLERY_PROGRESS_SCORE_UI_TYPE_SUMO_STAGE, GalleryProgressScoreType.GALLERY_PROGRESS_SCORE_NO_DEGRADE) + + ScriptLib.InitTimeAxis(context,"FEVER_AXIS",time_axis.fever_axis,true) + LF_Set_Current_Tide_Num(context,0) + LF_Set_Current_Monster_Tide(context,1) + LF_Create_Monster_Tide(context,1) + --启动玩法时给第一队挂一下gv,防止一开始就受到惩罚;并开启时间轴开始计时 + LF_Set_Team_Global_Value(context,local_defs.team_noswitch_pubishment,0) + ScriptLib.InitTimeAxis(context,"NOSWITCH_PUNISHMENT_AXIS",time_axis.noswitch_punishment_axis,false) + ScriptLib.InitTimeAxis(context,"NOSWITCH_PUNISHMENT_INADVANCE_AXIS",time_axis.noswitch_punishment_inAdvance_axis,false) + --玩法开始的时候给服务端发送消息,让客户端显示惩罚倒计时UI + local uid_list = ScriptLib.GetSceneUidList(context) + if uid_list and nil~=uid_list[1]then + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["uid"] = uid_list[1], ["noswitch_time"] = defs.noswitch_punishment_interval}) + end +end + +--终止玩法方法,关掉各种东西 +function LF_Stop_Play(context) + + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + --清理一下空气墙,防止其他问题 + ScriptLib.RemoveEntityByConfigId(context, defs.group_id, EntityType.GADGET, defs.air_wall) + --玩法结束,清理掉当前的怪物潮 + ScriptLib.KillMonsterTide(context, defs.group_id, current_monster_tide) + ScriptLib.StopGallery(context, defs.gallery_id,true) + ScriptLib.EndTimeAxis(context,"FEVER_AXIS") + --关闭一下地城,以正确触发重新挑战 + ScriptLib.CauseDungeonFail(context) +end + + +--启动一波指定ID的怪物潮,需要传入该波怪物潮的ID(具体配置在miscs中定义) +function LF_Create_Monster_Tide(context,monster_tide_index) + ScriptLib.PrintContextLog(context,"FS: Creating monster tide ["..monster_tide_index.."]") + local monster_config_id_list = monster_tide[monster_tide_index] + --增加怪物潮的计数,下一次开启时index会+1,防止索引到同一波怪物潮 + local tide_num = LF_Get_Current_Tide_Num(context) + LF_Set_Current_Tide_Num(context,tide_num+1) + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + ScriptLib.AutoMonsterTide(context, tide_num+1, defs.group_id, monster_config_id_list, #monster_config_id_list, tide_suite_config[current_monster_tide].min, tide_suite_config[current_monster_tide].max) +end + +--刷新指定 + + +--通用类方法------------------------------------------------------- + +--切换场上的场景氛围物件状态 +function LF_Activate_Environment_Gadget(context,fever_level) + ScriptLib.PrintContextLog(context,"FS: Activate environment gadgets! Fever Level_"..fever_level) + --根据当前的fever等级,改变天气 + if (fever_level>local_defs.environment_change_level) then + ScriptLib.PrintContextLog(context,"FS: Changing environment weather!") + local ret = ScriptLib.SetWeatherAreaState(context, DungeonWeather[fever_level],1) + ScriptLib.PrintContextLog(context,"FS: The result of starting weather ".. DungeonWeather[fever_level].."is "..ret) + local ret = ScriptLib.EnterWeatherArea(context, DungeonWeather[fever_level]) + ScriptLib.PrintContextLog(context,"FS: The result of changing weather".. DungeonWeather[fever_level].."is "..ret) + end + + --切换场上所有的物件的状态 + for i = 1, #suites[defs.environment_suite].gadgets do + local config_id = suites[defs.environment_suite].gadgets[i] + local gadget_id = LF_Get_Gadget_Id_By_Config_Id(context,config_id) + --大小火盆 + if (gadget_id == 70350306 or gadget_id == 70350307) then + if (fever_level=local_defs.burn_effect_level) then + --喷大火,5秒后转回小火 + --ScriptLib.PrintContextLog(context,"FS: Burn middle fire!") + local ret = ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, config_id, 201) + end + if (fever_level >= #fever_progress_table-2) then + --持续喷大火 + --ScriptLib.PrintContextLog(context,"FS: Burn super fire!") + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, config_id, 202) + end + end + --挂灯 + if (gadget_id == 70350308) then + if (fever_level>=local_defs.burn_effect_level) then + --点燃小火 + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, config_id, 201) + end + end + --场景氛围 + if (gadget_id == 70350309) then + --转到对应的gadgetState:default-0、phase1-201、phase2-202、phase3-203、phase4-204 + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, config_id, 200+fever_level) + end + end +end + +--给team挂global value,角色处理各种特殊效果 +function LF_Set_Team_Global_Value(context,gv_name,value) + --ScriptLib.PrintContextLog(context,"FS: Sending global values to team!") + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.SetTeamEntityGlobalFloatValue(context, uid_list, gv_name, value) +end + + +-----CRUD类方法---------------------------------------------------- + +--更新fever条,fever_delta为fever条改变值 +function LF_Update_Fever(context,fever_delta) +-- ScriptLib.PrintContextLog(context,"FS: Update Fever!") + ScriptLib.AddGalleryProgressScore(context, "fever", defs.gallery_id, fever_delta) +end + +--更新积分,需要传入目标monster的entity id +function LF_Update_Score(context,monster_eid) +-- ScriptLib.PrintContextLog(context,"FS: Update Score!") + local uid_list = ScriptLib.GetSceneUidList(context) + local monster_id = ScriptLib.GetMonsterIdByEntityId(context,monster_eid) + if uid_list and nil~=uid_list[1]then + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["uid"] = uid_list[1], ["monster_id"] = monster_id}) + end +end + + +--返回当前等级下的积分衰减速率 +function LF_Get_Fever_Subnum(context) + local fever = ScriptLib.GetGalleryProgressScore(context, "fever", defs.gallery_id) + for i = 1, #fever_progress_table-1 do + local lower_bound = fever_progress_table[i] + local higher_bound = fever_progress_table[i+1] + if fever>=lower_bound and fever= #monster_tide[current_monster_tide]) then + --标记非手动结束的怪物潮里的怪已经刷完了 + ScriptLib.SetGroupVariableValue(context,"is_current_minion_tide_end",1) + local is_elite_on_ground = ScriptLib.GetGroupVariableValue(context,"is_elite_on_ground") + ScriptLib.PrintContextLog(context,"FS:[TIDE_DIE] 怪物潮"..tide_index.."所有怪物清空") + if (is_elite_on_ground == 0) then + --精英不在场,才能开一个新的怪物潮 + ScriptLib.PrintContextLog(context,"FS: [TIDE_DIE] 场上没有精英怪,获取当前对应波次,创建怪物潮") + LF_Create_Monster_Tide(context,current_monster_tide) + ScriptLib.SetGroupVariableValue(context,"is_current_minion_tide_end",0) + end + end + return 0 +end + +--记录当前结束的MonsterTideIndex +function action_monster_tide_over(context, evt) + local end_index = tonumber(evt.source_name) + if end_index ~= nil then + ScriptLib.SetGroupVariableValue(context,"last_end_tide", end_index) + ScriptLib.PrintContextLog(context,"FS:[DEBUG][TIDE_OVER] 当前怪物潮结束,波次"..end_index) + end + return 0 +end + +--有怪死亡时,计分,并更新fever条,这里只处理怪物计分和精英怪阻塞 +function action_monster_die_before_leave_scene(context,evt) + local monster_eid = evt.source_eid + local monster_cid = evt.param1 + local is_elite = LF_Is_Elite(context,monster_cid) + local fever_ratio = ScriptLib.GetGroupVariableValue(context,"fever_ratio") + local monster_fever = monsters[monster_cid].kill_score + LF_Update_Fever(context,monster_fever*fever_ratio) + LF_Update_Score(context,monster_eid) + --死的是精英怪,看看之前有没有阻塞 + if is_elite then + --精英死亡时,检测该组刷新的精英怪数量,如果全部死亡就重新开始计时 + local elite_num = ScriptLib.GetGroupVariableValue(context,"is_elite_on_ground") + if elite_num > 1 then + --场上还有别的精英怪 + ScriptLib.SetGroupVariableValue(context,"is_elite_on_ground",elite_num-1) + else + ScriptLib.SetGroupVariableValue(context,"is_elite_on_ground",0) + ScriptLib.EndTimeAxis(context,"ELITE_AXIS") + ScriptLib.InitTimeAxis(context,"ELITE_AXIS",time_axis.elite_axis,false) + if ScriptLib.GetGroupVariableValue(context,"is_current_minion_tide_end") == 0 then + if not LF_Is_Current_Index_End(context) then + ScriptLib.PrintContextLog(context,"FS:[DEBUG][MonDie] 精英怪死亡,当前怪物潮没有触发OVER,继续刷新,波次"..LF_Get_Current_Tide_Num(context)) + ScriptLib.ContinueAutoMonster(context, defs.group_id, LF_Get_Current_Tide_Num(context)) + else + if 0 == ScriptLib.GetGroupMonsterCount(context) then + ScriptLib.PrintContextLog(context,"FS:[DEBUG] [MonDie]精英怪死亡,当前怪物潮已经触发OVER且场上没有Monster,重新创建怪物潮") + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + LF_Create_Monster_Tide(context,current_monster_tide) + ScriptLib.SetGroupVariableValue(context,"is_current_minion_tide_end",0) + end + end + else + --当前怪物潮已经结束了,因为场上有精英怪被卡住了。精英死亡时,手动开启新的怪物潮 + if 0 == ScriptLib.GetGroupMonsterCount(context) then + ScriptLib.PrintContextLog(context,"FS:[DEBUG][MonDie] 精英怪死亡且场上没有怪物,波次"..LF_Get_Current_Tide_Num(context)) + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + LF_Create_Monster_Tide(context,current_monster_tide) + ScriptLib.SetGroupVariableValue(context,"is_current_minion_tide_end",0) + end + end + end + end + + return 0 +end + +--玩家换队时触发,启动一个一定时间的时间轴,时间轴tick时修改global value给玩家挂debuff +function action_sumo_switch_team(context,evt) + + --刚刚换队,先清掉team上的换队惩罚global value,并开始计时,如果tick时没有换队,则挂上惩罚标记gv + LF_Set_Team_Global_Value(context,local_defs.team_noswitch_pubishment,0) + ScriptLib.EndTimeAxis(context,"NOSWITCH_PUNISHMENT_AXIS") + ScriptLib.InitTimeAxis(context,"NOSWITCH_PUNISHMENT_AXIS",time_axis.noswitch_punishment_axis,false) + + --清理换队提示 + ScriptLib.EndTimeAxis(context,"NOSWITCH_PUNISHMENT_INADVANCE_AXIS") + ScriptLib.InitTimeAxis(context,"NOSWITCH_PUNISHMENT_INADVANCE_AXIS",time_axis.noswitch_punishment_inAdvance_axis,false) + + --换队增加热情值 + LF_Update_Fever(context,defs.switch_team_fever) + + --换队的时候给服务端发送消息,让客户端显示惩罚倒计时UI + local uid_list = ScriptLib.GetSceneUidList(context) + if uid_list and nil~=uid_list[1]then + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["uid"] = uid_list[1], ["noswitch_time"] = defs.noswitch_punishment_interval}) + end + --清除当前显示的换队惩罚的reminder + + local uid_list = ScriptLib.GetSceneUidList(context) + local ret = ScriptLib.RevokePlayerShowTemplateReminder(context, local_defs.team_noswitch_pubishment_reminder, {}) + ScriptLib.RevokePlayerShowTemplateReminder(context, local_defs.punish_inAdvance_reminder, {}) + + ScriptLib.PrintContextLog(context,"FS: Clear reminder result"..ret) + + --换队的时候修改team的gv,重新刷一下新的avatar身上的加成效果 + --ScriptLib.PrintContextLog(context,"FS: team has changed, team_has_change = 1") + LF_Set_Team_Global_Value(context,local_defs.team_has_switch,1) + + ScriptLib.SetGroupVariableValue(context,"is_noswitch_punishment",0) + + return 0 +end + + +--玩家进入区域直接创建空气墙,防止卡延迟出圈 +function action_enter_start_region(context,evt) + --加载空气墙 + ScriptLib.CreateGadget(context,{config_id = defs.air_wall}) + ScriptLib.SetGroupVariableValue(context,"is_air_wall_created",1) + return 0 +end + +--团灭触发,直接结束玩法 +function action_dungeon_all_avatar_die(context,evt) + + LF_Stop_Play(context) + + return 0 +end + +function action_dungeon_settle(context,evt) + + LF_Stop_Play(context) + + return 0 +end + +------------------------------------------------------------------ +--辅助方法--------------------------------------------------------- +------------------------------------------------------------------ + + +--关卡相关方法----------------------------------------------------- + +--启动玩法方法,初始化各种东西 +function LF_Start_Play(context) + + ScriptLib.StartGallery(context, defs.gallery_id) + ScriptLib.InitGalleryProgressScore(context, "fever", defs.gallery_id, fever_progress_table, GalleryProgressScoreUIType.GALLERY_PROGRESS_SCORE_UI_TYPE_SUMO_STAGE, GalleryProgressScoreType.GALLERY_PROGRESS_SCORE_NO_DEGRADE) + + ScriptLib.InitTimeAxis(context,"FEVER_AXIS",time_axis.fever_axis,true) + ScriptLib.InitTimeAxis(context,"MINION_TIDE_AXIS",time_axis.minion_tide_axis,true) + ScriptLib.InitTimeAxis(context,"ELITE_TIDE_AXIS",time_axis.elite_tide_axis,true) + ScriptLib.InitTimeAxis(context,"ELITE_AXIS",time_axis.elite_axis,false) + LF_Set_Current_Tide_Num(context,0) + LF_Set_Current_Monster_Tide(context,1) + LF_Set_Current_Elite_Index(context,1) + LF_Create_Monster_Tide(context,1) + --启动玩法时给第一队挂一下gv,防止一开始就受到惩罚;并开启时间轴开始计时 + LF_Set_Team_Global_Value(context,local_defs.team_noswitch_pubishment,0) + ScriptLib.InitTimeAxis(context,"NOSWITCH_PUNISHMENT_AXIS",time_axis.noswitch_punishment_axis,false) + ScriptLib.InitTimeAxis(context,"NOSWITCH_PUNISHMENT_INADVANCE_AXIS",time_axis.noswitch_punishment_inAdvance_axis,false) + --玩法开始的时候给服务端发送消息,让客户端显示惩罚倒计时UI + local uid_list = ScriptLib.GetSceneUidList(context) + if uid_list and nil~=uid_list[1]then + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["uid"] = uid_list[1], ["noswitch_time"] = defs.noswitch_punishment_interval}) + end + --加载空气墙 + ScriptLib.CreateGadget(context,{config_id = defs.air_wall}) +end + +--终止玩法方法,关掉各种东西 +function LF_Stop_Play(context) + + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + --清理一下空气墙,防止其他问题 + ScriptLib.RemoveEntityByConfigId(context, defs.group_id, EntityType.GADGET, defs.air_wall) + --玩法结束,清理掉当前的怪物潮 + if not LF_Is_Current_Index_End(context) then + ScriptLib.KillMonsterTide(context, defs.group_id, current_monster_tide) + end + ScriptLib.StopGallery(context, defs.gallery_id,true) + ScriptLib.EndTimeAxis(context,"FEVER_AXIS") + ScriptLib.EndTimeAxis(context,"MINION_TIDE_AXIS") + ScriptLib.EndTimeAxis(context,"ELITE_AXIS") + ScriptLib.EndTimeAxis(context,"ELITE_TIDE_AXIS") + --关闭一下地城,以正确触发重新挑战 + ScriptLib.CauseDungeonFail(context) +end + + +--启动一波指定ID的怪物潮,需要传入该波怪物潮的ID(具体配置在miscs中定义) +function LF_Create_Monster_Tide(context,monster_tide_index) + local monster_config_id_list = monster_tide[monster_tide_index] + --增加怪物潮的计数,下一次开启时index会+1,防止索引到同一波怪物潮 + local tide_num = LF_Get_Current_Tide_Num(context) + LF_Set_Current_Tide_Num(context,tide_num+1) + ScriptLib.PrintContextLog(context,"FS: [DEBUG][CREATE] 创建怪物潮,怪物波次 ["..monster_tide_index.."]".."怪物潮INDEX"..(tide_num+1)) + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + ScriptLib.AutoMonsterTide(context, tide_num+1, defs.group_id, monster_config_id_list, #monster_config_id_list, tide_suite_config[current_monster_tide].min, tide_suite_config[current_monster_tide].max) +end + +--停止目前的怪物潮,下次刷新新配置的怪物潮 +function LF_Refresh_Currtent_Monster_Tide(context) + ScriptLib.PrintContextLog(context,"FS:[DEBUG] [REFRESH]时间轴刷新怪物潮,标记当前怪物潮结束") + local current_monster_tide = LF_Get_Current_Monster_Tide(context) + --标记当前怪物潮结束,如果怪物潮没有结束则手动结束 + local tide_index = LF_Get_Current_Tide_Num(context) + ScriptLib.SetGroupVariableValue(context,"refresh_end_tide",tide_index) + if not LF_Is_Current_Index_End(context) then + ScriptLib.PrintContextLog(context,"FS:[DEBUG] [REFRESH]手动结束当前怪物潮") + ScriptLib.EndMonsterTide(context, defs.group_id, tide_index, 1) + end +-- ScriptLib.SetGroupVariableValue(context,"is_current_minion_tide_end",1) + LF_Set_Current_Monster_Tide(context,current_monster_tide+1) + --如果场上没有怪就直接创建 + if 0 == ScriptLib.GetGroupMonsterCount(context) then + LF_Create_Monster_Tide(context,current_monster_tide+1) + ScriptLib.SetGroupVariableValue(context,"is_current_minion_tide_end",0) + ScriptLib.PrintContextLog(context,"FS:[DEBUG] [REFRESH]更新怪物潮,刷新怪物,并且标记这一波怪没有结束") + end +end + +--在随机的位置,刷新指定序列的精英怪 +function LF_Create_Elite_Monster(context,elite_index) + local elite_list = elite[elite_index] + ScriptLib.PrintContextLog(context,"FS: Creating elite nums_"..#elite_list) + --生成一个点的序列表,每次随机的时候把结果踢出 + local point_index = {} + local choices = {} + for i=1,#elite_born_points do + table.insert(point_index,i) + end + for i=1,#elite_list do + local randomNum = math.random(1,#point_index) + table.insert(choices, point_index[randomNum]) + table.remove(point_index, randomNum) + end + for i=1,#elite_list do + for k,v in pairs(points) do + if elite_born_points[choices[i]] == v.config_id then + ScriptLib.PrintContextLog(context,"FS: Creating elite ["..elite_list[i].."] at point "..v.pos.x..","..v.pos.y..","..v.pos.z) + ScriptLib.CreateMonsterByConfigIdByPos(context, elite_list[i], v.pos, v.rot) + end + end + + end + ScriptLib.SetGroupVariableValue(context,"is_elite_on_ground",#elite_list) +end + +--从1~max间随机nums个 +function LF_Random_Choice(max, nums) + local choices = {} + local list = {} + + for i=1,nums do + local randomNum = math.random(1,#list) + table.insert(choices, list[randomNum]) + table.remove(list, randomNum) + end + return choices +end + +function LF_Is_Current_Index_End(context) + if LF_Get_Current_Tide_Num(context) > ScriptLib.GetGroupVariableValue(context,"last_end_tide") then + ScriptLib.PrintContextLog(context,"FS:[DEBUG] [JUDGE]判断当前怪物潮没有结束") + return false + end + ScriptLib.PrintContextLog(context,"FS:[DEBUG] [JUDGE] 判断当前怪物潮已经结束") + return true +end +--通用类方法------------------------------------------------------- + +--切换场上的场景氛围物件状态 +function LF_Activate_Environment_Gadget(context,fever_level) + ScriptLib.PrintContextLog(context,"FS: Activate environment gadgets!") + --根据当前的fever等级,改变天气 + if (fever_level>local_defs.environment_change_level) then + ScriptLib.PrintContextLog(context,"FS: Changing environment weather!") + local ret = ScriptLib.SetWeatherAreaState(context, DungeonWeather[fever_level],1) + --ScriptLib.PrintContextLog(context,"FS: The result of starting weather ".. DungeonWeather[fever_level].."is "..ret) + local ret = ScriptLib.EnterWeatherArea(context, DungeonWeather[fever_level]) + --ScriptLib.PrintContextLog(context,"FS: The result of changing weather".. DungeonWeather[fever_level].."is "..ret) + end + + --切换场上所有的物件的状态 + for i = 1, #suites[defs.environment_suite].gadgets do + local config_id = suites[defs.environment_suite].gadgets[i] + local gadget_id = LF_Get_Gadget_Id_By_Config_Id(context,config_id) + --大小火盆 + if (gadget_id == 70350306 or gadget_id == 70350307) then + if (fever_level=local_defs.burn_effect_level) then + --喷大火,5秒后转回小火 + --ScriptLib.PrintContextLog(context,"FS: Burn middle fire!") + local ret = ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, config_id, 201) + end + if (fever_level >= #fever_progress_table-2) then + --持续喷大火 + --ScriptLib.PrintContextLog(context,"FS: Burn super fire!") + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, config_id, 202) + end + end + --挂灯 + if (gadget_id == 70350308) then + if (fever_level>=local_defs.burn_effect_level) then + --点燃小火 + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, config_id, 201) + end + end + --场景氛围 + if (gadget_id == 70350309) then + --转到对应的gadgetState:default-0、phase1-201、phase2-202、phase3-203、phase4-204 + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, config_id, 200+fever_level) + end + end +end + +--给team挂global value,角色处理各种特殊效果 +function LF_Set_Team_Global_Value(context,gv_name,value) + --ScriptLib.PrintContextLog(context,"FS: Sending global values to team!") + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.SetTeamEntityGlobalFloatValue(context, uid_list, gv_name, value) +end + + + +-----CRUD类方法---------------------------------------------------- + +--更新fever条,fever_delta为fever条改变值 +function LF_Update_Fever(context,fever_delta) + ScriptLib.AddGalleryProgressScore(context, "fever", defs.gallery_id, fever_delta) +end + +--更新积分,需要传入目标monster的entity id +function LF_Update_Score(context,monster_eid) + local uid_list = ScriptLib.GetSceneUidList(context) + local monster_id = ScriptLib.GetMonsterIdByEntityId(context,monster_eid) + if uid_list and nil~=uid_list[1]then + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["uid"] = uid_list[1], ["monster_id"] = monster_id}) + end +end + + +--返回当前等级下的积分衰减速率 +function LF_Get_Fever_Subnum(context) + local fever = ScriptLib.GetGalleryProgressScore(context, "fever", defs.gallery_id) + for i = 1, #fever_progress_table-1 do + local lower_bound = fever_progress_table[i] + local higher_bound = fever_progress_table[i+1] + if fever>=lower_bound and fever= 1) + --ScriptLib.InitTimeAxis(context, "StopGallery_Fail", { 3 } , false) 9.21修改 失败不要延时结束 + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {1, base_info.group_id}) + else + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1)--最后一关无等待 + if is_last_level then + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {0, base_info.group_id}) + else + ScriptLib.InitTimeAxis(context, "StopGallery", { 3 } , false) + end + end + ScriptLib.PrintContextLog(context,"## [CharAmuse_BaseBall] Gallery stoped. reason@".. evt.param3.." --------------") + return 0 +end + +function action_Enter_Play_Region(context, evt) + --根据当前人数加载suite + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.PrintContextLog(context,"## [CharAmuse_BaseBall] Enter_Play_Region. player_count@"..#uid_list) + --地城Group没有卸载 TriggerCount 1 直接上就完了 + if nil ~= defs.enter_suites and nil ~= defs.enter_suites[#uid_list] then + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, defs.enter_suites[#uid_list]) + end + return 0 +end +--------------------------------------------------------------------------------------------------------------- + +function LF_Start_Play(context) + + local player_count = ScriptLib.GetGroupTempValue(context, "player_count", {}) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + local target = 0 + if player_count > 1 then + target = ScriptLib.GetCharAmusementGalleryTarget(context, gallery_id, true) + else + target = ScriptLib.GetCharAmusementGalleryTarget(context, gallery_id, false) + end + ScriptLib.SetGroupTempValue(context, "cur_score", target, {}) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["max_score"]= target} ) + + --order_index: 当前执行到defs.order列表中的哪一位 + ScriptLib.SetGroupTempValue(context, "order_index", 1, {}) + --rand_index: 本次在当前难度的池中,随机到哪一条发射序列 + ScriptLib.SetGroupTempValue(context, "rand_index", 1, {}) + --这个计数用于使TimeAxis名字不同 + ScriptLib.SetGroupTempValue(context, "time_axis_index", 0, {}) + --埋点计数 + ScriptLib.SetGroupTempValue(context, "hit", 0, {}) + ScriptLib.SetGroupTempValue(context, "wave_num", 0, {}) + + local order = defs.order + if 28008 == ScriptLib.GetGroupTempValue(context, "gallery_id", {}) then + order = defs.order_yunjin + end + if nil == order[1] or nil == defs.seq[order[1]] then + return 0 + end + LF_StartSequenceShoot_Normal(context, defs.seq[order[1]]) + + return 0 +end + +function action_TimeAxis_StopGallery(context, evt) + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {0, base_info.group_id}) + return 0 +end + +function action_TimeAxis_StopGallery_Fail(context, evt) + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {1, base_info.group_id}) + return 0 +end + +function LF_HandleOrderFinish(context, is_normal) + + --order_index ++ + local ret = ScriptLib.ChangeGroupTempValue(context, "order_index", 1, {}) + if -1 == ret then + ScriptLib.SetGroupTempValue(context, "order_index", 1, {}) + end + local order_index = ScriptLib.GetGroupTempValue(context, "order_index", {}) + if defs.high_reminder ~= nil and defs.high_from ~= nil and defs.high_from == order_index then + ScriptLib.ShowReminder(context, defs.high_reminder) + end + + --区分云锦、北斗 + local order = defs.order + if 28008 == ScriptLib.GetGroupTempValue(context, "gallery_id", {}) then + order = defs.order_yunjin + end + --全order结束,则循环最后一order + if order_index > #order then + order_index = #order + ScriptLib.SetGroupTempValue(context, "order_index", order_index, {}) + end + ScriptLib.PrintContextLog(context,"## [CharAmuse_BaseBall] LF_HandleOrderFinish. is_normal@"..is_normal.." next order_index@".. order_index) + ScriptLib.ChangeGroupTempValue(context, "time_axis_index", 1, {}) + --当前是齐射阶段 + if 1 == is_normal then + + --下一个是齐射还是不齐射 + if 0 < defs.diff_from and order_index >= defs.diff_from then + LF_StartSequenceShoot_Diff(context, defs.seq[order[order_index]]) + else + LF_StartSequenceShoot_Normal(context, defs.seq[order[order_index]]) + end + else + LF_StartSequenceShoot_Diff(context, defs.seq[order[order_index]]) + end + --埋点 + ScriptLib.ChangeGroupTempValue(context, "wave_num", 1, {}) + local hit = ScriptLib.GetGroupTempValue(context, "hit", {}) + local wave_num = ScriptLib.GetGroupTempValue(context, "wave_num", {}) + ScriptLib.MarkGroupLuaAction(context, "CharAmuse_BaseBall", ScriptLib.GetDungeonTransaction(context), {["wave_num"] = wave_num, ["hit"] = hit}) + ScriptLib.SetGroupTempValue(context, "hit", 0, {}) + + return 0 +end + +--启动时间轴 齐射 +function LF_StartSequenceShoot_Normal(context, difficulty) + --取得波次 + local order_index = ScriptLib.GetGroupTempValue(context, "order_index", {}) + --取得当前发射序列 + math.randomseed(ScriptLib.GetServerTime(context)) + local rand_index = math.random(#difficulty) + local sequence = difficulty[rand_index] + if nil == sequence[1] or nil == sequence[2] then + return 0 + end + ScriptLib.SetGroupTempValue(context, "rand_index", rand_index, {}) + + local time_axis_index = ScriptLib.GetGroupTempValue(context, "time_axis_index", {}) + + --起动该发射序列的时间轴 + ScriptLib.InitTimeAxis(context, "interval_"..order_index.."_"..rand_index.."_"..time_axis_index, LF_MakeTimeAxis(context, sequence[2]), false) + + ScriptLib.PrintContextLog(context,"## [CharAmuse_BaseBall] LF_StartSequenceShoot_Normal. rand_index@"..rand_index) + + --打出第一球 + LF_CreateBall_All(context, sequence[1][1]) + + return 0 +end +--启动时间轴 单个 +function LF_StartSequenceShoot_Diff(context, difficulty) + --给每个起单独的时间轴 + local player_count = ScriptLib.GetGroupTempValue(context, "player_count", {}) + + for k, shoot_point in pairs(defs.shoot_points[player_count]) do + math.randomseed(ScriptLib.GetServerTime(context)) + local rand_index = math.random(#difficulty) + sequence = difficulty[rand_index] + if nil == sequence[1] or nil == sequence[2] then + return 0 + end + local time_axis_index = ScriptLib.GetGroupTempValue(context, "time_axis_index", {}) + ScriptLib.InitTimeAxis(context, tostring(shoot_point).."_"..rand_index.."_"..time_axis_index, LF_MakeTimeAxis(context, sequence[2]), false) + ScriptLib.PrintContextLog(context,"## [CharAmuse_BaseBall] LF_StartSequenceShoot_Diff. InitTimeAxis@"..tostring(shoot_point).."_"..rand_index) + --打出第一球 + LF_CreateBall_Single(context, shoot_point, sequence[1][1]) + end + + return 0 +end + +function action_Interval_TimeAxis_Pass(context, evt) + local name = string.sub(evt.source_name, 1, 8) + + if "interval" ~= name then + return 0 + end + + local order_index = ScriptLib.GetGroupTempValue(context, "order_index", {}) + local rand_index = ScriptLib.GetGroupTempValue(context, "rand_index", {}) + + local order = defs.order + if 28008 == ScriptLib.GetGroupTempValue(context, "gallery_id", {}) then + order = defs.order_yunjin + end + local difficulty = order[order_index] + local sequence = defs.seq[difficulty][rand_index] + ScriptLib.PrintContextLog(context,"## [CharAmuse_BaseBall] Interval_TimeAxis_Pass. order_index@"..order_index.." difficulty@".. difficulty .." rand_index@"..rand_index.." evt.param1@"..evt.param1) + --时间轴中间点 + if evt.param1 < #sequence[1] then + LF_CreateBall_All(context, sequence[1][evt.param1 + 1]) + --时间轴结束 + else + LF_HandleOrderFinish(context, 1) + end + + return 0 +end + +function action_Separate_TimeAxis_Pass(context, evt) + local name = string.sub(evt.source_name, 1, 8) + if "interval" == name then + return 0 + end + + local order_index = ScriptLib.GetGroupTempValue(context, "order_index", {}) + local order = defs.order + if 28008 == ScriptLib.GetGroupTempValue(context, "gallery_id", {}) then + order = defs.order_yunjin + end + if nil == order[order_index] then + return 0 + end + + --还原 发射点的config_id 和 射击序列的index + local div = string.find(evt.source_name, "_") + if nil == div then + return 0 + end + local config_id = tonumber(string.sub(evt.source_name, 1, div - 1)) + local rand_index = tonumber(string.sub(evt.source_name, div + 1, string.len(evt.source_name))) + --校验 + local difficulty = defs.seq[order[order_index]] + local sequence = difficulty[rand_index] + if nil == gadgets[config_id] or nil == sequence then + return 0 + end + ScriptLib.PrintContextLog(context,"## [CharAmuse_BaseBall] Separate_TimeAxis_Pass. source_name@"..evt.source_name.. " config_id@"..config_id.." rand_index@"..rand_index) + --时间轴中间点 + if evt.param1 < #sequence[1] then + LF_CreateBall_Single(context, gadgets[config_id], sequence[1][evt.param1 + 1]) + --时间轴结束 + else + LF_HandleOrderFinish(context, 0) + end + + return 0 +end + +--全发射点创球 +--shoot_type: 射击模式 1-单个普通 2-单个快速 3-双普 4-双快 5-三普 6-三快 7-单普通左旋 8-单快速左旋 9-单普通右旋 10-单快速右旋 20+ multi_shoot +function LF_CreateBall_All(context, shoot_type) + + ScriptLib.PrintContextLog(context,"## [CharAmuse_BaseBall] LF_CreateBall_All. shoot_type@"..shoot_type) + + local player_count = ScriptLib.GetGroupTempValue(context, "player_count", {}) + + if 20 < shoot_type then + + for k, shoot_point in pairs(defs.shoot_points[player_count]) do + local pos = { + x = gadgets[shoot_point].pos.x, + y = gadgets[shoot_point].pos.y, + z = gadgets[shoot_point].pos.z + } + LF_Create_MultiShootBall(context, pos, shoot_type) + end + + else + if nil == cfg.shoot_info[shoot_type] then + return 0 + end + + local ball_type = cfg.shoot_info[shoot_type].ball_type + --连发次数 + local shoot_count = cfg.shoot_info[shoot_type].shoot_count + --出生朝向 + local rot = cfg.shoot_info[shoot_type].rot + + if 7 == shoot_type then + for k, shoot_point in pairs(defs.shoot_points[player_count]) do + local pos = { + x = gadgets[shoot_point].pos.x, + y = gadgets[shoot_point].pos.y, + z = gadgets[shoot_point].pos.z + } + LF_Create_DualCurveBall(context, pos) + end + + else + for k, shoot_point in pairs(defs.shoot_points[player_count]) do + + for i = 1, shoot_count do + local pos = { + x = gadgets[shoot_point].pos.x, + y = gadgets[shoot_point].pos.y, + z = gadgets[shoot_point].pos.z + (i-1)*defs.multishoot_distance + } + LF_CreateBallFromPool(context, pos, rot, ball_type) + end + end + end + end + + return 0 +end + +--单发射点创球 +--shoot_type: 射击模式 1-单个普通 2-单个快速 3-双普 4-双快 5-三普 6-三快 7-单普通左旋 8-单快速左旋 9-单普通右旋 10-单快速右旋 20+ multi_shoot +function LF_CreateBall_Single(context, shoot_point, shoot_type) + + ScriptLib.PrintContextLog(context,"## [CharAmuse_BaseBall] LF_CreateBall_Single. shoot_type@"..shoot_type) + + if 20 < shoot_type then + local pos = { + x = gadgets[shoot_point].pos.x, + y = gadgets[shoot_point].pos.y, + z = gadgets[shoot_point].pos.z + } + LF_Create_MultiShootBall(context, pos) + + else + if nil == cfg.shoot_info[shoot_type] then + return 0 + end + + local ball_type = cfg.shoot_info[shoot_type].ball_type + --连发次数 + local shoot_count = cfg.shoot_info[shoot_type].shoot_count + --出生朝向 + local rot = cfg.shoot_info[shoot_type].rot + + if 7 == shoot_type then + local pos = { + x = gadgets[shoot_point].pos.x, + y = gadgets[shoot_point].pos.y, + z = gadgets[shoot_point].pos.z + } + LF_Create_DualCurveBall(context, pos) + else + for i = 1, shoot_count do + local pos = { + x = gadgets[shoot_point].pos.x, + y = gadgets[shoot_point].pos.y, + z = gadgets[shoot_point].pos.z + (i-1)*defs.multishoot_distance + } + LF_CreateBallFromPool(context, pos, rot, ball_type) + end + + end + + end + + return 0 +end + +function LF_CreateBallFromPool(context, pos_table, rot_table, ball_type) + + local ball_state = 0 + if defs.high_from ~= nil and defs.high_from <= ScriptLib.GetGroupTempValue(context, "order_index", {}) then + ball_state = 1 + end + + for ik , iv in pairs(defs.ball_pool[ball_type]) do + local ret = ScriptLib.CreateGadgetByParamTable(context, {config_id = iv, pos = pos_table, rot = rot_table, sgv_key = {"SGV_BaseBall_State"}, sgv_value = {ball_state} }) + if 0 == ret then + return 0 + end + end + ScriptLib.PrintContextLog(context,"## [CharAmuse_BaseBall] LF_CreateBallFromPool. Create gadget failed. ") + return 0 +end + +function LF_Create_DualCurveBall(context, pos_table) + + local ball_state = 0 + if defs.high_from ~= nil and defs.high_from <= ScriptLib.GetGroupTempValue(context, "order_index", {}) then + ball_state = 1 + end + --左旋 + for ik , iv in pairs(defs.ball_pool[4]) do + local ret = ScriptLib.CreateGadgetByParamTable(context, {config_id = iv, pos = pos_table, rot = { x = 0.000, y = 140.000, z = 0.000 }, sgv_key = {"SGV_BaseBall_State"}, sgv_value = {ball_state} }) + if 0 == ret then + break + end + end + --右旋 + for ik , iv in pairs(defs.ball_pool[3]) do + local ret = ScriptLib.CreateGadgetByParamTable(context, {config_id = iv, pos = pos_table, rot = { x = 0.000, y = 220.000, z = 0.000 }, sgv_key = {"SGV_BaseBall_State"}, sgv_value = {ball_state} }) + if 0 == ret then + break + end + end + + return 0 +end + +function LF_Create_MultiShootBall(context, pos_table, shoot_type) + + local ball_state = 0 + if defs.high_from ~= nil and defs.high_from <= ScriptLib.GetGroupTempValue(context, "order_index", {}) then + ball_state = 1 + end + + if nil == defs.multi_shoot[shoot_type] then + return 0 + end + + for i = 1, #defs.multi_shoot[shoot_type] do + + local pos = { x = pos_table.x + defs.multi_shoot[shoot_type][i].x, y = pos_table.y, z = pos_table.z + defs.multi_shoot[shoot_type][i].z } + for ik , iv in pairs(defs.ball_pool[2]) do + local ret = ScriptLib.CreateGadgetByParamTable(context, {config_id = iv, pos = pos, rot = { x = 0.000, y = 180.000, z = 0.000 }, sgv_key = {"SGV_BaseBall_State"}, sgv_value = {ball_state} }) + if 0 == ret then + break + end + end + end + + return 0 +end + +--玩家击球 +--param1: 基础分 +--param2:是否翻倍球 +function SLC_CharAmusement_BaseBallHit(context, param1, param2) + + if 1 ~= param1 and 3 ~= param1 then--校验 高速球3分,普通速度球1分 + return 0 + end + + local multiply = 1 + if 0 < param2 then + multiply = 2 + end + --移除球 + local config_id = ScriptLib.GetGadgetConfigId(context, { gadget_eid = context.target_entity_id }) + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, config_id) + ScriptLib.PrintContextLog(context,"## [CharAmuse_BaseBall] SLC_CharAmusement_BaseBallHit. config_id@"..config_id) + --加分 + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["add_score"]= 1*param1*multiply } ) + ScriptLib.CharAmusementUpdateScore(context, cfg.main_group, 1, 1*param1*multiply)--给MultStage更新分数 服务器侧埋点用 + ScriptLib.ChangeGroupTempValue(context, "cur_score", -1*param1*multiply , {}) + ScriptLib.ChangeGroupTempValue(context, "hit", 1, {})--埋点计数 + --是否结束 + if 0 >= ScriptLib.GetGroupTempValue(context, "cur_score", {}) then + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["is_last_level"] = is_last_level, ["is_finish"] = true, ["is_success"] = true } ) + ScriptLib.StopGallery(context, gallery_id, false) + + local hit = ScriptLib.GetGroupTempValue(context, "hit", {}) + local wave_num = ScriptLib.GetGroupTempValue(context, "wave_num", {}) + ScriptLib.MarkGroupLuaAction(context, "CharAmuse_BaseBall", ScriptLib.GetDungeonTransaction(context), {["wave_num"] = wave_num, ["hit"] = hit}) + return 0 + end + + return 0 +end +--球自杀 +function SLC_CharAmusement_BaseBallDie(context) + + local config_id = ScriptLib.GetGadgetConfigId(context, { gadget_eid = context.target_entity_id }) + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, config_id) + + return 0 +end + +function LF_ClearAllBalls(context) + for k,v in pairs(defs.ball_pool) do + for ik, iv in pairs(v) do + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, iv ) + end + end + return 0 +end + +function LF_MakeTimeAxis(context, time_table) + local t = {} + for i = 1, #time_table do + local num = 0 + for j = i, 1, -1 do + num = num + time_table[j] + end + table.insert(t, num) + end + return t +end + +LF_Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_2/CharAmuse_Battle.lua b/Resources/Scripts/Common/V3_2/CharAmuse_Battle.lua index e69de29bb..a4ecf9dd8 100644 --- a/Resources/Scripts/Common/V3_2/CharAmuse_Battle.lua +++ b/Resources/Scripts/Common/V3_2/CharAmuse_Battle.lua @@ -0,0 +1,233 @@ +--- ServerUploadTool Save to [/root/env/data/lua/common/V3_2] --- + +--[[====================================== +|| filename: CharAmuse_Battle +|| owner: weiwei.sun +|| description: 3.2奇趣秘园 局内逻辑 打桩 +|| LogName: ## [CharAmuse_Battle] +|| Protection: +=======================================]] +--[[ + +local defs = { + --依次刷怪 + suite_queue = + { --随机情况1 + {2,3,4,5}, + --随机情况2 + {2,3,4,5}, + } +} + +]] +local cfg = { + --主控GroupID + main_group = 251008007, +} + +local extraTriggers = { + { config_id = 8000001, name = "TimeAxis_StopGallery", event = EventType.EVENT_TIME_AXIS_PASS, source = "StopGallery", condition = "", action = "action_TimeAxis_StopGallery", trigger_count = 0 }, + { config_id = 8000002, name = "Any_Monster_Die", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "", action = "action_Any_Monster_Die", trigger_count = 0 }, + { config_id = 8000003, name = "AirWallVariable_Change", event = EventType.EVENT_VARIABLE_CHANGE, source = "air_wall", condition = "", action = "action_AirWallVariable_Change", trigger_count = 0 }, + { config_id = 8000004, name = "Gallery_Stop", event = EventType.EVENT_GALLERY_STOP, source = "", condition = "", action = "action_Gallery_Stop", trigger_count = 0 }, + { config_id = 8000005, name = "TimeAxis_StopGallery_Fail", event = EventType.EVENT_TIME_AXIS_PASS, source = "StopGallery_Fail", condition = "", action = "action_TimeAxis_StopGallery_Fail", trigger_count = 0 }, + { config_id = 8000006, name = "Group_Load", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_Group_Load", trigger_count = 0 }, + { config_id = 8000007, name = "TimeAxis_NewRound", event = EventType.EVENT_TIME_AXIS_PASS, source = "NewRound", condition = "", action = "action_TimeAxis_NewRound", trigger_count = 0 }, +} + +function LF_Initialize() + for k,v in pairs(extraTriggers) do + table.insert(triggers, v) + table.insert(suites[init_config.suite].triggers, v.name) + end + table.insert(variables,{ config_id = 50000001, name = "air_wall", value = 0}) +end + +--主控调用 +function EX_StartGallery(context, prev_context, gallery_id, is_last_level) + --加载玩法suite + if nil ~= defs.play_suites then + for k,v in pairs(defs.play_suites) do + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, v) + end + end + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.SetGroupTempValue(context, "player_count", #uid_list, {}) + ScriptLib.SetGroupTempValue(context, "is_last_level", is_last_level, {}) + + --开启gallery + ScriptLib.StartGallery(context, gallery_id) + ScriptLib.SetGroupTempValue(context, "gallery_id", gallery_id, {}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_Battle] EX_StartGallery. player_count@"..#uid_list.." --------------") + + --玩法启动 + ScriptLib.SetGroupVariableValue(context, "air_wall", 0) + LF_Start_Play(context) + + return 0 +end + +function action_Group_Load(context, evt) + if nil == defs.air_wall then + return 0 + end + if 1 == ScriptLib.GetGroupVariableValue(context, "air_wall") then + for i,v in ipairs(defs.air_wall) do + ScriptLib.CreateGadget(context, { config_id = v }) + end + end + return 0 +end + +function action_AirWallVariable_Change(context, evt) + if nil == defs.air_wall then + return 0 + end + if 1 == evt.param1 and 0 == evt.param2 then + for i,v in ipairs(defs.air_wall) do + ScriptLib.CreateGadget(context, { config_id = v }) + end + elseif 0 == evt.param1 and 1 == evt.param2 then + for i,v in ipairs(defs.air_wall) do + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, v) + end + end + return 0 +end + +--evt.param2: 1-失败 0-成功 +function action_Gallery_Stop(context, evt) + --卸载玩法suite + if nil ~= defs.play_suites then + for k,v in pairs(defs.play_suites) do + ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, v) + end + end + + ScriptLib.EndAllTimeAxis(context) + + if 3 ~= evt.param3 then + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1) + --ScriptLib.InitTimeAxis(context, "StopGallery_Fail", { 3 } , false) 9.21修改 失败不要延时结束 + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {1, base_info.group_id}) + else + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1)--最后一关无等待 + if is_last_level then + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {0, base_info.group_id}) + else + ScriptLib.InitTimeAxis(context, "StopGallery", { 3 } , false) + end + end + ScriptLib.PrintContextLog(context,"## [CharAmuse_Battle] Gallery stoped. reason@".. evt.param3.." --------------") + return 0 +end + +--------------------------------------------------------------------------------------------------------------- +function LF_Start_Play(context) + + ScriptLib.SetGroupTempValue(context, "round", 0, {}) + + local player_count = ScriptLib.GetGroupTempValue(context, "player_count", {}) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + local target = 0 + if player_count > 1 then + target = ScriptLib.GetCharAmusementGalleryTarget(context, gallery_id, true) + else + target = ScriptLib.GetCharAmusementGalleryTarget(context, gallery_id, false) + end + ScriptLib.SetGroupTempValue(context, "cur_score", target, {}) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["max_score"]= target} ) + + --随机序列 + math.randomseed(ScriptLib.GetServerTime(context)) + local rand_index = math.random(#defs.suite_queue) + ScriptLib.SetGroupTempValue(context, "rand_index", rand_index, {}) + + LF_StartRound(context) + + return 0 +end + +function LF_ClearRound(context) + local round = ScriptLib.GetGroupTempValue(context, "round", {}) + local rand_index = ScriptLib.GetGroupTempValue(context, "rand_index", {}) + ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, defs.suite_queue[rand_index][round]) + --埋点 + ScriptLib.MarkGroupLuaAction(context, "CharAmuse_BreakingShield", ScriptLib.GetDungeonTransaction(context), {["wave_num"] = round}) + + return 0 +end + +function LF_StartRound(context) + + --round++ + ScriptLib.ChangeGroupTempValue(context, "round", 1, {}) + local round = ScriptLib.GetGroupTempValue(context, "round", {}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_Battle] LF_StartRound. New round@"..round) + + --如果已经到了LD配置尽头,则循环最后一波 + local rand_index = ScriptLib.GetGroupTempValue(context, "rand_index", {}) + if round > #defs.suite_queue[rand_index] then + round = #defs.suite_queue[rand_index] + ScriptLib.SetGroupTempValue(context, "round", round, {}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_Battle] LF_StartRound. All round finished. Set to final.") + end + + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, defs.suite_queue[rand_index][round]) + + return 0 +end + +function action_TimeAxis_StopGallery(context, evt) + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {0, base_info.group_id}) + + return 0 +end +function action_TimeAxis_StopGallery_Fail(context, evt) + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {1, base_info.group_id}) + return 0 +end +--循环刷怪 +function action_Any_Monster_Die(context) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + + if false == ScriptLib.IsGalleryStart(context, gallery_id) then + return 0 + end + + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["add_score"]= 1} ) + ScriptLib.CharAmusementUpdateScore(context, cfg.main_group, 1, 1)--给MultStage更新分数 服务器侧埋点用 + + ScriptLib.ChangeGroupTempValue(context, "cur_score", -1 , {}) + if 0 >= ScriptLib.GetGroupTempValue(context, "cur_score", {}) then + --客户端弹提示 + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["is_last_level"] = is_last_level, ["is_finish"] = true, ["is_success"] = true } ) + ScriptLib.KillGroupEntity(context, { group_id = base_info.group_id, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) + LF_ClearRound(context) + ScriptLib.StopGallery(context, gallery_id, false) + return 0 + end + + if 0 < ScriptLib.GetGroupMonsterCount(context) then + return 0 + end + + if nil ~= defs.refresh_delay then + ScriptLib.InitTimeAxis(context, "NewRound", {defs.refresh_delay}, false) + else + LF_ClearRound(context) + LF_StartRound(context) + end + return 0 +end + +function action_TimeAxis_NewRound(context, evt) + LF_ClearRound(context) + LF_StartRound(context) + return 0 +end + +LF_Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_2/CharAmuse_BattleTide.lua b/Resources/Scripts/Common/V3_2/CharAmuse_BattleTide.lua index e69de29bb..2b9ac4c57 100644 --- a/Resources/Scripts/Common/V3_2/CharAmuse_BattleTide.lua +++ b/Resources/Scripts/Common/V3_2/CharAmuse_BattleTide.lua @@ -0,0 +1,353 @@ +--- ServerUploadTool Save to [/root/env/data/lua/common/V3_2] --- + +--[[====================================== +|| filename: CharAmuse_BattleTide +|| owner: weiwei.sun +|| description: 3.2奇趣秘园 局内逻辑 战斗 +|| LogName: ## [CharAmuse_BattleTide] +|| Protection: +=======================================]] +--[[ + +local defs = { + + rule = + { + [1] = + { --[杀怪数] = { 启动的tide, 停止补怪的tide} + [10] = { toStart = {}, toStop = {} }, + }, + [2] = + { --[杀怪数] = { 启动的tide, 停止补怪的tide} + [10] = { toStart = {}, toStop = {}}, + }, + [3] = + { --[杀怪数] = { 启动的tide, 停止补怪的tide} + [10] = { toStart = {}, toStop = {}}, + }, + [4] = + { --[杀怪数] = { 启动的tide, 停止补怪的tide} + [10] = { toStart = {}, toStop = {}}, + }, + }, + + --怪物信息 每个tide每次只出一只,按次序刷出 + tide = + { + [1] = { 1001, 1002 }, + [2] = { 1001, 1002 }, + [3] = { 1001, 1002 }, + } +} + +]] +local cfg = { + --主控GroupID + main_group = 251008007, +} + +local extraTriggers = { + { config_id = 8000001, name = "TimeAxis_StopGallery", event = EventType.EVENT_TIME_AXIS_PASS, source = "StopGallery", condition = "", action = "action_TimeAxis_StopGallery", trigger_count = 0 }, + { config_id = 8000002, name = "Any_Monster_Die", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "", action = "action_Any_Monster_Die", trigger_count = 0 }, + { config_id = 8000004, name = "Gallery_Stop", event = EventType.EVENT_GALLERY_STOP, source = "", condition = "", action = "action_Gallery_Stop", trigger_count = 0 }, + { config_id = 8000005, name = "TimeAxis_StopGallery_Fail", event = EventType.EVENT_TIME_AXIS_PASS, source = "StopGallery_Fail", condition = "", action = "action_TimeAxis_StopGallery_Fail", trigger_count = 0 }, + { config_id = 8000006, name = "AirWallVariable_Change", event = EventType.EVENT_VARIABLE_CHANGE, source = "air_wall", condition = "", action = "action_AirWallVariable_Change", trigger_count = 0 }, + { config_id = 8000007, name = "Group_Load", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_Group_Load", trigger_count = 0 }, + { config_id = 8000008, name = "Clear_TimeAxis_Pass", event = EventType.EVENT_TIME_AXIS_PASS, source = "clear_delay", condition = "", action = "action_Clear_TimeAxis_Pass", trigger_count = 0 }, +} + +function LF_Initialize() + for k,v in pairs(extraTriggers) do + table.insert(triggers, v) + table.insert(suites[init_config.suite].triggers, v.name) + end + table.insert(variables,{ config_id = 50000001, name = "air_wall", value = 0}) +end + +--主控调用 +function EX_StartGallery(context, prev_context, gallery_id, is_last_level) + --加载玩法suite + if nil ~= defs.play_suites then + for k,v in pairs(defs.play_suites) do + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, v) + end + end + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.SetGroupTempValue(context, "player_count", #uid_list, {}) + ScriptLib.SetGroupTempValue(context, "is_last_level", is_last_level, {}) + + --开启gallery + ScriptLib.StartGallery(context, gallery_id) + ScriptLib.SetGroupTempValue(context, "gallery_id", gallery_id, {}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_BattleTide] EX_StartGallery. player_count@"..#uid_list.." --------------") + + --玩法启动 + ScriptLib.SetGroupVariableValue(context, "air_wall", 0) + LF_Start_Play(context) + + return 0 +end + +function action_Group_Load(context, evt) + if nil == defs.air_wall then + return 0 + end + if 1 == ScriptLib.GetGroupVariableValue(context, "air_wall") then + for i,v in ipairs(defs.air_wall) do + ScriptLib.CreateGadget(context, { config_id = v }) + end + end + return 0 +end + +function action_AirWallVariable_Change(context, evt) + if nil == defs.air_wall then + return 0 + end + if 1 == evt.param1 and 0 == evt.param2 then + for i,v in ipairs(defs.air_wall) do + ScriptLib.CreateGadget(context, { config_id = v }) + end + elseif 0 == evt.param1 and 1 == evt.param2 then + for i,v in ipairs(defs.air_wall) do + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, v) + end + end + return 0 +end + +--evt.param2: 1-失败 0-成功 +function action_Gallery_Stop(context, evt) + --卸载玩法suite + if nil ~= defs.play_suites then + for k,v in pairs(defs.play_suites) do + ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, v) + end + end + + if 3 ~= evt.param3 then + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1) + --ScriptLib.InitTimeAxis(context, "StopGallery_Fail", { 3 } , false) 9.21修改 失败不要延时结束 + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {1, base_info.group_id}) + else + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1)--最后一关无等待 + if is_last_level then + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {0, base_info.group_id}) + else + ScriptLib.InitTimeAxis(context, "StopGallery", { 3 } , false) + end + end + + --埋点 + local counter_1 = ScriptLib.GetGroupTempValue(context, "action_counter_1", {}) + local counter_2 = ScriptLib.GetGroupTempValue(context, "action_counter_2", {}) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + + if 28015 == gallery_id or 28016 == gallery_id then + ScriptLib.MarkGroupLuaAction(context, "CharAmuse_ElecAttack", ScriptLib.GetDungeonTransaction(context), {["reaction"] = counter_1}) + elseif 28017 == gallery_id or 28018 == gallery_id then + ScriptLib.MarkGroupLuaAction(context, "CharAmuse_NormalAttack", ScriptLib.GetDungeonTransaction(context), {["attack"] = counter_2}) + end + ScriptLib.PrintContextLog(context,"## [CharAmuse_BattleTide] Gallery stoped. reason@".. evt.param3.." --------------") + return 0 +end + +--------------------------------------------------------------------------------------------------------------- +function LF_Start_Play(context) + --埋点计数器 + ScriptLib.SetGroupTempValue(context, "action_counter_1", 0, {}) + ScriptLib.SetGroupTempValue(context, "action_counter_2", 0, {}) + + --怪物队列index初始化 + --0: 关闭 + for k,v in pairs(defs.tide) do + ScriptLib.SetGroupTempValue(context, "tide_"..k, 1, {}) + end + + --杀怪数 + ScriptLib.SetGroupTempValue(context, "kill_num", 0, {}) + + local player_count = ScriptLib.GetGroupTempValue(context, "player_count", {}) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + local target = 0 + if player_count > 1 then + target = ScriptLib.GetCharAmusementGalleryTarget(context, gallery_id, true) + else + target = ScriptLib.GetCharAmusementGalleryTarget(context, gallery_id, false) + end + ScriptLib.SetGroupTempValue(context, "cur_score", target, {}) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["max_score"]= target} ) + + if nil == defs.rule[player_count] then + return 0 + end + if nil == defs.rule[player_count][0] then + return 0 + end + + LF_InitMonsterByQueueList(context, defs.rule[player_count][0].toStart) + + return 0 +end + +function action_TimeAxis_StopGallery(context, evt) + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {0, base_info.group_id}) + + return 0 +end +function action_TimeAxis_StopGallery_Fail(context, evt) + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {1, base_info.group_id}) + return 0 +end +--循环刷怪 +function action_Any_Monster_Die(context, evt) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + + if false == ScriptLib.IsGalleryStart(context, gallery_id) then + return 0 + end + + --加分 + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["add_score"]= 1} ) + ScriptLib.CharAmusementUpdateScore(context, cfg.main_group, 1, 1)--给MultStage更新分数 服务器侧埋点用 + + --是否结算 + ScriptLib.ChangeGroupTempValue(context, "cur_score", -1 , {}) + if 0 >= ScriptLib.GetGroupTempValue(context, "cur_score", {}) then + --客户端弹提示 + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["is_last_level"] = is_last_level, ["is_finish"] = true, ["is_success"] = true } ) + + --ScriptLib.KillGroupEntity(context, { group_id = base_info.group_id, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) + ScriptLib.InitTimeAxis(context, "clear_delay", {1.2}, false)--有delay出现的怪 + + ScriptLib.StopGallery(context, gallery_id, false) + return 0 + end + + + --启动/停止怪物队列 + ScriptLib.ChangeGroupTempValue(context, "kill_num", 1, {}) + local kill_num = ScriptLib.GetGroupTempValue(context, "kill_num", {}) + local player_count = ScriptLib.GetGroupTempValue(context, "player_count", {}) + if nil == defs.rule[player_count] then + return 0 + end + + if nil ~= defs.rule[player_count][kill_num] then + if nil ~= defs.rule[player_count][kill_num].toStart and 0 ~= defs.rule[player_count][kill_num].toStart then + local tide_index_list = defs.rule[player_count][kill_num].toStart + LF_InitMonsterByQueueList(context, tide_index_list) + end + + if nil ~= defs.rule[player_count][kill_num].toStop and 0 ~= defs.rule[player_count][kill_num].toStop then + local tide_index_list = defs.rule[player_count][kill_num].toStop + LF_StopMonsterByQueue(context, tide_index_list) + end + + end + + --所在怪物队列补怪 + local from_tide = LF_GetMonsterTideIndexByConfigID(context, evt.param1) + + if 0 < ScriptLib.GetGroupTempValue(context, "tide_"..from_tide, {}) then + LF_CreateMonsterByQueue(context, from_tide) + end + + + return 0 +end + +function action_Clear_TimeAxis_Pass(context, evt) + ScriptLib.KillGroupEntity(context, { group_id = base_info.group_id, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) + return 0 +end + +function LF_InitMonsterByQueueList(context, tide_index_list) + + for i,v in ipairs(tide_index_list) do + if nil == defs.tide[v] then + ScriptLib.PrintContextLog(context, "## [CharAmuse_BattleTide] LF_InitMonsterByQueueList. Undefined tide index. index@"..v ) + return 0 + end + local monster_index = ScriptLib.GetGroupTempValue(context, "tide_"..v, {}) + if 0 < monster_index then + if nil == defs.tide[v][monster_index] then + ScriptLib.PrintContextLog(context, "## [CharAmuse_BattleTide] LF_InitMonsterByQueueList. Undefined monster_index. tide@"..v.." monster_index@"..monster_index ) + return 0 + end + ScriptLib.CreateMonster(context, { config_id = defs.tide[v][monster_index], delay_time = 0 }) + if monster_index >= #defs.tide[v] then + ScriptLib.SetGroupTempValue(context, "tide_"..v, 1, {}) + else + ScriptLib.ChangeGroupTempValue(context, "tide_"..v, 1, {}) + end + end + end + return 0 +end + +function LF_CreateMonsterByQueue(context, tide_index) + + local monster_index = ScriptLib.GetGroupTempValue(context, "tide_"..tide_index, {}) + + ScriptLib.PrintContextLog(context, "## [CharAmuse_BattleTide] LF_CreateMonsterByQueue. tide@tide_"..tide_index.." monster_index@"..monster_index ) + + if nil == defs.tide[tide_index] then + ScriptLib.PrintContextLog(context, "## [CharAmuse_BattleTide] LF_CreateMonsterByQueue. Undefined tide index. index@"..tide_index ) + return 0 + end + + if 0 < monster_index then + if nil == defs.tide[tide_index][monster_index] then + ScriptLib.PrintContextLog(context, "## [CharAmuse_BattleTide] LF_CreateMonsterByQueue. Undefined monster_index. tide@"..tide_index.." monster_index@"..monster_index ) + return 0 + end + + ScriptLib.CreateMonster(context, { config_id = defs.tide[tide_index][monster_index], delay_time = 1 }) + + if monster_index >= #defs.tide[tide_index] then + ScriptLib.SetGroupTempValue(context, "tide_"..tide_index, 1, {}) + else + ScriptLib.ChangeGroupTempValue(context, "tide_"..tide_index, 1, {}) + end + end + return 0 +end + +function LF_StopMonsterByQueue(context, tide_index_list) + for i,v in ipairs(tide_index_list) do + if nil == defs.tide[v] then + ScriptLib.PrintContextLog(context, "## [CharAmuse_BattleTide] LF_StopMonsterByQueue. Undefined tide index. index@"..v ) + return 0 + end + ScriptLib.SetGroupTempValue(context, "tide_"..v, 0, {}) + end + return 0 +end + +function LF_GetMonsterTideIndexByConfigID(context, config_id) + for k,v in pairs(defs.tide) do + for i, j in ipairs(v) do + if config_id == j then + return k + end + end + end + return 0 +end +--玩家行为埋点 +--param1 1-触发感电激化 2-触发普攻重击 +function SLC_CharAmuse_BattleAction(context, param1) + if 1 == param1 then + ScriptLib.ChangeGroupTempValue(context, "action_counter_1", 1, {}) + elseif 2 == param1 then + ScriptLib.ChangeGroupTempValue(context, "action_counter_2", 1, {}) + end + return 0 +end + +LF_Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_2/CharAmuse_BrickWall.lua b/Resources/Scripts/Common/V3_2/CharAmuse_BrickWall.lua index e69de29bb..eeb319645 100644 --- a/Resources/Scripts/Common/V3_2/CharAmuse_BrickWall.lua +++ b/Resources/Scripts/Common/V3_2/CharAmuse_BrickWall.lua @@ -0,0 +1,343 @@ +--- ServerUploadTool Save to [/root/env/data/lua/common/V3_2] --- + +--[[====================================== +|| filename: CharAmuse_BrickWall +|| owner: weiwei.sun +|| description: 3.2奇趣秘园 局内逻辑 消消乐 +|| LogName: ## [CharAmuse_BrickWall] +|| Protection: +=======================================]] +--[[ + +local defs = { + +} + +]] +local cfg = { + --主控GroupID + main_group = 251008007, + + --默认血量 + hp = + { --[人数] = {各种砖块血量} + [1] = { Normal = 130, Stamina = 200, Line = 500, All = 1200,}, + [2] = { Normal = 130, Stamina = 200, Line = 500, All = 1200,}, + [3] = { Normal = 130, Stamina = 200, Line = 500, All = 1200,}, + [4] = { Normal = 130, Stamina = 200, Line = 500, All = 1200,}, + } +} + +local extraTriggers = { + { config_id = 8000001, name = "TimeAxis_StopGallery", event = EventType.EVENT_TIME_AXIS_PASS, source = "StopGallery", condition = "", action = "action_TimeAxis_StopGallery", trigger_count = 0 }, + { config_id = 8000002, name = "Enter_Play_Region", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_Enter_Play_Region", trigger_count = 1, forbid_guest = false}, + { config_id = 8000004, name = "Gallery_Stop", event = EventType.EVENT_GALLERY_STOP, source = "", condition = "", action = "action_Gallery_Stop", trigger_count = 0 }, + { config_id = 8000005, name = "TimeAxis_StopGallery_Fail", event = EventType.EVENT_TIME_AXIS_PASS, source = "StopGallery_Fail", condition = "", action = "action_TimeAxis_StopGallery_Fail", trigger_count = 0 }, + { config_id = 8000006, name = "AirWallVariable_Change", event = EventType.EVENT_VARIABLE_CHANGE, source = "air_wall", condition = "", action = "action_AirWallVariable_Change", trigger_count = 0 }, + { config_id = 8000007, name = "Group_Load", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_Group_Load", trigger_count = 0 }, + +} + +function LF_Initialize() + for k,v in pairs(extraTriggers) do + table.insert(triggers, v) + table.insert(suites[init_config.suite].triggers, v.name) + end + table.insert(variables,{ config_id = 50000001, name = "air_wall", value = 0}) +end + +--主控调用 +function EX_StartGallery(context, prev_context, gallery_id, is_last_level) + --加载玩法suite + if nil ~= defs.play_suites then + for k,v in pairs(defs.play_suites) do + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, v) + end + end + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.SetGroupTempValue(context, "player_count", #uid_list, {}) + + ScriptLib.SetGroupTempValue(context, "is_last_level", is_last_level, {}) + + --开启gallery + ScriptLib.StartGallery(context, gallery_id) + ScriptLib.PrintContextLog(context,"## [CharAmuse_BrickWall] EX_StartGallery. player_count@"..#uid_list.." --------------") + ScriptLib.SetGroupTempValue(context, "gallery_id", gallery_id, {}) + --玩法启动 + ScriptLib.SetGroupVariableValue(context, "air_wall", 0) + LF_Start_Play(context) + + return 0 +end + +function action_Group_Load(context, evt) + if nil == defs.air_wall then + return 0 + end + if 1 == ScriptLib.GetGroupVariableValue(context, "air_wall") then + for i,v in ipairs(defs.air_wall) do + ScriptLib.CreateGadget(context, { config_id = v }) + end + end + return 0 +end + +function action_AirWallVariable_Change(context, evt) + if nil == defs.air_wall then + return 0 + end + if 1 == evt.param1 and 0 == evt.param2 then + for i,v in ipairs(defs.air_wall) do + ScriptLib.CreateGadget(context, { config_id = v }) + end + elseif 0 == evt.param1 and 1 == evt.param2 then + for i,v in ipairs(defs.air_wall) do + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, v) + end + end + return 0 +end + +--evt.param2: 1-成功 0-失败 +function action_Gallery_Stop(context, evt) + --卸载玩法suite + if nil ~= defs.play_suites then + for k,v in pairs(defs.play_suites) do + ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, v) + end + end + if 3 ~= evt.param3 then + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1) + --ScriptLib.InitTimeAxis(context, "StopGallery_Fail", { 3 } , false) 9.21修改 失败不要延时结束 + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {1, base_info.group_id}) + else + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1)--最后一关无等待 + if is_last_level then + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {0, base_info.group_id}) + else + ScriptLib.InitTimeAxis(context, "StopGallery", { 3 } , false) + end + end + + ScriptLib.PrintContextLog(context,"## [CharAmuse_BrickWall] Gallery stoped. reason@".. evt.param3.." --------------") + return 0 +end + +function action_Enter_Play_Region(context, evt) + + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.SetGroupTempValue(context, "player_count", #uid_list, {}) + + --根据当前人数加载suite + local player_count = ScriptLib.GetGroupTempValue(context, "player_count", {}) + if nil ~= defs.enter_suites and nil ~= defs.enter_suites[player_count] then + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, defs.enter_suites[player_count]) + end + + ScriptLib.PrintContextLog(context,"## [CharAmuse_BrickWall] Enter_Play_Region. player_count@"..#uid_list) + + --重新创建砖墙 重置GV、SGV + if 1 < player_count then + if nil ~= defs.hp then + ScriptLib.CreateGadgetByParamTable(context, {config_id = defs.wall, pos = gadgets[defs.wall].pos, rot = gadgets[defs.wall].rot, + sgv_key = { + "SGV_BrickWall_Mode", + "SGV_BrickWall_HP_Normal", + "SGV_BrickWall_HP_Stamina", + "SGV_BrickWall_HP_Line", + "SGV_BrickWall_HP_All", + }, + sgv_value = { + 1, + defs.hp[player_count].Normal, + defs.hp[player_count].Stamina, + defs.hp[player_count].Line, + defs.hp[player_count].All, + } + }) + else + ScriptLib.CreateGadgetByParamTable(context, {config_id = defs.wall, pos = gadgets[defs.wall].pos, rot = gadgets[defs.wall].rot, + sgv_key = { + "SGV_BrickWall_Mode", + "SGV_BrickWall_HP_Normal", + "SGV_BrickWall_HP_Stamina", + "SGV_BrickWall_HP_Line", + "SGV_BrickWall_HP_All", + }, + sgv_value = { + 1, + cfg.hp[player_count].Normal, + cfg.hp[player_count].Stamina, + cfg.hp[player_count].Line, + cfg.hp[player_count].All, + } + }) + end + else + if nil ~= defs.hp then + ScriptLib.CreateGadgetByParamTable(context, {config_id = defs.wall, pos = gadgets[defs.wall].pos, rot = gadgets[defs.wall].rot, + sgv_key = { + "SGV_BrickWall_Mode", + "SGV_BrickWall_HP_Normal", + "SGV_BrickWall_HP_Stamina", + "SGV_BrickWall_HP_Line", + "SGV_BrickWall_HP_All", + }, + sgv_value = { + 0, + defs.hp[player_count].Normal, + defs.hp[player_count].Stamina, + defs.hp[player_count].Line, + defs.hp[player_count].All, + } + }) + else + ScriptLib.CreateGadgetByParamTable(context, {config_id = defs.wall, pos = gadgets[defs.wall].pos, rot = gadgets[defs.wall].rot, + sgv_key = { + "SGV_BrickWall_Mode", + "SGV_BrickWall_HP_Normal", + "SGV_BrickWall_HP_Stamina", + "SGV_BrickWall_HP_Line", + "SGV_BrickWall_HP_All", + }, + sgv_value = { + 0, + cfg.hp[player_count].Normal, + cfg.hp[player_count].Stamina, + cfg.hp[player_count].Line, + cfg.hp[player_count].All, + } + }) + end + + end + + return 0 +end + +--------------------------------------------------------------------------------------------------------------- +function LF_Start_Play(context) + + local player_count = ScriptLib.GetGroupTempValue(context, "player_count", {}) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + local target = 0 + if player_count > 1 then + target = ScriptLib.GetCharAmusementGalleryTarget(context, gallery_id, true) + else + target = ScriptLib.GetCharAmusementGalleryTarget(context, gallery_id, false) + end + ScriptLib.SetGroupTempValue(context, "cur_score", target, {}) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["max_score"]= target} ) + + ScriptLib.SetGroupTempValue(context, "cur_num", 0, {}) + + ----测试关存在连续2场砖墙玩法的情况,在此重新尝试创建一次,砖墙configID在场无事发生 + if nil ~= defs.enter_suites and nil ~= defs.enter_suites[player_count] then + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, defs.enter_suites[player_count]) + end + --重新创建砖墙 重置GV、SGV。测试期间有两关连续打砖墙的情况 + if 1 < player_count then + ScriptLib.CreateGadgetByParamTable(context, {config_id = defs.wall, pos = gadgets[defs.wall].pos, rot = gadgets[defs.wall].rot, + sgv_key = { + "SGV_BrickWall_Mode", + "SGV_BrickWall_HP_Normal", + "SGV_BrickWall_HP_Stamina", + "SGV_BrickWall_HP_Line", + "SGV_BrickWall_HP_All", + }, + sgv_value = { + 1, + defs.hp[player_count].Normal, + defs.hp[player_count].Stamina, + defs.hp[player_count].Line, + defs.hp[player_count].All, + } + }) + else + ScriptLib.CreateGadgetByParamTable(context, {config_id = defs.wall, pos = gadgets[defs.wall].pos, rot = gadgets[defs.wall].rot, + sgv_key = { + "SGV_BrickWall_Mode", + "SGV_BrickWall_HP_Normal", + "SGV_BrickWall_HP_Stamina", + "SGV_BrickWall_HP_Line", + "SGV_BrickWall_HP_All", + }, + sgv_value = { + 0, + defs.hp[player_count].Normal, + defs.hp[player_count].Stamina, + defs.hp[player_count].Line, + defs.hp[player_count].All, + } + }) + end + + return 0 +end + + +function action_TimeAxis_StopGallery(context, evt) + --重新创建砖墙 重置GV + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, defs.wall) + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {0, base_info.group_id}) + return 0 +end + +function action_TimeAxis_StopGallery_Fail(context, evt) + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {1, base_info.group_id}) + return 0 +end + +--DoActionOnGlobalValueChange +function SLC_CharAmusePillar_BrickCount(context, param1) + + local cur_num = ScriptLib.GetGroupTempValue(context, "cur_num", {}) + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + + ScriptLib.PrintContextLog(context,"## [CharAmuse_BrickWall] SLC_CharAmusePillar_BrickCount. cur_count@"..cur_num.. " param1@"..param1) + + if 0 < param1 and param1 < 999 then + local diff = param1 -cur_num + if 0 <= diff then + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["add_score"]= diff} ) + ScriptLib.CharAmusementUpdateScore(context, cfg.main_group, 1, diff)--给MultStage更新分数 服务器侧埋点用 + ScriptLib.ChangeGroupTempValue(context, "cur_num", diff, {}) + else + ScriptLib.PrintContextLog(context,"## [CharAmuse_BrickWall] Unexpected score change! diff@"..diff) + return 0 --diff异常直接return了 + end + + ScriptLib.ChangeGroupTempValue(context, "cur_score", -1*diff, {}) + if 0 >= ScriptLib.GetGroupTempValue(context, "cur_score", {}) then + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["is_last_level"] = is_last_level, ["is_finish"] = true, ["is_success"] = true } ) + --通知砖墙上报埋点计数 + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.wall, "SGV_BrickWall_Report", 1) + + ScriptLib.StopGallery(context, gallery_id, false) + return 0 + end + end + return 0 +end + +--埋点用 +function SLC_CharAmusePillar_Report_Normal(context, param1) + if 0 < param1 then + ScriptLib.PrintContextLog(context,"## [CharAmuse_BrickWall] SLC_CharAmusePillar_Report_Normal. param1@"..param1) + ScriptLib.MarkGroupLuaAction(context, "CharAmuse_BrickWall", ScriptLib.GetDungeonTransaction(context), { ["normal"] = param1 }) + end + return 0 +end + +--埋点用 +function SLC_CharAmusePillar_Report_UnNormal(context, param1, param2, param3) + if 0 < param1 and 0 < param2 and 0 < param3 then --埋点数据 校验应该不需要太严格 + ScriptLib.PrintContextLog(context,"## [CharAmuse_BrickWall] SLC_CharAmusePillar_Report_UnNormal. param1@"..param1.. " param2@"..param2.." param3@"..param3) + ScriptLib.MarkGroupLuaAction(context, "CharAmuse_BrickWall", ScriptLib.GetDungeonTransaction(context), { ["Stamina"] = param1, ["lateral"] = param2, ["fullscreen"] = param3 }) + end + return 0 +end + +LF_Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_2/CharAmuse_Football.lua b/Resources/Scripts/Common/V3_2/CharAmuse_Football.lua index e69de29bb..6c4473538 100644 --- a/Resources/Scripts/Common/V3_2/CharAmuse_Football.lua +++ b/Resources/Scripts/Common/V3_2/CharAmuse_Football.lua @@ -0,0 +1,475 @@ +--- ServerUploadTool Save to [/root/env/data/lua/common/V3_2] --- + +--[[====================================== +|| filename: CharAmuse_FootBall +|| owner: weiwei.sun +|| description: 3.2奇趣秘园 局内逻辑 踢足球 +|| LogName: ## [CharAmuse_FootBall] +|| Protection: +=======================================]] +--[[ + +--踢球玩法配置 +local defs = { + + -----全玩法通用配置----- + + --玩法范围region cube + play_region = 1003, + + --玩法限时秒 + limit_time = 120, + target = 15, + + -----踢足球配置----- + + --每波球强制结束时间 + rounf_time = 60, + + --每波球强制结束前Reminder时机 + rmd_time = 55, + reminder_id = 470310102, + + --内容配置 + -- 如果是琴的关卡,用这套 + Jean = { + -- 球门和空气墙所在的suite + goal_suite =10, + -- 刷球和空气墙的规则 + setting = { + -- 单人玩家 + [1] = { + --第1波球从ball_suite中随机出1个,从wall_suite中随机出1个 + {ball_suite = {1,2}, wall_suite = {}}, + }, + + -- 2人玩家 + [2] = { + {ball_suite = {1,2}, wall_suite = {}}, + }, + + -- 3人玩家 + [3] = { + {ball_suite = {1,2}, wall_suite = {}}, + {ball_suite = {3,4}, wall_suite = {2}}, + {ball_suite = {3,4}, wall_suite = {4}}, + }, + + -- 4人玩家 + [4] = { + {ball_suite = {1,2}, wall_suite = {}}, + {ball_suite = {3,4}, wall_suite = {2}}, + {ball_suite = {3,4}, wall_suite = {4}}, + }, + + }, + }, + + -- 如果是可莉&烟绯的关卡,用这套 + Klee = { + goal_suite =2, + setting = { + [1] = { + {ball_suite = {1,2}, wall_suite = {}}, + {ball_suite = {3,4}, wall_suite = {2}}, + {ball_suite = {3,4}, wall_suite = {4}}, + }, + + [2] = { + {ball_suite = {1,2}, wall_suite = {}}, + {ball_suite = {3,4}, wall_suite = {2}}, + {ball_suite = {3,4}, wall_suite = {4}}, + }, + + [3] = { + {ball_suite = {1,2}, wall_suite = {}}, + {ball_suite = {3,4}, wall_suite = {2}}, + {ball_suite = {3,4}, wall_suite = {4}}, + }, + + [4] = { + {ball_suite = {1,2}, wall_suite = {}}, + {ball_suite = {3,4}, wall_suite = {2}}, + {ball_suite = {3,4}, wall_suite = {4}}, + }, + + }, + }, +} + +]] +local cfg = { + main_group = 251008007, + -- + gallery_match = + { + --[1000] = defs.Jean, + [28009] = defs.Klee, + [28010] = defs.Jean + }, + monter_score = + { + [20011204] = 1, + [20011305] = 5, + [20010503] = 1, + [20010605] = 5, + } +} + +local extraTriggers = { + { config_id = 8000002, name = "Enter_Play_Region", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_Enter_Play_Region", trigger_count = 1, forbid_guest = false}, + { config_id = 8000003, name = "TimeAxis_StopGallery", event = EventType.EVENT_TIME_AXIS_PASS, source = "StopGallery", condition = "", action = "action_TimeAxis_StopGallery", trigger_count = 0 }, + { config_id = 8000004, name = "Gallery_Stop", event = EventType.EVENT_GALLERY_STOP, source = "", condition = "", action = "action_Gallery_Stop", trigger_count = 0 }, + { config_id = 8000005, name = "TimeAxis_StopGallery_Fail", event = EventType.EVENT_TIME_AXIS_PASS, source = "StopGallery_Fail", condition = "", action = "action_TimeAxis_StopGallery_Fail", trigger_count = 0 }, + { config_id = 8000007, name = "FootBallClear_TimeAxis_Pass", event = EventType.EVENT_TIME_AXIS_PASS, source = "FootBallClear", condition = "", action = "action_FootBallClear_TimeAxis_Pass", trigger_count = 0 }, + { config_id = 8000008, name = "ClearReminder_TimeAxis_Pass", event = EventType.EVENT_TIME_AXIS_PASS, source = "ClearRmd", condition = "", action = "action_ClearReminder_TimeAxis_Pass", trigger_count = 0 }, + { config_id = 8000009, name = "Any_Monster_Die", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "", action = "action_Any_Monster_Die", trigger_count = 0 }, + { config_id = 8000010, name = "TimeAxis_NewRound", event = EventType.EVENT_TIME_AXIS_PASS, source = "NewRound", condition = "", action = "action_TimeAxis_NewRound", trigger_count = 0 }, + { config_id = 8000011, name = "MovingWall_ReachPoint", event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "", action = "action_MovingWall_ReachPoint", trigger_count = 0 }, + { config_id = 8000012, name = "AirWallVariable_Change", event = EventType.EVENT_VARIABLE_CHANGE, source = "air_wall", condition = "", action = "action_AirWallVariable_Change", trigger_count = 0 }, + { config_id = 8000013, name = "Group_Load", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_Group_Load", trigger_count = 0 }, +} + +function LF_Initialize() + for k,v in pairs(extraTriggers) do + table.insert(triggers, v) + table.insert(suites[init_config.suite].triggers, v.name) + end + table.insert(variables,{ config_id = 50000001, name = "air_wall", value = 0}) +end + +--主控调用 +function EX_StartGallery(context, prev_context, gallery_id, is_last_level) + --加载玩法suite + if nil ~= defs.play_suites then + for k,v in pairs(defs.play_suites) do + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, v) + end + end + + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.SetGroupTempValue(context, "player_count", #uid_list, {}) + + ScriptLib.SetGroupTempValue(context, "is_last_level", is_last_level, {}) + + --开启gallery + ScriptLib.StartGallery(context, gallery_id) + ScriptLib.PrintContextLog(context,"## [CharAmuse_FootBall] EX_StartGallery. player_count@"..#uid_list.." --------------") + ScriptLib.SetGroupTempValue(context, "gallery_id", gallery_id, {}) + --玩法启动 + ScriptLib.SetGroupVariableValue(context, "air_wall", 0) + LF_Start_Play(context) + + return 0 +end + +function action_Group_Load(context, evt) + if nil == defs.air_wall then + return 0 + end + if 1 == ScriptLib.GetGroupVariableValue(context, "air_wall") then + for i,v in ipairs(defs.air_wall) do + ScriptLib.CreateGadget(context, { config_id = v }) + end + end + return 0 +end + +function action_AirWallVariable_Change(context, evt) + if nil == defs.air_wall then + return 0 + end + if 1 == evt.param1 and 0 == evt.param2 then + for i,v in ipairs(defs.air_wall) do + ScriptLib.CreateGadget(context, { config_id = v }) + end + elseif 0 == evt.param1 and 1 == evt.param2 then + for i,v in ipairs(defs.air_wall) do + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, v) + end + end + return 0 +end + +--evt.param2: 1-成功 0-失败 +function action_Gallery_Stop(context, evt) + --卸载玩法suite + if nil ~= defs.play_suites then + for k,v in pairs(defs.play_suites) do + ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, v) + end + end + + LF_ClearRound(context) + ScriptLib.EndAllTimeAxis(context) + + if 3 ~= evt.param3 then + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1) + --ScriptLib.InitTimeAxis(context, "StopGallery_Fail", { 3 } , false) 9.21修改 失败不要延时结束 + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {1, base_info.group_id}) + else + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1)--最后一关无等待 + if is_last_level then + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {0, base_info.group_id}) + else + ScriptLib.InitTimeAxis(context, "StopGallery", { 3 } , false) + end + end + ScriptLib.PrintContextLog(context,"## [CharAmuse_FootBall] Gallery stoped. reason@".. evt.param3.." --------------") + return 0 +end +function action_Enter_Play_Region(context, evt) + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.PrintContextLog(context,"## [CharAmuse_FootBall] Enter_Play_Region. player_count@"..#uid_list)--这里只是打一下log,LF_AddGoalSuite不涉及人数 + LF_AddGoalSuite(context) + return 0 +end + +--------------------------------------------------------------------------------------------------------------- +function LF_Start_Play(context) + + ScriptLib.SetGroupTempValue(context, "round", 0, {}) + + player_count = ScriptLib.GetGroupTempValue(context, "player_count", {}) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + local target = 0 + if player_count > 1 then + target = ScriptLib.GetCharAmusementGalleryTarget(context, gallery_id, true) + else + target = ScriptLib.GetCharAmusementGalleryTarget(context, gallery_id, false) + end + ScriptLib.SetGroupTempValue(context, "cur_score", target, {}) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["max_score"]= target} ) + + LF_StartRound(context) + + return 0 +end + +function action_TimeAxis_StopGallery(context, evt) + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {0, base_info.group_id}) + return 0 +end + +function action_TimeAxis_StopGallery_Fail(context, evt) + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {1, base_info.group_id}) + return 0 +end + +--主控提前通知GalleryID +function EX_SetGalleryID(context, prev_context, gallery_id) + ScriptLib.SetGroupTempValue(context, "gallery_id", gallery_id, {}) + return 0 +end + +function LF_AddGoalSuite(context) + --移除旧有的 + ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, defs.Klee.goal_suite) + ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, defs.Jean.goal_suite) + --添加新的 + local char_type = LF_GetFootBallCharType(context) + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, char_type.goal_suite) + return 0 +end + +function action_FootBallClear_TimeAxis_Pass(context, evt) + + LF_ClearRound(context) + LF_StartRound(context) + + return 0 +end + +function action_ClearReminder_TimeAxis_Pass(context, evt) + ScriptLib.ShowReminder(context, defs.reminder_id) + return 0 +end + +function LF_StartRound(context) + + ScriptLib.EndTimeAxis(context, "ClearRmd") + ScriptLib.EndTimeAxis(context, "FootBallClear") + ScriptLib.InitTimeAxis(context, "FootBallClear", { defs.rounf_time } , true) + ScriptLib.InitTimeAxis(context, "ClearRmd", { defs.rmd_time } , false) + + ScriptLib.SetGroupTempValue(context, "ball_counter", 0, {}) + ScriptLib.SetGroupTempValue(context, "score_gain", 0, {}) + + local char_type = LF_GetFootBallCharType(context) + local player_count = ScriptLib.GetGroupTempValue(context, "player_count", {}) + local setting = char_type.setting[player_count] + + if nil == setting then + ScriptLib.PrintContextLog(context,"## [CharAmuse_FootBall] LF_StartRound. Nil setting. player_count@"..player_count) + return 0 + end + + --round++ + ScriptLib.ChangeGroupTempValue(context, "round", 1, {}) + local round = ScriptLib.GetGroupTempValue(context, "round", {}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_FootBall] LF_StartRound. New round@"..round) + + --如果已经到了LD配置尽头,则循环最后一波 + if round > #char_type.setting[player_count] then + round = #char_type.setting[player_count] + ScriptLib.SetGroupTempValue(context, "round", round, {}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_FootBall] LF_StartRound. All round finished. Set to final.") + end + + --随机球 + local ball_suite = setting[round].ball_suite + if nil ~= ball_suite and 0 < #ball_suite then + math.randomseed(ScriptLib.GetServerTime(context)) + local rand_index = math.random(#ball_suite) + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, ball_suite[rand_index]) + ScriptLib.SetGroupTempValue(context, "ball_num", #suites[ball_suite[rand_index]].monsters, {}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_FootBall] LF_AddSuiteByFootBallRule. round@"..round.." ball_suite@"..ball_suite[rand_index].." num@"..#suites[ball_suite[rand_index]].monsters) + end + + --随机墙 + local wall_suite = setting[round].wall_suite + if nil ~= wall_suite and 0 < #wall_suite then + math.randomseed(ScriptLib.GetServerTime(context) + 99) + local rand_index = math.random(#wall_suite) + ScriptLib.SetGroupTempValue(context, "wall_suite_index", rand_index, {}) + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, wall_suite[rand_index]) + ScriptLib.PrintContextLog(context,"## [CharAmuse_FootBall] LF_AddSuiteByFootBallRule. round@"..round.." wall_suite@"..wall_suite[rand_index]) + end + + --随机buff + local stamina_suite = setting[round].stamina_suite + if nil ~= stamina_suite and 0 < #stamina_suite then + math.randomseed(ScriptLib.GetServerTime(context) + 98) + local rand_index = math.random(#stamina_suite) + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, stamina_suite[rand_index]) + ScriptLib.PrintContextLog(context,"## [CharAmuse_FootBall] LF_AddSuiteByFootBallRule. round@"..round.." stamina_suite@"..stamina_suite[rand_index]) + end + + return 0 +end + +function LF_ClearRound(context) + + local player_count = ScriptLib.GetGroupTempValue(context, "player_count", {}) + local char_type = LF_GetFootBallCharType(context) + local setting = char_type.setting[player_count] + local round = ScriptLib.GetGroupTempValue(context, "round", {}) + --移除墙 + local wall_suite_index = ScriptLib.GetGroupTempValue(context, "wall_suite_index", {}) + local wall_suites = setting[round].wall_suite + local wall_suite = wall_suites[wall_suite_index] + if nil ~= wall_suite and nil ~= suites[wall_suite] then + for i,v in pairs(suites[wall_suite].gadgets) do + ScriptLib.KillEntityByConfigId(context, { config_id = v })--kill播放onKill动画 + end + end + --移除其他 + for i = 2, #suites do + + if defs.Jean.goal_suite ~= i and defs.Klee.goal_suite ~= i and wall_suite ~= i then + ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, i) + end + end + --埋点 + local score_gain = ScriptLib.GetGroupTempValue(context, "score_gain", {}) + ScriptLib.MarkGroupLuaAction(context, "CharAmuse_Football", ScriptLib.GetDungeonTransaction(context), {["wave_num"] = round, ["score_gain"] = score_gain}) + return 0 +end + +function LF_GetFootBallCharType(context) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + local player_count = ScriptLib.GetGroupTempValue(context, "player_count", {}) + local char_type = {} + + if -1 == gallery_id or nil == cfg.gallery_match[gallery_id] then + char_type = defs.Jean + ScriptLib.PrintContextLog(context,"## [CharAmuse_FootBall] LF_GetFootBallCharType. Gallery id undefined, use default setting.") + return char_type + else + char_type = cfg.gallery_match[gallery_id] + end + return char_type +end + +function action_Any_Monster_Die(context, evt) + LF_HandleMonsterDie(context, evt.param1) + return 0 +end + +function action_TimeAxis_NewRound(context, evt) + LF_ClearRound(context) + LF_StartRound(context) + return 0 +end + +function action_MovingWall_ReachPoint(context, evt) + local gadget_id = ScriptLib.GetGadgetIdByEntityId(context, evt.source_eid) + if 70320021 == gadget_id then + if 201 == ScriptLib.GetGadgetStateByConfigId(context, 0, evt.param1) then + ScriptLib.SetGadgetStateByConfigId(context, evt.param1, 0) + else + ScriptLib.SetGadgetStateByConfigId(context, evt.param1, 201) + end + end + return 0 +end + +--[[function SLC_CharAmuse_KillSlime(context) + local config_id = ScriptLib.GetMonsterConfigId(context, { monster_eid = context.source_entity_id}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_FootBall] SLC_CharAmuse_KillSlime. source_entity_id@".. context.source_entity_id.. " target_entity_id@".. context.target_entity_id.." GetMonsterConfigId@"..config_id) + if nil == cfg.monter_score[monsters[config_id].monster_id] then + ScriptLib.PrintContextLog(context,"## [CharAmuse_FootBall] SLC_CharAmuse_KillSlime. Got unexpected config_id@") + return 0 + end + + ScriptLib.KillEntityByConfigId(context, { config_id = config_id }) --这个会触发AnyMonsterDie + + --LF_HandleMonsterDie(context, config_id) + + return 0 +end]] +--加分 计数 +function LF_HandleMonsterDie(context, config_id) + + if nil == cfg.monter_score[monsters[config_id].monster_id] then + return 0 + end + + local score = cfg.monter_score[monsters[config_id].monster_id] + + ScriptLib.ChangeGroupTempValue(context, "cur_score", -1*score, {}) + + ScriptLib.ChangeGroupTempValue(context, "score_gain", score, {}) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["add_score"] = score} ) + ScriptLib.CharAmusementUpdateScore(context, cfg.main_group, 1, score)--给MultStage更新分数 服务器侧埋点用 + + --挑战完成 + if 0 >= ScriptLib.GetGroupTempValue(context, "cur_score", {}) then + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["is_last_level"] = is_last_level, ["is_finish"] = true, ["is_success"] = true } ) + ScriptLib.StopGallery(context, gallery_id, false) + return 0 + end + + ScriptLib.ChangeGroupTempValue(context, "ball_counter", 1, {}) + local ball_counter = ScriptLib.GetGroupTempValue(context, "ball_counter", {}) + local ball_num = ScriptLib.GetGroupTempValue(context, "ball_num", {}) + if ball_counter >= ball_num then + ScriptLib.EndTimeAxis(context, "FootBallClear") + if nil ~= defs.refresh_delay then + ScriptLib.InitTimeAxis(context, "NewRound", {defs.refresh_delay}, false) + else + LF_ClearRound(context) + LF_StartRound(context) + end + end + ScriptLib.PrintContextLog(context,"## [CharAmuse_FootBall] Monster die. config_id@"..config_id) + + return 0 +end + +LF_Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_2/CharAmuse_Main.lua b/Resources/Scripts/Common/V3_2/CharAmuse_Main.lua index e69de29bb..af4e09a64 100644 --- a/Resources/Scripts/Common/V3_2/CharAmuse_Main.lua +++ b/Resources/Scripts/Common/V3_2/CharAmuse_Main.lua @@ -0,0 +1,442 @@ +--- ServerUploadTool Save to [/root/env/data/lua/common/V3_2] --- + +--[[====================================== +|| filename: CharAmuse_Main +|| owner: weiwei.sun +|| description: 3.2奇趣秘园 主流程 +|| LogName: ## [CharAmuse_Main] +|| Protection: +=======================================]] +--[[ + +local defs = { + --每个房间传送点坐标列表,key为GalleryID + transpoint_list = + { + --玩法1 + [6001] = { + [1] = {pos = {x = 224.4635, y = 21.55999, z = 17.19053}, rot = {x = 0, y = 180, z = 0}}, + [2] = {pos = {x = 224.4635, y = 21.55999, z = 19.95908}, rot = {x = 0, y = 180, z = 0}}, + [3] = {pos = {x = 227.272, y = 21.55999, z = 18.4593}, rot = {x = 0, y = 180, z = 0}}, + [4] = {pos = {x = 221.5798, y = 21.55999, z = 18.4593}, rot = {x = 0, y = 180, z = 0}} + }, + + } + + --每个小活动关卡Group列表 + group_list = + { + --玩法1 + [6001] = 235800006, + } + +} + +]] + +local cfg = { + --multistage数量 + total_stage = 3, + --完成wait阶段传送玩家,等待传送完成的延时 + trans_delay = 8, + --IdleStgae等待时间 + idle_delay = 12, + --等待Preview界面先弹出后再换人 + switchteam_delay = 2, + + --需要提前取到GalleryID以创建布设的Group + groups_need_gallery = + { + [251008011] = {28009, 28010} + }, + --战斗关 + battle_gallery = + { + 28013,28014,28015,28016,28017,28018 + }, + --战斗关 + pillar_gallery = + { + 28003,28004 + } + +} +local extraTriggers = { + { config_id = 8000001, name = "Group_Load_Main", event= EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_Group_Load_Main", trigger_count = 0 }, + { config_id = 8000002, name = "MultiStage_End", event= EventType.EVENT_SCENE_MULTISTAGE_PLAY_STAGE_END, source = "", condition = "", action = "action_MultiStage_End", trigger_count = 0 }, + { config_id = 8000003, name = "MPMode_All_PlayerEnter", event = EventType.EVENT_CHAR_AMUSEMENT_DUNGEON_ALL_PLAYER_ENTER, source = "", condition = "", action = "action_MPMode_All_PlayerEnter", trigger_count = 0}, + { config_id = 8000004, name = "Dungeon_Settle", event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "", action = "action_Dungeon_Settle", trigger_count = 0}, + { config_id = 8000005, name = "Trans_Delay", event = EventType.EVENT_TIME_AXIS_PASS, source = "trans_delay", condition = "", action = "action_Trans_Delay", trigger_count = 0}, + { config_id = 8000006, name = "SwitchTeam_Delay", event = EventType.EVENT_TIME_AXIS_PASS, source = "switchteam_delay", condition = "", action = "action_SwitchTeam_Delay", trigger_count = 0}, + { config_id = 8000007, name = "All_Avator_Die", event = EventType.EVENT_DUNGEON_ALL_AVATAR_DIE, source = "", condition = "", action = "action_All_Avator_Die", trigger_count = 0}, + { config_id = 8000008, name = "Enter_Scene_Trans", event = EventType.EVENT_TIME_AXIS_PASS, source = "enterscene_delay", condition = "", action = "action_Enter_Scene_Trans", trigger_count = 0}, +} + +function LF_Initialize() + for k,v in pairs(extraTriggers) do + table.insert(triggers, v) + table.insert(suites[init_config.suite].triggers, v.name) + end +end + +function action_Group_Load_Main(context, evt) + + --当前关卡index 有几个Gallery stage_index就到几 + ScriptLib.SetGroupTempValue(context, "stage_index", 1, {}) + + --序号 每End一个Stage,++,校验用 用于防止意外客户端AbilitySLC重复EndStage + ScriptLib.SetGroupTempValue(context, "stage_num", 1, {}) + + --初始化Multistage + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.InitSceneMultistagePlay(context, 1, MultistagePlayType.CharAmusement, { gallery_stage_count = cfg.total_stage }, uid_list) + + --获取gallery_id列表,存为tempValue + local play_gallery_list = ScriptLib.GetCharAmusementMultistagePlayGalleryIdVec(context, base_info.group_id, 1) + if nil == play_gallery_list or 0 == #play_gallery_list then + ScriptLib.PrintGroupWarning(context,"## [CharAmuse_Main] Get multi stage gallery id list failed.") + return 0 + end + + ScriptLib.PrintContextLog(context,"## [CharAmuse_Main] Get multi stage gallery id. vec@".. table.concat( play_gallery_list, ", ")) + + --处理需要提前通知玩法Group的内容 + LF_SendGalleryIDVec_ToPlayGroup(context, play_gallery_list) + + ScriptLib.SetGroupTempValue(context, "gallery_num", #play_gallery_list, {}) + + for i=1,#play_gallery_list do + ScriptLib.SetGroupTempValue(context, "gallery_"..i, play_gallery_list[i], {}) + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] Get gallery list. gallery_" .. i .. "@".. play_gallery_list[i]) + end + + --进入MultiStage阶段 - 关卡展示界面 + LF_StartWaitStage(context, 1) + + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] Main group loaded.") + + return 0 +end + +function action_Dungeon_Settle(context, evt) + local stage_index = ScriptLib.GetGroupTempValue(context, "stage_index", {}) + local cur_gallery = ScriptLib.GetGroupTempValue(context, "gallery_"..stage_index, {}) + ScriptLib.StopGallery(context, cur_gallery, true) + ScriptLib.EndSceneMultiStagePlay(context, 1, false) + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] Dungeon settled.") + return 0 +end + +--联机 通过Event判断玩家全部入场 +function action_MPMode_All_PlayerEnter(context, evt) + local has_transed = ScriptLib.GetGroupTempValue(context, "has_transed", {}) + local stage_index = ScriptLib.GetGroupTempValue(context, "stage_index", {}) + if 1 == stage_index and 1 ~= has_transed then + ScriptLib.SetGroupTempValue(context, "has_transed", 1, {}) + --LF_TranAllPlayerToGalleryPos(context, stage_index) --需要确保客户端Wait界面已经开启,所以首次进场时晚一点传送 + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] Trans player on first round. Start timeaxis enterscene_delay。") + ScriptLib.InitTimeAxis(context, "enterscene_delay", { 2 }, false) + end + ScriptLib.InitTimeAxis(context, "trans_delay", { cfg.trans_delay }, false) + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] All player enter. Init time axis trans_delay.") + return 0 +end + +--SLC入场传送 目的是用于重连时处理被打断传送的玩家。但进场都会调用,在EX_DoReTransCheck_Single用IsPlayerTransmittable过滤 +function SLC_CharAmuseMain_PlayerEnter(context) + local stage_index = ScriptLib.GetGroupTempValue(context, "stage_index", {}) + if -1 == stage_index then + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] Get level entity ability onstart. Got stage_index failed.") + return 0 + end + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_"..stage_index, {}) + if nil == defs.group_list[gallery_id] then + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] Get level entity ability onstart. Got unexpected gallery_id@"..gallery_id) + return 0 + end + if nil == context.uid then + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] Get level entity ability onstart. SLC_CharAmuseMain_PlayerEnter context.uid is nil.") + return 0 + end + ScriptLib.ExecuteGroupLua(context, defs.group_list[gallery_id], "EX_DoReTransCheck_Single", {context.uid}) + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] Get level entity ability onstart. Execute EX_DoReTransCheck. uid@"..context.uid) + return 0 +end + +function action_All_Avator_Die(context, evt) + -- 所有玩家死亡 + local uid_list = ScriptLib.GetSceneUidList(context) + + for i,v in ipairs(uid_list) do + if ScriptLib.IsPlayerAllAvatarDie(context, v) == false then + return 0 + end + end + ScriptLib.CauseDungeonFail(context) + --multistage gallery 在DungeonSettle关闭 + return 0 +end + +function action_Enter_Scene_Trans(context, evt) + local stage_index = ScriptLib.GetGroupTempValue(context, "stage_index", {}) + LF_TranAllPlayerToGalleryPos(context, stage_index) + return 0 +end + +function action_Trans_Delay(context, evt) + local stage_index = ScriptLib.GetGroupTempValue(context, "stage_index", {}) + local stage_num = ScriptLib.GetGroupTempValue(context, "stage_num", {}) + --1,4,7是Preview + if 1 == stage_num or 4 == stage_num or 7 == stage_num then + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] Trans delay time axis passed. End waitStage@".."WaitStage_"..stage_index) + ScriptLib.EndSceneMultiStagePlayStage(context, 1, "WaitStage_"..stage_index, true) + end + return 0 +end + +function action_SwitchTeam_Delay(context, evt) + local stage_index = ScriptLib.GetGroupTempValue(context, "stage_index", {}) + ScriptLib.CharAmusementMultistagePlaySwitchTeam(context, base_info.group_id, 1, stage_index) + LF_TranAllPlayerToGalleryPos(context, stage_index) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_"..stage_index, {}) + --特殊处理1:如果接下来是战斗关,则移除打桩关的suite布设 + if LF_CheckIsInTable(context, gallery_id, cfg.battle_gallery) then + ScriptLib.ExecuteGroupLua(context, 251008012, "EX_ClearPillarSuite", { }) + return 0 + end + --特殊处理2:如果接下来是打桩关,则添加打桩关的suite布设 + if LF_CheckIsInTable(context, gallery_id, cfg.pillar_gallery) then + ScriptLib.ExecuteGroupLua(context, 251008012, "EX_SetPillarSuite", { }) + return 0 + end + + return 0 +end + +--任意MultiStageEnd,根据stage_index做对应处理 +--evt.source_name: 阶段名 evt.param3: 1成功 0失败 +function action_MultiStage_End(context, evt) + + --玩到第几关了 + local stage_index = ScriptLib.GetGroupTempValue(context, "stage_index", {}) + --End的是哪一种Stage + local name = string.sub(evt.source_name, 1, 9) + + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] MultiStage_End. stage_index@"..stage_index.." source_name@"..evt.source_name.. " evt.param3@".. evt.param3) + --失败 + if 0 == evt.param3 then + if "PlayStage" == name then + ScriptLib.EndSceneMultiStagePlay(context, 1, false) + end + return 0 + end + --成功 + ScriptLib.ChangeGroupTempValue(context, "stage_num", 1, {}) + --换人与传送 WaitStage_x -> 倒计时 IdleStage_x -> 开始 PlayStage_x + if "WaitStage" == name then + + ScriptLib.EndTimeAxis(context, "trans_delay") + --如果首轮传送在WaitStage结束后还没有执行,则在此时传送 + local has_transed = ScriptLib.GetGroupTempValue(context, "has_transed", {}) + if 1 ~= has_transed then + ScriptLib.SetGroupTempValue(context, "has_transed", 1, {}) + LF_TranAllPlayerToGalleryPos(context, stage_index) + end + + LF_StartIdleStage(context, stage_index) + + elseif "IdleStage" == name then + + LF_StartPlayStage(context, stage_index) + + elseif "PlayStage" == name then + + ScriptLib.ChangeGroupTempValue(context, "stage_index", 1, {}) + if true == LF_IsAllStageFinish(context) then + ScriptLib.EndSceneMultiStagePlay(context, 1, true) + else + stage_index = ScriptLib.GetGroupTempValue(context, "stage_index", {}) + LF_StartWaitStage(context, stage_index) + end + end + + return 0 +end + +--换人与传送阶段 先进阶段让客户端开界面 然后延迟两秒换人 +function LF_StartWaitStage(context, stage_index) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_"..stage_index, {}) + + --开启阶段 + ScriptLib.StartSceneMultiStagePlayStage(context, 1, 40, Multistage.CharAmusementPreview, "WaitStage_"..stage_index, { preview_stage_index = stage_index, preview_display_duration = 40}) + if 1 < stage_index then + ScriptLib.InitTimeAxis(context, "switchteam_delay", {cfg.switchteam_delay}, false) + else + --特殊处理1:如果接下来是战斗关,则移除打桩关的suite布设 + if LF_CheckIsInTable(context, gallery_id, cfg.battle_gallery) then + ScriptLib.ExecuteGroupLua(context, 251008012, "EX_ClearPillarSuite", { }) + elseif LF_CheckIsInTable(context, gallery_id, cfg.pillar_gallery) then + --特殊处理2:如果接下来是打桩关,则添加打桩关的suite布设 + ScriptLib.ExecuteGroupLua(context, 251008012, "EX_SetPillarSuite", { }) + end + + end + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] LF_StartWaitStage. stage_index@"..stage_index) + + --开启下一玩法的空气墙 + ScriptLib.SetGroupVariableValueByGroup(context, "air_wall", 1, defs.group_list[gallery_id]) + + return 0 +end + +--倒计时阶段 +function LF_StartIdleStage(context, stage_index) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_"..stage_index, {}) + --进行一次超界检测 + ScriptLib.ExecuteGroupLua(context, defs.group_list[gallery_id], "EX_DoReTransCheck", {}) + + --开启阶段 + ScriptLib.StartSceneMultiStagePlayStage(context, 1, cfg.idle_delay, Multistage.Idle, "IdleStage_"..stage_index,{}) + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] LF_StartIdleStage. stage_index@"..stage_index) + + return 0 +end +--开启玩法阶段 通知对应GroupId +function LF_StartPlayStage(context, stage_index) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_"..stage_index, {}) + local is_last_level = 0 + if stage_index >= ScriptLib.GetGroupTempValue(context, "gallery_num", {}) then + is_last_level = 1 + end + + if nil == defs.group_list[gallery_id] then + ScriptLib.PrintGroupWarning(context,"## [CharAmuse_Main] LF_StartPlayStage: gallery_id@"..gallery_id.." is not in group_list. Check defs.") + return 0 + end + + --开启对应阶段 + ScriptLib.StartSceneMultiStagePlayStage(context, 1, 0, Multistage.CharAmusementGallery, "PlayStage_"..stage_index, { gallery_stage_index = stage_index }) + + --开启对应的玩法 + ScriptLib.ExecuteGroupLua(context, defs.group_list[gallery_id], "EX_StartGallery", {gallery_id, is_last_level}) + + --开启超界检测 + ScriptLib.ExecuteGroupLua(context, defs.group_list[gallery_id], "EX_StartReTransCheck", {}) + + --激活复活点 + LF_Set_Revive_Point(context, gallery_id) + + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] LF_StartPlayStage. stage_index@"..stage_index.. " gallery_id@"..gallery_id .. " play_group@".. defs.group_list[gallery_id]) + + return 0 +end +--外部玩法通知结束玩法阶段 +function EX_EndPlayStage( context, prev_context, is_fail, from_group) + + local stage_index = ScriptLib.GetGroupTempValue(context, "stage_index", {}) + + ScriptLib.ExecuteGroupLua(context, from_group, "EX_StopReTransCheck", {}) + + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] EX_EndPlayStage. stage_index@"..stage_index.." from_group@"..from_group.. " is_fail@"..is_fail) + + if is_fail == 1 then + --EndSceneMultiStagePlayStage(context, play_index, stage_name, is_succ) + --ScriptLib.EndSceneMultiStagePlayStage(context, 1, "PlayStage_"..stage_index, false) + ScriptLib.CauseDungeonFail(context) + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] EX_EndPlayStage. CauseDungeonFail") + return 0 + else + ScriptLib.EndSceneMultiStagePlayStage(context, 1, "PlayStage_"..stage_index, true) + end + --是否全部结束 + if cfg.total_stage <= stage_index then + ScriptLib.CauseDungeonSuccess(context) + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] EX_EndPlayStage. CauseDungeonSuccess") + return 0 + end + + return 0 +end + +function LF_TranAllPlayerToGalleryPos(context, stage_index) + --传送至配置的坐标 + local uid_list = ScriptLib.GetSceneUidList(context) + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_"..stage_index, {}) + if uid_list ~= nil then + for k,v in pairs(uid_list) do + local pos = defs.transpoint_list[gallery_id][k].pos + local rot = defs.transpoint_list[gallery_id][k].rot + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] LF_TranAllPlayerToGalleryPos. Start trans player@"..v.." X@"..pos.x.. " Y@"..pos.y.. " Z@"..pos.z) + ScriptLib.TransPlayerToPos(context, { uid_list = {v}, pos = pos, radius = 0, rot = rot , is_skip_ui = true }) + end + else + ScriptLib.PrintGroupWarning(context,"## [CharAmuse_Main] LF_TranAllPlayerToGalleryPos: uid_list got nil. ") + end + return 0 +end + +function EX_ReTrans(context, prev_context, uid) + local uid_list = ScriptLib.GetSceneUidList(context) + local stage_index = ScriptLib.GetGroupTempValue(context, "stage_index", {}) + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_"..stage_index, {}) + --玩家对应站位 + for i,v in ipairs(uid_list) do + if v == uid then + local pos = defs.transpoint_list[gallery_id][i].pos + local rot = defs.transpoint_list[gallery_id][i].rot + ScriptLib.TransPlayerToPos(context, { uid_list = {uid}, pos = pos, radius = 0, rot = rot , is_skip_ui = false}) + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] Player@"..uid.." ReTransed.") + end + end + return 0 +end + +function LF_IsAllStageFinish(context) + local stage_index = ScriptLib.GetGroupTempValue(context, "stage_index", {}) + local gallery_num = ScriptLib.GetGroupTempValue(context, "gallery_num", {}) + if stage_index > gallery_num then + return true + end + return false +end + +--需要提前取到GalleryID以创建布设的Group +function LF_SendGalleryIDVec_ToPlayGroup(context, gallery_vec) + + for k,v in pairs(cfg.groups_need_gallery) do + for ik,iv in ipairs(v) do + if LF_CheckIsInTable(context, iv, gallery_vec) then + ScriptLib.ExecuteGroupLua(context, k, "EX_SetGalleryID", { iv }) + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] LF_SendGalleryIDVec_ToPlayGroup. To@"..k.." gallery_id@"..iv) + return 0 + end + end + end + + return 0 +end + +--用于检查value是否在目标table中 +function LF_CheckIsInTable(context, value, check_table) + for i = 1, #check_table do + if check_table[i] == value then + return true + end + end + return false +end + +function LF_Set_Revive_Point(context, gallery_id) + if nil == defs.way_point[gallery_id] then + return 0 + end + ScriptLib.ActivateDungeonCheckPoint(context, defs.way_point[gallery_id]) + ScriptLib.PrintContextLog(context, "## [CharAmuse_Main] Way point actived. point@"..defs.way_point[gallery_id].." gallery_id@"..gallery_id) + return 0 +end + +LF_Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_2/CharAmuse_Pillar.lua b/Resources/Scripts/Common/V3_2/CharAmuse_Pillar.lua index e69de29bb..fba567a62 100644 --- a/Resources/Scripts/Common/V3_2/CharAmuse_Pillar.lua +++ b/Resources/Scripts/Common/V3_2/CharAmuse_Pillar.lua @@ -0,0 +1,860 @@ + +--- ServerUploadTool Save to [/root/env/data/lua/common/V3_2] --- + +--[[====================================== +|| filename: CharAmuse_Pillar +|| owner: weiwei.sun +|| description: 3.2奇趣秘园 局内逻辑 打桩 +|| LogName: ## [CharAmuse_Pillar] +|| Protection: +=======================================]] +--[[ + +local defs = { + --玩法范围region cube + play_region = 12111, + --进入时加载内容,例如棒球发球机。依次为单人、2人。。 + enter_suites = {2,2,2,2}, + --启动时加载内容,例如史莱姆球。依次为单人、2人。。 + play_suites = {}, + --挑战限时秒 + limit_time = 100000, + --挑战目标 + target = 150, + + clear_delay = 100000, + + --刷出延迟 + refresh_delay = 3, + + -----打桩配置----- + matrix = + { + {12001,12002,12003,12004,12005,12049}, + {12006,12007,12008,12009,12010,12050}, + {12011,12012,12013,12014,12015,12051}, + {12016,12017,12018,12019,12020,12052}, + {12021,12022,12023,12024,12025,12053}, + {12054,12055,12056,12057,12058,12059}, + }, + + rounds = + { --第一个数字表示普通地板个数,第二个数字表示高级地板个数 迭代:第三个数字为特殊布设ID,舍弃前两个数字读spec + --单人玩家 + [1] = {{1,0},{1,1},{1,1},{1,1},{0,1},{0,1},{0,1},{0,1},{0,1}}, + --2人 + [2] = {{2,0},{2,1},{2,1},{0,1},{0,1},{0,1},{0,1},{0,1},{0,1}}, + --3人 + [3] = {{3,0},{2,1},{1,2},{0,2},{0,2},{0,2},{0,2},{0,2},{0,2}}, + --4人 + [4] = {{4,0},{2,2},{2,2},{0,2},{0,2},{0,2},{0,2},{0,2},{0,2}} + }, + + spec = + {-- pillars = {柱子ConfigID列表}, reward_suite = {奖励suite} + [1] = { pillars = {}, reward_suite = {}} + } + + high_from = 4, + --每个GalleryID 特殊奖励用哪个Suite + --1000为测试用 + reward_by_gallery = + { + [1000] = {5}, + [28003] = {5,6}, + [28004] = {5,6}, + }, + + high_reward_by_gallery = + { + [1000] = {5}, + [28003] = {7}, + [28004] = {7}, + }, + simple_reward_suite = 4, + +} + +]] +local cfg = { + --主控GroupID + main_group = 251008007, + + --root格备选区 + corner_area = + { + [1] = {11,21,31,12,13,22}, + [2] = {14,15,16,25,26,36}, + [3] = {64,65,66,55,56,46}, + [4] = {61,62,63,51,52,41} + }, + --4个root格备选区对应的leaf格备选区域 + --这个是能算的但数学不好直接列出来 + --当计算延申时,首位横纵延申 二三位横向延申 四五位纵向延伸 + leaf_area = + { + [1] = {55,53,64,35,46}, + [2] = {52,41,63,32,54}, + [3] = {22,31,13,42,24}, + [4] = {25,23,14,45,36}, + }, + --1*1柱子可出现范围 彼此互不相邻 + normal_area = + { + 21,41,61,13,33,53,25,45,65 + }, + --矩阵内环,列出来更方便 + center_area = + { + 22,23,24,25, + 32, 35, + 42,43,44,45, + }, + --格子边长 + tile_length = 5, + --最后一个柱子打下去后多久开始下一波 + clear_delay = 30, + hp = + { --温迪 + [28003] = + { --人数 = {普通桩,高级桩} + [1] = {1,2}, + [2] = {1,3}, + [3] = {1,4}, + [4] = {1,4}, + }, + --xiao + [28004] = + { + [1] = {2,4}, + [2] = {2,6}, + [3] = {2,8}, + [4] = {2,8}, + } + } +} + +local extraTriggers = { + { config_id = 8000002, name = "TimeAxis_StopGallery", event = EventType.EVENT_TIME_AXIS_PASS, source = "StopGallery", condition = "", action = "action_TimeAxis_StopGallery", trigger_count = 0 }, + { config_id = 8000003, name = "ClearDelay_TimeAxis_Pass", event = EventType.EVENT_TIME_AXIS_PASS, source = "ClearDelay", condition = "", action = "action_ClearDelay_TimeAxis_Pass", trigger_count = 0 }, + { config_id = 8000004, name = "Gallery_Stop", event = EventType.EVENT_GALLERY_STOP, source = "", condition = "", action = "action_Gallery_Stop", trigger_count = 0 }, + { config_id = 8000005, name = "TimeAxis_StopGallery_Fail", event = EventType.EVENT_TIME_AXIS_PASS, source = "StopGallery_Fail", condition = "", action = "action_TimeAxis_StopGallery_Fail", trigger_count = 0 }, + { config_id = 8000007, name = "TimeAxis_NewRound", event = EventType.EVENT_TIME_AXIS_PASS, source = "NewRound", condition = "", action = "action_TimeAxis_NewRound", trigger_count = 0 }, + { config_id = 8000008, name = "AirWallVariable_Change", event = EventType.EVENT_VARIABLE_CHANGE, source = "air_wall", condition = "", action = "action_AirWallVariable_Change", trigger_count = 0 }, + { config_id = 8000009, name = "Group_Load", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_Group_Load", trigger_count = 0 }, + +} + +function LF_Initialize() + for k,v in pairs(extraTriggers) do + table.insert(triggers, v) + table.insert(suites[init_config.suite].triggers, v.name) + end + table.insert(variables,{ config_id = 50000001, name = "air_wall", value = 0}) +end + +--主控调用 +function EX_StartGallery(context, prev_context, gallery_id, is_last_level) + --加载玩法suite + if nil ~= defs.play_suites then + for k,v in pairs(defs.play_suites) do + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, v) + end + end + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.SetGroupTempValue(context, "player_count", #uid_list, {}) + + ScriptLib.SetGroupTempValue(context, "is_last_level", is_last_level, {}) + + --开启gallery + ScriptLib.StartGallery(context, gallery_id) + ScriptLib.SetGroupTempValue(context, "gallery_id", gallery_id, {}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] EX_StartGallery. player_count@"..#uid_list.." --------------") + --玩法启动 + ScriptLib.SetGroupVariableValue(context, "air_wall", 0) + LF_Start_Play(context) + + return 0 +end + +function action_Group_Load(context, evt) + if nil == defs.air_wall then + return 0 + end + if 1 == ScriptLib.GetGroupVariableValue(context, "air_wall") then + for i,v in ipairs(defs.air_wall) do + ScriptLib.CreateGadget(context, { config_id = v }) + end + end + return 0 +end + +function action_AirWallVariable_Change(context, evt) + if nil == defs.air_wall then + return 0 + end + if 1 == evt.param1 and 0 == evt.param2 then + for i,v in ipairs(defs.air_wall) do + ScriptLib.CreateGadget(context, { config_id = v }) + end + elseif 0 == evt.param1 and 1 == evt.param2 then + for i,v in ipairs(defs.air_wall) do + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, v) + end + end + return 0 +end + +--evt.param2: 1-成功 0-失败 +function action_Gallery_Stop(context, evt) + --卸载玩法suite + if nil ~= defs.play_suites then + for k,v in pairs(defs.play_suites) do + ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, v) + end + end + + LF_ClearRound(context) + ScriptLib.EndAllTimeAxis(context) + + if 3 ~= evt.param3 then + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1) + --ScriptLib.InitTimeAxis(context, "StopGallery_Fail", { 3 } , false) 9.21修改 失败不要延时结束 + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {1, base_info.group_id}) + else + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1)--最后一关无等待 + if is_last_level then + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {0, base_info.group_id}) + else + ScriptLib.InitTimeAxis(context, "StopGallery", { 3 } , false) + end + end + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] Gallery stoped. reason@".. evt.param3.." --------------") + + return 0 +end + +--------------------------------------------------------------------------------------------------------------- +function LF_Start_Play(context) + + local player_count = ScriptLib.GetGroupTempValue(context, "player_count", {}) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + local target = 0 + if player_count > 1 then + target = ScriptLib.GetCharAmusementGalleryTarget(context, gallery_id, true) + else + target = ScriptLib.GetCharAmusementGalleryTarget(context, gallery_id, false) + end + ScriptLib.SetGroupTempValue(context, "cur_score", target, {}) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["max_score"]= target} ) + + ScriptLib.SetGroupTempValue(context, "round", 0, {}) + + LF_StartRound(context) + return 0 +end + +function action_TimeAxis_StopGallery(context, evt) + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {0, base_info.group_id}) + return 0 +end + +function action_TimeAxis_StopGallery_Fail(context, evt) + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {1, base_info.group_id}) + return 0 +end + +function LF_StartRound(context) + + ScriptLib.SetGroupTempValue(context, "is_round_clear", 0, {}) + + --清理 + ScriptLib.SetGroupTempValue(context, "root_config", 0, {}) + ScriptLib.SetGroupTempValue(context, "leaf_config", 0, {}) + ScriptLib.SetGroupTempValue(context, "spec_index", 0, {}) + + --round++ + ScriptLib.ChangeGroupTempValue(context, "round", 1, {}) + local round = ScriptLib.GetGroupTempValue(context, "round", {}) + + --埋点 + local hit = ScriptLib.GetGroupTempValue(context, "hit", {}) + + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_StartRound. New round@"..round) + + local player_count = ScriptLib.GetGroupTempValue(context, "player_count", {}) + --如果已经到了LD配置尽头,则从头循环 + if round > #defs.rounds[player_count] then + round = 1 + ScriptLib.SetGroupTempValue(context, "round", round, {}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_StartRound. All round finished. Set to 1.") + end + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + + --本轮要升起的柱子列表 + local pillar_list = defs.rounds[player_count][round] + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_StartRound. pillar_list@"..table.concat( pillar_list, ", ")) + + local avalid_normal_pos = {} + + --本轮是否放置spec布设,若是,则不产生随机布设--------------------------------- + if nil ~= pillar_list[3] and 0 < pillar_list[3] then + if nil ~= defs.spec[pillar_list[3]] then + for i,v in ipairs(defs.spec[pillar_list[3]].pillars) do + LF_RisePillar(context, v, 1, gallery_id, player_count) + end + ScriptLib.SetGroupTempValue(context, "spec_index", pillar_list[3], {}) + return 0 + end + end + + --放置高级柱子----------------------------------------- + local root_pos = 0 + local leaf_pos = 0 + local extend_list = {} + --若只有1个高级,则在center_area随机一个 + if 1 == pillar_list[2] then + root_pos = LF_SelectSingleMainPillar(context) + local root_config = LF_GetConfigIdByPos(context, root_pos) + --记录 + ScriptLib.SetGroupTempValue(context, "root_config", root_config, {}) + --决定奖励的延伸方向extend_dir,并延申2格 + extend_list = LF_GetExtendArea(context, root_pos, 0) + + --升起 + LF_RisePillar(context, root_config, 1, gallery_id, player_count) + --若2个高级 则一个root 一个leaf,2以上当做2 + elseif 2 <= pillar_list[2] then + --选Root柱子 + root_pos = LF_SelectRootPillar(context) + local root_config = LF_GetConfigIdByPos(context, root_pos) + --选Leaf柱子 + leaf_pos = LF_SelectLeafPillar(context) + local leaf_config = LF_GetConfigIdByPos(context, leaf_pos) + --记录 + ScriptLib.SetGroupTempValue(context, "root_config", root_config, {}) + ScriptLib.SetGroupTempValue(context, "leaf_config", leaf_config, {}) + + --决定奖励的延伸方向extend_dir,并延申2格 + extend_list = LF_GetExtendArea(context, root_pos, 0) + local leaf_extend_list = LF_GetExtendArea(context, leaf_pos, root_pos) + for k,v in pairs(leaf_extend_list) do + table.insert(extend_list, v) + end + --升起 + LF_RisePillar(context, root_config, 1, gallery_id, player_count) + LF_RisePillar(context, leaf_config, 1, gallery_id, player_count) + end + + --放置普通柱子----------------------------------------- + if 0 >= pillar_list[1] or 5 < pillar_list[1] then --数量校验 + return 0 + end + --将extend_list覆盖范围从普通柱子备选列表中移除 + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_StartRound. normal_area@" ..table.concat( cfg.normal_area, ", ").. " extend_list@"..table.concat( extend_list, ", ").. " root_pos@"..root_pos.." leaf_pos@"..leaf_pos) + for k,v in pairs(cfg.normal_area) do + if false == LF_CheckIsInTable(context, v, extend_list) then + if false == LF_CheckIsAround(context, v, root_pos) and false == LF_CheckIsAround(context, v, leaf_pos) then + table.insert(avalid_normal_pos, v) + end + end + end + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_StartRound. Get avalid_normal_pos@" ..table.concat( avalid_normal_pos, ", ").. ". Need rise num@" .. pillar_list[1]) + if 0 >= #avalid_normal_pos then + return 0 + end + local seed = tostring(ScriptLib.GetServerTime(context)):reverse():sub(1, 6) + math.randomseed(seed) + for i = 1, pillar_list[1] do + local rand_index = math.random(#avalid_normal_pos) + --升起 + local normal_config = LF_GetConfigIdByPos(context, avalid_normal_pos[rand_index]) + table.remove(avalid_normal_pos, rand_index) + LF_RisePillar(context, normal_config, 0, gallery_id, player_count) + end + return 0 +end + +--取得两个延展格 +--root_pos: 0-root柱子; 非空- leaf柱子 决定延展方式 +function LF_GetExtendArea(context, pos, root_pos) + + local y = pos%10 + local x_raw = pos - y + + local temp = {} + --离边缘距离 + local up = x_raw - 10 + local down = 60 - x_raw + local left = y - 1 + local right = 6 - y + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_GetExtendArea. source x@"..x_raw.." y@"..y..". Distance up@"..up.. " down@".. down .." left@".. left .." right@"..right.. ". Reference root_pos@"..root_pos) + --main柱子或root柱子 + if 0 == root_pos then + if 20 < up then + table.insert(temp, "up") + elseif 20 < down then + table.insert(temp, "down") + end + if 2 < right then + table.insert(temp, "right") + elseif 2 < left then + table.insert(temp, "left") + end + --leaf柱子 + else + --如果本格和Root同行或同列,则不向该方向延展 + --纵向同列 向左或向右延展 + if math.floor(root_pos/10) == x_raw then + if 2 < right then + table.insert(temp, "right") + else + table.insert(temp, "left") + end + --横向同列 向上或向下延展 + elseif root_pos%10 == y then + if 20 < up then + table.insert(temp, "up") + else + table.insert(temp, "down") + end + --不同行列 + else + if 20 < up then + table.insert(temp, "up") + elseif 20 < down then + table.insert(temp, "down") + end + if 2 < right then + table.insert(temp, "right") + elseif 2 < left then + table.insert(temp, "left") + end + end + + end + + math.randomseed(ScriptLib.GetServerTime(context) + 999) + local extend_list = { } + if 0 == #temp then + temp = { "up" } + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_GetExtendArea. Cannot get room for extand area!! Check distance rule.") + return 0 + end + local rand_index = math.random(1, #temp) + if "up" == temp[rand_index] then + table.insert(extend_list, ( x_raw - 20 + y)) + table.insert(extend_list, ( x_raw - 10 + y)) + elseif "down" == temp[rand_index] then + table.insert(extend_list, ( x_raw + 20 + y)) + table.insert(extend_list, ( x_raw + 10 + y)) + elseif "left" == temp[rand_index] then + table.insert(extend_list, ( x_raw + y - 2)) + table.insert(extend_list, ( x_raw + y - 1)) + elseif "right" == temp[rand_index] then + table.insert(extend_list, ( x_raw + y + 2)) + table.insert(extend_list, ( x_raw + y + 1)) + end + + if nil == extend_list[1] then + return 0 + end + + --最后记录这个格子朝哪个方向摆奖励 1234上下左右 + --通过取extend_list里的一个格子 和 传入的pos 做比较 来知道位置 + local sample_pos = extend_list[1] + --在上 + local x = math.floor( x_raw/10) + if x > math.floor(sample_pos/10) then + if 0 == root_pos then + ScriptLib.SetGroupTempValue(context, "root_extend_dir", 1, {}) + else + ScriptLib.SetGroupTempValue(context, "leaf_extend_dir", 1, {}) + end + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_GetExtendArea. Final extend_list@".. table.concat( extend_list, ", ") .. ". extend_dir@1") + return extend_list + end + --在下 + if x < math.floor(sample_pos/10) then + if 0 == root_pos then + ScriptLib.SetGroupTempValue(context, "root_extend_dir", 2, {}) + else + ScriptLib.SetGroupTempValue(context, "leaf_extend_dir", 2, {}) + end + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_GetExtendArea. Final extend_list@".. table.concat( extend_list, ", ") .. ". extend_dir@2") + return extend_list + end + --在左 + if y > sample_pos%10 then + if 0 == root_pos then + ScriptLib.SetGroupTempValue(context, "root_extend_dir", 3, {}) + else + ScriptLib.SetGroupTempValue(context, "leaf_extend_dir", 3, {}) + end + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_GetExtendArea. Final extend_list@".. table.concat( extend_list, ", ") .. ". extend_dir@3") + return extend_list + end + --在右 + if y < sample_pos%10 then + if 0 == root_pos then + ScriptLib.SetGroupTempValue(context, "root_extend_dir", 4, {}) + else + ScriptLib.SetGroupTempValue(context, "leaf_extend_dir", 4, {}) + end + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_GetExtendArea. Final extend_list@".. table.concat( extend_list, ", ") .. ". extend_dir@4") + return extend_list + end + return 0 +end + +function LF_ClearRound(context) + --移除创生金币 + for k,v in pairs(defs.gadget_pool) do + for ik, iv in pairs(v) do + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, iv) + end + end + --移除因spec布设添加的额外suite + for i = 3, #suites do + ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, i) + end + --1是空Suite 2是柱子Suite 其余是各种奖励suite + for k,v in pairs(suites[2].gadgets) do + ScriptLib.SetGadgetStateByConfigId(context, v, 0) + end + local round = ScriptLib.GetGroupTempValue(context, "round", {}) + ScriptLib.MarkGroupLuaAction(context, "CharAmuse_Pillar", ScriptLib.GetDungeonTransaction(context), {["wave_num"] = round}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_ClearRound.") + return 0 +end + +--本轮柱子全部打落 +function LF_IsRoundFinish(context) + for k , v in pairs(defs.matrix) do + for ik, iv in pairs(v) do + local state = ScriptLib.GetGadgetStateByConfigId(context, base_info.group_id, iv) + if 201 == state or 202 == state then + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_IsRoundFinish. UnFinished@"..iv) + return false + end + end + end + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_IsRoundFinish. Finished.") + return true +end + +function action_ClearDelay_TimeAxis_Pass(context, evt) + + LF_ClearRound(context) + LF_StartRound(context) + + return 0 +end + +--创建奖励 +function SLC_CharAmusePillar_TryCreatReward(context) + + + local config_id = ScriptLib.GetGadgetConfigId(context, { gadget_eid = context.source_entity_id }) + if 0 == config_id or -1 == config_id then + return 0 + end + local from_state = ScriptLib.GetGadgetStateByConfigId(context, base_info.group_id, config_id) + if 201 ~= from_state and 202 ~= from_state then + return 0 + end + + local spec_index = ScriptLib.GetGroupTempValue(context, "spec_index", {}) + + --降下柱子 + ScriptLib.SetGadgetStateByConfigId(context, config_id, 0) + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] SLC_CharAmusePillar_TryCreatReward. config_id@"..config_id) + + + --非spec布设 创建奖励金币 + if 0 >= spec_index then + local root_config = ScriptLib.GetGroupTempValue(context, "root_config", {}) + local leaf_config = ScriptLib.GetGroupTempValue(context, "leaf_config", {}) + + if root_config == config_id then + local root_extend_dir = ScriptLib.GetGroupTempValue(context, "root_extend_dir", {}) + LF_Create_Reward(context, LF_GetRandRewardSuite(context), gadgets[config_id].pos, root_extend_dir) + elseif leaf_config == config_id then + local leaf_extend_dir = ScriptLib.GetGroupTempValue(context, "leaf_extend_dir", {}) + LF_Create_Reward(context, LF_GetRandRewardSuite(context), gadgets[config_id].pos, leaf_extend_dir) + else + LF_Create_Reward(context, defs.simple_reward_suite, gadgets[config_id].pos, 0) + end + end + + --是否本轮柱子全部打落 + if LF_IsRoundFinish(context) then + ScriptLib.SetGroupTempValue(context, "is_round_clear", 1, {}) + if nil ~= defs.clear_delay then + ScriptLib.InitTimeAxis(context, "ClearDelay", { defs.clear_delay } , false) + else + ScriptLib.InitTimeAxis(context, "ClearDelay", { cfg.clear_delay } , false) + end + + --是否有spec布设,若是则创建对应奖励suite + if 0 < spec_index and nil ~= defs.spec[spec_index] then + for i, v in pairs(defs.spec[spec_index].reward_suite) do + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, v) + end + return 0 + end + end + + return 0 +end + +function LF_GetRandRewardSuite(context) + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + local round = ScriptLib.GetGroupTempValue(context, "round", {}) + local reward_suites= {} + + if -1 == gallery_id or 0 == gallery_id then + gallery_id = 1000 --无外围测试用 + end + + if round >= defs.high_from then + reward_suites = defs.high_reward_by_gallery[gallery_id] + else + reward_suites = defs.reward_by_gallery[gallery_id] + end + + local rand_index = math.random(1, #reward_suites) + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_GetRandRewardSuite. Gallery_id@"..gallery_id.. " rand_index@"..rand_index.. " result@".. reward_suites[rand_index]) + return reward_suites[rand_index] +end + +--将指定suite内的entity,以pos为轴,按dir转置后创生 +function LF_Create_Reward(context, suite, target_pos, dir) + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_Create_Reward. suite@"..suite.. " pivot_pos@".. target_pos.x..","..target_pos.z.." dir@".. dir) + local gadget_list = suites[suite].gadgets + local pivot_pos = gadgets[gadget_list[1]].pos + for i,v in ipairs(suites[suite].gadgets) do + --原本和pivot之间的相对距离 + local origin_offset_x = math.abs(gadgets[v].pos.x - pivot_pos.x) + local origin_offset_z = math.abs(gadgets[v].pos.z - pivot_pos.z) + --ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_Create_Reward. origin_offset_x@"..origin_offset_x.. " origin_offset_z@".. origin_offset_z) + local final_pos_x = 0 + local final_pos_z = 0 + --1234上下左右 + if 1 == dir or 0 == dir then + final_pos_x = target_pos.x + origin_offset_x + final_pos_z = target_pos.z + origin_offset_z + LF_CreateGadgetFromPool(context, gadgets[v].gadget_id, { x = final_pos_x, y = gadgets[v].pos.y, z = final_pos_z }, gadgets[v].rot) + elseif 2 == dir then + final_pos_x = target_pos.x + origin_offset_x + final_pos_z = target_pos.z - origin_offset_z + LF_CreateGadgetFromPool(context, gadgets[v].gadget_id, { x = final_pos_x, y = gadgets[v].pos.y, z = final_pos_z }, gadgets[v].rot) + elseif 3 == dir then + final_pos_x = target_pos.x - origin_offset_z + final_pos_z = target_pos.z - origin_offset_x + LF_CreateGadgetFromPool(context, gadgets[v].gadget_id, { x = final_pos_x, y = gadgets[v].pos.y, z = final_pos_z }, gadgets[v].rot) + elseif 4 == dir then + final_pos_x = target_pos.x + origin_offset_z + final_pos_z = target_pos.z + origin_offset_x + LF_CreateGadgetFromPool(context, gadgets[v].gadget_id, { x = final_pos_x, y = gadgets[v].pos.y, z = final_pos_z }, gadgets[v].rot) + end + end + return 0 +end + +function LF_CreateGadgetFromPool(context, gadget_id, pos, rot) + if nil == defs.gadget_pool[gadget_id] then + ScriptLib.PrintGroupWarning(context, "## [CharAmuse_Pillar] Gadget pool got unperpared gadget id!! gadget_id@"..gadget_id) + return 0 + end + for i,v in ipairs(defs.gadget_pool[gadget_id]) do + local ret = ScriptLib.CreateGadgetByConfigIdByPos(context, v, pos, rot) + if 0 == ret then + --ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_Create_Reward. gadget@"..v.. " pos.x@".. pos.x.. " pos.z@"..pos.z) + return 0 + end + end + ScriptLib.PrintGroupWarning(context, "## [CharAmuse_Pillar] Gadget pool has been used up!! gadget_id@"..gadget_id) + return 0 +end + +function LF_SelectSingleMainPillar(context) + math.randomseed(ScriptLib.GetServerTime(context)) + local rand_index = math.random(1, #cfg.center_area) + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_SelectSingleMainPillar. Select from center area. rand_index@"..rand_index.. "result@"..cfg.center_area[rand_index]) + return cfg.center_area[rand_index] +end + +--选出图形root柱子,返回matrix坐标 +function LF_SelectRootPillar(context) + math.randomseed(ScriptLib.GetServerTime(context)) + --随机一个4*4角落作为首选区域 + local corner_index = math.random(1, 4) + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_SelectRootPillar. first corner selection@"..corner_index) + + ScriptLib.SetGroupTempValue(context, "corner_index", corner_index, {}) + local tile_index = math.random(1, #cfg.corner_area[corner_index]) + + return cfg.corner_area[corner_index][tile_index] +end + +--在root柱子的矩阵内环对角5个点位中 随机一个leaf柱子 +function LF_SelectLeafPillar(context) + local corner_index = ScriptLib.GetGroupTempValue(context, "corner_index", {}) + math.randomseed(ScriptLib.GetServerTime(context) + 888) + local leaf_tile_index = math.random(1, 5) + local leaf_pos = cfg.leaf_area[corner_index][leaf_tile_index] + return leaf_pos +end + +function LF_GetConfigIdByPos(context, pos) + local x = math.floor(pos/10) + local y = pos%10 + if nil == defs.matrix[x][y] or 0 == defs.matrix[x][y] then + ScriptLib.PrintGroupWarning(context, "## [CharAmuse_Pillar] Pillar matrix is not complete. Check defs!") + return 0 + end + return defs.matrix[x][y] +end + +--SGV_FallAttackPillar_MaxHP +function LF_RisePillar(context, config_id, is_deluxe, gallery_id, player_count) + if nil == cfg.hp[gallery_id] then + return 0 + end + if nil == cfg.hp[gallery_id][player_count] then + return 0 + end + local hp_map = cfg.hp[gallery_id][player_count] + if nil == hp_map[1] or nil == hp_map[2] then + return 0 + end + if 1 == is_deluxe then + ScriptLib.SetEntityServerGlobalValueByConfigId(context, config_id, "SGV_FallAttackPillar_MaxHP", hp_map[2]) + ScriptLib.SetGadgetStateByConfigId(context, config_id, 202) + else + ScriptLib.SetEntityServerGlobalValueByConfigId(context, config_id, "SGV_FallAttackPillar_MaxHP", hp_map[1]) + ScriptLib.SetGadgetStateByConfigId(context, config_id, 201) + end + LF_Create_Reward(context, defs.rise_reward_suite, gadgets[config_id].pos, 0) + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_RisePillar. config_id@"..config_id) + return 0 +end + +--param1: 1-普通 2-大金币 +function SLC_CharAmusement_CoinGet(context, param1) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + + if 1 == param1 then + local config_id = ScriptLib.GetGadgetConfigId(context, { gadget_eid = context.target_entity_id }) + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, config_id) + ScriptLib.ChangeGroupTempValue(context, "cur_score", -1, {}) + + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["add_score"]= 1} ) + ScriptLib.CharAmusementUpdateScore(context, cfg.main_group, 1, 1)--给MultStage更新分数 服务器侧埋点用 + + elseif 2 == param1 then + local config_id = ScriptLib.GetGadgetConfigId(context, { gadget_eid = context.target_entity_id }) + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, config_id) + if nil ~= defs.super_coin and 1 <= defs.super_coin then + ScriptLib.ChangeGroupTempValue(context, "cur_score", -1*math.floor(defs.super_coin), {}) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["add_score"]= math.floor(defs.super_coin)} ) + ScriptLib.CharAmusementUpdateScore(context, cfg.main_group, 1, math.floor(defs.super_coin))--给MultStage更新分数 服务器侧埋点用 + else + ScriptLib.ChangeGroupTempValue(context, "cur_score", -5, {}) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["add_score"]= 5} ) + ScriptLib.CharAmusementUpdateScore(context, cfg.main_group, 1, 5)--给MultStage更新分数 服务器侧埋点用 + end + end + + --挑战完成 + if 0 >= ScriptLib.GetGroupTempValue(context, "cur_score", {}) then + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["is_last_level"] = is_last_level, ["is_finish"] = true, ["is_success"] = true } ) + ScriptLib.StopGallery(context, gallery_id, false) + return 0 + end + + --是否本轮金币都吃完 + if 1 ~= ScriptLib.GetGroupTempValue(context, "is_round_clear", {}) then + return 0 + end + local remain_coin_1 = ScriptLib.CheckRemainGadgetCountByGroupId(context, { group_id = base_info.group_id, gadget_id = { 70320015 }}) + local remain_coin_2 = ScriptLib.CheckRemainGadgetCountByGroupId(context, { group_id = base_info.group_id, gadget_id = { 70320022 }}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] SLC_CharAmusement_CoinGet. Get coin while round clear. remain_coin_1@"..remain_coin_1.." remain_coin_2@"..remain_coin_2) + if 0 >= remain_coin_1 + remain_coin_2 then + ScriptLib.EndTimeAxis(context, "ClearDelay") + if nil ~= defs.refresh_delay then + ScriptLib.InitTimeAxis(context, "NewRound", {defs.refresh_delay}, false) + else + LF_ClearRound(context) + LF_StartRound(context) + end + end + + + return 0 +end + +function action_TimeAxis_NewRound(context, evt) + LF_ClearRound(context) + LF_StartRound(context) + return 0 +end + +--由于和战斗关共用场地,由主控通知加载 +function EX_SetPillarSuite(context, prev_context) + LF_SetPillarSuite(context) + return 0 +end + +--由于和战斗关共用场地,由主控通知加载 +function EX_ClearPillarSuite(context, prev_context) + LF_ClearPillarSuite(context) + return 0 +end + +function LF_SetPillarSuite(context) + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.PrintContextLog(context,"## [CharAmuse_Pillar] LF_SetPillarSuite. player_count@"..#uid_list) + if nil ~= defs.enter_suites and nil ~= defs.enter_suites[#uid_list] then + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, defs.enter_suites[#uid_list]) + end + return 0 +end + +function LF_ClearPillarSuite(context) + for i = 2, #suites do + ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, i) + end + return 0 +end + +function LF_CheckIsAround(context, pos, check_pos) + if 0 == check_pos then + return false + end + local x = math.floor(pos/10) + local y = pos%10 + local check_pos_x = math.floor(check_pos/10) + local check_pos_y = check_pos%10 + if 1 >= math.abs(x - check_pos_x) or 1 >= math.abs(y - check_pos_y) then + return true + end + return false +end +--用于检查value是否在目标table中 +function LF_CheckIsInTable(context, value, check_table) + + for i = 1, #check_table do + if check_table[i] == value then + return true + end + end + return false +end + +LF_Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_2/CharAmuse_Retrans.lua b/Resources/Scripts/Common/V3_2/CharAmuse_Retrans.lua index e69de29bb..0cb8f9bc0 100644 --- a/Resources/Scripts/Common/V3_2/CharAmuse_Retrans.lua +++ b/Resources/Scripts/Common/V3_2/CharAmuse_Retrans.lua @@ -0,0 +1,94 @@ +--- ServerUploadTool Save to [/root/env/data/lua/common/V3_2] --- + +--[[====================================== +|| filename: CharAmuse_Retrans +|| owner: weiwei.sun +|| description: 3.2奇趣秘园 局内逻辑 战斗 +|| LogName: ## [CharAmuse_Retrans] +|| Protection: +=======================================]] +--[[ + +local defs = { + --玩法范围region,玩法进行期间,不在此Region内的玩家会被拉回 + play_region = , +} + +]] + +local retrans_cfg = { + --主控GroupID + main_group = 251008007, + --检查频率 + check_interval = 5, +} + +local Retrans_Triggers = { + { config_id = 8800001, name = "Time_Axis_ReTrans", event = EventType.EVENT_TIME_AXIS_PASS, source = "retranstimer", condition = "", action = "action_Time_Axis_ReTrans", trigger_count = 0} +} + +function LF_Initialize_Retrans() + + for k,v in pairs(Retrans_Triggers) do + table.insert(triggers, v) + table.insert(suites[init_config.suite].triggers, v.name) + end + +end + +function EX_StartReTransCheck(context, prev_context) + if nil ~= defs.play_region and 0 ~= defs.play_region then + ScriptLib.InitTimeAxis(context, "retranstimer", { retrans_cfg.check_interval }, true) + ScriptLib.PrintContextLog(context, "## [CharAmuse_Retrans] EX_StartReTransCheck. play_region@"..defs.play_region) + end + return 0 +end + +function EX_StopReTransCheck(context, prev_context) + if nil ~= defs.play_region and 0 ~= defs.play_region then + ScriptLib.EndTimeAxis(context, "retranstimer") + ScriptLib.PrintContextLog(context, "## [CharAmuse_Retrans] EX_StopReTransCheck. ") + end + return 0 +end + +function action_Time_Axis_ReTrans(context, evt) + local uid_list = ScriptLib.GetSceneUidList(context) + for i,v in ipairs(uid_list) do + LF_DoReTransCheck(context, v) + end + return 0 +end + +function EX_DoReTransCheck(context, prev_context) + local uid_list = ScriptLib.GetSceneUidList(context) + for i,v in ipairs(uid_list) do + LF_DoReTransCheck(context, v) + end + return 0 +end + +function EX_DoReTransCheck_Single(context, prev_context, uid) + LF_DoReTransCheck(context, uid) + return 0 +end + +function LF_DoReTransCheck(context, uid) + if nil == regions[defs.play_region] then + return 0 + end + if false == ScriptLib.IsPlayerTransmittable(context, uid) then + ScriptLib.PrintContextLog(context, "## [CharAmuse_Retrans] LF_DoReTransCheck. Player@"..uid.." is not transmittable.") + return 0 + end + + if false == ScriptLib.IsInRegion(context, uid, defs.play_region) then + ScriptLib.PrintContextLog(context, "## [CharAmuse_Retrans] Player@"..uid.." need retrans.") + ScriptLib.ExecuteGroupLua(context, retrans_cfg.main_group, "EX_ReTrans", {uid} ) + end + return 0 +end + + + +LF_Initialize_Retrans() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_2/CharAmuse_RunOnWater.lua b/Resources/Scripts/Common/V3_2/CharAmuse_RunOnWater.lua index e69de29bb..19cbc6c60 100644 --- a/Resources/Scripts/Common/V3_2/CharAmuse_RunOnWater.lua +++ b/Resources/Scripts/Common/V3_2/CharAmuse_RunOnWater.lua @@ -0,0 +1,443 @@ +--- ServerUploadTool Save to [/root/env/data/lua/common/V3_2] --- + +--[[====================================== +|| filename: CharAmuse_RunOnWater +|| owner: weiwei.sun +|| description: 3.2奇趣秘园 局内逻辑 水上漂 +|| LogName: ## [CharAmuse_RunOnWater] +|| Protection: +=======================================]] +--[[ + +local defs = { + + -----全玩法通用配置----- + + --玩法范围region cube + play_region = 1003, + + --玩法限时秒 + limit_time = 120, + target = 15, + + + -----水上漂配置----- + + reminder = 400171, + + --波次轮替时,不被移除的suite + ignore_on_clear = {}, + + -- 如果是早柚的关卡,用这套 + Sayu = + { + -- 史莱姆 buff 所在的suite + add_suite ={10,11}, + -- 每波金币刷出来之后,多少秒后会rmd + rmd_time = 25, + -- 每波金币刷出来之后,多少秒后会刷掉 + refresh_time = 30, + -- 上一波刷掉之后,刷下一波的等待时间 + wait_time = 3, + + -- 金币即将消失时提前5秒弹的Reminder + reminder = 400171, + + -- 刷金币suite的规则 + coin_list = { + -- 单人玩家 + ["SP"] = { + --随机情况一 + { + [1] = { coin = {4, 5}, other = {6} }, --第一波 + [2] = { coin = {4, 5}, other = {6} }, --第二波。。 + }, + --随机情况二 + { + }, + }, + -- 多人玩家 + ["MP"] = { + --随机情况一 + { + }, + --随机情况二 + { + }, + }, + }, + }, + + -- 如果是神里的关卡,用这套 + Ayaka = { + + }, +} + +]] +local cfg = { + + --主控GroupID + main_group = 251008007, + gallery_match = + { + --[1000] = defs.Jean, + [28005] = defs.Sayu, + [28006] = defs.Ayaka + }, +} + + +local extraTriggers = { + + { config_id = 8000003, name = "TimeAxis_StopGallery", event = EventType.EVENT_TIME_AXIS_PASS, source = "StopGallery", condition = "", action = "action_TimeAxis_StopGallery", trigger_count = 0 }, + { config_id = 8000004, name = "Gallery_Stop", event = EventType.EVENT_GALLERY_STOP, source = "", condition = "", action = "action_Gallery_Stop", trigger_count = 0 }, + { config_id = 8000005, name = "TimeAxis_StopGallery_Fail", event = EventType.EVENT_TIME_AXIS_PASS, source = "StopGallery_Fail", condition = "", action = "action_TimeAxis_StopGallery_Fail", trigger_count = 0 }, + + { config_id = 8000008, name = "CoinClear_TimeAxis_Pass", event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "", action = "action_TimeAxis_Pass", trigger_count = 0 }, + { config_id = 8000009, name = "NextRound_TimeAxis_Pass", event = EventType.EVENT_TIME_AXIS_PASS, source = "NextRound", condition = "", action = "action_NextRound_TimeAxis_Pass", trigger_count = 0 }, + + { config_id = 8000010, name = "AirWallVariable_Change", event = EventType.EVENT_VARIABLE_CHANGE, source = "air_wall", condition = "", action = "action_AirWallVariable_Change", trigger_count = 0 }, + { config_id = 8000011, name = "Group_Load", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_Group_Load", trigger_count = 0 }, + +} + +function LF_Initialize() + for k,v in pairs(extraTriggers) do + table.insert(triggers, v) + table.insert(suites[init_config.suite].triggers, v.name) + end + table.insert(variables,{ config_id = 50000001, name = "air_wall", value = 0}) +end + +--主控调用 +function EX_StartGallery(context, prev_context, gallery_id, is_last_level) + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.SetGroupTempValue(context, "player_count", #uid_list, {}) + + ScriptLib.SetGroupTempValue(context, "is_last_level", is_last_level, {}) + + --开启gallery + ScriptLib.StartGallery(context, gallery_id) + ScriptLib.SetGroupTempValue(context, "gallery_id", gallery_id, {}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_RunOnWater] EX_StartGallery. player_count@"..#uid_list.." --------------") + + --玩法启动 + ScriptLib.SetGroupVariableValue(context, "air_wall", 0) + LF_Start_Play(context) + + return 0 +end + +function action_Group_Load(context, evt) + if nil == defs.air_wall then + return 0 + end + if 1 == ScriptLib.GetGroupVariableValue(context, "air_wall") then + for i,v in ipairs(defs.air_wall) do + ScriptLib.CreateGadget(context, { config_id = v }) + end + end + return 0 +end + +function action_AirWallVariable_Change(context, evt) + if nil == defs.air_wall then + return 0 + end + if 1 == evt.param1 and 0 == evt.param2 then + for i,v in ipairs(defs.air_wall) do + ScriptLib.CreateGadget(context, { config_id = v }) + end + elseif 0 == evt.param1 and 1 == evt.param2 then + for i,v in ipairs(defs.air_wall) do + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, v) + end + end + return 0 +end + +--evt.param2: 1-成功 0-失败 +function action_Gallery_Stop(context, evt) + --清理金币 + LF_ClearRound(context) + --清理史莱姆和体力球 + local char_type = LF_GetRunOnWaterCharType(context) + for k,v in pairs(char_type.add_suite) do + ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, v) + end + + ScriptLib.EndAllTimeAxis(context) + + if 3 ~= evt.param3 then + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1) + --ScriptLib.InitTimeAxis(context, "StopGallery_Fail", { 3 } , false) 9.21修改 失败不要延时结束 + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {1, base_info.group_id}) + else + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1)--最后一关无等待 + if is_last_level then + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {0, base_info.group_id}) + else + ScriptLib.InitTimeAxis(context, "StopGallery", { 3 } , false) + end + end + ScriptLib.PrintContextLog(context,"## [CharAmuse_RunOnWater] Gallery stoped. reason@".. evt.param3.." --------------") + + return 0 +end + +--------------------------------------------------------------------------------------------------------------- +function LF_Start_Play(context) + + ScriptLib.SetGroupTempValue(context, "coin_num", 0, {}) + ScriptLib.SetGroupTempValue(context, "round", 0, {}) + ScriptLib.SetGroupTempValue(context, "index", 0, {})--这个用于使最后一波循环时,timeaxis名称不同 + + local player_count = ScriptLib.GetGroupTempValue(context, "player_count", {}) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + local target = 0 + if player_count > 1 then + target = ScriptLib.GetCharAmusementGalleryTarget(context, gallery_id, true) + else + target = ScriptLib.GetCharAmusementGalleryTarget(context, gallery_id, false) + end + ScriptLib.SetGroupTempValue(context, "cur_score", target, {}) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["max_score"]= target} ) + + local rand_length = 1 + local char_type = LF_GetRunOnWaterCharType(context) + ScriptLib.PrintContextLog(context,"## [CharAmuse_RunOnWater] LF_Start_Play. player_count@"..player_count) + if 1 < player_count then + rand_length = #char_type.coin_list["MP"] + else + rand_length = #char_type.coin_list["SP"] + end + math.randomseed(ScriptLib.GetServerTime(context)) + local rand_index = math.random(rand_length) + ScriptLib.SetGroupTempValue(context, "rand_index", rand_index, {}) + LF_StartRound(context, rand_index) + + return 0 +end + +function action_TimeAxis_StopGallery(context, evt) + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {0, base_info.group_id}) + return 0 +end + +function action_TimeAxis_StopGallery_Fail(context, evt) + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {1, base_info.group_id}) + return 0 +end + +--param1: 1-普通 2-大金币 +function SLC_CharAmusement_CoinGet(context, param1) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + + if 1 == param1 then + local config_id = ScriptLib.GetGadgetConfigId(context, { gadget_eid = context.target_entity_id }) + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, config_id) + ScriptLib.ChangeGroupTempValue(context, "cur_score", -1, {}) + ScriptLib.ChangeGroupTempValue(context, "coin_num", -1, {}) + + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["add_score"]= 1} ) + ScriptLib.CharAmusementUpdateScore(context, cfg.main_group, 1, 1)--给MultStage更新分数 服务器侧埋点用 + + elseif 2 == param1 then + local config_id = ScriptLib.GetGadgetConfigId(context, { gadget_eid = context.target_entity_id }) + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, config_id) + if nil ~= defs.super_coin and 1 <= defs.super_coin then + ScriptLib.ChangeGroupTempValue(context, "cur_score", -1*math.floor(defs.super_coin), {}) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["add_score"]= math.floor(defs.super_coin)} ) + ScriptLib.CharAmusementUpdateScore(context, cfg.main_group, 1, math.floor(defs.super_coin))--给MultStage更新分数 服务器侧埋点用 + else + ScriptLib.ChangeGroupTempValue(context, "cur_score", -5, {}) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["add_score"]= 5} ) + ScriptLib.CharAmusementUpdateScore(context, cfg.main_group, 1, 5)--给MultStage更新分数 服务器侧埋点用 + end + ScriptLib.ChangeGroupTempValue(context, "coin_num", -1, {}) + end + + if 0 >= ScriptLib.GetGroupTempValue(context, "cur_score", {}) then + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["is_last_level"] = is_last_level, ["is_finish"] = true, ["is_success"] = true } ) + ScriptLib.StopGallery(context, gallery_id, false) + return 0 + end + + local coin_num = ScriptLib.GetGroupTempValue(context, "coin_num", {}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_RunOnWater] SLC_CharAmusement_CoinGet. param1@"..param1.." coin_num@"..coin_num) + if 0 >= coin_num then + --ScriptLib.EndAllTimeAxis(context) + --局内不能用EndAll 因为会停掉超界检测 + local round = ScriptLib.GetGroupTempValue(context, "round", {}) + local rand_index = ScriptLib.GetGroupTempValue(context, "rand_index", {}) + local index = ScriptLib.GetGroupTempValue(context, "index", {}) + ScriptLib.EndTimeAxis(context, "CoinClr_"..round.."_"..rand_index.."_"..index) + ScriptLib.EndTimeAxis(context, "CoinRmd_"..round.."_"..rand_index.."_"..index) + + local char_type = LF_GetRunOnWaterCharType(context) + ScriptLib.InitTimeAxis(context, "NextRound", { char_type.wait_time } , false) + + LF_ClearRound(context) + + end + + return 0 +end + +function LF_ClearRound(context) + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + if ScriptLib.IsGalleryStart(context, gallery_id) then + --埋点 + local round = ScriptLib.GetGroupTempValue(context, "round", {}) + local score_total = ScriptLib.GetGroupTempValue(context, "score_total", {}) + local coin_1 = ScriptLib.CheckRemainGadgetCountByGroupId(context, { group_id = base_info.group_id, gadget_id = { 70320015 }}) + local coin_2 = ScriptLib.CheckRemainGadgetCountByGroupId(context, { group_id = base_info.group_id, gadget_id = { 70320022 }}) + local score_left = coin_1 + ( coin_2 * 5 ) + if nil ~= defs.super_coin and 1 <= defs.super_coin then + score_left = coin_1 + (coin_2 *math.floor(defs.super_coin)) + end + ScriptLib.MarkGroupLuaAction(context, "CharAmuse_RunOnWater", ScriptLib.GetDungeonTransaction(context), {["wave_num"] = round, ["score_gain"] = score_total - score_left, ["score_left"] = score_left}) + end + + + for i = 3, #suites do + --史莱姆、体力球suite不移除 + if nil ~= defs.ignore_on_clear then + if false == LF_CheckIsInTable(context, i, defs.ignore_on_clear) then + ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, i) + end + end + end + + return 0 +end + + +function LF_StartRound(context, rand_index) + + local char_type = LF_GetRunOnWaterCharType(context) + local player_num = ScriptLib.GetGroupTempValue(context, "player_count", {}) + local coin_list = {} + if 1 < player_num then + coin_list = char_type.coin_list["MP"] + else + coin_list = char_type.coin_list["SP"] + end + + ScriptLib.SetGroupTempValue(context, "coin_num", 0, {})--个数 记录金币吃完用 + ScriptLib.SetGroupTempValue(context, "score_total", 0, {})--分数 埋点用 + if nil == coin_list then + ScriptLib.PrintGroupWarning(context,"## [CharAmuse_RunOnWater] LF_StartRound. Nil SPMP coin_list. player_num@"..player_num) + return 0 + end + + --round++ + ScriptLib.ChangeGroupTempValue(context, "round", 1, {}) + local round = ScriptLib.GetGroupTempValue(context, "round", {}) + ScriptLib.ChangeGroupTempValue(context, "index", 1, {})--这个用于使最后一波循环时,timeaxis名称不同 + local index = ScriptLib.GetGroupTempValue(context, "index", {}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_RunOnWater] LF_StartRound. New round@"..round.. ". in rand_index@"..rand_index) + + --如果已经到了LD配置尽头,则循环最后一波 + if round > #coin_list[rand_index] then + round = #coin_list[rand_index] + ScriptLib.SetGroupTempValue(context, "round", round, {}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_RunOnWater] LF_StartRound. All round finished. Set to final.") + end + + --创建金币 统计波次金币总数 + if nil == coin_list[rand_index][round].coin then + ScriptLib.PrintGroupWarning(context,"## [CharAmuse_RunOnWater] LF_StartRound. Nil round. round@"..round) + return 0 + end + for k,v in pairs(coin_list[rand_index][round].coin) do + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, v) + end + + --埋点统计本波总分 + local coin_1 = ScriptLib.CheckRemainGadgetCountByGroupId(context, { group_id = base_info.group_id, gadget_id = { 70320015 }}) + local coin_2 = ScriptLib.CheckRemainGadgetCountByGroupId(context, { group_id = base_info.group_id, gadget_id = { 70320022 }}) + ScriptLib.SetGroupTempValue(context, "coin_num", coin_1 + coin_2, {}) + if nil ~= defs.super_coin and 1 <= defs.super_coin then + ScriptLib.SetGroupTempValue(context, "score_total", coin_1 + (coin_2 *math.floor(defs.super_coin)), {}) + else + ScriptLib.SetGroupTempValue(context, "score_total", coin_1 + (coin_2 * 5), {}) + end + + --非首轮 弹reminder + if 1 < round then + ScriptLib.ShowReminder(context, 470310104) + end + + --创建其他物件 + for k,v in pairs(coin_list[rand_index][round].other) do + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, v) + end + + ScriptLib.InitTimeAxis(context, "CoinClr_"..round.."_"..rand_index.."_"..index, { char_type.refresh_time } , false) + ScriptLib.InitTimeAxis(context, "CoinRmd_"..round.."_"..rand_index.."_"..index, { char_type.rmd_time } , false) + + --首轮创建史莱姆和体力球 + if 1 ~= round then + return 0 + end + for k,v in pairs(char_type.add_suite) do + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, v) + end + + return 0 +end + +--限时内全清 +function action_NextRound_TimeAxis_Pass(context, evt) + local rand_index = ScriptLib.GetGroupTempValue(context, "rand_index", {}) + LF_StartRound(context, rand_index) + return 0 +end + +function action_TimeAxis_Pass(context, evt) + local name = string.sub(evt.source_name, 1, 7)--CoinClr_ CoinRmd_ + if "CoinClr" == name then + LF_ClearRound(context) + local char_type = LF_GetRunOnWaterCharType(context) + ScriptLib.InitTimeAxis(context, "NextRound", { char_type.wait_time } , false) + elseif "CoinRmd" == name then + ScriptLib.ShowReminder(context, defs.reminder) + end + + return 0 +end + +function LF_GetRunOnWaterCharType(context) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + local char_type = {} + + if -1 == gallery_id or nil == cfg.gallery_match[gallery_id] then + char_type = defs.Sayu + ScriptLib.PrintContextLog(context,"## [CharAmuse_RunOnWater] LF_GetRunOnWaterCharType. Gallery id undefined, use default setting.") + return char_type + else + char_type = cfg.gallery_match[gallery_id] + end + ScriptLib.PrintContextLog(context,"## [CharAmuse_RunOnWater] LF_GetRunOnWaterCharType. Gallery@"..gallery_id) + return char_type +end + +--用于检查value是否在目标table中 +function LF_CheckIsInTable(context, value, check_table) + + for i = 1, #check_table do + if check_table[i] == value then + return true + end + end + return false +end + + +LF_Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_2/CharAmuse_SpinBall.lua b/Resources/Scripts/Common/V3_2/CharAmuse_SpinBall.lua index e69de29bb..ea52d1c45 100644 --- a/Resources/Scripts/Common/V3_2/CharAmuse_SpinBall.lua +++ b/Resources/Scripts/Common/V3_2/CharAmuse_SpinBall.lua @@ -0,0 +1,471 @@ +--- ServerUploadTool Save to [/root/env/data/lua/common/V3_2] --- + +--[[====================================== +|| filename: CharAmuse_SpinBall +|| owner: weiwei.sun +|| description: 3.2奇趣秘园 局内逻辑 弹球 +|| LogName: ## [CharAmuse_SpinBall] +|| Protection: +=======================================]] +--[[ + +local defs = { + + -----全玩法通用配置----- + + --玩法范围region cube + play_region = 1003, + + --玩法限时秒 + limit_time = 120, + target = 15, + + -----弹球配置----- + + --新一波弹球的出现时间 + round_time = 10, + --提示时间 + rmd_time = 8, + --提示reminder + reminder = 400171, + + --点阵长度 + length = + {--[点阵id] =点阵长度 + [1] = 9, + [2] = 4. + }, + --创生配置 + born = + {--[点阵id] ={ pos = { x=,y=,z=}, rot = pos = { x=,y=,z=}} + [1]={ pos = { x=,y=,z=}, rot = pos = { x=,y=,z=}} + } + --点阵组 + array_combine = + { + [1] = {5, 6}, + } + + -- 刷金币suite的规则 + coin_list = + { + -- 单人玩家 + ["SP"] = { + --随机情况一 + {--ball点阵组,coin金币suite + [1] = { ball = 1, coin ={4, 4}, buff = {5} , mona_buff = {}}, --第一波 + [2] = { ball = 1, coin ={4, 4}, buff = {5} }, --第二波。。 + }, + --随机情况二 + {--ball点阵组,coin金币suite + [1] = { ball = 1, coin ={4, 4}, buff = {5} }, --第一波 + [2] = { ball = 1, coin ={4, 4}, buff = {5} }, --第二波。。 + }, + }, + -- 多人玩家 + ["MP"] = { + --随机情况一 + {--ball点阵组,coin金币suite + [1] = { ball = 1, coin ={4, 4}}, --第一波 + [2] = { ball = 1, coin ={4, 4}}, --第二波。。 + }, + --随机情况二 + {--ball点阵组,coin金币suite + [1] = { ball = 1, coin ={4, 4}}, --第一波 + [2] = { ball = 1, coin ={4, 4}}, --第二波。。 + }, + } + -----以下内容通常不需关注----- + ball_pool = {} +} + +]] +local cfg = { + --主控GroupID + main_group = 251008007, +} + +local extraTriggers = { + { config_id = 8000003, name = "TimeAxis_StopGallery", event = EventType.EVENT_TIME_AXIS_PASS, source = "StopGallery", condition = "", action = "action_TimeAxis_StopGallery", trigger_count = 0 }, + { config_id = 8000004, name = "Gallery_Stop", event = EventType.EVENT_GALLERY_STOP, source = "", condition = "", action = "action_Gallery_Stop", trigger_count = 0 }, + { config_id = 8000005, name = "TimeAxis_StopGallery_Fail", event = EventType.EVENT_TIME_AXIS_PASS, source = "StopGallery_Fail", condition = "", action = "action_TimeAxis_StopGallery_Fail", trigger_count = 0 }, + { config_id = 8000006, name = "BallWait_TimeAxis", event = EventType.EVENT_TIME_AXIS_PASS, source = "ball_wait", condition = "", action = "action_Wait_TimeAxis_Pass", trigger_count = 0 }, + { config_id = 8000007, name = "Round_TimeAxis", event = EventType.EVENT_TIME_AXIS_PASS, source = "round_time", condition = "", action = "action_Round_TimeAxis", trigger_count = 0 }, + { config_id = 8000008, name = "Reminder_TimeAxis", event = EventType.EVENT_TIME_AXIS_PASS, source = "reminder_time", condition = "", action = "action_Reminder_TimeAxis", trigger_count = 0 }, + { config_id = 8000009, name = "RoundWait_TimeAxis", event = EventType.EVENT_TIME_AXIS_PASS, source = "roundwait_time", condition = "", action = "action_RoundWait_TimeAxis", trigger_count = 0 }, + --{ config_id = 8000010, name = "Ball_Point_Arrival", event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "", action = "action_Ball_Point_Arrival", trigger_count = 0 }, + { config_id = 8000011, name = "AirWallVariable_Change", event = EventType.EVENT_VARIABLE_CHANGE, source = "air_wall", condition = "", action = "action_AirWallVariable_Change", trigger_count = 0 }, + { config_id = 8000012, name = "Group_Load", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_Group_Load", trigger_count = 0 }, +} + +function LF_Initialize() + for k,v in pairs(extraTriggers) do + table.insert(triggers, v) + table.insert(suites[init_config.suite].triggers, v.name) + end + table.insert(variables,{ config_id = 50000001, name = "air_wall", value = 0}) +end + +--主控调用 +function EX_StartGallery(context, prev_context, gallery_id, is_last_level) + + local uid_list = ScriptLib.GetSceneUidList(context) + ScriptLib.SetGroupTempValue(context, "player_count", #uid_list, {}) + + ScriptLib.SetGroupTempValue(context, "is_last_level", is_last_level, {}) + + --开启gallery + ScriptLib.StartGallery(context, gallery_id) + ScriptLib.SetGroupTempValue(context, "gallery_id", gallery_id, {}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_SpinBall] Gallery Started. player_count@"..#uid_list.." --------------") + --玩法启动 + ScriptLib.SetGroupVariableValue(context, "air_wall", 0) + LF_Start_Play(context) + + return 0 +end + +function action_Group_Load(context, evt) + if nil == defs.air_wall then + return 0 + end + if 1 == ScriptLib.GetGroupVariableValue(context, "air_wall") then + for i,v in ipairs(defs.air_wall) do + ScriptLib.CreateGadget(context, { config_id = v }) + end + end + return 0 +end + +function action_AirWallVariable_Change(context, evt) + if nil == defs.air_wall then + return 0 + end + if 1 == evt.param1 and 0 == evt.param2 then + for i,v in ipairs(defs.air_wall) do + ScriptLib.CreateGadget(context, { config_id = v }) + end + elseif 0 == evt.param1 and 1 == evt.param2 then + for i,v in ipairs(defs.air_wall) do + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, v) + end + end + return 0 +end + +--evt.param2: 1-成功 0-失败 +function action_Gallery_Stop(context, evt) + + LF_ClearRound(context) + ScriptLib.EndAllTimeAxis(context) + + if 3 ~= evt.param3 then + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1) + --ScriptLib.InitTimeAxis(context, "StopGallery_Fail", { 3 } , false) 9.21修改 失败不要延时结束 + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {1, base_info.group_id}) + else + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1)--最后一关无等待 + if is_last_level then + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {0, base_info.group_id}) + else + ScriptLib.InitTimeAxis(context, "StopGallery", { 3 } , false) + end + end + ScriptLib.PrintContextLog(context,"## [CharAmuse_SpinBall] Gallery stoped. reason@".. evt.param3.." --------------") + + return 0 +end + +--------------------------------------------------------------------------------------------------------------- + +function LF_Start_Play(context) + + ScriptLib.SetGroupTempValue(context, "round", 0, {}) + + local player_count = ScriptLib.GetGroupTempValue(context, "player_count", {}) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + local target = 0 + if player_count > 1 then + target = ScriptLib.GetCharAmusementGalleryTarget(context, gallery_id, true) + else + target = ScriptLib.GetCharAmusementGalleryTarget(context, gallery_id, false) + end + + ScriptLib.SetGroupTempValue(context, "cur_score", target, {}) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["max_score"]= target} ) + + local rand_length = 1 + ScriptLib.PrintContextLog(context,"## [CharAmuse_SpinBall] LF_Start_Play. player_count@"..player_count) + if 1 < player_count then + rand_length = #defs.coin_list["MP"] + else + rand_length = #defs.coin_list["SP"] + end + math.randomseed(ScriptLib.GetServerTime(context)) + local rand_index = math.random(rand_length) + ScriptLib.SetGroupTempValue(context, "rand_index", rand_index, {}) + + LF_StartRound(context) + + return 0 +end + +function action_TimeAxis_StopGallery(context, evt) + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {0, base_info.group_id}) + return 0 +end + +function action_TimeAxis_StopGallery_Fail(context, evt) + ScriptLib.ExecuteGroupLua(context, cfg.main_group, "EX_EndPlayStage", {1, base_info.group_id}) + return 0 +end + +function LF_StartRound(context) + + local rand_index = ScriptLib.GetGroupTempValue(context, "rand_index", {}) + + local player_num = ScriptLib.GetGroupTempValue(context, "player_count", {}) + + ScriptLib.SetGroupTempValue(context, "coin_num", 0, {}) + ScriptLib.SetGroupTempValue(context, "score_total", 0, {}) + + local coin_list = {} + if 1 < player_num then + coin_list = defs.coin_list["MP"] + else + coin_list = defs.coin_list["SP"] + end + + if nil == coin_list then + ScriptLib.PrintGroupWarning(context,"## [CharAmuse_SpinBall] LF_StartRound. Nil SPMP coin_list. player_num@"..player_num) + return 0 + end + + --round++ + ScriptLib.ChangeGroupTempValue(context, "round", 1, {}) + local round = ScriptLib.GetGroupTempValue(context, "round", {}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_SpinBall] LF_StartRound. New round@".. round .. ". in rand_index@"..rand_index) + + --如果已经到了LD配置尽头,则循环最后一波 + if round > #coin_list[rand_index] then + round = #coin_list[rand_index] + ScriptLib.SetGroupTempValue(context, "round", round, {}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_SpinBall] LF_StartRound. All round finished. Set to final.") + end + + --创建Buff球 + if nil ~= coin_list[rand_index][round].buff then + for i,v in ipairs(coin_list[rand_index][round].buff) do + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, v) + end + end + + --创建Buff球 + if nil ~= coin_list[rand_index][round].mona_buff and 28002 == ScriptLib.GetGroupTempValue(context, "gallery_id", {}) then + for i,v in ipairs(coin_list[rand_index][round].mona_buff) do + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, v) + end + end + + --创建球 + -- 根据点阵数量 创建球 等待后,开始点阵移动 + local ball_index = coin_list[rand_index][round].ball + ScriptLib.SetGroupTempValue(context, "ball_index", ball_index, {}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_SpinBall] ball_index@"..ball_index) + for k,v in pairs(defs.array_combine[ball_index]) do + local config_id = LF_CreateBall(context, defs.born[v].pos, defs.born[v].rot) + ScriptLib.SetGroupTempValue(context, "ball_"..k, config_id, {}) + end + ScriptLib.InitTimeAxis(context, "ball_wait", { 1.5 } , false) + + ScriptLib.InitTimeAxis(context, "round_time", { defs.round_time } , false) + ScriptLib.InitTimeAxis(context, "reminder_time", { defs.rmd_time } , false) + return 0 +end + +function action_Wait_TimeAxis_Pass(context, evt) + + + local rand_index = ScriptLib.GetGroupTempValue(context, "rand_index", {}) + local round = ScriptLib.GetGroupTempValue(context, "round", {}) + local player_num = ScriptLib.GetGroupTempValue(context, "player_count", {}) + local coin_list = {} + if 1 < player_num then + coin_list = defs.coin_list["MP"] + else + coin_list = defs.coin_list["SP"] + end + + local ball_index = ScriptLib.GetGroupTempValue(context, "ball_index", {}) + for k,v in pairs(defs.array_combine[ball_index]) do + local config_id = ScriptLib.GetGroupTempValue(context, "ball_"..k, {}) + --设置点阵 + if 0 < config_id then + local path = {} + if nil == defs.length[v] then + ScriptLib.PrintContextLog(context,"## [CharAmuse_SpinBall] Get path length failed. point_array_id@"..v) + return 0 + end + for i = 1, defs.length[v] do + table.insert(path, i) + end + local tempParam = {route_type = 2, turn_mode = false} + ScriptLib.SetPlatformPointArray(context, config_id, v, path, tempParam) + ScriptLib.PrintContextLog(context,"## [CharAmuse_SpinBall] SetPlatformPointArray. config_id@".. config_id.. "point_array_id@"..v) + end + end + + -- 创建金币 + local coin_suites = coin_list[rand_index][round].coin + for k,v in pairs(coin_suites) do + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, v) + end + + --埋点统计本波总分 + local coin_1 = ScriptLib.CheckRemainGadgetCountByGroupId(context, { group_id = base_info.group_id, gadget_id = { 70320015 }}) + local coin_2 = ScriptLib.CheckRemainGadgetCountByGroupId(context, { group_id = base_info.group_id, gadget_id = { 70320022 }}) + ScriptLib.SetGroupTempValue(context, "coin_num", coin_1 + coin_2, {}) + if nil ~= defs.super_coin and 1 <= defs.super_coin then + ScriptLib.SetGroupTempValue(context, "score_total", coin_1 + (coin_2 *math.floor(defs.super_coin)), {}) + else + ScriptLib.SetGroupTempValue(context, "score_total", coin_1 + (coin_2 * 5), {}) + end + + return 0 +end + +function LF_ClearRound(context) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + local round = ScriptLib.GetGroupTempValue(context, "round", {}) + if ScriptLib.IsGalleryStart(context, gallery_id) then + --埋点 + local score_total = ScriptLib.GetGroupTempValue(context, "score_total", {}) + local coin_1 = ScriptLib.CheckRemainGadgetCountByGroupId(context, { group_id = base_info.group_id, gadget_id = { 70320015 }}) + local coin_2 = ScriptLib.CheckRemainGadgetCountByGroupId(context, { group_id = base_info.group_id, gadget_id = { 70320022 }}) + local score_left = coin_1 + (coin_2 *5) + if nil ~= defs.super_coin and 1 <= defs.super_coin then + score_left = coin_1 + (coin_2 *math.floor(defs.super_coin)) + end + ScriptLib.MarkGroupLuaAction(context, "CharAmuse_SpinBall", ScriptLib.GetDungeonTransaction(context), {["wave_num"] = round, ["score_gain"] = score_total - score_left, ["score_left"] = score_left}) + end + + for k,v in pairs(defs.ball_pool) do + ScriptLib.KillEntityByConfigId(context, { config_id = v })--kill播放onKill动画 + end + + local player_num = ScriptLib.GetGroupTempValue(context, "player_count", {}) + local coin_list = {} + if 1 < player_num then + coin_list = defs.coin_list["MP"] + else + coin_list = defs.coin_list["SP"] + end + local rand_index = ScriptLib.GetGroupTempValue(context, "rand_index", {}) + + for i,v in ipairs(coin_list[rand_index][round].coin) do + ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, v) + end + if nil ~= coin_list[rand_index][round].buff then + for i,v in ipairs(coin_list[rand_index][round].buff) do + ScriptLib.RemoveExtraGroupSuite(context, base_info.group_id, v) + end + end + + return 0 +end + +function LF_CreateBall(context, pos, rot) + + for k , v in pairs(defs.ball_pool) do + local ret = ScriptLib.CreateGadgetByConfigIdByPos(context, v, pos, rot) + if 0 == ret then + ScriptLib.PrintContextLog(context,"## [CharAmuse_SpinBall] LF_CreateBall. Create gadget@"..v) + return v + end + end + ScriptLib.PrintGroupWarning(context,"## [CharAmuse_SpinBall] LF_CreateBall. Unable to create ball.") + return 0 +end + +function action_Round_TimeAxis(context, evt) + ScriptLib.EndTimeAxis(context, "ball_wait") + ScriptLib.EndTimeAxis(context, "round_time") + ScriptLib.EndTimeAxis(context, "reminder_time") + + LF_ClearRound(context) + ScriptLib.InitTimeAxis(context, "roundwait_time", { defs.wait_time } , false) + return 0 +end + +function action_RoundWait_TimeAxis(context, evt) + LF_StartRound(context) + return 0 +end + +function action_Reminder_TimeAxis(context, evt) + ScriptLib.ShowReminder(context, defs.reminder) + return 0 +end + +function action_Ball_Point_Arrival(context, evt) + ScriptLib.AddEntityGlobalFloatValueByConfigId(context, {evt.param1}, "GV_SpiningBall_Action", 1) + return 0 +end + +--param1: 1-普通 2-大金币 +function SLC_CharAmusement_CoinGet(context, param1) + + local gallery_id = ScriptLib.GetGroupTempValue(context, "gallery_id", {}) + local stage_index = ScriptLib.GetGroupTempValue(context, "stage_index", { cfg.main_group }) + + if 1 == param1 then + local config_id = ScriptLib.GetGadgetConfigId(context, { gadget_eid = context.target_entity_id }) + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, config_id) + ScriptLib.ChangeGroupTempValue(context, "cur_score", -1, {}) + ScriptLib.ChangeGroupTempValue(context, "coin_num", -1, {}) + + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["add_score"]= 1} ) + ScriptLib.CharAmusementUpdateScore(context, cfg.main_group, 1, 1)--给MultStage更新分数 服务器侧埋点用 + + elseif 2 == param1 then + local config_id = ScriptLib.GetGadgetConfigId(context, { gadget_eid = context.target_entity_id }) + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, config_id) + if nil ~= defs.super_coin and 1 <= defs.super_coin then + ScriptLib.ChangeGroupTempValue(context, "cur_score", -1*math.floor(defs.super_coin), {}) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["add_score"]= math.floor(defs.super_coin)} ) + ScriptLib.CharAmusementUpdateScore(context, cfg.main_group, 1, math.floor(defs.super_coin))--给MultStage更新分数 服务器侧埋点用 + else + ScriptLib.ChangeGroupTempValue(context, "cur_score", -5, {}) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["add_score"]= 5} ) + ScriptLib.CharAmusementUpdateScore(context, cfg.main_group, 1, 5)--给MultStage更新分数 服务器侧埋点用 + end + ScriptLib.ChangeGroupTempValue(context, "coin_num", -1, {}) + end + + if 0 >= ScriptLib.GetGroupTempValue(context, "cur_score", {}) then + local is_last_level = (ScriptLib.GetGroupTempValue(context, "is_last_level", {}) >= 1) + ScriptLib.UpdatePlayerGalleryScore(context, gallery_id, { ["is_last_level"] = is_last_level, ["is_finish"] = true, ["is_success"] = true } ) + ScriptLib.StopGallery(context, gallery_id, false) + return 0 + end + + local coin_num = ScriptLib.GetGroupTempValue(context, "coin_num", {}) + ScriptLib.PrintContextLog(context,"## [CharAmuse_SpinBall] SLC_CharAmusement_CoinGet. param1@"..param1.." coin_num@"..coin_num) + if 0 >= coin_num then + + LF_ClearRound(context) + + ScriptLib.EndTimeAxis(context, "ball_wait") + ScriptLib.EndTimeAxis(context, "round_time") + ScriptLib.EndTimeAxis(context, "reminder_time") + + ScriptLib.InitTimeAxis(context, "roundwait_time", { defs.wait_time } , false) + + end + + return 0 +end + +LF_Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_2/MachineCarrier.lua b/Resources/Scripts/Common/V3_2/MachineCarrier.lua index e69de29bb..ec6e643c9 100644 --- a/Resources/Scripts/Common/V3_2/MachineCarrier.lua +++ b/Resources/Scripts/Common/V3_2/MachineCarrier.lua @@ -0,0 +1,538 @@ +--- ServerUploadTool Save to [/root/env/data/lua/common/V3_2] --- + +--[[====================================== +|| filename: MachineCarrier +|| owner: weiwei.sun +|| description: 3.2散兵工厂 轨道运输装置 提供移动平台随时暂停、启动,以及根据轨道状态改变移动方向的支持 +|| LogName: ## [MachineCarrier] +|| Protection: +=======================================]] +--[[ + +local defs = { + + option_turn = 613, + + option_start = , + option_stop = , + + play_region = , + + --岔路旋转State列表 + turn_queue = {0,201,202,203}, + + point_array = 110200027, + --运输装置config_id + carrier_list = {}, + + switcher_control = + {--[操作台configID] = {被控岔路装置1, 被控岔路装置2}, + [9017] = {9003}, + }, + + --终点 + end_point = , + --几条路 注意是point_list有向的 倒数第二个点为岔路判定点 + way_info = + { + --key为路径几 顺序无所谓 + [1] = + { + point_list = {1}, + + spawn_point = 0, + + gear_id = 0, --此判定点依据哪个岔路物件 + + dir = --岔路物件每个State通向哪 + { --GadgetState索引way_info ID + [0] = 7, + [201] = 0, + [202] = 0, + [204] = 0, + }, + }, + [2] = + { + point_list = {12,11,10,9,8,7,6,5,4,3}, + + spawn_point = 3, + + gear_id = 0, --此判定点依据哪个岔路物件 + + dir = --岔路物件每个State通向哪 + { --GadgetState索引way_info ID + [0] = 0, + [201] = 5, + [202] = 0, + [203] = 0, + }, + }, + }, + }, + + --每次任意车到达上车点时,检查region内是否有玩家,有则停车 + station_region = , + + turn_point = + { + 3 + }, + + --停车点 到此点时会判断是否需要停车 + stop_points = + { + 7, 14 + }, +} + +]] + +local cfg = +{ + --岔路旋转State列表 + turn_queue = {0,201,202,203}, +} + +local extraTriggers = { + { config_id = 8000001, name = "Select_Turn_Option", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_Select_Turn_Option", trigger_count = 0 }, + { config_id = 8000002, name = "Select_StartStop_Option", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_Select_StartStop_Option", trigger_count = 0 }, + { config_id = 8000003, name = "Enter_Play_Region", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_Enter_Play_Region", trigger_count = 0 }, + { config_id = 8000004, name = "Leave_Play_Region", event = EventType.EVENT_LEAVE_REGION, source = "", condition = "", action = "action_Leave_Play_Region", trigger_count = 0 }, + { config_id = 8000005, name = "Point_Arrival", event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "", action = "action_Point_Arrival", trigger_count = 0 }, + { config_id = 8000006, name = "Enter_Station_Region", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_Enter_Station_Region", trigger_count = 0 }, + { config_id = 8000007, name = "Create_Gadget", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "", action = "action_Create_Gadget", trigger_count = 0 }, +} + + +function LF_Initialize() + for k,v in pairs(extraTriggers) do + table.insert(triggers, v) + table.insert(suites[init_config.suite].triggers, v.name) + end + table.insert(variables,{ config_id = 50000001, name = "first_station", value = 0, no_refresh = true }) +end + +function action_Create_Gadget(context, evt) + --创建时 检查运输线状态 + if 70320028 ~= evt.param2 then + return 0 + end + if 0 ~= ScriptLib.GetGroupTempValue(context, "move_state", {}) then + return 0 + end + ScriptLib.StopPlatform(context, evt.param1) + ScriptLib.PrintContextLog(context,"## [MachineCarrier] Spawned while move_state is 0. Stop platform. config_id@"..evt.param1) + return 0 +end + +function action_Select_Turn_Option(context, evt) + if defs.option_turn ~= evt.param2 then + return 0 + end + if nil == defs.switcher_control[evt.param1] then + return 0 + end + local turn_queue = cfg.turn_queue + if nil ~= defs.turn_queue then + turn_queue = defs.turn_queue + end + if nil == turn_queue[1] then + return 0 + end + for i,v in ipairs(defs.switcher_control[evt.param1]) do + local gadget_state = ScriptLib.GetGadgetStateByConfigId(context, base_info.group_id, v) + local state_index = GetIndexInTable(context, gadget_state, turn_queue) + if state_index >= #turn_queue then + ScriptLib.SetGadgetStateByConfigId(context, v, turn_queue[1]) + ScriptLib.PrintContextLog(context,"## [MachineCarrier] action_Select_Turn_Option. config_id@"..v.." to state@".. turn_queue[1]) + else + ScriptLib.SetGadgetStateByConfigId(context, v, turn_queue[state_index + 1]) + ScriptLib.PrintContextLog(context,"## [MachineCarrier] action_Select_Turn_Option. config_id@"..v.." point@".. turn_queue[state_index + 1]) + end + end + if 1 ~= move_state then + LF_ResumeMove(context) + end + return 0 +end + +function action_Select_StartStop_Option(context, evt) + + if defs.option_start == evt.param2 then + LF_ResumeMove(context) + return 0 + end + if defs.option_stop == evt.param2 then + --LF_PauseMove(context)--立即停下 + ScriptLib.SetGroupTempValue(context, "is_toStop", 1, {})--按下停止按钮后当有任意一个车到上车点的时候 停下 + return 0 + end + + return 0 +end + +function action_Enter_Play_Region(context, evt) + if nil == defs.play_region then + ScriptLib.PrintContextLog(context,"## [MachineCarrier] action_Enter_Play_Region. play_region is empty!") + return 0 + end + if defs.play_region ~= evt.param1 then + return 0 + end + if nil == defs.carrier_list[1] then + ScriptLib.PrintContextLog(context,"## [MachineCarrier] defs.carrier_list[1] is empty!") + return 0 + end + + LF_StartMove(context, defs.carrier_list[1]) + + return 0 +end + +function action_Leave_Play_Region(context, evt) + if nil == defs.play_region then + ScriptLib.PrintContextLog(context,"## [MachineCarrier] action_Leave_Play_Region. play_region is empty!") + return 0 + end + if defs.play_region ~= evt.param1 then + return 0 + end + --重置电车 + for i,v in ipairs(defs.carrier_list) do + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, v) + end + --恢复选项 + LF_TrySetAllTurningOption(context) + + if nil ~= defs.carrier_list[1] then + ScriptLib.CreateGadget(context, { config_id = defs.carrier_list[1] }) + end + --ScriptLib.RefreshGroup(context, {group_id = base_info.group_id, suite = init_config.suite }) + return 0 +end + +function action_Enter_Station_Region(context, evt) + --进入station_region时,检查如果现在是停的,且没有车处于停靠状态,则启动 + if defs.station_region ~= evt.param1 then + return 0 + end + + if 0 ~= ScriptLib.GetGroupTempValue(context, "move_state", {}) then + return 0 + end + + for i,v in ipairs(defs.carrier_list) do + if 1 == ScriptLib.GetGadgetAbilityFloatValue(context, base_info.group_id, v, "SGV_MachineCarrier_State") then + return 0 + end + end + + LF_ResumeMove(context) + + return 0 +end + + +function action_Point_Arrival(context, evt) + + --PointIndex更新 + ScriptLib.ChangeGroupTempValue(context, "point_"..evt.param1, 1, {}) + local cur_way = ScriptLib.GetGroupTempValue(context, "way_"..evt.param1, {}) + if nil == defs.way_info[cur_way] then + return 0 + end + local length = #defs.way_info[cur_way].point_list + + ScriptLib.PrintContextLog(context,"## [MachineCarrier] action_Point_Arrival. config_id@"..evt.param1.." cur_way@"..cur_way.." point@"..evt.param3.." check_point@"..defs.way_info[cur_way].point_list[length]) + + --是否为 选项恢复点 + if nil ~= defs.recover_points then + if LF_CheckIsInTable(context, evt.param3, defs.recover_points) then + LF_TrySetAllTurningOption(context) + end + end + + --是否为 自杀点 + if nil ~= defs.end_point then + if LF_CheckIsInTable(context, evt.param3, defs.end_point) then + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, evt.param1) + ScriptLib.SetGroupTempValue(context, "way_"..evt.param1, 0, {}) + return 0 + end + end + + --是否为 下车点 + if nil ~= defs.leave_points then + if LF_CheckIsInTable(context, evt.param3, defs.leave_points) then + if 1 == LF_TryStopMoveAtStation(context, evt.param1) then + LF_TryTurnGadget(context, evt.param1, evt.param3) + return 0 + end + end + end + + --是否为 上车点 + if nil ~= defs.stop_points then + if LF_CheckIsInTable(context, evt.param3, defs.stop_points) then + local region_eid = ScriptLib.GetEntityIdByConfigId(context, defs.station_region) + if 1 == ScriptLib.GetGroupTempValue(context, "is_toStop", {}) or 1 <= ScriptLib.GetRegionEntityCount(context, { region_eid = region_eid, entity_type = EntityType.AVATAR }) then + if 0 == ScriptLib.GetGroupVariableValue(context, "first_station") then + ScriptLib.SetGroupVariableValue(context, "first_station", 1) + end + LF_PauseMove(context) + LF_TryTurnGadget(context, evt.param1, evt.param3) + end + end + end + + --是否为 当前路径上的岔路判定点 + if nil ~= defs.way_info[cur_way].point_list[length] then + if defs.way_info[cur_way].point_list[length] == evt.param3 then + LF_HandleChangeDir(context, evt.param1, cur_way) + return 0 + end + end + + --是否为 当前路径上的Spawn点 + if defs.way_info[cur_way].spawn_point == evt.param3 then + LF_TrySpawnCarrier(context) + end + + return 0 +end +--在路径判定点处,设置新点阵 +function LF_HandleChangeDir(context, config_id, cur_way) + ScriptLib.PrintContextLog(context,"## [MachineCarrier] LF_HandleChangeDir. config_id"..config_id.." cur_way@"..cur_way) + local switcher_state = ScriptLib.GetGadgetStateByConfigId(context, base_info.group_id, defs.way_info[cur_way].gear_id) + if nil == defs.way_info[cur_way].dir[switcher_state] then + ScriptLib.PrintContextLog(context,"## [MachineCarrier] LF_HandleChangeDir. Empty switcher_state. gear_id@"..defs.way_info[cur_way].gear_id.." switcher_state@"..switcher_state) + return 0 + end + + local new_way = defs.way_info[cur_way].dir[switcher_state] + ScriptLib.PrintContextLog(context,"## [MachineCarrier] LF_HandleChangeDir. Get new way cur_way@"..cur_way.." switcher_state@"..switcher_state.. " new_way@"..new_way) + --前方无路,停车 不隐藏转向按钮 + if 0 == new_way then + LF_PauseMove(context) + return 0 + end + --隐藏转向按钮 + LF_DelAllTurningOption(context) + + ScriptLib.SetGroupTempValue(context, "way_"..config_id, new_way, {}) + + ScriptLib.SetGroupTempValue(context, "point_"..config_id, 0, {}) + ScriptLib.SetPlatformPointArray(context, config_id, defs.point_array, defs.way_info[new_way].point_list, { route_type = 0, record_mode = 0 }) + + return 0 +end + +--是否所有车都可移动 +function LF_IsMoveable(context) + for i,v in pairs(defs.carrier_list) do + --取得之前停在哪里 + local cur_way = ScriptLib.GetGroupTempValue(context, "way_"..v, {}) + + if 0 < cur_way and nil ~= defs.way_info[cur_way] then + local switcher_state = ScriptLib.GetGadgetStateByConfigId(context, base_info.group_id, defs.way_info[cur_way].gear_id) + if nil ~= defs.way_info[cur_way].dir[switcher_state] then + local new_way = defs.way_info[cur_way].dir[switcher_state] + if 0 >= new_way then + ScriptLib.PrintContextLog(context,"## [MachineCarrier] LF_IsMoveable. Is not movable. config_id@"..v.." cur_way@"..cur_way) + return 0 + end + end + end + end + return 1 +end + +function LF_TryTurnGadget(context, config_id, point_id) + if LF_CheckIsInTable(context, point_id, defs.turn_point) then + ScriptLib.SetEntityServerGlobalValueByConfigId(context, config_id, "SGV_MachineCarrier_State", 1) + end + return 0 +end + +function LF_TrySpawnCarrier(context) + local carrier_num = ScriptLib.CheckRemainGadgetCountByGroupId(context, { group_id = base_info.group_id, gadget_id = { 70320026 }}) + ScriptLib.PrintContextLog(context,"## [MachineCarrier] LF_TrySpawnCarrier. carrier_num@"..carrier_num.." carrier_list@"..#defs.carrier_list) + if 0 > carrier_num then + return 0 + end + if #defs.carrier_list > carrier_num then + for i,v in ipairs(defs.carrier_list) do + local ret = ScriptLib.CreateGadget(context, { config_id = v }) + if 0 == ret then + LF_StartMove(context, v) + return 0 + end + end + end + return 0 +end + +function LF_StartMove(context, config_id) + + if nil == defs.way_info[1] then + return 0 + end + ScriptLib.PrintContextLog(context,"## [MachineCarrier] LF_StartMove. Try start config_id@"..config_id.." point_list@".. table.concat(defs.way_info[1].point_list, ", ")) + local ret = ScriptLib.SetPlatformPointArray(context, config_id, defs.point_array, defs.way_info[1].point_list, { route_type = 0, record_mode = 0 }) + if 0 == ret then + ScriptLib.SetGroupTempValue(context, "move_state", 1, {}) + ScriptLib.SetGroupTempValue(context, "way_"..config_id, 1, {}) + ScriptLib.SetGroupTempValue(context, "point_"..config_id, 0, {}) + return 0 + end + if nil ~= defs.option_gadget then + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, defs.option_gadget, { defs.option_stop }) + end + ScriptLib.PrintContextLog(context,"## [MachineCarrier] LF_StartMove. SetPlatformPointArray ret@"..ret) + return 0 +end + +function LF_ResumeMove(context) + + if 0 == LF_IsMoveable(context) then + return 0 + end + --启动 + for i,v in ipairs(defs.carrier_list) do + --物件朝向恢复 + ScriptLib.SetEntityServerGlobalValueByConfigId(context, v, "SGV_MachineCarrier_State", 0) + + --取得之前停在哪里 + local cur_way = ScriptLib.GetGroupTempValue(context, "way_"..v, {}) + if 0 < cur_way then + + local cur_point_index = ScriptLib.GetGroupTempValue(context, "point_"..v, {}) + + --是否是在终点停下 + if #defs.way_info[cur_way].point_list <= cur_point_index then + LF_HandleChangeDir(context, v, cur_way) + end + + local resume_point_list = {} + --设置点阵路径 + --如果在起点 + if 0 == cur_point_index then + ScriptLib.SetPlatformPointArray(context, v, defs.point_array, defs.way_info[cur_way].point_list, { route_type = 0, record_mode = 0 }) + ScriptLib.PrintContextLog(context,"## [MachineCarrier] LF_ResumeMove. config_id@"..v.." cur_way@"..cur_way.." point_list@".. table.concat(defs.way_info[1].point_list, ", ")) + --一条路没走完继续走 + elseif #defs.way_info[cur_way].point_list > cur_point_index then + for i = cur_point_index + 1, #defs.way_info[cur_way].point_list do + table.insert(resume_point_list, defs.way_info[cur_way].point_list[i]) + end + ScriptLib.PrintContextLog(context,"## [MachineCarrier] LF_ResumeMove. config_id@"..v.." cur_way@"..cur_way.." cur_point_index@"..cur_point_index.." point_list@".. table.concat(resume_point_list, ", ")) + end + ScriptLib.SetPlatformPointArray(context, v, defs.point_array, resume_point_list, { route_type = 0, record_mode = 0 }) + ScriptLib.SetGroupTempValue(context, "move_state", 1, {}) + end + end + if nil ~= defs.option_gadget then + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, defs.option_gadget, { defs.option_stop }) + end + return 0 +end + +function LF_PauseMove(context) + for i, v in ipairs(defs.carrier_list) do + ScriptLib.StopPlatform(context, v) + end + ScriptLib.SetGroupTempValue(context, "move_state", 0, {}) + if nil ~= defs.option_gadget then + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, defs.option_gadget, { defs.option_start }) + end + ScriptLib.PrintContextLog(context,"## [MachineCarrier] LF_PauseMove.") + return 0 +end + +function LF_TryStopMoveAtStation(context, config_id) + local carrier_state = ScriptLib.GetGadgetStateByConfigId(context, base_info.group_id, config_id) + ScriptLib.PrintContextLog(context,"## [MachineCarrier] LF_TryStopMoveAtStation. carrier_state@"..carrier_state) + if 201 == carrier_state then + LF_PauseMove(context) + return 1 + end + return 0 +end +--物件检测到玩家上车 +function SLC_MachineCarrier_Player_In(context) + + local config_id = ScriptLib.GetGadgetConfigId(context, { gadget_eid = context.source_entity_id }) + + --确保整个运输线只能有一个201 + for k,v in pairs(defs.carrier_list) do + if v ~= config_id then + ScriptLib.SetGadgetStateByConfigId(context, v, 0) + end + end + + local move_state = ScriptLib.GetGroupTempValue(context, "move_state", {}) + local cur_way = ScriptLib.GetGroupTempValue(context, "way_"..config_id, {}) + local cur_point_index = ScriptLib.GetGroupTempValue(context, "point_"..config_id, {}) + + ScriptLib.PrintContextLog(context,"## [MachineCarrier] SLC_MachineCarrier_Player_In. move_state@"..move_state.." config_id@"..config_id.." cur_point_index@"..cur_point_index) + + if nil == defs.way_info[cur_way] then + return 0 + end + + local way_info = defs.way_info[cur_way] + + if nil == way_info.point_list[cur_point_index] then + return 0 + end + ScriptLib.PrintContextLog(context,"## [MachineCarrier] SLC_MachineCarrier_Player_In. move_state@"..move_state.." config_id@"..config_id.." cur_point@"..way_info.point_list[cur_point_index]) + if false == LF_CheckIsInTable(context, way_info.point_list[cur_point_index], defs.stop_points) then + return 0 + end + if 1 ~= move_state then + LF_ResumeMove(context) + end + return 0 +end + +function LF_DelAllTurningOption(context) + for k,v in pairs(defs.switcher_control) do + + ScriptLib.DelWorktopOptionByGroupId(context, base_info.group_id, k, defs.option_turn ) + end + ScriptLib.SetGroupTempValue(context, "option_deleted", 1, {}) + + return 0 +end +function LF_TrySetAllTurningOption(context) + if 1 ~= ScriptLib.GetGroupTempValue(context, "option_deleted", {}) then + return 0 + end + for k,v in pairs(defs.switcher_control) do + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, k, { defs.option_turn }) + end + ScriptLib.SetGroupTempValue(context, "option_deleted", 0, {}) + + return 0 +end +--用于检查value是否在目标table中 +function LF_CheckIsInTable(context, value, check_table) + + for i = 1, #check_table do + if check_table[i] == value then + return true + end + end + return false +end + +function GetIndexInTable(context, value, check_table) + for i = 1, #check_table do + if check_table[i] == value then + return i + end + end + return 0 +end + +LF_Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_2/PhotographActivity_V2.lua b/Resources/Scripts/Common/V3_2/PhotographActivity_V2.lua index e69de29bb..e03521a29 100644 --- a/Resources/Scripts/Common/V3_2/PhotographActivity_V2.lua +++ b/Resources/Scripts/Common/V3_2/PhotographActivity_V2.lua @@ -0,0 +1,199 @@ +--[[====================================== +|| filename: PhotographActivity_V2 +|| owner: zhangchi.chen luyao.huang +|| description: 3.2拍照活动 +|| LogName: PhotographActivity +|| Protection: +=======================================]]-- + +------ +--local defs = { +-- worktop_id = 10001, +-- gallery_id = 18001, +-- region_id = 20001, +-- client_judge_id = 1 +--} + +local local_defs = { + worktop_option = 190, + region_out_reminder = 600106, + region_warning_reminder = 600159, + begin_fail_reminder=600158, +} + +local Tri = { + [1] = { name = "group_load", config_id = 40000000, event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0}, + [3] = { name = "select_option", config_id = 40000002, event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_select_option", trigger_count = 0}, + [4] = { name = "photo_finish", config_id = 40000003, event = EventType.EVENT_PHOTO_FINISH, source = "", condition = "", action = "action_photo_finish", trigger_count = 0}, + [5] = { name = "leave_region", config_id = 40000004, event = EventType.EVENT_LEAVE_REGION, source = "", condition = "", action = "action_leave_region", trigger_count = 0}, + [6] = { name = "group_will_unload", config_id = 40000005, event = EventType.EVENT_GROUP_WILL_UNLOAD, source = "", condition = "", action = "action_group_will_unload", trigger_count = 0}, + [7] = { name = "gallery_stop", config_id = 40000006, event = EventType.EVENT_GALLERY_STOP, source = "", condition = "", action = "action_gallery_stop", trigger_count = 0}, + [8] = { name = "enter_region", config_id = 40000007, event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_enter_region", trigger_count = 0}, +} + +function Initialize() + for k,v in pairs(Tri) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + table.insert(variables,{ config_id=50000001,name = "trigger_count", value = 0, no_refresh = true}) +end + +------------------------------------------------------------------ + +--group load后,根据当前玩法状态,恢复物件表现 +function action_group_load(context,evt) + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_group_load:group加载,恢复玩法状态") + LF_Init_Play(context) + return 0 +end + +--玩家与选项交互,开启挑战 +function action_select_option(context,evt) + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_select_option: 玩家与选项交互,尝试开启玩法") + if (ScriptLib.IsWidgetEquipped(context, ScriptLib.GetSceneOwnerUid(context), 220018) == true) or (ScriptLib.IsWidgetEquipped(context, ScriptLib.GetSceneOwnerUid(context), 220020) == true) or (ScriptLib.IsWidgetEquipped(context, ScriptLib.GetSceneOwnerUid(context), 220070) == true) then + LF_Start_Play(context) + else + ScriptLib.PrintContextLog(context,"## [PhotographActivity] 未装备【留影机】") + local uid = ScriptLib.GetSceneUidList(context) + if uid[1]~=nil then + ScriptLib.ShowReminderByUid(context,{uid[1]}, local_defs.begin_fail_reminder) + end + end + + return 0 +end + +--挑战成功处理 +--拍照成功,以成功结束gallery,并流转group状态 +function action_photo_finish(context,evt) + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_photo_finish: 收到推送的拍照成功消息") + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_photo_finish: gallery id为"..evt.param1) + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_photo_finish: 客户端逻辑id为"..evt.param2) + --对客户端推送的拍照成功消息做一次校验 + if (evt.param1 == defs.gallery_id and evt.param2 == defs.client_judge_id) then + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_photo_finish: 拍照成功") + end + return 0 +end + + +--挑战失败处理 +--出警示圈和失败情况1:玩家出圈 +function action_leave_region(context,evt) + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_leave_region: 玩家出圈") + if (evt.param1 == defs.warning_region_id and ScriptLib.IsGalleryStart(context,defs.gallery_id)) then + local uid = ScriptLib.GetGalleryUidList(context,defs.gallery_id) + if uid[1]~=nil then + ScriptLib.ShowReminderByUid(context,{uid[1]}, local_defs.region_warning_reminder) + end + + elseif (evt.param1 == defs.region_id and ScriptLib.IsGalleryStart(context,defs.gallery_id)) then + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_leave_region: 挑战失败,并回滚group状态") + local uid = ScriptLib.GetGalleryUidList(context,defs.gallery_id) + if uid[1]~=nil then + ScriptLib.ShowReminderByUid(context,{uid[1]}, local_defs.region_out_reminder) + end + LF_Stop_Play(context,false) + end + return 0 +end + +--玩家首次进圈显示教程 +function action_enter_region(context,evt) + if ScriptLib.GetGroupVariableValue(context,"trigger_count") == 0 then + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_enter_region: 玩家进圈") + ScriptLib.SetGroupVariableValue(context,"trigger_count",1) + if 0 ~= ScriptLib.AssignPlayerShowTemplateReminder(context,211,{param_uid_vec={},param_vec={},uid_vec={context.uid}}) then + return -1 + end + end + return 0 +end + +--失败情况2:group即将卸载 +function action_group_will_unload(context,evt) + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_group_will_unload: group即将卸载") + if (ScriptLib.IsGalleryStart(context,defs.gallery_id)) then + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_group_will_unload: 回退至初始状态作为保护") + LF_Stop_Play(context,false) + end + return 0 +end + +--失败情况3:灭队 +function action_gallery_stop(context,evt) + --关闭黄圈 + ScriptLib.DeactivateGroupLinkBundle(context, base_info.group_id) + ScriptLib.PrintContextLog(context,"## [PhotographActivity] action_gallery_stop: 重新加载group") + LF_Init_Play(context) + + return 0 +end + +------------------------------------------------------------------ +------------------------流程相关---------------------------------- +--初始化玩法 +--加载操作台并上选项 +function LF_Init_Play(context) + --操作台激活 + LF_Set_Worktop(context,true) + --卸载打点suite + LF_Set_Photo_Point_Suite(context,false) +end + +--开启玩法 +function LF_Start_Play(context) + --先尝试启动gallery,如果未成功,则直接返回 + if (ScriptLib.SetPlayerStartGallery(context, defs.gallery_id, {ScriptLib.GetSceneOwnerUid(context)}) ~= 0) then + return + end + --操作台转为未激活 + LF_Set_Worktop(context,false) + --加载打点suite + LF_Set_Photo_Point_Suite(context,true) + --显示黄圈 + ScriptLib.ActivateGroupLinkBundle(context, base_info.group_id) +end + +function LF_Stop_Play(context, is_success) + --卸载打点suite + --LF_Set_Photo_Point_Suite(context,false) + if (is_success) then + ScriptLib.StopGallery(context,defs.gallery_id,false) + else + --lua里处理的都是出界StopGallery,所以Reason直接都给5 + ScriptLib.StopGalleryByReason(context,defs.gallery_id,5) + end + --重新做一次初始化的流程 + LF_Init_Play(context) +end + +------------------------group元素操作相关---------------------------------- +--设置操作台状态(包括设置gadgetState和上下选项) +function LF_Set_Worktop(context, is_active) + if (is_active) then + ScriptLib.SetGroupGadgetStateByConfigId(context, base_info.group_id, defs.worktop_id, 0) + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, defs.worktop_id, {local_defs.worktop_option}) + else + ScriptLib.SetGroupGadgetStateByConfigId(context, base_info.group_id, defs.worktop_id, 201) + ScriptLib.DelWorktopOptionByGroupId(context, base_info.group_id, defs.worktop_id, local_defs.worktop_option) + end +end + +--加载/卸载打点用suite +function LF_Set_Photo_Point_Suite(context,is_active) + if (is_active) then + if #suites>=2 then + --如果有配置打点用物件,将其加载出来 + ScriptLib.AddExtraGroupSuite(context,base_info.group_id,2) + end + else + if #suites>=2 then + --如果有配置打点用物件,清理加载出来的打点用物件 + ScriptLib.RemoveExtraGroupSuite(context,base_info.group_id,2) + end + end +end +------------------------------------------------------------------ +Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_2/TeleportHotSpot.lua b/Resources/Scripts/Common/V3_2/TeleportHotSpot.lua index e69de29bb..86ce8ffc9 100644 --- a/Resources/Scripts/Common/V3_2/TeleportHotSpot.lua +++ b/Resources/Scripts/Common/V3_2/TeleportHotSpot.lua @@ -0,0 +1,195 @@ +--- ServerUploadTool Save to [/root/env/data/lua/common/V3_2] --- + +--[[====================================== +|| filename: TeleportHotSpot +|| owner: weiwei.sun +|| description: 单向传送门的streaming热点处理 +|| LogName: ## [TeleportHotSpot] +|| Protection: +=======================================]] +--[[ + +local defs = { + --传送起点 + hot_spots = + { + --若teleport_gadget不为0,则检查其state是否为201。 这个设定用于防止同一地点多个门创建多个hotpoint + [regionID] = { teleport_gadget = 0, hot_spot = 0}, + }, + --传送终点(废弃 改为SLC) + target_region = + { + -- enterRegion时移除hotSpot + region_1, region_2 + } +} + +]] + + +local extraTriggers = { + { config_id = 8000001, name = "Enter_Teleport_Region", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_Enter_Teleport_Region", trigger_count = 0 }, + { config_id = 8000002, name = "Time_Axis_RemoveHotSpot", event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "", action = "action_Time_Axis_RemoveHotSpot", trigger_count = 0 }, + { config_id = 8000004, name = "Gadget_Create", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "", action = "action_Gadget_Create", trigger_count = 0 }, + { config_id = 8000005, name = "Quest_Notify_CreateHotSpot", event = EventType.EVENT_QUEST_START, source = "1301415", condition = "", action = "action_Quest_Notify_CreateHotSpot", trigger_count = 0 }, + { config_id = 8000006, name = "Quest_Notify_DelHotSpot", event = EventType.EVENT_QUEST_FINISH, source = "1301416", condition = "", action = "action_Quest_Notify_DelHotSpot", trigger_count = 0 }, +} + +function LF_Initialize() + for k,v in pairs(extraTriggers) do + table.insert(triggers, v) + if nil ~= suites[17] then + table.insert(suites[17].triggers, v.name) + end + end +end + +function action_Enter_Teleport_Region(context, evt) + + if nil == defs.hot_spots[evt.param1] then + return 0 + end + + LF_CreateHotSpot(context, evt.param1) + + return 0 +end + +function action_Gadget_Create(context, evt) + + if 70320041 ~= evt.param2 then + return 0 + end + ScriptLib.SetGadgetStateByConfigId(context, evt.param1, 201) + --LD流程迭代后 不保证最新创生的即当前所需传送门,有可能出现创/删顺序错误,已经将Region改成和各自传送门gadget在同一suite,只用EnterREgion,不再用GadgetCreate + --LF_CreateHotSpotByGadget(context, evt.param1) + return 0 +end + +function action_Quest_Notify_CreateHotSpot(context, evt) + if nil == defs.hotspot_cs then + return 0 + end + --先清除 + LF_ClearAllHotSpot(context) + --创建 + local ret = ScriptLib.CreateGadget(context, { config_id = defs.hotspot_cs }) + if 0 == ret then + ScriptLib.PrintContextLog(context,"## [TeleportHotSpot] action_Quest_Notify_CreateHotSpot.") + return 0 + end + ScriptLib.PrintContextLog(context,"## [TeleportHotSpot] action_Quest_Notify_CreateHotSpot failed! ret@"..ret) + return 0 +end + +function action_Quest_Notify_DelHotSpot(context, evt) + if nil == defs.hotspot_cs then + return 0 + end + LF_ClearAllHotSpot(context) + return 0 +end + +function SLC_TeleportHotSpot_NeedRemove(context) + local config_id = ScriptLib.GetGadgetConfigId(context, { gadget_eid = context.source_entity_id }) + --校验来源 + if 70320041 ~= gadgets[config_id].gadget_id then + return 0 + end + for i, v in ipairs(defs.hot_spots) do + if v.teleport_gadget == config_id then + ScriptLib.InitTimeAxis(context, "remove_"..v.hot_spot, { 5 }, false) + return 0 + end + end + return 0 +end + +function LF_CreateHotSpot(context, region_id) + + --该region对应的hotSpot是否已经在场 + if -1 ~= ScriptLib.GetGadgetStateByConfigId(context, 0, defs.hot_spots[region_id].hot_spot) then + return 0 + end + + --若有teleport_gadget配置,则检查其是否存在 --不检查了 LF_ClearAllHotSpot确保每次场上只有一个就行 + --[[if nil ~= defs.hot_spots[region_id].teleport_gadget and 0 < defs.hot_spots[region_id].teleport_gadget then + if -1 == ScriptLib.GetGadgetStateByConfigId(context, 0, defs.hot_spots[region_id].teleport_gadget) then + ScriptLib.PrintContextLog(context,"## [TeleportHotSpot] LF_CreateHotSpot. Denied. region@"..region_id.." teleport_gadget@"..defs.hot_spots[region_id].teleport_gadget.." is not placed.") + return 0 + end + end]] + + --先清除 + LF_ClearAllHotSpot(context) + --创建 + local ret = ScriptLib.CreateGadget(context, { config_id = defs.hot_spots[region_id].hot_spot }) + if 0 == ret then + ScriptLib.PrintContextLog(context,"## [TeleportHotSpot] LF_CreateHotSpot. region_id@"..region_id.." Create spot@"..defs.hot_spots[region_id].hot_spot) + end + + return 0 +end + +function LF_CreateHotSpotByGadget(context, config_id) + ScriptLib.PrintContextLog(context,"## [TeleportHotSpot] LF_CreateHotSpotByGadget. config_id@"..config_id) + for k,v in pairs(defs.hot_spots) do + if v.teleport_gadget == config_id then + --[[local region_eid = ScriptLib.GetEntityIdByConfigId(context, k) + ScriptLib.PrintContextLog(context,"## [TeleportHotSpot] LF_CreateHotSpotByGadget. region_eid@"..region_eid .. " configID@"..k) + if 1 <= ScriptLib.GetRegionEntityCount(context, { region_eid = region_eid, entity_type = EntityType.AVATAR }) then]] + LF_CreateHotSpot(context, k) + return 0 + --end + end + end + ScriptLib.PrintContextLog(context,"## [TeleportHotSpot] LF_CreateHotSpotByGadget. Region not placed. config_id@"..config_id) + return 0 +end + +function LF_ClearAllHotSpot(context) + for k,v in pairs(defs.hot_spots) do + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, v.hot_spot) + end + if nil ~= defs.hotspot_cs then + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, defs.hotspot_cs) + end + return 0 +end + +function action_Time_Axis_RemoveHotSpot(context, evt) + + local name = string.sub(evt.source_name, 1, 6) + if "remove" ~= name then + return 0 + end + + local div = string.find(evt.source_name, "_") + if nil == div then + return 0 + end + local config_id = tonumber(string.sub(evt.source_name, div + 1, #evt.source_name)) + if nil == config_id then + return 0 + end + ScriptLib.PrintContextLog(context,"## [TeleportHotSpot] Remove hot spot timeaxis passed. config_id@"..config_id) + if nil == gadgets[config_id] then + return 0 + end + ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.GADGET, config_id) + + return 0 +end + +--用于检查value是否在目标table中 +function LF_CheckIsInTable(context, value, check_table) + + for i = 1, #check_table do + if check_table[i] == value then + return true + end + end + return false +end + +LF_Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_3/BrickBreaker.lua b/Resources/Scripts/Common/V3_3/BrickBreaker.lua index 6135335a2..af1ae6ca7 100644 --- a/Resources/Scripts/Common/V3_3/BrickBreaker.lua +++ b/Resources/Scripts/Common/V3_3/BrickBreaker.lua @@ -42,7 +42,7 @@ local DungeonWeather = { 10039,10040,10041,10042 } -defs = { +local defs = { group_id = 235801002, worktop_id = 123, --操作台对应的操作数 air_wall = 2005, --场内空气墙对应的ConfigID diff --git a/Resources/Scripts/Common/V3_3/CoinCollect.lua b/Resources/Scripts/Common/V3_3/CoinCollect.lua index 010f39bdd..172475488 100644 --- a/Resources/Scripts/Common/V3_3/CoinCollect.lua +++ b/Resources/Scripts/Common/V3_3/CoinCollect.lua @@ -7,7 +7,7 @@ =======================================]] --[[ -defs = +local defs = { -- 还剩多少秒的时候出现金币提示光柱 hintTime = 30, @@ -25,7 +25,7 @@ defs = galleryId = 99, } -defs_miscs = +local defs_miscs = { -- 特殊金币和它们关联的普通金币们,有几个特殊金币就应该有几项 specialCoinTable = { diff --git a/Resources/Scripts/Common/V3_3/HideAndSeek_Gallery_V3.lua b/Resources/Scripts/Common/V3_3/HideAndSeek_Gallery_V3.lua index cdd7cec9d..a9dc36b9e 100644 --- a/Resources/Scripts/Common/V3_3/HideAndSeek_Gallery_V3.lua +++ b/Resources/Scripts/Common/V3_3/HideAndSeek_Gallery_V3.lua @@ -8,7 +8,7 @@ --[[ -defs = +local defs = { gadget_prison = gadget_id, duration = 240, diff --git a/Resources/Scripts/Common/V3_3/MistTrialV3.lua b/Resources/Scripts/Common/V3_3/MistTrialV3.lua index a032af274..c72f8e9f5 100644 --- a/Resources/Scripts/Common/V3_3/MistTrialV3.lua +++ b/Resources/Scripts/Common/V3_3/MistTrialV3.lua @@ -19,7 +19,7 @@ 最终挑战 903 --]] --[[ - defs = { + local defs = { --galleryID gallery_id = , diff --git a/Resources/Scripts/Common/V3_3/TestEyepointLod.lua b/Resources/Scripts/Common/V3_3/TestEyepointLod.lua index 47dffc4de..116887772 100644 --- a/Resources/Scripts/Common/V3_3/TestEyepointLod.lua +++ b/Resources/Scripts/Common/V3_3/TestEyepointLod.lua @@ -6,7 +6,7 @@ || Protection: =======================================]] --[[ -defs = { +local defs = { target_region_config_id = 1, related_big_region_config_id = 2, } diff --git a/Resources/Scripts/Common/V3_4/Activity_SeaLampParkour.lua b/Resources/Scripts/Common/V3_4/Activity_SeaLampParkour.lua index 21311a72a..2b81d4f1a 100644 --- a/Resources/Scripts/Common/V3_4/Activity_SeaLampParkour.lua +++ b/Resources/Scripts/Common/V3_4/Activity_SeaLampParkour.lua @@ -10,7 +10,7 @@ --Defs & Miscs || 需要LD配置的内容 --[[ -defs = { +local defs = { gallery_id = , diff --git a/Resources/Scripts/Common/V3_4/Activity_TeamChainChallenge.lua b/Resources/Scripts/Common/V3_4/Activity_TeamChainChallenge.lua index e69de29bb..783498c86 100644 --- a/Resources/Scripts/Common/V3_4/Activity_TeamChainChallenge.lua +++ b/Resources/Scripts/Common/V3_4/Activity_TeamChainChallenge.lua @@ -0,0 +1,310 @@ +--ServerUploadTool Save to [/root/env/data/lua/common/V3_4] +--====================================================================================================================== +--|| Filename || Activity_TeamChainChallenge +--|| RelVersion || V3_4 +--|| Owner || shuo-yu +--|| Description || +--|| LogName || ##[Activity_TeamChainChallenge] +--|| Protection || +--====================================================================================================================== +--Defs & Miscs || 需要LD配置的内容 +-- local defs = +-- { +-- starter_gadget = 0, +-- gallery_id = 0, +-- teleportPos_id = 0, +-- groups_info = +-- { +-- [1] = {id = 1, monster_num = 10,}, +-- [2] = {id = 2, monster_num = 10,}, +-- [3] = {id = 3, monster_num = 10,}, +-- [4] = {id = 4, monster_num = 10,}, +-- }, +-- } + +--====================================================================================================================== +--Events || Group内EVENT事件,记得初始化和return 0 + +--====================================================================================================================== +--ServerLuaCalls || 物件SLC,记得return 0 + +--====================================================================================================================== +--LevelFunctions || 自定义函数 + +local Tri = { + + --主控group加载 初始化所有玩法group + { config_id = 34000010, name = "group_load", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0 }, + --所有玩家死掉 触发关卡失败 + { config_id = 34000020, name = "dungeon_all_avatar_die", event = EventType.EVENT_DUNGEON_ALL_AVATAR_DIE, source = "", condition = "condition_dungeon_all_avatar_die", action = "action_dungeon_all_avatar_die", trigger_count = 0 }, + --变量变化 开启或停止玩法 GALLERY_STATE: 0未开启 1开启 2子阶段成功 3子阶段失败 + { config_id = 34000030, name = "variable_change", event = EventType.EVENT_VARIABLE_CHANGE, source = "GALLERY_STATE", condition = "", action = "action_variable_change", trigger_count = 0 }, + --任一怪物死亡 触发怪物计分变化 + { config_id = 34000040, name = "dungeon_any_monster_die", event = EventType.EVENT_ANY_MONSTER_DIE, source = "GALLERY_STATE", condition = "", action = "action_any_monster_die", trigger_count = 0 }, + --时间轴开启时传送 结束后触发下一玩法group加载 + { config_id = 34000050, name = "time_axis_pass", event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "", action = "action_time_axis_pass", trigger_count = 0 }, +} + +function TeamChain_Initialize() + + LF_InsertTriggers(Tri,1) + --子阶段开启结束Var 0未开启 1开启 2子阶段成功 3子阶段失败 + --table.insert(variables,{ config_id=50000001,name = "GALLERY_STATE", value = 0, no_refresh = true}) + --关卡内GroupIndex 1主控Group 2~4阶段Group + table.insert(variables,{ config_id=50000002,name = "GROUP_INDEX", value = 1, no_refresh = true}) +end + +------------------------------------------------------------------ + + +--主控group load后 初始化玩法 +function action_group_load(context,evt) + LF_PrintLog(context,"action_group_load:主控group加载,初始化玩法") + LF_InitPlay(context) + return 0 +end + +--判断是否所有玩家都死了 +function condition_dungeon_all_avatar_die(context,evt) + local uid_list = ScriptLib.GetSceneUidList(context) + + local ret = 0 + + for i,v in ipairs(uid_list) do + local is_all_dead = ScriptLib.IsPlayerAllAvatarDie(context, v) + if true ~= is_all_dead then + ret = -1 + break + end + end + + if ret ~= 0 then + return false + end + + return true +end + +--玩家全部死亡结束玩法并设置失败 +function action_dungeon_all_avatar_die(context,evt) + LF_PrintLog(context,"action_dungeon_all_avatar_die: 所有玩家的所有角色都死掉") + LF_StopPlay(context,false) + + return 0 +end + +--有怪物死亡更新显示 +function action_any_monster_die(context,evt) + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["kill_monster_cnt"] = 1}) + + return 0 +end + +--GALLERY_STATE变化 0待机 1开启玩法 2结束玩法并设置成功 3结束玩法并设置失败 +function action_variable_change(context,evt) + LF_PrintLog(context,"设置参数") + LF_PrintLog(context,tostring(evt.param1)) + if evt.param1 == 1 then + LF_StartPlay(context) + elseif evt.param1 == 2 then + LF_StopPlay(context, true) + elseif evt.param1 == 3 then + LF_StopPlay(context, false) + end + return 0 +end + +--时间轴结束 加载下一玩法group +function action_time_axis_pass(context,evt) + if evt.source_name == "teleport" then + local index = LF_GetGroupIndex(context) + + if index == -1 then + LF_PrintLog(context,"Axis Pass Failed: table越界") + return 0 + end + LF_PrintLog(context,"传送结束") + LF_InitNextGroup(context,index) + end + + return 0 +end + +--ServerLuaCall +--操作台点对应选项 开启玩法 +function SLC_Activity_TeanChainChallenge_StartPlay(context) + -- 触发挑战trigger + ScriptLib.SetGroupVariableValue(context,"GALLERY_STATE",1) + LF_SetWorkTopActive(context, false) + return 0 +end + +--LF Func +function LF_PrintLog(context, content) + local log = "## [Activity_TeamChainChallenge] TD: "..content + ScriptLib.PrintContextLog(context, log) +end + +--初始化玩法 加载所有玩法group +function LF_InitPlay(context) + + for k,v in pairs(defs.groups_info) do + ScriptLib.RefreshGroup(context, { group_id = v.id, suite = 1 }) + LF_PrintLog(context,"加载玩法group,id: ".. v.id) + end + + LF_InitNextGroup(context,1) + + return 0 +end + +--开启玩法 启动gallery 切换当前玩法group suite至2 传怪物数目 +function LF_StartPlay(context) + --先尝试启动gallery,如果未成功,则直接返回 + if (ScriptLib.SetPlayerStartGallery(context, defs.gallery_id, ScriptLib.GetSceneUidList(context)) ~= 0) then + return 0 + end + + LF_PrintLog(context,"开启gallery"..defs.gallery_id) + + local index = LF_GetGroupIndex(context) + + if index == -1 then + LF_PrintLog(context,"StartPlay Failed: table越界") + return 0 + end + + ScriptLib.AddExtraGroupSuite(context,defs.groups_info[index].id,2) + LF_PrintLog(context,"加载下个group,id: ".. defs.groups_info[index].id) + + ScriptLib.UpdatePlayerGalleryScore(context, defs.gallery_id, {["total_kill_cnt"] = defs.groups_info[index].monster_num}) + + return 0 +end +--结束玩法 成功初始化下一group 失败直接cause dungeon fail +function LF_StopPlay(context, is_success) + local index = LF_GetGroupIndex(context) + + if index == -1 then + LF_PrintLog(context,"StopPlay Failed: table越界") + return 0 + end + + if (is_success) then + --成功通关 + LF_PrintLog(context,"成功通关阶段"..(index)) + ScriptLib.StopGalleryByReason(context,defs.gallery_id,3) + + local mPos = {x=LF_GetPointPos(context, defs.teleportPos_id).x, + y=LF_GetPointPos(context, defs.teleportPos_id).y, + z=LF_GetPointPos(context, defs.teleportPos_id).z,} + + if index < 4 then + ScriptLib.TransPlayerToPos(context, {uid_list =ScriptLib.GetSceneUidList(context), + pos = mPos, + radius = 0, rot = LF_GetPointRot(context, defs.teleportPos_id)}) + ScriptLib.InitTimeAxis(context, "teleport", {1}, false) + + elseif index == 4 then + LF_PrintLog(context,"成功通关大关") + LF_ResetAllVars(context) + ScriptLib.CauseDungeonSuccess(context) + end + + else + --失败 + LF_PrintLog(context,"失败") + ScriptLib.StopGalleryByReason(context,defs.gallery_id,4) + ScriptLib.CauseDungeonFail(context) + LF_ResetAllVars(context) + end + + return 0 +end + +--清理当前group 更改GROUP_INDEX为下阶段 GALLERY_STATE重置回待命 +function LF_InitNextGroup(context,index) + + if index ~= 1 then + ScriptLib.RefreshGroup(context, { group_id = defs.groups_info[index].id, suite = 1 }) + LF_PrintLog(context,"清空当前group,id: ".. defs.groups_info[index].id) + end + + index = index + 1 + ScriptLib.SetGroupVariableValue(context,"GROUP_INDEX",index) + LF_PrintLog(context,"下阶段为:["..index.."]") + + LF_SetWorkTopActive(context, true) + ScriptLib.SetGroupVariableValue(context,"GALLERY_STATE",0) + return 0 + +end + +--设置操作台状态 +function LF_SetWorkTopActive(context, is_active) + LF_PrintLog(context, "更新gadget信息") + if (is_active) then + ScriptLib.SetGadgetStateByConfigId(context, defs.starter_gadget, GadgetState.Default) + else + ScriptLib.SetGadgetStateByConfigId(context, defs.starter_gadget, GadgetState.GearStop) + end + LF_PrintLog(context,"设置操作台"..(is_active and "显示" or "隐藏")) + LF_PrintLog(context, "更新gadget信息完毕") + return 0 +end + +--重置所有variable value +function LF_ResetAllVars(context) + ScriptLib.SetGroupVariableValue(context,"GROUP_INDEX",1) + ScriptLib.SetGroupVariableValue(context,"GALLERY_STATE",0) +end + +--插入trigger +function LF_InsertTriggers(TempTrigger,suiteIndex) + if suiteIndex <= 0 or suiteIndex > #suites then + return -1 + end + + for k,v in pairs(TempTrigger) do + table.insert(triggers,v) + table.insert(suites[suiteIndex].triggers,v.name) + end + return 0 +end + +--获取Point Pos Vec3 +function LF_GetPointPos(context,point_id) + for k,v in pairs(points) do + if v.config_id == point_id then + return v.pos + end + end + + return 0 +end + +--获取Point Rot Vec3 +function LF_GetPointRot(context,point_id) + + for k,v in pairs(points) do + if v.config_id == point_id then + return v.rot + end + end + + return 0 +end + +--获取当前group index 越界返回-1 +function LF_GetGroupIndex(context) + local index = ScriptLib.GetGroupVariableValue(context, "GROUP_INDEX") + + if index > 4 or index < 1 then + --reset + LF_PrintLog(context,"Groups下标越界"..index) + return -1 + end + return index +end +------------------------------------------------------------------ +TeamChain_Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_4/BoomMonsterCamp.lua b/Resources/Scripts/Common/V3_4/BoomMonsterCamp.lua index e69de29bb..0b4e4fe71 100644 --- a/Resources/Scripts/Common/V3_4/BoomMonsterCamp.lua +++ b/Resources/Scripts/Common/V3_4/BoomMonsterCamp.lua @@ -0,0 +1,222 @@ +--[[ + +-- DEFS_MISCS + +local defs = { + duration = 30, + kill_sum = 1, + GroupID = 111102025, + gadget_controller_id = 25004, + ChallengeID = 1, + MonstersuitID = 2, +} + + +--]] +local defs = { + duration = 30, + kill_sum = 1, + GroupID = 111102025, + gadget_controller_id = 25004, + ChallengeID = 71, + FireworkRegion = 25002, + ChallengeStartRegion = 25003, + MonsterNum = 4, --Group中所有怪物的数量,用来控制挑战计数 + FireworkID = 25005, +} + +local Phase ={ + [1] = {2}, + [2] = {3}, + [3] = {4}, + [4] = {5}, +} + +--------------------- +local tempTrigger_BoomMonsterCamp = { + + { config_id = 2230000, name = "RISE_CHALLENGE", event = EventType.EVENT_ENTER_REGION, source = "1", + condition = "", action = "action_RISE_CHALLENGE", trigger_count = 0}, + { config_id = 2230001, name = "ANY_MONSTER_DIE_25015", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "", action = "action_EVENT_ANY_MONSTER_DIE_25015", trigger_count = 0, tag = "25015"}, + { config_id = 2330002, name = "ChallengeEndCheckWin", event = EventType.EVENT_CHALLENGE_SUCCESS, source = tostring(10*defs.ChallengeID), condition = "", action = "action_ChallengeWin" }, + { config_id = 2330003, name = "ChallengeEndCheckLose", event = EventType.EVENT_CHALLENGE_FAIL, source = tostring(10*defs.ChallengeID), condition = "", action = "action_ChallengeLose" }, + { config_id = 2230004, name = "LEAVE_REGION_Challenge", event = EventType.EVENT_LEAVE_REGION, source = "1", + condition = "", action = "action_LEAVE_REGION_Challenge", trigger_count = 0}, + { config_id = 2330005, name = "VARIABLE_CHANGE_BundleEnd", event = EventType.EVENT_VARIABLE_CHANGE, source = "StartNextGroup", + condition = "", action = "action_VARIABLE_CHANGE_BundleEnd", trigger_count = 0}, + +} + +--------初始化---------- +function LF_Initialize_BoomMonsterCamp() + for k,v in pairs(tempTrigger_BoomMonsterCamp) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end +end + +LF_Initialize_BoomMonsterCamp() + +--------公用函数---------- +-- Gadget发送事件后触发对应挑战 +function action_RISE_CHALLENGE(context, evt) + + if evt.param1 ~= defs.ChallengeStartRegion or ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + ScriptLib.PrintContextLog(context,evt.param1, "## TD_BoomMonsterCamp : 非对应挑战Region触发 ") + return 0 + end + + -- 防止连续启挑战 + if -1 == LF_CheckChallenge(context) then return 0 end + + -- 检查Group中怪物是否已经全死 + local MDNum = ScriptLib.GetGroupVariableValue(context,"MonsterDieNum") + if 0 ~= LF_CheckMonsterNum(context,MDNum) then + return 0 + end + + ScriptLib.PrintContextLog(context, "## TD_BoomMonsterCamp : 准备开启挑战") + + --ScriptLib.PrintContextLog(context, "## MDNum" .. MDNum .. "") + ScriptLib.StartChallenge(context, 10*defs.ChallengeID, defs.ChallengeID, {1, 25015, 4, 1, MDNum}) + + ScriptLib.PrintContextLog(context, "## TD_BoomMonsterCamp : 挑战已经开启,设置变量,防止重复进出") + ScriptLib.SetGroupTempValue(context, "haveStartChallenge", 1, {}) + + ScriptLib.PrintContextLog(context, "## TD_BoomMonsterCamp : 开始添加怪物") + -- yc 这里的变量是不存档的,也是不会让挑战重复开启,是满足了挑战“没有完成”,需要重复开启的情况 + LF_RefreshPhaseSuit(context) + + ScriptLib.PrintContextLog(context, "## test : 3333") + return 0 +end + +--[[ +-- 触发条件 +function condition_EVENT_ANY_MONSTER_DIE_25015(context, evt) + -- 判断指定group组剩余怪物数量是否是0 + if ScriptLib.GetGroupMonsterCountByGroupId(context, 111102025) ~= 0 then + return false + end + + return true +end +--]] + +-- 触发操作 +function action_EVENT_ANY_MONSTER_DIE_25015(context, evt) + + ScriptLib.ChangeGroupVariableValue(context, "MonsterDieNum", 1) + if ScriptLib.GetGroupMonsterCountByGroupId(context, 111102025) ~= 0 then + return 0 + end + + ScriptLib.PrintContextLog(context, "## TD_BoomMonsterCamp : 怪物死亡,stage变更") + ScriptLib.ChangeGroupVariableValue(context, "stage", 1) + LF_RefreshPhaseSuit(context) + + return 0 +end + + +function action_ChallengeWin(context, evt) + ScriptLib.PrintContextLog(context, "## TD_BoomMonsterCamp : 挑战成功,关闭Region ") + ScriptLib.SetGroupTempValue(context, "haveStartChallenge", 2, {}) + ScriptLib.AddExtraGroupSuite(context, defs.GroupID, 5) + ScriptLib.RemoveEntityByConfigId(context, defs.GroupID, EntityType.REGION, defs.ChallengeStartRegion) + return 0 +end + +function action_ChallengeLose(context, evt) + ScriptLib.PrintContextLog(context, "## TD_BoomMonsterCamp : 挑战失败,关闭并刷新Region ") + --ScriptLib.RemoveEntityByConfigId(context, defs.GroupID, EntityType.MONSTER, 25001) + --失败了只刷新挑战启动区域,不刷新烟花 + ScriptLib.RefreshGroup(context, { group_id = defs.GroupID, suite = 1 }) + --杀掉进入时的烟花,这里要多加个参数,让LD来告诉烟花的configid + ScriptLib.KillEntityByConfigId(context, {group_id=111102025, config_id=defs.FireworkID}) + ScriptLib.SetGroupTempValue(context, "haveStartChallenge", 0, {}) + return 0 +end + +function LF_CheckChallenge(context) + local haveStartChallenge = ScriptLib.GetGroupTempValue(context, "haveStartChallenge",{}) + if 1 == haveStartChallenge then + ScriptLib.PrintContextLog(context, "## TD_BoomMonsterCamp : 挑战已触发,不再重复触发 ") + return -1 + end + if 2 == haveStartChallenge then + ScriptLib.PrintContextLog(context, "## TD_BoomMonsterCamp : 挑战已结束,不再触发 ") + return -1 + end + + return 0 +end + +function LF_CheckMonsterNum(context,MDNum) + if MDNum < defs.MonsterNum then + return 0 + end + + ScriptLib.PrintContextLog(context, "## TD_BoomMonsterCamp : 挑战应已完成,请检查进入原因 ") + return -1 +end + + +-- 离开指定区域且区域内人员为零时挑战失败 +function action_LEAVE_REGION_Challenge(context, evt) + if evt.param1 == defs.ChallengeStartRegion and ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + ScriptLib.StopChallenge(context, 10*defs.ChallengeID, 0) + end + return 0 +end + +--记录当前刷新的怪物的波次,方便下次挑战 +function LF_RefreshPhaseSuit(context) + + local stage = ScriptLib.GetGroupVariableValue(context, "stage") + + if nil == Phase then + ScriptLib.PrintContextLog(context, "## TD_BoomMonsterCamp : Group: " .. defs.GroupID .. "没有对应Phase") + return 0 + end + + if stage > #Phase then + ScriptLib.PrintContextLog(context, "## TD_BoomMonsterCamp : stage超过Phase界限,stage = " .. stage) + return 0 + end + + + local needRefreshSuit = Phase[stage] + + ScriptLib.PrintContextLog(context, "## TD_BoomMonsterCamp : PhaseStage= " .. stage .. "需要刷新的suit为:" .. LF_arrayToString(needRefreshSuit)) + + for k,v in ipairs(needRefreshSuit) do + ScriptLib.AddExtraGroupSuite(context, defs.GroupID, v) + end + + ScriptLib.PrintContextLog(context, "## 添加怪物成功") + + return 0 +end + +-- 结束Bundle +function action_VARIABLE_CHANGE_BundleEnd(context, evt) + ScriptLib.PrintContextLog(context, "## TD_BoomMonsterCamp : 开启了宝箱,FinishGroupLink ") + ScriptLib.RemoveEntityByConfigId(context, defs.GroupID, EntityType.REGION, defs.ChallengeStartRegion) + ScriptLib.FinishGroupLinkBundle(context, defs.GroupID) + return 0 +end + + +function LF_arrayToString(array) + local s = "{" + for k,v in pairs(array) do + if k < #array then + s = s .. v .."," + else + s = s .. v + end + end + s = s .."}" + return s +end \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_4/SandwormAlertControl.lua b/Resources/Scripts/Common/V3_4/SandwormAlertControl.lua index e69de29bb..9ddac23ef 100644 --- a/Resources/Scripts/Common/V3_4/SandwormAlertControl.lua +++ b/Resources/Scripts/Common/V3_4/SandwormAlertControl.lua @@ -0,0 +1,286 @@ +--[[====================================== +|| filename: +|| owner: luyao.huang +|| description: +|| LogName: +|| Protection: +=======================================]]-- + + +local defs = +{ + sandworm_id = 1030, + direct_sandworm_id = 1031, + alert_max_value = 1000 +} + +---- + +-- +local local_defs = { + request_list_capacity = 3, + --占据90010000后的若干字段,不要占用这些字段的var + array_base_offset = 90010000, +} + +local sandworm_state = +{ + waiting = 0, + attacking = 1 +} + +local business_type_defs = +{ + --大世界 + --目标玩家为沙虫区域内的一个随机合法玩家 + bigworld = 0, + --挑战 + --目标玩家为主机 + challenge = 1, + --指定地点直接召唤 + --没有目标玩家,但要找一组指定地点 + direct = 2, +} + +local sandworm_default_params = +{ + business_type = business_type_defs.bigworld, + sandworm_params_config_id = 0, + target_pos_x = 0, + target_pos_y = 0, + target_pos_z = 0 +} + + + +local Tri = { + [1] = { name = "variable_change_alert", config_id = 10020001, event = EventType.EVENT_VARIABLE_CHANGE, source = "alert_value", condition = "", action = "action_variable_change_alert", trigger_count = 0}, + [2] = { name = "group_will_unload_alert", config_id = 10020002, event = EventType.EVENT_GROUP_WILL_UNLOAD, source = "", condition = "", action = "action_group_will_unload_alert", trigger_count = 0}, +} + +function Initialize() + for k,v in pairs(Tri) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + --警戒值 + table.insert(variables,{ config_id = 90000001, name = "alert_value", value = 0}) + --沙虫状态 + table.insert(variables,{ config_id = 90000002, name = "sandworm_state", value = 0}) + + table.insert(variables,{ config_id = 90000110, name = "start_sandworm_attack_count", value = 0}) + table.insert(variables,{ config_id = 90000111, name = "sandworm_attack_count_target_group", value = 0}) +end + +--[[----------------------------------------------------------------- +|| || +|| 触发器回调 || +|| || +-----------------------------------------------------------------]]-- + +--沙虫警戒值变化 +function action_variable_change_alert(context,evt) + ScriptLib.PrintContextLog(context,"## [SandwormAlertControl] variable_change: 当前沙虫警戒值为"..evt.param1) + if evt.param1 >= defs.alert_max_value then + if not LF_Sandworm_Is_Attacking(context) then + ScriptLib.PrintContextLog(context,"## [SandwormAlertControl] variable_change: 沙虫警戒度超过最大值,召唤沙虫") + local current_request = LF_Get_Max_Priority_Request(context) + local origin_group_id = current_request.group_id + LF_Create_Sandworm(context,origin_group_id) + LF_Set_Sandworm_State(context,sandworm_state.attacking) + end + end + if evt.param1 <= 0 then + LF_Remove_Sandworm(context) + end + return 0 +end + +function action_group_will_unload_alert(context,evt) + + ScriptLib.PrintContextLog(context,"## [SandwormAlertControl] group即将卸载,重置警戒值以及其他参数") + ScriptLib.SetGroupVariableValue(context,"sandworm_state",sandworm_state.waiting) + ScriptLib.SetGroupVariableValue(context,"alert_value",0) + ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, defs.sandworm_id) + return 0 +end + + +--[[----------------------------------------------------------------- +|| || +|| 沙虫管理 || +|| || +-----------------------------------------------------------------]]-- + +--在指定玩家身边生成一只沙虫 +--需要传入参数请求依赖的groupid +function LF_Create_Sandworm(context,origin_group_id) + ScriptLib.PrintContextLog(context,"## [SandwormAlertControl] LF_Create_Sandworm: 创生沙虫") + --先确保取参数的目标group活着,否则参数是 + --if ScriptLib.IsGroupRegisteredInCurScene(context,origin_group_id) then + local business_type = ScriptLib.GetGroupVariableValueByGroup(context,"business_type",origin_group_id) + if business_type == business_type_defs.direct then + local pos_x = ScriptLib.GetGroupVariableValueByGroup(context,"target_pos_x",origin_group_id) + local pos_y = ScriptLib.GetGroupVariableValueByGroup(context,"target_pos_y",origin_group_id) + local pos_z = ScriptLib.GetGroupVariableValueByGroup(context,"target_pos_z",origin_group_id) + ScriptLib.CreateGadgetByParamTable(context,{config_id = defs.direct_sandworm_id,pos = {x=pos_x,y=pos_y+1.5,z=pos_z}, rot = {x=0,y=0,z=0}}) + --这种调用都是一次性的,召出沙虫后立刻清理掉这次参数,防止被其他地方反复召唤 + local index = LF_Get_Request_Index_From_List_By_Request_Id(context,origin_group_id) + if index == -1 then + return -1 + end + LF_Remove_Request_From_List_By_Index(context,index) + else + local sandworm_params_config_id = ScriptLib.GetGroupVariableValueByGroup(context,"sandworm_params_config_id",origin_group_id) + local sandworm_params = sandworm_dynamic_params[sandworm_params_config_id] + local range = sandworm_static_params.range + local ambush_times = sandworm_params.ambush_times + local attack_times = sandworm_params.attack_times + local target_uid = 0 + if business_type == business_type_defs.bigworld then + target_uid = LF_Get_Legal_Player_Uid_In_Legal_Sandworm_Region(context) + elseif business_type == business_type_defs.challenge then + target_uid = ScriptLib.GetSceneOwnerUid(context) + end + local owner_eid = ScriptLib.GetAvatarEntityIdByUid(context,target_uid) + local pos = ScriptLib.GetPosByEntityId(context,owner_eid) + local rpos = LF_Get_Random_Neighbour(context,pos,range[1],range[2]) + ScriptLib.CreateGadgetByParamTable(context,{config_id = defs.sandworm_id,pos = {x=rpos.x,y=rpos.y+1.5,z=rpos.z}, rot = {x=0,y=0,z=0}, + sgv_key = {"SGV_Ambush_Times","SGV_Attack_Times"}, sgv_value = {ambush_times,attack_times}}) + end + --end +end + +--客户端通知沙虫攻击完成 +--服务端流程强依赖客户端沙虫攻击完成的SLC,否则直接卡死,需要考虑保底 +function SLC_Sandworm_Attack_Finish(context) + ScriptLib.PrintContextLog(context,"## [SandwormAlertControl] SLC_Sandworm_Attack_Finish: 客户端通知,沙虫攻击完成") + LF_Set_Sandworm_State(context,sandworm_state.waiting) + LF_Set_Alert_Value(context,0) + return 0 +end + +--清除沙虫gadget,但不影响沙虫警戒值 +function LF_Remove_Sandworm(context) + ScriptLib.PrintContextLog(context,"## [SandwormAlertControl] LF_Remove_Sandworm: 移除沙虫并恢复沙虫等待状态") + ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, defs.sandworm_id) + LF_Set_Sandworm_State(context,sandworm_state.waiting) +end + + +--由别的group请求清除主动沙虫,通常是由于出界引起的 +--需要校验请求的id与当前堆顶的参数请求来源id是否一致,如果不一致直接无视 +function LF_Request_Remove_Sandworm(context,prev_context,origin_group_id) + ScriptLib.PrintContextLog(context,"## [SandwormAlertControl] LF_Request_Remove_Sandworm: 请求移除沙虫,请求id为"..origin_group_id) + local current_request = LF_Get_Max_Priority_Request(context) + if current_request.group_id == origin_group_id then + ScriptLib.PrintContextLog(context,"## [SandwormAlertControl] LF_Request_Remove_Sandworm: 与当前堆顶id一致,移除沙虫") + LF_Remove_Sandworm(context) + return 0 + else + ScriptLib.PrintContextLog(context,"## [SandwormAlertControl] LF_Request_Remove_Sandworm: 与当前堆顶id不一致,移除失败") + return -1 + end +end + + +function LF_Set_Sandworm_State(context,state) + ScriptLib.SetGroupVariableValue(context,"sandworm_state",state) +end + +function LF_Get_Sandworm_State(context) + return ScriptLib.GetGroupVariableValue(context,"sandworm_state") +end + +function LF_Sandworm_Is_Attacking(context) + return LF_Get_Sandworm_State(context) == sandworm_state.attacking +end + +--[[----------------------------------------------------------------- +|| || +|| 警戒值控制 || +|| || +-----------------------------------------------------------------]]-- + +--外部请求修改警戒值 +function LF_Request_Change_Alert_Value(context,prev_context,delta) + return LF_Change_Alert_Value(context,delta) +end + +--外部请求修改警戒值 +function LF_Request_Set_Alert_Value(context,prev_context,target_value) + return LF_Set_Alert_Value(context,target_value) +end + +function LF_Change_Alert_Value(context,delta) + --沙虫攻击时,锁警戒值变动 + if not LF_Sandworm_Is_Attacking(context) then + ScriptLib.ChangeGroupVariableValue(context,"alert_value",delta) + return 0 + end + return -1 +end + +function LF_Set_Alert_Value(context,target_value) + --沙虫攻击时,锁警戒值变动 + if not LF_Sandworm_Is_Attacking(context) then + ScriptLib.SetGroupVariableValue(context,"alert_value",target_value) + return 0 + end + return -1 +end + +function LF_Get_Alert_Value(context) + return ScriptLib.GetGroupVariableValue(context,"alert_value") +end + + + + + +--[[----------------------------------------------------------------- +|| || +|| 杂项方法 || +|| || +-----------------------------------------------------------------]]-- + + +--获取指定位置的随机近邻位置。分布在min_r~max_r为半径的环上 +function LF_Get_Random_Neighbour(context,pos,min_r,max_r) + local random_r = math.random(min_r,max_r) + local random_a = math.random()*math.pi*2 + local rpos_x = pos.x + random_r * math.cos(random_a) + local rpos_z = pos.z + random_r * math.sin(random_a) + local rpos = {x = rpos_x,y = pos.y,z = rpos_z} + return rpos +end + + +--[[----------------------------------------------------------------- +|| || +|| server lua call || +|| || +-----------------------------------------------------------------]]-- + +function SLC_Request_Remove_Current_Sandworm(context) + ScriptLib.PrintContextLog(context,"## [SandwormAlertControl] SLC_Request_Remove_Current_Sandworm: 物件层请求移除沙虫") + local index = ScriptLib.GetGroupVariableValue(context,"max_priority_request_index") + LF_Remove_Request_From_List_By_Index(context,index) + LF_Remove_Sandworm(context) + return 0 +end + +--沙虫攻击计数。 +--注意这套计数的开关没有互斥和队列的逻辑,只要有人要求就会开,有人要求就会关。因此调用的时候确保环境干净 +function SLC_Sandworm_Attack_Success_Count(context) + local is_started = ScriptLib.GetGroupVariableValue(context,"start_sandworm_attack_count") == 1 + if is_started then + local target_group = ScriptLib.GetGroupVariableValue(context,"sandworm_attack_count_target_group") + ScriptLib.ChangeGroupVariableValueByGroup(context,"sandworm_attack_count",1,target_group) + end + return 0 +end + + +------------------------------------------------------------------ +Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_4/SandwormToolkit.lua b/Resources/Scripts/Common/V3_4/SandwormToolkit.lua index e69de29bb..e3572ac63 100644 --- a/Resources/Scripts/Common/V3_4/SandwormToolkit.lua +++ b/Resources/Scripts/Common/V3_4/SandwormToolkit.lua @@ -0,0 +1,371 @@ + +--[[====================================== +|| filename: SandwormToolkit +|| owner: luyao.huang +|| description: 整合了各类沙虫控制方法,可以直接调用或通过tpl调用 +|| LogName: SandwormToolkit +|| Protection: +=======================================]]-- + + +--local defs = { +-- alert_max_value = 1000, +-- normal_sandworm_id = 1030, +-- direct_sandworm_id = 1035, +-- business_type = "bigworld" +--} + + + + + +local local_defs = +{ + sandworm_manager_group = 133314001, +} + + + +local toolkit_Tri = { + [1] = { name = "platform_arrival_toolkit", config_id = 900010001, event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "", action = "action_platform_arrival_toolkit", trigger_count = 0}, +} + +function toolkit_Initialize() + for k,v in pairs(toolkit_Tri) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + + table.insert(variables,{ config_id = 900020001, name = "is_sandworm_alive", value = 0}) +end +--[[----------------------------------------------------------------- +|| || +|| 创生沙虫 || +|| || +-----------------------------------------------------------------]]-- + +--能否创建沙虫? +--比较当前优先级和当前占用沙虫的group的优先级。如果优先级较高则允许这里创建,并让另外一边的沙虫销毁,否则无视这条请求,不允许创建 +function LF_Try_Create_Sandworm(context) + return ScriptLib.ExecuteGroupLua(context,local_defs.sandworm_manager_group,"LF_Request_Create_Sandworm",{base_info.group_id,priority}) == 0 +end + +--召唤沙虫的对外接口 +--召唤一只移动表演用沙虫 +function LF_Summon_Move_Sandworm(context,attack_times) + ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Summon_Move_Sandworm: 请求创生一个移动表演沙虫") + if defs.move_sandworm_id == nil then + ScriptLib.PrintGroupWarning(context,"## [SandwormToolkit] LF_Summon_Move_Sandworm: 请求失败,没有填写一个直接攻击沙虫!!") + return -1 + end + if LF_Try_Create_Sandworm(context) then + ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Summon_Move_Sandworm: 当前沙虫未被占用,开始创建") + LF_Create_Move_Sandworm(context,attack_times) + ScriptLib.SetGroupVariableValue(context,"is_sandworm_alive",1) + LF_On_Create_Sandworm_Success(context) + return 0 + else + ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Summon_Move_Sandworm: 当前沙虫被占用,创建失败") + LF_On_Create_Sandworm_Fail(context) + return -1 + end +end + +--命令巡游沙虫进行攻击 +--如果巡游沙虫在场,则直接命令这个gadget发动一次攻击 +--如果不在场,则直接在随机位置生成沙虫后向玩家攻击 +function LF_Command_Move_Sandworm_Attack(context,attack_times) + local is_sandworm_alive = ScriptLib.GetGroupVariableValue(context,"is_sandworm_alive") == 1 + if is_sandworm_alive then + --如果当前沙虫在场,直接命令沙虫向玩家发动一次攻击 + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.move_sandworm_id, "SGV_Shoot_Sandworm", 1) + else + --如果当前沙虫不在场,召出沙虫以后再命令其向玩家发动一次攻击 + if LF_Try_Create_Sandworm(context) then + ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Command_Move_Sandworm_Attack: 当前沙虫未被占用,开始创建") + local point_list = {} + for i = 1, sandworm_point_array.max_point do + table.insert(point_list,i) + end + + local point_info_list = LF_Get_Point_Info_List(context,sandworm_point_array.point_array,point_list) + local born_point = LF_Get_Random_Point(context,point_info_list,{}) + local born_pos = born_point.pos + ScriptLib.CreateGadgetByParamTable(context,{config_id = defs.move_sandworm_id,pos = {x=born_pos.x,y=born_pos.y,z=born_pos.z}, rot = {x=0,y=0,z=0}, + sgv_key = {"SGV_Attack_Times","SGV_Shoot_Sandworm"}, sgv_value = {attack_times,0}}) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.move_sandworm_id, "SGV_Shoot_Sandworm", 1) + LF_On_Create_Sandworm_Success(context) + else + ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Command_Move_Sandworm_Attack: 当前沙虫被占用,创建失败") + LF_On_Create_Sandworm_Fail(context) + return -1 + end + + end +end + + + + +--在指定位置召唤一只直接攻击沙虫 +function LF_Summon_Direct_Sandworm(context,pos,attack_times) + ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Summon_Direct_Sandworm: 请求创生一只直接攻击沙虫") + if defs.direct_sandworm_id == nil then + ScriptLib.PrintGroupWarning(context,"## [SandwormToolkit] LF_Summon_Direct_Sandworm: 请求失败,没有填写一个直接攻击沙虫!!") + return -1 + end + if LF_Try_Create_Sandworm(context) then + ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Summon_Direct_Sandworm: 当前沙虫未被占用,开始创建") + LF_Create_Direct_Sandworm(context,pos,attack_times,1) + ScriptLib.SetGroupVariableValue(context,"is_sandworm_alive",2) + LF_On_Create_Sandworm_Success(context) + return 0 + else + ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Summon_Direct_Sandworm: 当前沙虫被占用,创建失败") + LF_On_Create_Sandworm_Fail(context) + return -1 + end +end + + +--在玩家脚下召唤一只直接攻击沙虫 +function LF_Summon_Direct_Sandworm_By_Avatar(context,uid,attack_times) + ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Summon_Direct_Sandworm_By_Avatar: 在玩家脚下创生一只直接攻击沙虫") + local owner_eid = ScriptLib.GetAvatarEntityIdByUid(context,uid) + local pos = ScriptLib.GetPosByEntityId(context,owner_eid) + ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Summon_Direct_Sandworm_By_Avatar: 请求创生在玩家脚下创生直接攻击沙虫") + if defs.direct_sandworm_id == nil then + ScriptLib.PrintGroupWarning(context,"## [SandwormToolkit] LF_Summon_Direct_Sandworm_By_Avatar: 请求失败,没有填写一个直接攻击沙虫!!") + return -1 + end + if LF_Try_Create_Sandworm(context) then + ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Summon_Direct_Sandworm_By_Avatar: 当前沙虫未被占用,开始创建") + LF_Create_Direct_Sandworm(context,pos,attack_times,1) + ScriptLib.SetGroupVariableValue(context,"is_sandworm_alive",1) + LF_On_Create_Sandworm_Success(context) + return 0 + else + ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Summon_Direct_Sandworm_By_Avatar: 当前沙虫被占用,创建失败") + LF_On_Create_Sandworm_Fail(context) + return -1 + end +end +-------------------------------------------------------------------------------------------------------------------- + + + +--召唤沙虫的实现接口 +--创建一只移动沙虫 +function LF_Create_Move_Sandworm(context,attack_times) + + ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Create_Move_Sandworm: 创建一只移动表演用沙虫") + + + local point_list = {} + for i = 1, sandworm_point_array.max_point do + table.insert(point_list,i) + end + + local point_info_list = LF_Get_Point_Info_List(context,sandworm_point_array.point_array,point_list) + local born_point = LF_Get_Random_Point(context,point_info_list,{}) + local born_pos = born_point.pos + ScriptLib.CreateGadgetByParamTable(context,{config_id = defs.move_sandworm_id,pos = {x=born_pos.x,y=born_pos.y,z=born_pos.z}, rot = {x=0,y=0,z=0}, + sgv_key = {"SGV_Attack_Times"}, sgv_value = {attack_times}}) + local black_list = {born_point.point_id} + local target_point = LF_Get_Random_Point(context,point_info_list,black_list) + ScriptLib.SetPlatformPointArray(context,defs.move_sandworm_id, sandworm_point_array.point_array, {target_point.point_id}, { route_type = 0,turn_mode=false, record_mode = 2 }) +end + + +function action_platform_arrival_toolkit(context,evt) + + if evt.param1 == defs.move_sandworm_id then + + local point_list = {} + for i = 1, sandworm_point_array.max_point do + table.insert(point_list,i) + end + + local point_info_list = LF_Get_Point_Info_List(context,sandworm_point_array.point_array,point_list) + local target_point = LF_Get_Random_Point(context,point_info_list,{}) + + ScriptLib.PrintContextLog(context,"## [SandwormToolkit] action_platform_arrival_sandworm:移动沙虫目标点为:"..target_point.point_id) + + ScriptLib.SetPlatformPointArray(context,defs.move_sandworm_id, sandworm_point_array.point_array, {target_point.point_id}, { route_type = 0,turn_mode=false, record_mode = 2 }) + end + return 0 +end + + + +--在指定地点创建一只直接攻击沙虫 +function LF_Create_Direct_Sandworm(context,pos,attack_times,target_stragety) + ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Create_Direct_Sandworm: 创建一只直接攻击用沙虫") + --ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Create_Direct_Sandworm: direct_sandworm_id参数为"..defs.direct_sandworm_id) + --ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Create_Direct_Sandworm: pos参数为"..pos.x..","..pos.y..","..pos.z) + --ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Create_Direct_Sandworm: attack_times参数为"..attack_times) + --ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Create_Direct_Sandworm: target_stragety参数为"..target_stragety) + local ret = ScriptLib.CreateGadgetByParamTable(context,{config_id = defs.direct_sandworm_id,pos = {x=pos.x,y=pos.y,z=pos.z}, rot = {x=0,y=0,z=0}, + sgv_key = {"SGV_Attack_Times","SGV_Target_Stragety"}, sgv_value = {attack_times,target_stragety}}) + --ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Create_Direct_Sandworm: 创建结果为"..ret) +end + + + + +--清理移动沙虫 +function LF_Remove_Move_Sandworm(context) + if defs.move_sandworm_id ~= nil then + ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Remove_Move_Sandworm: 清除移动沙虫") + ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, defs.move_sandworm_id) + --清除掉沙虫的占用 + ScriptLib.ExecuteGroupLua(context,local_defs.sandworm_manager_group,"LF_Request_Clear_Occupation",{base_info.group_id}) + ScriptLib.SetGroupVariableValue(context,"is_sandworm_alive",0) + LF_On_Remove_Sandworm(context) + end +end + +--清理直接攻击沙虫 +function LF_Remove_Direct_Sandworm(context) + if defs.direct_sandworm_id ~= nil then + ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Remove_Direct_Sandworm: 清除直接攻击沙虫") + ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, defs.direct_sandworm_id) + --清除掉沙虫的占用 + ScriptLib.ExecuteGroupLua(context,local_defs.sandworm_manager_group,"LF_Request_Clear_Occupation",{base_info.group_id}) + ScriptLib.SetGroupVariableValue(context,"is_sandworm_alive",0) + LF_On_Remove_Sandworm(context) + end +end + +--清除所有沙虫,不管类型 +function LF_Remove_All_Sandworm(context) + LF_Remove_Move_Sandworm(context) + LF_Remove_Direct_Sandworm(context) +end + +--[[----------------------------------------------------------------- +|| || +|| 外部调用 || +|| || +-----------------------------------------------------------------]]-- + +--外部调用,请求清除当前group正在使用的沙虫 +function LF_Request_Remove_Sandworm_From_Manager(context,prev_context) + ScriptLib.PrintContextLog(context,"## [SandwormToolkit] LF_Request_Remove_Sandworm:控制group请求,移除当前沙虫") + LF_Remove_All_Sandworm(context) + return 0 +end + + + +--外部调用,SLC返回沙虫攻击完毕 +function SLC_Sandworm_Attack_Finish(context) + ScriptLib.PrintContextLog(context,"## [SandwormToolkit] SLC_Sandworm_Attack_Finish:SLC:沙虫攻击完毕") + LF_Remove_All_Sandworm(context) + LF_On_Attack_Finish(context) + return 0 +end + +--外部调用,SLC返回沙虫命中角色 +function SLC_Sandworm_Attack_Hit_Avatar(context) + ScriptLib.PrintContextLog(context,"## [SandwormToolkit] SLC_Sandworm_Attack_Hit_Avatar:沙虫攻击击中玩家") + LF_On_Attack_Hit_Avatar(context) + return 0 +end + +function SLC_Clear_Move_Sandworm_Command(context) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.move_sandworm_id, "SGV_Shoot_Sandworm", 0) + return 0 +end +--[[----------------------------------------------------------------- +|| || +|| 沙虫选点 || +|| || +-----------------------------------------------------------------]]-- + +--获取特定点阵的所有点信息 +function LF_Get_Point_Info_List(context,point_array,point_list) + local point_info_list = {} + for i = 1, #point_list do + local ret,pos,rot=ScriptLib.GetPlatformArrayInfoByPointId(context,point_array, point_list[i]) + local point_info = {point_id = point_list[i], pos = pos, rot = rot} + table.insert(point_info_list,point_info) + end + return point_info_list +end + + + +--找到玩家附近最近的一个点,可以剔除一些点 +function LF_Get_Nearest_Point_By_Avatar(context,point_info_list,black_list) + local nearest_point = -1 + local nearest_distance = 10000000 + for k,v in pairs(point_info_list) do + if not LF_Is_In_Table(context,v.point_id,black_list) then + local uid = ScriptLib.GetSceneOwnerUid(context) + local distance = LF_Get_Point_Avatar_Distance(context,uid,v.pos) + if distance < nearest_distance then + nearest_distance = distance + nearest_point = v + end + end + end + return nearest_point +end + + +function LF_Get_Random_Point(context,point_info_list,black_list) + local target_point_info_list = {} + for k,v in pairs(point_info_list) do + if not LF_Is_In_Table(context,v.point_id,black_list) then + table.insert(target_point_info_list,v) + end + end + local r = math.random(#target_point_info_list) + return target_point_info_list[r] +end + + +--[[----------------------------------------------------------------- +|| || +|| 杂项方法 || +|| || +-----------------------------------------------------------------]]-- + +function LF_Get_Point_Avatar_Distance(context,uid,point_pos) + local owner_eid = ScriptLib.GetAvatarEntityIdByUid(context,uid) + local pos = ScriptLib.GetPosByEntityId(context,owner_eid) + return LF_Get_2D_Distance(context,pos,point_pos) +end + +function LF_Get_2D_Distance(context,p1,p2) + return math.sqrt((p1.x-p2.x)*(p1.x-p2.x)+ (p1.z-p2.z)*(p1.z-p2.z)) +end + + + +--获取指定位置的随机近邻位置。分布在min_r~max_r为半径的环上 +function LF_Get_Random_Neighbour(context,pos,min_r,max_r) + local random_r = math.random(min_r,max_r) + local random_a = math.random()*math.pi*2 + local rpos_x = pos.x + random_r * math.cos(random_a) + local rpos_z = pos.z + random_r * math.sin(random_a) + local rpos = {x = rpos_x,y = pos.y,z = rpos_z} + return rpos +end + + +function LF_Is_In_Table(context,v,t) + for i = 1, #t do + if t[i] == v then + return true + end + end + return false +end + + + + +------------------------------------------------------------------ +toolkit_Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_4/ShelterWorktopControl.lua b/Resources/Scripts/Common/V3_4/ShelterWorktopControl.lua index e69de29bb..9d6fe65ee 100644 --- a/Resources/Scripts/Common/V3_4/ShelterWorktopControl.lua +++ b/Resources/Scripts/Common/V3_4/ShelterWorktopControl.lua @@ -0,0 +1,202 @@ +--[[====================================== +|| filename: ShelterWorktopControl +|| owner: luyao.huang +|| description: 避难所精灵台座控制 +|| LogName: ShelterWorktopControl +|| Protection: +=======================================]]-- + +--local defs = +--{ +-- gadget_worktop_id = 100001, +--} + + +------ +local local_defs = { + max_level = 6, + chain_id = 100005, + energy_level_1 = 2, + energy_amount_1 = 1, + energy_level_2 = 5, + energy_amount_2 = 3, + unlock_worktop_level = 4, + + skip_sandstorm_option = 5100, + start_sandstorm_option = 5101, + + sandstorm_state_leveltag = 21, + sandstorm_on = 59, + sandstorm_off = 60, + + sandstorm_control_group = 133314001, + + skip_teyvat_time = 8 * 60, + skip_time = 8 +} + +local Tri = { + [1] = { name = "group_load_shelter", config_id = 11000001, event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load_shelter", trigger_count = 0}, + [2] = { name = "select_option_shelter", config_id = 11000002, event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_select_option_shelter", trigger_count = 0}, + [3] = { name = "time_axis_pass_shelter", config_id = 11000003, event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "", action = "action_time_axis_pass_shelter", trigger_count = 0}, +} + +function Initialize() + for k,v in pairs(Tri) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + + table.insert(variables,{config_id = 110000001, name = "is_skipping_time", value = 0}) + + + table.insert(variables,{config_id = 150000001, name = "GM_Upgrade_Chain_Level", value = 0}) + table.insert(variables,{config_id = 150000002, name = "GM_Recover_Energy", value = 0}) + table.insert(variables,{config_id = 150000003, name = "GM_Set_Chain_Level", value = 0}) +end + + +--[[----------------------------------------------------------------- +|| || +|| 触发器回调 || +|| || +-----------------------------------------------------------------]]-- + +--玩法加载初始化 +function action_group_load_shelter(context,evt) + + ScriptLib.PrintContextLog(context,"## [ShelterWorktopControl]action_group_load_shelter:group加载,给精灵台座上选项") + + return 0 +end + +function action_select_option_shelter(context,evt) + + if evt.param2 == local_defs.skip_sandstorm_option then + + ScriptLib.PrintContextLog(context,"## [ShelterWorktopControl]action_select_option_shelter:玩家选择选项,跳过沙尘暴") + + ScriptLib.SkipTeyvatTime(context,local_defs.skip_teyvat_time,1) + + ScriptLib.InitTimeAxis(context,"SKIP_TYVAT_TIME_AXIS", {local_defs.skip_time}, false) + ScriptLib.DelWorktopOptionByGroupId(context,base_info.group_id, defs.gadget_worktop_id, local_defs.skip_sandstorm_option) + ScriptLib.DelWorktopOptionByGroupId(context,base_info.group_id, defs.gadget_worktop_id, local_defs.start_sandstorm_option) + + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.gadget_worktop_id, "SGV_Gear_Option", 1) + ScriptLib.SetGroupVariableValue(context,"is_skipping_time",1) + + --调用沙尘暴控制group跳过当前沙尘暴 + local sandstorm_state = ScriptLib.GetGroupVariableValueByGroup(context,"sandstorm_state",local_defs.sandstorm_control_group) + ScriptLib.PrintContextLog(context,"## [ShelterWorktopControl]action_select_option_shelter:当前沙尘暴状态为"..sandstorm_state) + if sandstorm_state == 1 then + local ret = ScriptLib.ExecuteGroupLua(context, local_defs.sandstorm_control_group, "LF_Skip_Current_Sandstorm", {}) + if ret == -1 then + ScriptLib.PrintGroupWarning(context,"## [Warning] [ShelterWorktopControl] action_select_option_shelter:调用控制group的跳过沙尘暴天气功能失败") + end + end + end + + if evt.param2 == local_defs.start_sandstorm_option then + ScriptLib.PrintContextLog(context,"## [ShelterWorktopControl]action_select_option_shelter:玩家选择选项,开启沙尘暴") + + ScriptLib.SkipTeyvatTime(context,local_defs.skip_teyvat_time,1) + + ScriptLib.InitTimeAxis(context,"SKIP_TYVAT_TIME_AXIS", {local_defs.skip_time}, false) + ScriptLib.DelWorktopOptionByGroupId(context,base_info.group_id, defs.gadget_worktop_id, local_defs.skip_sandstorm_option) + ScriptLib.DelWorktopOptionByGroupId(context,base_info.group_id, defs.gadget_worktop_id, local_defs.start_sandstorm_option) + + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.gadget_worktop_id, "SGV_Gear_Option", 2) + ScriptLib.SetGroupVariableValue(context,"is_skipping_time",1) + + --调用沙尘暴控制group跳过当前沙尘暴 + local sandstorm_state = ScriptLib.GetGroupVariableValueByGroup(context,"sandstorm_state",local_defs.sandstorm_control_group) + ScriptLib.PrintContextLog(context,"## [ShelterWorktopControl]action_select_option_shelter:当前沙尘暴状态为"..sandstorm_state) + if sandstorm_state == 2 then + local ret = ScriptLib.ExecuteGroupLua(context, local_defs.sandstorm_control_group, "LF_Start_Sanstorm", {}) + if ret == -1 then + ScriptLib.PrintGroupWarning(context,"## [Warning] [ShelterWorktopControl] action_select_option_shelter:调用控制group的开启沙尘暴天气功能失败") + end + end + end + + return 0 +end + +function action_time_axis_pass_shelter(context,evt) + ScriptLib.PrintContextLog(context,"## [ShelterWorktopControl]action_time_axis_pass_shelter:时间轴tick,给精灵台座恢复选项") + local chain_level = ScriptLib.GetChainLevel(context, ScriptLib.GetSceneOwnerUid(context), local_defs.chain_id) + if chain_level >= local_defs.unlock_worktop_level then + LF_Set_Worktop_Option(context) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.gadget_worktop_id, "SGV_Gear_Option", 0) + ScriptLib.SetGroupVariableValue(context,"is_skipping_time",0) + end + return 0 +end + + + +--[[----------------------------------------------------------------- +|| || +|| 玩法流程控制 || +|| || +-----------------------------------------------------------------]]-- + + +--[[----------------------------------------------------------------- +|| || +|| CRUD方法 || +|| || +-----------------------------------------------------------------]]-- + + +--[[----------------------------------------------------------------- +|| || +|| 杂项方法 || +|| || +-----------------------------------------------------------------]]-- + +function LF_Set_Worktop_Option(context) + local chain_level = ScriptLib.GetChainLevel(context, ScriptLib.GetSceneOwnerUid(context), local_defs.chain_id) + if chain_level >= local_defs.unlock_worktop_level then + local sandstorm_state = ScriptLib.GetGroupVariableValueByGroup(context,"sandstorm_state",local_defs.sandstorm_control_group) + --在沙尘暴中 + if sandstorm_state == 1 then + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, defs.gadget_worktop_id, {local_defs.skip_sandstorm_option}) + ScriptLib.DelWorktopOptionByGroupId(context,base_info.group_id, defs.gadget_worktop_id, local_defs.start_sandstorm_option) + end + if sandstorm_state == 2 then + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, defs.gadget_worktop_id, {local_defs.start_sandstorm_option}) + ScriptLib.DelWorktopOptionByGroupId(context,base_info.group_id, defs.gadget_worktop_id, local_defs.skip_sandstorm_option) + end + else + ScriptLib.DelWorktopOptionByGroupId(context,base_info.group_id, defs.gadget_worktop_id, local_defs.skip_sandstorm_option) + ScriptLib.DelWorktopOptionByGroupId(context,base_info.group_id, defs.gadget_worktop_id, local_defs.start_sandstorm_option) + end +end + + + + +--[[----------------------------------------------------------------- +|| || +|| server lua call || +|| || +-----------------------------------------------------------------]]-- + +function SLC_Try_Set_Option(context) + ScriptLib.PrintContextLog(context,"## [ShelterWorktopControl]SLC_Try_Set_Option:玩家进入台座范围,上选项") + if ScriptLib.GetGroupVariableValue(context,"is_skipping_time") ~= 1 then + LF_Set_Worktop_Option(context) + end + return 0 +end + +function SLC_Try_Remove_Option(context) + ScriptLib.PrintContextLog(context,"## [ShelterWorktopControl]SLC_Try_Set_Option:玩家进入台座范围,没带天气精灵,下选项选项") + ScriptLib.DelWorktopOptionByGroupId(context,base_info.group_id, defs.gadget_worktop_id, local_defs.skip_sandstorm_option) + ScriptLib.DelWorktopOptionByGroupId(context,base_info.group_id, defs.gadget_worktop_id, local_defs.start_sandstorm_option) + return 0 +end + +------------------------------------------------------------------ +Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_4/WeatherWizardControl.lua b/Resources/Scripts/Common/V3_4/WeatherWizardControl.lua index b9366a3e2..1e81596c7 100644 --- a/Resources/Scripts/Common/V3_4/WeatherWizardControl.lua +++ b/Resources/Scripts/Common/V3_4/WeatherWizardControl.lua @@ -6,7 +6,7 @@ || Protection: =======================================]]-- ---defs = +--local defs = --{ -- energy_worktop_id = 100001, --} diff --git a/Resources/Scripts/Common/V3_4/WindBall.lua b/Resources/Scripts/Common/V3_4/WindBall.lua index e69de29bb..ac4dc7cc8 100644 --- a/Resources/Scripts/Common/V3_4/WindBall.lua +++ b/Resources/Scripts/Common/V3_4/WindBall.lua @@ -0,0 +1,292 @@ +--[[====================================== +|| filename: WindBall +|| owner: luyao.huang +|| description: 风球传递玩法 +|| LogName: WindBall +|| Protection: +=======================================]]-- + +--local defs = +--{ +-- gadget_worktop_id = 100001, +--} + + +------ + +local local_defs = { + get_windball_option = 7, +} + +local state_defs = +{ + lock = 0, + on_worktop = 201, + taken = 202, + ready_enshrine = 203, + unavailable = 204, + finish = 901, +} + +local windball_state_defs = +{ + on_worktop = 0, + on_team = 1, +} + +local phase_defs = +{ + lock = 0, + playing = 1, + finish = 2, +} + +local Tri = { + [1] = { name = "select_option_windball", config_id = 11000001, event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_select_option_windball", trigger_count = 0}, + [2] = { name = "group_load_windball", config_id = 11000002, event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load_windball", trigger_count = 0}, + [3] = { name = "gadget_state_change_windball", config_id = 11000003, event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "", action = "action_gadget_state_change_windball", trigger_count = 0}, + [4] = { name = "enter_region_windball", config_id = 11000004, event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_enter_region_windball", trigger_count = 0}, + [5] = { name = "leave_region_windball", config_id = 11000005, event = EventType.EVENT_LEAVE_REGION, source = "", condition = "", action = "action_leave_region_windball", trigger_count = 0}, +} + +function Initialize() + for k,v in pairs(Tri) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + + table.insert(variables,{config_id = 110000001, name = "play_phase", value = 0}) + table.insert(variables,{config_id = 110000002, name = "current_worktop", value = 1}) + table.insert(variables,{config_id = 110000003, name = "windball_state", value = 0}) +end + + +--[[----------------------------------------------------------------- +|| || +|| 触发器回调 || +|| || +-----------------------------------------------------------------]]-- + +function action_group_load_windball(context,evt) + ScriptLib.PrintContextLog(context,"## [WindBall]action_group_load_windball:group加载") + + local play_phase = ScriptLib.GetGroupVariableValue(context,"play_phase") + + if play_phase == phase_defs.lock then + LF_Lock_Play(context) + end + if play_phase == phase_defs.playing then + LF_Unlock_Play(context) + end + if play_phase == phase_defs.finish then + LF_Finish_Play(context) + end + LF_Unlock_Play(context) + return 0 +end + + +function action_gadget_state_change_windball(context,evt) + + local new_state = evt.param1 + local old_state = evt.param3 + + if new_state == state_defs.on_worktop then + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, evt.param2, {local_defs.get_windball_option}) + else + ScriptLib.DelWorktopOptionByGroupId(context,base_info.group_id, evt.param2, local_defs.get_windball_option) + end + + --说明是风球被放到台座上了 + if old_state == state_defs.ready_enshrine and new_state == state_defs.on_worktop then + ScriptLib.PrintContextLog(context,"## [WindBall]action_gadget_state_change_windball:风球放置在台座:"..evt.param2) + LF_Current_Worktop_Increase(context) + LF_Set_All_Worktops_State(context) + + --如果是最后一环的风球 + if evt.param2 == windball_worktops[#windball_worktops] then + LF_Finish_Play(context) + end + end + + --说明是风球被取走 + if old_state == state_defs.ready_enshrine and new_state == state_defs.taken then + ScriptLib.PrintContextLog(context,"## [WindBall]action_gadget_state_change_windball:风球从台座:"..evt.param2.."被取走") + + local current_index = LF_Get_Index_From_List(context,windball_worktops,evt.param2) + if current_index < #windball_worktops then + ScriptLib.PrintContextLog(context,"## [WindBall]action_gadget_state_change_windball:第"..current_index.."个操作台") + local next_worktop = windball_worktops[current_index + 1] + local dir_index = LF_Get_Dir_Index(context,evt.param2,next_worktop) + ScriptLib.SetEntityServerGlobalValueByConfigId(context,evt.param2,"SGV_Dir_Light_On",dir_index) + + end + end + + + --说明是出界或者到时间,风球被还回去 + if old_state == state_defs.taken and new_state == state_defs.on_worktop then + ScriptLib.PrintContextLog(context,"## [WindBall]action_gadget_state_change_windball:风球被还回台座:"..evt.param2) + LF_Set_All_Worktops_State(context) + end + + return 0 +end + + +function action_select_option_windball(context,evt) + + if evt.param2 == local_defs.get_windball_option then + ScriptLib.PrintContextLog(context,"## [WindBall]action_select_option_windball:玩家选择选项,获取风球") + local target_worktop = evt.param1 + ScriptLib.SetEntityServerGlobalValueByConfigId(context,target_worktop,"SGV_Message_Release_WindBall",1) + + local current_index = LF_Get_Index_From_List(context,windball_worktops,target_worktop) + local worktop_eid = ScriptLib.GetEntityIdByConfigId(context, windball_worktops[current_index+1]) + local pos = ScriptLib.GetPosByEntityId(context, worktop_eid) + ScriptLib.CreateGadgetByConfigIdByPos(context,defs.hint_gadget_id, {x=pos.x,y=pos.y,z=pos.z}, {x=0,y=0,z=0}) + end + return 0 +end + +function action_enter_region_windball(context,evt) + if evt.param1 == defs.region_id then + end + return 0 +end +function action_leave_region_windball(context,evt) + if evt.param1 == defs.region_id then + LF_Change_Team_SGV(context,evt.uid,"SGV_Message_Remove_Windball",1) + end + return 0 +end + +--[[----------------------------------------------------------------- +|| || +|| 玩法流程控制 || +|| || +-----------------------------------------------------------------]]-- + +function LF_Unlock_Play(context) + ScriptLib.PrintContextLog(context,"## [WindBall]LF_Unlock_Play:设置玩法阶段:进行中") + ScriptLib.SetGroupVariableValue(context,"play_phase",phase_defs.playing) + LF_Set_All_Worktops_State(context) +end + +function LF_Lock_Play(context) + ScriptLib.PrintContextLog(context,"## [WindBall]LF_Unlock_Play:设置玩法阶段:锁定") + ScriptLib.SetGroupVariableValue(context,"play_phase",phase_defs.lock) + for i = 1, #windball_worktops do + ScriptLib.SetGadgetStateByConfigId(context,windball_worktops[i],state_defs.lock) + end +end + +function LF_Finish_Play(context) + ScriptLib.PrintContextLog(context,"## [WindBall]LF_Unlock_Play:设置玩法阶段:完成") + ScriptLib.SetGroupVariableValue(context,"play_phase",phase_defs.finish) + for i = 1, #windball_worktops do + ScriptLib.SetGadgetStateByConfigId(context,windball_worktops[i],state_defs.finish) + end + local uid = ScriptLib.GetSceneOwnerUid(context) + LF_Change_Team_SGV(context,uid,"SGV_Message_Remove_Windball",1) + ScriptLib.CreateGadget(context,{config_id = defs.chest_id}) +end + + + + +function LF_Set_All_Worktops_State(context) + local current_worktop = ScriptLib.GetGroupVariableValue(context,"current_worktop") + + + ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, defs.hint_gadget_id) + for i = 1, #windball_worktops do + ScriptLib.SetEntityServerGlobalValueByConfigId(context,windball_worktops[i],"SGV_Dir_Light_On",0) + if (i < current_worktop) or (i > current_worktop + 1) then + ScriptLib.SetGadgetStateByConfigId(context,windball_worktops[i],state_defs.unavailable) + end + if i == current_worktop then + ScriptLib.SetGadgetStateByConfigId(context,windball_worktops[i],state_defs.on_worktop) + end + if i == current_worktop + 1 then + ScriptLib.SetGadgetStateByConfigId(context,windball_worktops[i],state_defs.ready_enshrine) + end + end +end + + +function LF_Set_Current_Worktop(context,i) + ScriptLib.SetGroupVariableValue(context,"current_worktop",i) +end + +function LF_Current_Worktop_Increase(context) + ScriptLib.ChangeGroupVariableValue(context,"current_worktop",1) +end + + + + + + + +--[[----------------------------------------------------------------- +|| || +|| CRUD方法 || +|| || +-----------------------------------------------------------------]]-- + +function LF_Get_Index_From_List(context,list,element) + for i = 1, #list do + if list[i] == element then + return i + end + end + return 0 +end + + + +--[[----------------------------------------------------------------- +|| || +|| 杂项方法 || +|| || +-----------------------------------------------------------------]]-- + +--返回以gadget_1位基准,对准gadget_2时应亮起的角标id +function LF_Get_Dir_Index(context,gadget_1,gadget_2) + + local eid_1 = ScriptLib.GetEntityIdByConfigId(context, gadget_1) + local pos_1 = ScriptLib.GetPosByEntityId(context, eid_1) + local rot_1 = ScriptLib.GetRotationByEntityId(context, eid_1) + local eid_2 = ScriptLib.GetEntityIdByConfigId(context, gadget_2) + local pos_2 = ScriptLib.GetPosByEntityId(context, eid_2) + + local world_angle = math.atan(pos_2.z-pos_1.z, pos_2.x-pos_1.x) + local local_angle = world_angle - rot_1.y + + local index = math.ceil((local_angle + 45) / 90) + return index + +end + +function LF_Change_Team_SGV(context,uid,key,delta) + local v = ScriptLib.GetTeamServerGlobalValue(context,uid,key) + ScriptLib.SetTeamServerGlobalValue(context,uid,key,v+delta) +end + +--[[----------------------------------------------------------------- +|| || +|| server lua call || +|| || +-----------------------------------------------------------------]]-- + +function SLC_Remove_Team_Windball(context) + local uid = ScriptLib.GetSceneOwnerUid(context) + LF_Change_Team_SGV(context,uid,"SGV_Message_Remove_Windball",1) + return 0 +end + + + +------------------------------------------------------------------ +Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_6/CodedLock.lua b/Resources/Scripts/Common/V3_6/CodedLock.lua index e69de29bb..4b58d51fb 100644 --- a/Resources/Scripts/Common/V3_6/CodedLock.lua +++ b/Resources/Scripts/Common/V3_6/CodedLock.lua @@ -0,0 +1,99 @@ +--ServerUploadTool Save to [/root/env/data/lua/common/V3_4] +--====================================================================================================================== +--|| Filename || CodedLock +--|| RelVersion || V3_4 +--|| Owner || chao-jin +--|| Description || +--|| LogName || ##[CodedLock] +--|| Protection || 3.6版本的能量开关 +--====================================================================================================================== +--Defs & Miscs +--[[ +local defs = { + opt_id = 91004, + rotor_top = 91003, + rotor_mid = 91002, + rotor_bot = 91001, + reminder_success = 400112, +} +local rotor_map = { + [91001] = {init_state = 1, end_state = 3}, + [91002] = {init_state = 3, end_state = 2}, + [91003] = {init_state = 4, end_state = 4}, +} +]] +local CodedLock_Triggers = { + [1] = { name = "group_load", config_id = 8001001, event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0}, + [2] = { name = "select_option", config_id = 8001002, event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_select_option", trigger_count = 0}, + [3] = { name = "gadget_state_change", config_id = 8001003, event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "", action = "action_gadget_state_change", trigger_count = 0}, + +} + +function CodedLock_Initialize() + for k,v in pairs(CodedLock_Triggers) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + table.insert(variables,{ config_id = 50000001,name = "Finished", value = 0, no_refresh = true}) +end +--====================================================================================================================== +--Events +function action_group_load(context, evt) + if 0 ~= ScriptLib.GetGroupVariableValue(context, "Finished") then + return 0 + end + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, defs.opt_id, {811,812,813}) + for rotor_id,infos in pairs(rotor_map) do + ScriptLib.SetGadgetStateByConfigId(context, rotor_id, (infos.init_state-1)) + for i=1,4 do + ScriptLib.SetEntityServerGlobalValueByConfigId(context, rotor_id, "SGV_Surface0"..i, 0) + end + ScriptLib.SetEntityServerGlobalValueByConfigId(context, rotor_id, "SGV_Surface0"..infos.init_state, 1) + end + return 0 +end + +function action_select_option(context, evt) + if evt.param2 == 811 then + LF_RotateRotor(context, defs.rotor_top) + end + if evt.param2 == 812 then + LF_RotateRotor(context, defs.rotor_mid) + end + if evt.param2 == 813 then + LF_RotateRotor(context, defs.rotor_bot) + end + return 0 +end + +function action_gadget_state_change(context, evt) + if rotor_map[defs.rotor_top].end_state-1 == ScriptLib.GetGadgetStateByConfigId(context, base_info.group_id, defs.rotor_top) and + rotor_map[defs.rotor_mid].end_state-1 == ScriptLib.GetGadgetStateByConfigId(context, base_info.group_id, defs.rotor_mid) and + rotor_map[defs.rotor_bot].end_state-1 == ScriptLib.GetGadgetStateByConfigId(context, base_info.group_id, defs.rotor_bot) then + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, defs.opt_id, {}) + ScriptLib.ShowReminder(context, defs.reminder_success) + ScriptLib.SetGroupVariableValue(context, "Finished", 1) + end + return 0 +end + + + +--====================================================================================================================== +--LevelFunctions +--旋转转子 +function LF_RotateRotor(context, rotor_id) + for i=1,4 do + ScriptLib.SetEntityServerGlobalValueByConfigId(context, rotor_id, "SGV_Surface0"..i, 0) + end + local rotor_state = ScriptLib.GetGadgetStateByConfigId(context, base_info.group_id, rotor_id) + if rotor_state < 3 then + ScriptLib.SetGadgetStateByConfigId(context, rotor_id, rotor_state+1) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, rotor_id, "SGV_Surface0"..(rotor_state+2), 1) + else + ScriptLib.SetGadgetStateByConfigId(context, rotor_id, 0) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, rotor_id, "SGV_Surface01", 1) + end +end + +CodedLock_Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_6/DrumRegexp.lua b/Resources/Scripts/Common/V3_6/DrumRegexp.lua index e69de29bb..9355db507 100644 --- a/Resources/Scripts/Common/V3_6/DrumRegexp.lua +++ b/Resources/Scripts/Common/V3_6/DrumRegexp.lua @@ -0,0 +1,134 @@ +--ServerUploadTool Save to [/root/env/data/lua/common/V3_4] +--====================================================================================================================== +--|| Filename || DrumRegexp +--|| RelVersion || V3_4 +--|| Owner || chao-jin +--|| Description || +--|| LogName || ##[DrumRegexp] +--|| Protection || +--====================================================================================================================== +--Defs & Miscs +local defs = { + drum = 800001, + reminder_success = 400112, + reminder_fail = 400113, +} + +--local music_list = {"100110100101","110101011101","101010011101"} +local music_list = {"11001","11101"} +local music_len = 5 + +--====================================================================================================================== +--Events +local DrumRegexp_Triggers = { + [1] = { name = "group_load", config_id = 8002001, event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0}, +} + +function DrumRegexp_Initialize() + for k,v in pairs(DrumRegexp_Triggers) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end +end + +DrumRegexp_Initialize() + +--加载Group时的操作 +function action_group_load(context, evt) + ScriptLib.PrintContextLog(context, "##[DrumRegexp]:加载敲鼓玩法Group") + LF_ResetBeatMark(context) + return 0 +end + +--====================================================================================================================== +--LevelFunctions +--玩家攻击敲鼓的SLC +function SLC_DrumPercussReg(context, beat_time) +--[[ + if 0 ~= ScriptLib.GetGadgetStateByConfigId(context, base_info.group_id, defs.drum) then + ScriptLib.PrintContextLog(context, "##[DrumRegexp]: 已经完成了") + return 0 + end +]] + if beat_time > 1 then + ScriptLib.PrintContextLog(context, "##[DrumRegexp]:在一个区间内敲击了多次,直接失败") + LF_RegexpPlayFail(context) + return 0 + end + ScriptLib.PrintContextLog(context, "##[DrumRegexp]:敲鼓SLC,敲鼓次数"..beat_time) + local reg_dec = ScriptLib.GetGroupTempValue(context, "RegDec", {}) + local reg_bin = LF_DecToBinStr(reg_dec) + reg_bin = reg_bin..(math.ceil(beat_time)) + ScriptLib.PrintContextLog(context, "##[DrumRegexp]:当前谱"..reg_bin) + if string.len(reg_bin) == 5 then + for i=1,2 do + if music_list[i] == reg_bin then + LF_RegexpPlaySuccess(context) + return 0 + end + end + LF_RegexpPlayFail(context) + return 0 + end + ScriptLib.SetGroupTempValue(context, "RegDec", LF_BinStrToDec(reg_bin), {}) + return 0 +end + +--玩家长时间未敲鼓的SLC +function SLC_DrumPercussRegEnd(context) +--[[ + if 0 ~= ScriptLib.GetGadgetStateByConfigId(context, base_info.group_id, defs.drum) then + ScriptLib.PrintContextLog(context, "##[DrumRegexp]: 已经完成了") + return 0 + end +]] + ScriptLib.PrintContextLog(context, "##[DrumRegexp]:超时未敲鼓,失败") + LF_RegexpPlayFail(context) + return 0 +end + +--初始化鼓的敲击标记 +function LF_ResetBeatMark(context) + ScriptLib.PrintContextLog(context, "##[DrumRegexp]:初始化节拍监听变量") + ScriptLib.SetGroupTempValue(context, "RegDec", 1, {}) --记录当前匹配到的列表 +end + +--演奏成功 +function LF_RegexpPlaySuccess(context) + ScriptLib.PrintContextLog(context, "##[DrumRegexp]:演奏成功") + LF_ResetBeatMark(context) + ScriptLib.SetGadgetStateByConfigId(context, defs.drum, 201) + ScriptLib.ShowReminder(context, defs.reminder_success) +end + +--演奏失败 +function LF_RegexpPlayFail(context) + ScriptLib.PrintContextLog(context, "##[DrumRegexp]:演奏失败") + LF_ResetBeatMark(context) + ScriptLib.ShowReminder(context, defs.reminder_fail) +end + +--把信息从十进制转成二进制的字符串 +function LF_DecToBinStr(dec_num) + --转进制,字符的长度做一定的限制 + local bin_str = "" + dec_num = math.ceil(dec_num) + for i=1,16 do + if dec_num ~= 0 then + bin_str = bin_str..(dec_num%2) + dec_num = math.floor(dec_num/2) + else + return string.reverse(bin_str) + end + end +end + +--把二进制字符串变成十进制 +function LF_BinStrToDec(bin_str) + local len = string.len(bin_str) + local dec_num = 0 + for i=1,len do + dec_num = dec_num + (2^(len-i))*tonumber(string.sub(bin_str,i,i)) + end + return dec_num +end \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_6/DrumSingle.lua b/Resources/Scripts/Common/V3_6/DrumSingle.lua index e69de29bb..f529bf2df 100644 --- a/Resources/Scripts/Common/V3_6/DrumSingle.lua +++ b/Resources/Scripts/Common/V3_6/DrumSingle.lua @@ -0,0 +1,197 @@ +--ServerUploadTool Save to [/root/env/data/lua/common/V3_4] +--====================================================================================================================== +--|| Filename || DrumSingle +--|| RelVersion || V3_4 +--|| Owner || chao-jin +--|| Description || 对应Gadget 70900431 +--|| LogName || ##[DrumSingle] +--|| Protection || +--====================================================================================================================== +--[[Defs & Miscs +local defs = { + drum = 77001, --鼓的ConfigID + interval = 2, --敲鼓的节奏间隔 + reminder_success = 400112, + reminder_fail = 400113, +} +--敲鼓的节奏, 0空 1普攻 2下落 70900431鼓ID +local music_staff = {0,1,0,1, 1,0,1,0, 0,1,0,1} +]] +local OPTION = { + SINGLE = 809, + REGEXP = 810, +} + +--====================================================================================================================== +--Events +local DrumSingle_Triggers = { + [1] = { name = "group_load", config_id = 8001001, event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_single_group_load", trigger_count = 0}, + [2] = { name = "select_option", config_id = 8001002, event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_single_select_option", trigger_count = 0}, + [3] = { name = "time_axis_pass", config_id = 8001003, event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "", action = "action_single_time_axis_pass", trigger_count = 0}, + [4] = { name = "enter_region", config_id = 8001004, event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_enter_region", trigger_count = 0}, + [5] = { name = "leave_region", config_id = 8001005, event = EventType.EVENT_LEAVE_REGION, source = "", condition = "", action = "action_leave_region", trigger_count = 0}, + +} + +function DrumSingle_Initialize() + for k,v in pairs(DrumSingle_Triggers) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + table.insert(variables,{ config_id = 50000001,name = "Finished", value = 0, no_refresh = true}) +end + + DrumSingle_Initialize() + +--加载Group时的操作 +function action_single_group_load(context, evt) + ScriptLib.PrintContextLog(context, "##[DrumSingle]:加载敲鼓玩法Group") + LF_ResetBeatMark(context) + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, defs.drum, {OPTION.SINGLE}) + return 0 +end + +function action_enter_region(context,evt) + return 0 +end + +function action_leave_region(context,evt) + ScriptLib.SetTeamServerGlobalValue(context, context.uid, "SGV_Drum_Play_Start", 0) + return 0 +end +--玩家交互开始敲鼓玩法 +function action_single_select_option(context, evt) + --单曲模式 + if evt.param2 == OPTION.SINGLE then + ScriptLib.PrintContextLog(context, "##[DrumSingle]:敲鼓玩法,单曲演奏模式") + ScriptLib.SetTeamServerGlobalValue(context, context.uid, "SGV_Drum_Play_Start", 1) + ScriptLib.SetGroupTempValue(context, "PlayMode", OPTION.SINGLE, {}) + if music_staff[1] ~= nil then + --同步每个区间是否可以敲击 + ScriptLib.PrintContextLog(context, "##[DrumSingle]:更新鼓状态,可以敲击") + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.drum, "SGV_DrumAxis", 1) + end + ScriptLib.InitTimeAxis(context, "MusicPlay", {defs.interval}, true) + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, defs.drum, {}) + end + return 0 +end + +--检测敲击的时间轴 +function action_single_time_axis_pass(context, evt) + if evt.source_name == "MusicPlay" then + --处理单曲模式 +-- if OPTION.SINGLE == ScriptLib.GetGroupTempValue(context, "PlayMode", {}) then + local pre_beat_index = ScriptLib.GetGroupTempValue(context, "BeatIndex", {}) + ScriptLib.PrintContextLog(context, "##[DrumSingle]:上一个节拍"..pre_beat_index) + --处理上一个节拍是否错过,如果错过了就直接处理失败 + if music_staff[pre_beat_index] ~= nil then + if music_staff[pre_beat_index] ~= ScriptLib.GetGroupTempValue(context, "LastBeatType", {}) then + ScriptLib.PrintContextLog(context, "##[DrumSingle]: 上一个节拍 MISS") + LF_SinglePlayFail(context) + return 0 + end + end + + --初始化下一个时间段内的记录变量,更新鼓的状态 + ScriptLib.SetGroupTempValue(context, "BeatPercussed", 0, {}) + ScriptLib.SetGroupTempValue(context, "LastBeatType", 0, {}) + if music_staff[pre_beat_index+1] ~= nil then + --同步下一个区间可以敲击 + ScriptLib.PrintContextLog(context, "##[DrumSingle]:更新鼓状态,可以敲击") + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.drum, "SGV_DrumAxis", pre_beat_index+1) + else + ScriptLib.PrintContextLog(context, "##[DrumSingle]:没有下一个节拍了,成功") + LF_SinglePlaySuccess(context) + end + +-- end + ScriptLib.PrintContextLog(context, "##[DrumSingle]:节拍+1") + ScriptLib.ChangeGroupTempValue(context, "BeatIndex", 1, {}) + end + return 0 +end + +--====================================================================================================================== +--LevelFunctions +--玩家攻击敲鼓的SLC +function SLC_DrumPercussSingle(context, beat_timing, beat_type) + local play_mode = ScriptLib.GetGroupTempValue(context, "PlayMode", {}) + if play_mode == 0 then + ScriptLib.PrintContextLog(context, "##[DrumSingle]:演奏未开始,不处理敲击事件") + return 0 + end + ScriptLib.PrintContextLog(context, "##[DrumSingle]:[SLC]敲鼓") + + --获取是否进行过敲击 + local has_percussed = ScriptLib.GetGroupTempValue(context, "BeatPercussed", {}) + if 0 ~= ScriptLib.GetGroupTempValue(context, "BeatPercussed", {}) then + ScriptLib.PrintContextLog(context, "##[DrumSingle]:当前节拍重复敲击,失败") + LF_SinglePlayFail(context) + return 0 + end + ScriptLib.SetGroupTempValue(context, "LastBeatType", beat_type, {}) + --获取当前的敲击序列 + local staff_index = ScriptLib.GetGroupTempValue(context, "BeatIndex", {}) + --单曲模式校验 + if play_mode == OPTION.SINGLE then + if music_staff[staff_index] ~= 0 then + if beat_timing == 0 then + ScriptLib.PrintContextLog(context, "##[DrumSingle]:未在敲击区间内敲击,失败") + LF_SinglePlayFail(context) + return 0 + else + if music_staff[staff_index] ~= beat_type then + ScriptLib.PrintContextLog(context, "##[DrumSingle]:敲击方式错误,失败"..beat_type) + LF_SinglePlayFail(context) + return 0 + end + --最后一个节拍敲完 + if staff_index >= #music_staff then + ScriptLib.PrintContextLog(context, "##[DrumSingle]:全部节拍完成") + LF_SinglePlaySuccess(context) + return 0 + end + end + else + ScriptLib.PrintContextLog(context, "##[DrumSingle]:在非敲击节拍上进行敲击,失败处理") + LF_SinglePlayFail(context) + return 0 + end + end + --标记进行过敲击 + ScriptLib.SetGroupTempValue(context, "BeatPercussed", 1, {}) + return 0 +end + +--初始化鼓的敲击标记 +function LF_ResetBeatMark(context) + ScriptLib.PrintContextLog(context, "##[DrumSingle]:初始化节拍监听变量") + ScriptLib.SetGroupTempValue(context, "BeatIndex", 1, {}) --记录当前需要查询的节拍 + ScriptLib.SetGroupTempValue(context, "BeatPercussed", 0, {}) --当前节拍是否敲击过(同一个节拍只能敲击一次) + ScriptLib.SetGroupTempValue(context, "PlayMode", 0, {}) --当前的敲击模式是哪一种 + ScriptLib.SetGroupTempValue(context, "LastBeatType", 0, {}) + --设置鼓的SGV + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.drum, "SGV_DrumAxis", 0) +end + +--演奏成功 +function LF_SinglePlaySuccess(context) + ScriptLib.PrintContextLog(context, "##[DrumSingle]:演奏成功") + ScriptLib.EndTimeAxis(context, "MusicPlay") + LF_ResetBeatMark(context) + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, defs.drum, {OPTION.SINGLE}) + ScriptLib.ShowReminder(context, defs.reminder_success) + ScriptLib.SetGroupVariableValue(context, "Finished", 1) +end + +--演奏失败 +function LF_SinglePlayFail(context) + ScriptLib.PrintContextLog(context, "##[DrumSingle]:演奏失败") + ScriptLib.EndTimeAxis(context, "MusicPlay") + ScriptLib.SetTeamServerGlobalValue(context, context.uid, "SGV_Drum_Play_Start", 0) + LF_ResetBeatMark(context) + --失败则初始化操作台 + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, defs.drum, {OPTION.SINGLE}) + ScriptLib.ShowReminder(context, defs.reminder_fail) +end \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_6/EnergyPillar.lua b/Resources/Scripts/Common/V3_6/EnergyPillar.lua index e69de29bb..d37253810 100644 --- a/Resources/Scripts/Common/V3_6/EnergyPillar.lua +++ b/Resources/Scripts/Common/V3_6/EnergyPillar.lua @@ -0,0 +1,205 @@ +--ServerUploadTool Save to [/root/env/data/lua/common/V3_4] +--====================================================================================================================== +--|| Filename || EnergyPillar +--|| RelVersion || V3_4 +--|| Owner || chao-jin +--|| Description || +--|| LogName || ##[EnergyPillar] +--|| Protection || +--====================================================================================================================== +--Defs & Miscs +local defs = { + pillar_top = 90003, + pillar_mid = 90002, + pillar_bot = 90001, + operator_1 = 90004, + operator_2 = 90005, + operator_3 = 90006, +} + +local pillar_decals = { + [90001] = {"E","F","F"}, + [90002] = {"C","D","C"}, + [90003] = {"A","B","A"}, +} + +local pillar_answers = { + [1] = "FCA", + [2] = "ECB", + [3] = "FDA", +} + +local pillar_state_map = { + [90004] ={ {state = 0, sgv = "SGV_Surface01"}, {state = 1, sgv = "SGV_Surface02"},{state = 2, sgv = "SGV_Surface03"}}, + [90005] ={ {state = 0, sgv = "SGV_Surface02"}, {state = 1, sgv = "SGV_Surface03"},{state = 2, sgv = "SGV_Surface01"}}, + [90006] ={ {state = 0, sgv = "SGV_Surface03"}, {state = 1, sgv = "SGV_Surface01"},{state = 2, sgv = "SGV_Surface02"}}, +} + +local OPTION = { + TOP = 811, + MID = 812, + BOT = 813, +} +--====================================================================================================================== +local EP_Triggers = { + { name = "group_load", config_id = 8000101, event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0 }, + { name = "select_option", config_id = 8000102, event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_select_option", trigger_count = 0 }, +} +--Events +function action_group_load(context, evt) + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, defs.operator_1, {811,812,813}) + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, defs.operator_2, {811,812,813}) + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, defs.operator_3, {811,812,813}) + return 0 +end + + +function action_select_option(context, evt) + --处理电源的开关 + if evt.param2 == OPTION.TOP then + LF_TurnPillar(context, defs.pillar_top) + LF_CheckCombine(context) + end + if evt.param2 == OPTION.MID then + LF_TurnPillar(context, defs.pillar_mid) + LF_CheckCombine(context) + end + if evt.param2 == OPTION.BOT then + LF_TurnPillar(context, defs.pillar_bot) + LF_CheckCombine(context) + end + return 0 +end + +function action_gadget_state_change(context, evt) + return 0 +end + +--====================================================================================================================== +--LevelFunctions +function LF_TurnPillar(context, pillar_id) + local gadget_state = ScriptLib.GetGadgetStateByConfigId(context, base_info.group_id, pillar_id) + if gadget_state == 0 then + ScriptLib.SetGadgetStateByConfigId(context, pillar_id, 1) + return 0 + end + if gadget_state == 1 then + ScriptLib.SetGadgetStateByConfigId(context, pillar_id, 2) + return 0 + end + if gadget_state == 2 then + ScriptLib.SetGadgetStateByConfigId(context, pillar_id, 0) + return 0 + end +end + +--通过gadgetstate来拿一个转子的排列顺序,以State0的初始方向为基准 +function LF_GetPillarDecalSeq(context, pillar_id) + local state_pillar = ScriptLib.GetGadgetStateByConfigId(context, base_info.group_id, pillar_id) + if state_pillar == 0 then + return { + {decal = pillar_decals[pillar_id][1], sgv_key = "SGV_Surface01", p_id = pillar_id}, + {decal = pillar_decals[pillar_id][2], sgv_key = "SGV_Surface02", p_id = pillar_id}, + {decal = pillar_decals[pillar_id][3], sgv_key = "SGV_Surface03", p_id = pillar_id}, + } + end + if state_pillar == 1 then + return { + {decal = pillar_decals[pillar_id][2], sgv_key = "SGV_Surface02", p_id = pillar_id}, + {decal = pillar_decals[pillar_id][3], sgv_key = "SGV_Surface03", p_id = pillar_id}, + {decal = pillar_decals[pillar_id][1], sgv_key = "SGV_Surface01", p_id = pillar_id}, + } + end + if state_pillar == 2 then + return { + {decal = pillar_decals[pillar_id][3], sgv_key = "SGV_Surface03", p_id = pillar_id}, + {decal = pillar_decals[pillar_id][1], sgv_key = "SGV_Surface01", p_id = pillar_id}, + {decal = pillar_decals[pillar_id][2], sgv_key = "SGV_Surface02", p_id = pillar_id}, + } + end +end + +function LF_CheckCombine(context) + --先把所有的面全部重置为0 + for pillar_id,v in pairs(pillar_decals) do + ScriptLib.SetEntityServerGlobalValueByConfigId(context, pillar_id, "SGV_Surface01", 0) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, pillar_id, "SGV_Surface02", 0) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, pillar_id, "SGV_Surface03", 0) + end + --拿到每个转子的状态 + local pillar_map = {} + + for pillar_id, decal_str in pairs(pillar_decals) do + table.insert( pillar_map, LF_GetPillarDecalSeq(context, pillar_id)) + end +--[[ + local pillar_map = { + [1] = { --转子1 + {decal = a, sgv_key = 1, p_id = 1}, + {decal = b, sgv_key = 2, p_id = 1}, + {decal = a, sgv_key = 3, p_id = 1}, + }, + [2] = { --转子2 + {decal = c, sgv_key = 1, p_id = 2}, + {decal = d, sgv_key = 2, p_id = 2}, + {decal = c, sgv_key = 3, p_id = 2}, + }, + [3] = { --转子3 + {decal = e, sgv_key = 1, p_id = 3}, + {decal = f, sgv_key = 2, p_id = 3}, + {decal = f, sgv_key = 3, p_id = 3}, + }, + } + + +]] + --把三个转子的纵向面连接起来,做一个StringList + local pillar_combines = {} + for i=1,3 do + pillar_combines[i] = pillar_map[1][i].decal..pillar_map[2][i].decal..pillar_map[3][i].decal + end + local right_indexs = {} + + --每个StringList去和解做比较,符合解就把这组压到答案组里 + for i=1,3 do + for j=1,3 do + if pillar_combines[i] == pillar_answers[j] then + table.insert(right_indexs, i) + end + end + end + --没有匹配的返回 + if #right_indexs == 0 then + return 0 + else + --有匹配的就会去找对应的面 + if #right_indexs < 3 then + for i=1,#right_indexs do + local idx = right_indexs[i] + ScriptLib.SetEntityServerGlobalValueByConfigId(context, pillar_map[1][idx].p_id, pillar_map[1][idx].sgv_key, 1) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, pillar_map[2][idx].p_id, pillar_map[2][idx].sgv_key, 1) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, pillar_map[3][idx].p_id, pillar_map[3][idx].sgv_key, 1) + end + end + if #right_indexs == 3 then + for pillar_id,v in pairs(pillar_decals) do + ScriptLib.SetEntityServerGlobalValueByConfigId(context, pillar_id, "SGV_Surface01", 1) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, pillar_id, "SGV_Surface02", 1) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, pillar_id, "SGV_Surface03", 1) + end + ScriptLib.SetGroupVariableValue(context, "Finished", 1) + end + end +end + + +--初始化 +function EP_Initialize() + for k,v in pairs(EP_Triggers) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + table.insert(variables,{ config_id = 50000001,name = "Finished", value = 0, no_refresh = true}) +end + +EP_Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_6/EnergyTransform.lua b/Resources/Scripts/Common/V3_6/EnergyTransform.lua index e69de29bb..ba967508d 100644 --- a/Resources/Scripts/Common/V3_6/EnergyTransform.lua +++ b/Resources/Scripts/Common/V3_6/EnergyTransform.lua @@ -0,0 +1,825 @@ +--ServerUploadTool Save to [/root/env/data/lua/common/V3_4] +--====================================================================================================================== +--|| Filename || EnergyTransform +--|| RelVersion || V3_4 +--|| Owner || chao-jin +--|| Description || 重构的能量传递Require +--|| LogName || ##[EnergyTrans] +--|| Protection || +--====================================================================================================================== +--Defs & Miscs +--[[ +local DIR = {Up = 0,Right = 1,Down = 2,Left = 3,None = 4,} +--转换器的列表,1表示可移动 +local defs = { + pointarray_id = 110200028, --点阵ID + graph_num = 1, + len_x = 7, --长度 + len_z = 9, --高度 + rot_y = 0, --偏转角 + reminder_push_warning = 400095, --无法推动的reminder +} +local converter_infos = {[71017] = 2,[71022] = 1,[71039] = 1,[71040] = 1} +--0->断路 |-1 电源| 1-> 可停留节点| 1.5 -> 可能存在结晶的节点| 2 -> 电线 | 2.5-> 结晶块 | +--3-> 接收器 | 4 -> 中继器 | 4.5 -> 对位中继器输入 + +local connected_graph = { +[9] = { 1, 2, 2, 2, 1, 2, 1}, +[8] = { 0, 0, 0, 0, 0, 0, 2}, +[7] = { 1, 2, 3, 0, -1, 0, 1}, +[6] = { 2, 0, 0, 0, 2, 0, 2}, +[5] = { 1, 2, 1, 2, 1, 2, 1}, +[4] = { 0, 0, 2, 0, 0, 0, 2}, +[3] = { 1, 2, 1, 2,2.5, 2, 1}, +[2] = { 2, 0, 0, 0, 0, 0, 2}, +[1] = { 3, 0, 0, 0, 0, 0,-1}, +} + +--与节点图一一对应,点阵中 点的位置 +local waypoint_graph = { +[9] = {10, 0, 0, 0, 6, 0, 5}, +[8] = { 0, 0, 0, 0, 0, 0, 0}, +[7] = {11, 0, 0, 0, 0, 0, 4}, +[6] = { 0, 0, 0, 0, 0, 0, 0}, +[5] = {12, 0, 9, 0, 7, 0, 3}, +[4] = { 0, 0, 0, 0, 0, 0, 0}, +[3] = {13, 0, 8, 0, 5, 0, 2}, +[2] = { 0, 0, 0, 0, 0, 0, 0}, +[1] = { 0, 0, 0, 0, 0, 0, 1}, +} + +local gadget_graph ={ +[9] = { 71035, 71024, 71024, 71024, 71028, 71006, 71027}, +[8] = { 0, 0, 0, 0, 0, 0, 71005}, +[7] = { 71029, 71013, 71019, 0, 71021, 0, 71036}, +[6] = { 71014, 0, 0, 0, 71020, 0, 71004}, +[5] = { 71030, 71012, 71031, 71011, 71034, 71010, 71026}, +[4] = { 0, 0, 71023, 0, 0, 0, 71003}, +[3] = { 71033, 71015, 71032, 71008, 71009, 71007, 71025}, +[2] = { 71016, 0, 0, 0, 0, 0, 71002}, +[1] = { 71018, 0, 0, 0, 0, 0, 71001}, +} + +--点阵和每个点的POS,用来在恢复的时候创建Gadget +local waypoint_pos = { + [1] = {x=1996.51245, y=197.46463, z=-1265.03467}, + [2] = {x=2000.27747, y=197.637466, z=-1269.03479}, + [3] = {x=2004.44043, y=197.682251, z=-1273.08423}, + [4] = {x=2008.35669, y=198.132111, z=-1276.61426}, + [5] = {x=2011.79822, y=198.469543, z=-1280.75232}, + [6] = {x=2016.40918, y=198.902481, z=-1275.91077}, + [7] = {x=2008.25366, y=198.260834, z=-1268.04431}, + [8] = {x=2008.5968, y=198.515762, z=-1260.09985}, + [9] = {x=2012.65173, y=198.5158, z=-1264.41284}, + [10] = {x=2025.0188, y=199.691757, z=-1267.24316}, + [11] = {x=2020.85693, y=198.902466, z=-1263.183}, + [12] = {x=2017.17883, y=198.681519, z=-1260.414}, + [13] = {x=2013.269, y=198.889435, z=-1255.92017}, +} + +--定义左下角原点、X轴、Z轴正方向的点,通过向量计算位置关系 +local axis_O = {x = 2009, z = -1252} +local axis_Z = {x = 2013, z = -1256} +local axis_X = {x = 2003, z = -1258} + + +--发射器的位置以及朝向,发射器的状态 +local emitter_infos = { + [71001] = {z = 1, x = 7, dir = DIR.Up}, + [71021] = {z = 7, x = 5, dir = DIR.Down}, +} + +local receiver_infos = { + [71018] = {r_type = "Rec", connect_gadget = {71037} }, + [71019] = {r_type = "Rec", connect_gadget = {71038} }, +} +]] +--====================================================================================================================== +--全局变量,不需要LD处理,仅在Require内部使用 +local _G_pipe_route = {} --电路的流向合集 +local _G_pipe_state= {} +local _G_ec_dir = 0 --电流的方向,每次递归计算的时候会用 +local _G_recur_counter = 0 --递归计数器 +local _G_cvt_graph = {} --在递归时建立的临时表,减少遍历次数 +local OPTION = {ROTATE = 31,START = 7,STOP = 72,PUSH = 193,} +--0->断路 |-1 电源| 1-> 可停留节点| 1.5 -> 可能存在结晶的节点| 2 -> 电线 | 2.5-> 结晶块 | +--3-> 接收器 | 4 -> 中继器 | 4.5 -> 对位中继器输入 +local NODE = {Off = 0,Power = -1,N_Node = 1,C_Node = 1.5, N_Pipe = 2, Crystal = 2.5, N_Rec = 3,C_Rec = 3.5,Sy_P_Node = 4,Sy_R_Node = 4.5} +--====================================================================================================================== +--Events +local ET_Triggers = { + { name = "group_load", config_id = 8000101, event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0 }, + { name = "select_option", config_id = 8000102, event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_select_option", trigger_count = 0 }, + { name = "time_axis_pass", config_id = 8000103, event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "", action = "action_time_axis_pass", trigger_count = 0 }, + { name = "platform_reach",config_id = 8000104, event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "", action = "action_platform_arrival", trigger_count = 0 }, +} + +--初始化 +function ET_Initialize() + for k,v in pairs(ET_Triggers) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end +end +--Events +function action_group_load(context, evt) + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:Group 加载完毕") + --确认每个电源的状态,修改按键信息,1代表物件结晶化,物件需要在加载完成的时候同步一次状态 + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:打开电源操作台操作") + for emitter_id,infos in pairs(emitter_infos) do + --物件没有结晶化,给选项 + if 0 == ScriptLib.GetGadgetAbilityFloatValue(context, base_info.group_id, emitter_id, "GV_TMHY_CRYSTAL") then + if 0 == ScriptLib.GetGadgetStateByConfigId(context, base_info.group_id, emitter_id) then + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, emitter_id, {OPTION.STOP}) + ScriptLib.SetGroupTempValue(context, "GenState"..emitter_id, 1, {base_info.group_id}) + end + if 201 == ScriptLib.GetGadgetStateByConfigId(context, base_info.group_id, emitter_id) then + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, emitter_id, {OPTION.START}) + ScriptLib.SetGroupTempValue(context, "GenState"..emitter_id, 0, {base_info.group_id}) + end + else + --物件结晶化了,选项关掉 + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, emitter_id, {}) + ScriptLib.SetGroupTempValue(context, "GenState"..emitter_id, 0, {base_info.group_id}) + end + end + + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:开始创建转换器") + local _cvt_graph = LF_RefreshGlobalConverterList(context) + for cvt_id,cvt_info in pairs(_cvt_graph) do + local waypoint = waypoint_graph[cvt_info.z][cvt_info.x] + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:转换器"..cvt_id.."对应路点"..waypoint) + --创建转换器,设置方向 + ScriptLib.CreateGadgetByConfigIdByPos(context, cvt_id, waypoint_pos[waypoint], {x = 0, y = defs.rot_y, z = 0}) + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:创建转换器"..cvt_id) + ScriptLib.SetGadgetStateByConfigId(context, cvt_id, cvt_info.dir) + --可移动的转换器 + if cvt_info.cvt_type == 1 then + if 0 == ScriptLib.GetGadgetAbilityFloatValue(context, base_info.group_id, cvt_id, "GV_TMHY_CRYSTAL") then + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, cvt_id, {OPTION.ROTATE, OPTION.PUSH}) + end + end + --不可移动的转换器 + if cvt_info.cvt_type == 2 then + if 0 == ScriptLib.GetGadgetAbilityFloatValue(context, base_info.group_id, cvt_id, "GV_TMHY_CRYSTAL") then + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, cvt_id, {OPTION.ROTATE}) + end + end + end + LF_CheckConnection(context) + return 0 +end + +function action_select_option(context, evt) + --处理电源的开关 + if emitter_infos[evt.param1] ~= nil and evt.param2 == OPTION.START then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:打开电源") +-- ScriptLib.SetEntityServerGlobalValueByConfigId(context, evt.param1, "SGV_PowerOn", 1) + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, evt.param1, {OPTION.STOP}) + ScriptLib.SetGadgetStateByConfigId(context, evt.param1, 201) + ScriptLib.SetGroupTempValue(context, "GenState"..evt.param1, 1, {base_info.group_id}) + LF_CheckConnection(context) + end + if emitter_infos[evt.param1] ~= nil and evt.param2 == OPTION.STOP then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:关闭电源") +-- ScriptLib.SetEntityServerGlobalValueByConfigId(context, evt.param1, "SGV_PowerOn", 0) + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, evt.param1, {OPTION.START}) + ScriptLib.SetGadgetStateByConfigId(context, evt.param1, 0) + ScriptLib.SetGroupTempValue(context, "GenState"..evt.param1, 0, {base_info.group_id}) + LF_CheckConnection(context) + end + + --处理中继器的旋转 + if converter_infos[evt.param1] ~= nil and evt.param2 == OPTION.ROTATE then + --判断结晶化 + if 1 == ScriptLib.GetGadgetAbilityFloatValue(context, base_info.group_id, evt.param1, "GV_TMHY_CRYSTAL") then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:电桩结晶化了,不能旋转") + ScriptLib.ShowReminder(context, defs.reminder_push_warning) + end + local rotate_state = ScriptLib.GetGadgetStateByConfigId(context, base_info.group_id, evt.param1) +-- ScriptLib.PrintContextLog(context, "##[EnergyTrans]:旋转中继器,旋转前方向"..rotate_state) + if rotate_state == 3 then + rotate_state = 0 + else + rotate_state = rotate_state + 1 + end + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:旋转中继器,更新方向"..rotate_state) + --更新当前电桩的朝向 + LF_LockConverterOperations(context, true) + ScriptLib.SetGadgetStateByConfigId(context, evt.param1, rotate_state) + LF_SetConverterData(context, evt.param1, "Gadget_State", rotate_state) + ScriptLib.InitTimeAxis(context, tostring(evt.param1), {1}, false) + end + + --处理推动电桩,只有类型1的电桩才会推动 + if converter_infos[evt.param1] ~= nil and converter_infos[evt.param1] == 1 and evt.param2 == OPTION.PUSH then + if 1 == ScriptLib.GetGadgetAbilityFloatValue(context, base_info.group_id, evt.param1, "GV_TMHY_CRYSTAL") then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:电桩结晶化了,不能移动") + ScriptLib.ShowReminder(context, defs.reminder_push_warning) + end + --按照玩家和电桩的相对位置推动电桩 + local push_dir = LF_CalcDirection(context, context.uid, evt.param1) + local path = LF_GetMovePath(context, evt.param1, push_dir) + if path ~= 0 then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:推动中继器"..path[1].."to"..path[2]) + ScriptLib.SetPlatformPointArray(context, evt.param1, defs.pointarray_id, path, { route_type = 0}) + else + ScriptLib.ShowReminder(context, defs.reminder_push_warning) + end + LF_LockConverterOperations(context, true) + ScriptLib.InitTimeAxis(context, tostring(evt.param1), {1}, false) + end + + return 0 +end + +--电桩旋转过程完成,检测电路连通和恢复电桩操作 +function action_time_axis_pass(context, evt) + LF_CheckConnection(context) + LF_LockConverterOperations(context, false) + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:操作时点完成,TimeAxis结束") + return 0 +end + +--电桩到达目标位置 +function action_platform_arrival( context, evt) + --到达的柱子是这组Group里的 + if nil == converter_infos[evt.param1] then + return -1 + end + --到的不是目标点 + if evt.param3 ~= ScriptLib.GetGroupTempValue(context, "Move_Target_Point", {}) then + return -1 + end + local pos = LF_GetWaypointPos(evt.param3) + --更新当前电桩的信息 + LF_SetConverterData( context, evt.param1, "Gadget_Pos", {pos_z = pos[1] ,pos_x = pos[2]}) + LF_CheckConnection(context) + return 0 +end +--====================================================================================================================== +--ServerLuaCalls +--电桩从结晶化恢复时,通知Group恢复操作 +function SLC_CVTCrystallizeOff(context) + local cvt_cfg_id = ScriptLib.GetGadgetConfigId(context, {gadget_eid = context.source_entity_id}) + if converter_infos[cvt_cfg_id] == 1 then + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, cvt_cfg_id, {OPTION.PUSH, OPTION.ROTATE}) + end + if converter_infos[cvt_cfg_id] == 2 then + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, cvt_cfg_id, {OPTION.ROTATE}) + end + LF_CheckConnection(context) + return 0 +end + +--电桩结晶化,通知Group关闭操作 +function SLC_CVTCrystallizeOn(context) + local cvt_cfg_id = ScriptLib.GetGadgetConfigId(context, {gadget_eid = context.source_entity_id}) + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, cvt_cfg_id, {}) + LF_CheckConnection(context) + return 0 +end + +--电源结晶相关SLC +function SLC_GeneratorCrystalStateChange(context, is_crystallized) + local gen_cfg_id = ScriptLib.GetGadgetConfigId(context, {gadget_eid = context.source_entity_id}) + --结晶化时关掉开关的选项 + if 1 == is_crystallized then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电源SLC]电源结晶") + ScriptLib.SetGroupTempValue(context, "GenState"..gen_cfg_id, 0, {base_info.group_id}) + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, gen_cfg_id, {}) + if 201 == ScriptLib.GetGadgetStateByConfigId(context, base_info.group_id, gen_cfg_id) then + --相当于关闭电源,走一遍遍历 + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电源SLC]关闭电路") + LF_CheckConnection(context) + end + end + if 0 == is_crystallized then + --电源没打开,仍然是断路 + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电源SLC]电源结晶解除") + if 0 == ScriptLib.GetGadgetStateByConfigId(context, base_info.group_id, gen_cfg_id) then + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, gen_cfg_id, { OPTION.START }) + else + --相当于电源打开了,重新连通 + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电源SLC]打开电路") + ScriptLib.SetGroupTempValue(context, "GenState"..gen_cfg_id, 1, {base_info.group_id}) + LF_CheckConnection(context) + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, gen_cfg_id, { OPTION.STOP }) + end + end + return 0 +end + +--电桩结晶相关SLC +function SLC_ConverterCrystalStateChange(context, is_crystallized) + local cvt_cfg_id = ScriptLib.GetGadgetConfigId(context, {gadget_eid = context.source_entity_id}) + + --结晶化时关掉旋转的选项 + if 1 == is_crystallized then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[中继器]中继器结晶") + LF_CheckConnection(context) + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, cvt_cfg_id, {}) + end + if 0 == is_crystallized then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[中继器]中继器解除结晶") + LF_CheckConnection(context) + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, cvt_cfg_id, {OPTION.ROTATE}) + end + return 0 +end + +--接收器相关SLC,结晶和结晶化解除时都要发 +function SLC_ReceiverCrystalStateChange(context, is_crystallized) + --结晶化时关掉旋转的选项 + LF_CheckConnection(context) + return 0 +end + +--对位中继器相关SLC,结晶和结晶化解除时都要发 +function SLC_ReceiverCrystalStateChange(context, is_crystallized) + local sync_cfg_id = ScriptLib.GetGadgetConfigId(context, {gadget_eid = context.source_entity_id}) + LF_CheckConnection(context) + return 0 +end +--====================================================================================================================== +--LevelFunctions +--更新所有转换器的位置信息,使用一个全局表处理,每次使用时需要重置此表 +function LF_RefreshGlobalConverterList(context) + local _cvt_graph = {} +-- ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电桩]创建电桩列表") + for config_id,cvt_type in pairs(converter_infos) do + _cvt_graph[config_id] = LF_GetConverterData(context, config_id) +-- ScriptLib.PrintContextLog(context, "##[EnergyTrans]:转换器"..config_id.."z".._cvt_graph[config_id].z.."x".._cvt_graph[config_id].x) + end + return _cvt_graph +end + +--开关全部的电桩选项 +function LF_LockConverterOperations(context, is_lock) + if is_lock then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电桩]关闭全部中转器操作") + for cvt_id,info in pairs(converter_infos) do + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, cvt_id, {}) + end + else + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电桩]打开全部中转器操作") + for cvt_id,info in pairs(converter_infos) do + --校验结晶化 + if 0 == ScriptLib.GetGadgetAbilityFloatValue(context, base_info.group_id, cvt_id, "GV_TMHY_CRYSTAL") then + if info == 1 then + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, cvt_id, {OPTION.ROTATE, OPTION.PUSH}) + end + if info == 2 then + ScriptLib.SetWorktopOptionsByGroupId(context, base_info.group_id, cvt_id, {OPTION.ROTATE}) + end + end + end + end +end +--====================================================================================================================== +--电桩移动相关 +--获取电桩的移动路点列表 +function LF_GetMovePath(context, cvt_id, push_dir) + local _cvt_graph = LF_RefreshGlobalConverterList(context) + local pos_z = _cvt_graph[cvt_id].z + local pos_x = _cvt_graph[cvt_id].x + local cur_point = waypoint_graph[pos_z][pos_x] + --走到下一个可以停留的点为止 + for i=1,defs.len_x do + if push_dir == DIR.Up then + pos_z = pos_z + 1 + end + if push_dir == DIR.Down then + pos_z = pos_z - 1 + end + if push_dir == DIR.Left then + pos_x = pos_x - 1 + end + if push_dir == DIR.Right then + pos_x = pos_x + 1 + end + --检查是否越界,越界则直接返回 + if pos_z < 1 or pos_z > defs.len_z then +-- ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电桩]Z坐标越界") + return 0 + end + if pos_x < 1 or pos_x > defs.len_x then +-- ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电桩]X坐标越界") + return 0 + end + --找到下一个去的点信息 + if connected_graph[pos_z][pos_x] == NODE.Off or connected_graph[pos_z][pos_x] == NODE.Power or + connected_graph[pos_z][pos_x] == NODE.N_Rec or connected_graph[pos_z][pos_x] == NODE.C_Rec or + connected_graph[pos_z][pos_x] == NODE.Sy_P_Node or connected_graph[pos_z][pos_x] == NODE.Sy_R_Node then +-- ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电桩]前方是短路/终点/起点,停止检查") + return 0 + end + if connected_graph[pos_z][pos_x] == NODE.N_Pipe then +-- ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电桩]可以移动到中间点".."Z_"..pos_z.."X_"..pos_x) + end + if connected_graph[pos_z][pos_x] == NODE.Crystal then + if LF_IsGadgetCrystal(context, gadget_graph[pos_z][pos_x]) then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电桩]检查中间有结晶挡住") + return 0 + else + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电桩]检查中间没有结晶挡住") + end + end + --节点检测 + if connected_graph[pos_z][pos_x] == NODE.C_Node or connected_graph[pos_z][pos_x] == NODE.N_Node then +-- ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电桩]可以移动到停留点".."Z_"..pos_z.."X_"..pos_x) + if not LF_IsGadgetCrystal(context, gadget_graph[pos_z][pos_x]) then + for k,v in pairs(_cvt_graph) do + if v.z == pos_z and v.x == pos_x then + -- ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电桩]目标点有一个电桩了,不移动") + return 0 + end + end + --记录一下目标点 + ScriptLib.SetGroupTempValue(context, "Move_Target_Point", waypoint_graph[pos_z][pos_x], {}) + return {cur_point, waypoint_graph[pos_z][pos_x]} + else + return 0 + end + end + end +end +--根据点的位置获取xz坐标 +function LF_GetWaypointPos(point_id) + for z = 1,defs.len_z do + for x = 1,defs.len_x do + if waypoint_graph[z][x] == point_id then + return {z,x} + end + end + end +end + +--====================================================================================================================== +--全量检查当前电路的连接情况 +function LF_CheckConnection(context) + --每个电源都走一个递归检测逻辑 + --递归次数清零 + local _cvt_graph = LF_RefreshGlobalConverterList(context) + --建立一个每个电线的状态表,记为0 关闭 + for z = 1, defs.len_z do + _G_pipe_state[z] = {} + for x = 1, defs.len_x do + _G_pipe_state[z][x] = 0 + end + end + + for emt_id,emt_pos in pairs(emitter_infos) do + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[检查连接]检查电路连通,起点"..emt_id) + --更新电流方向 + _G_ec_dir = emt_pos.dir + _G_recur_counter = 0 + --检测一下电源的状态, + if LF_IsGeneratorOn(context, emt_id) then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[检查连接]开始打开电线") + LF_RunEC(context, emt_pos, true, _cvt_graph) + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[检查连接]检查完成") + else + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[检查连接]开始关闭电线") + LF_RunEC(context, emt_pos, false, _cvt_graph) + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[检查连接]检查完成") + end + end + + --刷新所有电线状态 + for z=1,defs.len_z do + for x=1,defs.len_x do + if gadget_graph[z][x] ~= 0 then + if connected_graph[z][x] == NODE.N_Pipe or connected_graph[z][x] == NODE.N_Node then + if _G_pipe_state[z][x] > 0 then + ScriptLib.SetGadgetStateByConfigId(context, gadget_graph[z][x], 201) + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[检查连接]刷新物件状态"..gadget_graph[z][x]) + else + ScriptLib.SetGadgetStateByConfigId(context, gadget_graph[z][x], 0) + end + end + end + end + end +end + +--从一个点出发,更新电流信息,递归处理 +function LF_RunEC(context, ec_pos, is_on, _cvt_graph) + _G_recur_counter = _G_recur_counter + 1 + if _G_recur_counter >= defs.len_x*defs.len_z then + return false + end + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]步长".._G_recur_counter.."电流方向".._G_ec_dir.."当前位置z"..ec_pos.z.."当前位置x"..ec_pos.x) + for cfg_id,cvt_pos in pairs(_cvt_graph) do + --找有没有对应的转接器 + if cvt_pos.x == ec_pos.x and cvt_pos.z == ec_pos.z then + --判断电桩有没有结晶化 + if 0 ~= ScriptLib.GetGadgetAbilityFloatValue(context, base_info.group_id, cfg_id, "GV_TMHY_CRYSTAL") then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]走到了一个结晶化的电桩") + ScriptLib.SetEntityServerGlobalValueByConfigId(context, cfg_id, "SGV_PowerOn", 0) + return false + end + --更新一下电流方向 + _G_ec_dir = cvt_pos.dir + --更新电桩状态 + if is_on then + ScriptLib.SetEntityServerGlobalValueByConfigId(context, cfg_id, "SGV_PowerOn", 1) + else + ScriptLib.SetEntityServerGlobalValueByConfigId(context, cfg_id, "SGV_PowerOn", 0) + end + end + end + --获取电流的所在节点 + local pos_x = ec_pos.x + local pos_z = ec_pos.z + --根据方向流动电流 + if _G_ec_dir == DIR.Up then + pos_z = pos_z + 1 + end + if _G_ec_dir == DIR.Down then + pos_z = pos_z - 1 + end + if _G_ec_dir == DIR.Left then + pos_x = pos_x - 1 + end + if _G_ec_dir == DIR.Right then + pos_x = pos_x + 1 + end + --检查是否越界,越界检查尝试转弯 + if pos_z < 1 or pos_z > defs.len_z or pos_x < 1 or pos_x > defs.len_x then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]走到了尽头,尝试拐弯") + local try_turn_ec = LF_TurnEcDir(context, ec_pos) + if try_turn_ec.dir == DIR.None then + return false + else + _G_ec_dir = try_turn_ec.dir + return LF_RunEC(context, ec_pos, is_on, _cvt_graph) + end + end + --下一个点的信息判断 + if connected_graph[pos_z][pos_x] == NODE.Off then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]走到了断路,尝试拐弯") + local try_turn_ec = LF_TurnEcDir(context, ec_pos) + if try_turn_ec.dir == DIR.None then + return false + else + _G_ec_dir = try_turn_ec.dir + return LF_RunEC(context, ec_pos, is_on, _cvt_graph) + end + end + + if connected_graph[pos_z][pos_x] == NODE.Power then + return false + end + + if connected_graph[pos_z][pos_x] == NODE.N_Pipe then + if is_on then + _G_pipe_state[pos_z][pos_x] = _G_pipe_state[pos_z][pos_x] + 1 + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]记录电线打开"..gadget_graph[pos_z][pos_x]) + end + return LF_RunEC(context, {z = pos_z,x = pos_x}, is_on, _cvt_graph) + end + + if connected_graph[pos_z][pos_x] == NODE.C_Node or connected_graph[pos_z][pos_x] == NODE.N_Node then + --确认节点有没有结晶化 + if LF_IsGadgetCrystal(context,gadget_graph[pos_z][pos_x]) then + --如果是打开,就给这个位置的标记+1 + if is_on then + _G_pipe_state[pos_z][pos_x] = _G_pipe_state[pos_z][pos_x] + 1 + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]记录节点打开") + end + end + return LF_RunEC(context, {z = pos_z,x = pos_x}, is_on, _cvt_graph) + end + + if connected_graph[pos_z][pos_x] == NODE.Crystal then + if LF_IsGadgetCrystal(context, gadget_graph[pos_z][pos_x]) then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]走到了结晶") + return false + else + LF_RunEC(context, {z = pos_z,x = pos_x}, is_on, _cvt_graph) + end + end + --到达了接收器 + if connected_graph[pos_z][pos_x] == NODE.N_Rec or connected_graph[pos_z][pos_x] == NODE.C_Rec then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]到达终点") + if LF_IsGadgetCrystal(context, gadget_graph[pos_z][pos_x]) then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]到达终点,终点被结晶化,连接失败") + return false + else + if is_on then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]接收器打开") + ScriptLib.SetEntityServerGlobalValueByConfigId(context, gadget_graph[pos_z][pos_x], "SGV_PowerOn", 1) + ScriptLib.SetGadgetStateByConfigId(context, gadget_graph[pos_z][pos_x], 201) + else + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]接收器关闭") + ScriptLib.SetEntityServerGlobalValueByConfigId(context, gadget_graph[pos_z][pos_x], "SGV_PowerOn", 0) + ScriptLib.SetGadgetStateByConfigId(context, gadget_graph[pos_z][pos_x], 0) + end + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]连接完毕") + return true + end + end + if connected_graph[pos_z][pos_x] == NODE.Sy_P_Node or connected_graph[pos_z][pos_x] == NODE.Sy_C_Node then +-- ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]到达终点") + if LF_IsGadgetCrystal(context, gadget_graph[pos_z][pos_x]) then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]到达终点,终点被结晶化,连接失败") + return false + else + if is_on then + ScriptLib.SetEntityServerGlobalValueByConfigId(context, gadget_graph[pos_z][pos_x], "SGV_PowerOn", 1) + else + ScriptLib.SetEntityServerGlobalValueByConfigId(context, gadget_graph[pos_z][pos_x], "SGV_PowerOn", 0) + end + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电路]连接完毕") + return true + end + end +end + +--电流在走到头时自动检测是否转向 +function LF_TurnEcDir(context, cur_pos) + --原来的电流是上下的,尝试左右移动 + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]尝试扭转电流") + local can_turn_dir = 0 + if _G_ec_dir == DIR.Up or _G_ec_dir == DIR.Down then + --尝试向右转动电流 + if (cur_pos.x + 1) <= defs.len_x and (cur_pos.x + 1) >= 1 then + if connected_graph[cur_pos.z][cur_pos.x + 1] >= 1 then + can_turn_dir = can_turn_dir + 1 + end + end + --尝试向左转动电流 + if (cur_pos.x - 1) >= 1 and (cur_pos.x - 1) <= defs.len_x then + if connected_graph[cur_pos.z][cur_pos.x - 1] >= 1 then + can_turn_dir = can_turn_dir + 10 + end + end + --电流上下都没法转或者都能转 + if can_turn_dir == 11 or can_turn_dir == 0 then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]不转") + return {dir = DIR.None,z = cur_pos.z, x = cur_pos.x} + else + if can_turn_dir == 1 then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]右转") + return {dir = DIR.Right,z = cur_pos.z,x = cur_pos.x + 1} + end + if can_turn_dir == 10 then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]左转") + return {dir = DIR.Left,z = cur_pos.z,x = cur_pos.x - 1} + end + end + end + if _G_ec_dir == DIR.Left or _G_ec_dir == DIR.Right then + --尝试向上转动电流 + if (cur_pos.z + 1) <= defs.len_z and (cur_pos.z + 1) >= 1 then + if connected_graph[cur_pos.z+1][cur_pos.x] >= 1 then + can_turn_dir = can_turn_dir + 1 + end + end + --尝试向下转动电流 + if (cur_pos.z - 1) >= 1 and (cur_pos.z - 1) <= defs.len_z then + if connected_graph[cur_pos.z-1][cur_pos.x] >= 1 then + can_turn_dir = can_turn_dir + 10 + end + end + --电流上下都没法转或者都能转 + if can_turn_dir == 11 or can_turn_dir == 0 then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]不转") + return {dir = DIR.None, z = cur_pos.z, x = cur_pos.x } + else + if can_turn_dir == 1 then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]上转") + return {dir = DIR.Up,z = cur_pos.z + 1,x = cur_pos.x } + end + if can_turn_dir == 10 then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:[电流]下转") + return {dir = DIR.Down,z = cur_pos.z - 1,x = cur_pos.x } + end + end + end + +end + +--判断一个节点或者电源是否被结晶化 +function LF_IsGadgetCrystal(context, gadget_cid) + if 0 == ScriptLib.GetGadgetAbilityFloatValue(context, base_info.group_id, gadget_cid, "GV_TMHY_CRYSTAL") then + return false + else + return true + end +end + +--判断电源是否通电,201为电源打开,GV为0时非结晶化 +function LF_IsGeneratorOn(context, gen_id) + if 0 == ScriptLib.GetGroupTempValue(context, "GenState"..gen_id, {base_info.group_id}) then + return false + else + return true + end +end +--====================================================================================================================== + +--====================================================================================================================== +--计算玩家和电桩的相对位置 +--根据玩家和电桩的坐标获取对应的夹角,计算出电桩移动的位置 +function LF_CalcDirection(context, uid, cvt_id) + local avatar_pos = LF_GetEntityPos(context, context.uid, 0) + local conver_pos = LF_GetEntityPos(context, 0, cvt_id) + local vec_axis_OZ = {x = (axis_Z.x - axis_O.x), z = (axis_Z.z - axis_O.z)} + local vec_axis_OX = {x = (axis_X.x - axis_O.x), z = (axis_X.z - axis_O.z)} + local vec_cvt2avt = {x = (avatar_pos.x - conver_pos.x), z = (avatar_pos.z - conver_pos.z)} + local deg_avt2OZ = LF_ClacAngle(vec_axis_OZ, vec_cvt2avt) + local deg_avt2OX = LF_ClacAngle(vec_axis_OX, vec_cvt2avt) + if 0 <= deg_avt2OZ and deg_avt2OZ <= 45 then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:向后推动") + return DIR.Down + end + if 45 < deg_avt2OZ and deg_avt2OZ < 135 then + if 0 <= deg_avt2OX and deg_avt2OX <= 45 then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:向左推动") + return DIR.Left + end + if 135 <= deg_avt2OX and deg_avt2OX <= 180 then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:向右推动") + return DIR.Right + end + end + if 135 <= deg_avt2OZ and deg_avt2OZ <= 180 then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:向前推动") + return DIR.Up + end +end + +--计算向量夹角 +function LF_ClacAngle(vec1, vec2) + local vec_cos = (vec1.x*vec2.x + vec1.z*vec2.z)/(math.sqrt( vec1.x^2 + vec1.z^2 )*math.sqrt( vec2.x^2 + vec2.z^2)) + return (math.acos(vec_cos)/math.pi*180) +end + +--拿到实体位置 +function LF_GetEntityPos(context, uid, cid) + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:获取坐标") + local _eid = 0 + --转译entityId + if uid ~= 0 then + _eid = ScriptLib.GetAvatarEntityIdByUid(context, uid) + elseif cid ~= 0 then + _eid = ScriptLib.GetEntityIdByConfigId(context, cid) + end + --返回安全值,印象中直接返回_array时table里不干净 + local _array = ScriptLib.GetPosByEntityId(context, _eid) + local _res = {} + if _array.x == 0 and _array.y == 0 and _array.z == 0 then + ScriptLib.PrintContextLog(context, "##[EnergyTrans]:获取坐标失败,报错") + _res.error = 1 + return _res + end + _res.x = _array.x + _res.y = _array.y + _res.z = _array.z + return _res +end + +--====================================================================================================================== +--切分和储存电桩数据 +--|移动类型 1位|GadgetState 1位|Pos_Z 2位|Pos_X 2位| +--|1移动 2固定|State 0 1 2 3代表朝向 +--切分储存的数据 +function LF_GetConverterData(context, config_id) + local cvt_archive_int = ScriptLib.GetGroupVariableValue(context, "converter_"..tostring(config_id)) + local cvt_archive_str = tostring(math.ceil(cvt_archive_int)) + return { cvt_type = tonumber(string.sub(cvt_archive_str,1,1)), + dir = tonumber(string.sub(cvt_archive_str,2,2)), + z = tonumber(string.sub(cvt_archive_str,3,4)), + x = tonumber(string.sub(cvt_archive_str,5,6))} +end + +--数据储存 +function LF_SetConverterData( context, config_id, data_type, data_info) + local cvt_archive_int = ScriptLib.GetGroupVariableValue(context, "converter_"..tostring(config_id)) + local cvt_archive_str = tostring(math.ceil(cvt_archive_int)) + local cvt_new_archive_str = "" + if data_type == "Gadget_State" then + cvt_new_archive_str = table.concat({string.sub(cvt_archive_str,1,1), tostring(data_info), string.sub(cvt_archive_str,3,6)}) + ScriptLib.SetGroupVariableValue(context, "converter_"..config_id, math.ceil( tonumber(cvt_new_archive_str)) ) + end + if data_type == "Gadget_Pos" then + local cvt_pos_new_z = "" + local cvt_pos_new_x = "" + if data_info.pos_z < 10 then + cvt_pos_new_z = "0"..tostring(data_info.pos_z) + else + cvt_pos_new_z = tostring(data_info.pos_z) + end + if data_info.pos_x < 10 then + cvt_pos_new_x = "0"..tostring(data_info.pos_x) + else + cvt_pos_new_x = tostring(data_info.pos_x) + end + cvt_new_archive_str = table.concat({string.sub(cvt_archive_str,1,2), cvt_pos_new_z, cvt_pos_new_x}) + ScriptLib.SetGroupVariableValue(context, "converter_"..config_id, math.ceil( tonumber(cvt_new_archive_str)) ) + end +end +--====================================================================================================================== +ET_Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/V3_6/PB_ChaseFeather.lua b/Resources/Scripts/Common/V3_6/PB_ChaseFeather.lua index e69de29bb..47f39c793 100644 --- a/Resources/Scripts/Common/V3_6/PB_ChaseFeather.lua +++ b/Resources/Scripts/Common/V3_6/PB_ChaseFeather.lua @@ -0,0 +1,110 @@ +--ServerUploadTool Save to [/root/env/data/lua/common/V3_6] +--====================================================================================================================== +--|| Filename || PB_ChaseFeather +--|| RelVersion || V3_6 +--|| Owner || chao-jin +--|| Description || 追逐草神羽毛的玩法 +--|| LogName || ##[PB_ChaseFeather] +--|| Protection || +--====================================================================================================================== +--Defs & Miscs || 需要LD配置的内容 + +local defs = { + feather = 108001, --草神羽毛的ID + pointarray_id = 110200030, --草神羽毛移动的点阵ID + target_pos = 6, --最后的目标点 + end_suite = 2, -- +} + +--====================================================================================================================== +--Events || Group内EVENT事件,记得初始化和return 0 +local CF_Triggers = { + { name = "group_load", config_id = 8000101, event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0 }, + { name = "platform_arrival", config_id = 8000102, event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "", action = "action_platform_arrival", trigger_count = 0 }, + { name = "any_gadget_die", config_id = 8000103, event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "", action = "action_any_gadget_die", trigger_count = 0 }, + +} + +function CF_Initialize() + for k,v in pairs(CF_Triggers) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end +end + +CF_Initialize() + +function action_group_load(context, evt) + ScriptLib.PrintContextLog(context, "##[PB_ChaseFeather.lua]:追逐羽毛Group加载,初始化") + ScriptLib.SetGroupTempValue(context, "CurrentPos", 1, {base_info.group_id}) + ScriptLib.SetGroupTempValue(context, "TargetPos", 2, {base_info.group_id}) + ScriptLib.SetGroupTempValue(context, "ChaseStarted", 0, {base_info.group_id}) + return 0 +end + +--羽毛到达目标点 +function action_platform_arrival(context, evt) + if evt.param1 ~= defs.feather then + return 0 + end + if evt.param3 ~= ScriptLib.GetGroupTempValue(context, "TargetPos", {base_info.group_id}) then + return 0 + end + ScriptLib.PrintContextLog(context, "##[PB_ChaseFeather.lua]:羽毛到达目标点,更新位置信息"..evt.param3) + if evt.param3 == defs.target_pos then + ScriptLib.PrintContextLog(context, "##[PB_ChaseFeather.lua]:羽毛到达目标点,更新羽毛状态为可以拾取") + ScriptLib.SetGadgetStateByConfigId(context, defs.feather, 201) + return 0 + end + ScriptLib.SetGroupTempValue(context, "CurrentPos", evt.param3, {base_info.group_id}) + ScriptLib.SetGroupTempValue(context, "ChaseStarted", 0, {base_info.group_id}) + return 0 +end + +--羽毛从201状态死亡,完成玩法 +function action_any_gadget_die(context, evt) + if evt.param1 == defs.feather then + ScriptLib.ShowReminder(context, 400112) +-- ScriptLib.GoToGroupSuite(context, base_info.group_id, defs.end_suite) + end + return 0 +end + +--====================================================================================================================== +--ServerLuaCalls || 物件SLC,记得return 0 +--羽毛被追逐 +function SLC_BeChased(context) + if 0 ~= ScriptLib.GetGroupTempValue(context, "ChaseStarted", {base_info.group_id}) then + ScriptLib.PrintContextLog(context, "##[PB_ChaseFeather.lua]:羽毛正在移动") + return 0 + end + if 0 ~= ScriptLib.GetGadgetStateByConfigId(context, base_info.group_id, defs.feather) then + ScriptLib.PrintContextLog(context, "##[PB_ChaseFeather.lua]:羽毛移动完成") + return 0 + end + + local cur_pos = ScriptLib.GetGroupTempValue(context, "CurrentPos", {base_info.group_id}) + if cur_pos == 1 then + ScriptLib.PrintContextLog(context, "##[PB_ChaseFeather.lua]:追逐开始,闪现到目标点") + ScriptLib.SetGroupTempValue(context, "CurrentPos", 2, {base_info.group_id}) + ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, defs.feather) + + local _ret,R_pos,R_rot = ScriptLib.GetPlatformArrayInfoByPointId(context, defs.pointarray_id, 2) + local blink_pos = {x = R_pos.x, y = R_pos.y, z = R_pos.z} + ScriptLib.CreateGadgetByConfigIdByPos(context, defs.feather, blink_pos, {x = 0, y = 0, z = 0}) + ScriptLib.PrintContextLog(context, "##[PB_ChaseFeather.lua]:闪现结束".._ret) + return 0 + end + ScriptLib.SetGroupTempValue(context, "ChaseStarted", 1, {base_info.group_id}) + ScriptLib.SetGroupTempValue(context, "TargetPos", cur_pos+1, {base_info.group_id}) + ScriptLib.PrintContextLog(context, "##[PB_ChaseFeather.lua]:追逐开始"..cur_pos.."to"..(cur_pos+1)) + ScriptLib.SetPlatformPointArray(context, defs.feather, defs.pointarray_id, {cur_pos, cur_pos+1}, {route_type = 0}) + ScriptLib.StartPlatform(context, defs.feather) + return 0 +end + +--====================================================================================================================== +--LevelFunctions || 自定义函数 + + + diff --git a/Resources/Scripts/Common/V3_6/PB_CollectFeatherOrb.lua b/Resources/Scripts/Common/V3_6/PB_CollectFeatherOrb.lua index e69de29bb..66839f321 100644 --- a/Resources/Scripts/Common/V3_6/PB_CollectFeatherOrb.lua +++ b/Resources/Scripts/Common/V3_6/PB_CollectFeatherOrb.lua @@ -0,0 +1,87 @@ +--ServerUploadTool Save to [/root/env/data/lua/common/V3_6] +--====================================================================================================================== +--|| Filename || PB_CollectFeatherOrb +--|| RelVersion || V3_6 +--|| Owner || chao-jin +--|| Description || 3.6 收集草神羽毛碎片的玩法 +--|| LogName || ##[PB_CollectFeatherOrb] +--|| Protection || +--====================================================================================================================== +--Defs & Miscs || 需要LD配置的内容 +--Suite1 配置羽毛 Suite2 配置微粒 +--[[ +local defs = { + time_limit = 20, + feather = 106001, --羽毛的ConfigID + orb_gadget_id = 70290729, + orb_nums = 5, + end_suite = 3, +} +]] +--====================================================================================================================== +--Events || Group内EVENT事件,记得初始化和return 0 +local CFO_Triggers = { + { name = "group_load", config_id = 8000101, event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0 }, + { name = "time_axis_pass", config_id = 8000102, event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "", action = "action_time_axis_pass", trigger_count = 0 }, + { name = "any_gadget_die", config_id = 8000103, event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "", action = "action_any_gadget_die", trigger_count = 0 }, +} + +function CFO_Initialize() + for k,v in pairs(CFO_Triggers) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end +end + +CFO_Initialize() + +--Group加载的时候初始化值 +function action_group_load(context, evt) + ScriptLib.PrintContextLog(context, "##[PB_CollectFeatherOrb.lua]:Group加载记录死亡的微粒数量") + ScriptLib.SetGroupTempValue(context, "OrbsCollectNums", 0, {base_info.group_id}) + return 0 +end + + +--收集微粒的时间轴 +function action_time_axis_pass(context, evt) + --时间轴期间没有收集完毕微粒,玩法重置 + if evt.source_name == "CollectOrbs" then + ScriptLib.PrintContextLog(context, "##[PB_CollectFeatherOrb.lua]:时间限制内没有收集完成全部微粒,玩法重置") + ScriptLib.SetGroupTempValue(context, "OrbsCollectNums", 0, {base_info.group_id}) + ScriptLib.ShowReminder(context, 400113) + ScriptLib.RefreshGroup(context, {group_id = base_info.group_id, suite = 1}) + end + return 0 +end + +--检测微粒死亡 +function action_any_gadget_die(context, evt) + ScriptLib.PrintContextLog(context, "##[PB_CollectFeatherOrb.lua]:草神羽毛微粒死亡,计数+1") + local orb_killed_num = ScriptLib.GetGroupTempValue(context, "OrbsCollectNums", {base_info.group_id}) + ScriptLib.ChangeGroupTempValue(context, "OrbsCollectNums", 1, {base_info.group_id}) + if orb_killed_num + 1 == defs.orb_nums then + ScriptLib.PrintContextLog(context, "##[PB_CollectFeatherOrb.lua]:草神羽毛全部死亡,完成玩法") +-- ScriptLib.GoToGroupSuite(context, base_info.group_id, defs.end_suite) + ScriptLib.ShowReminder(context, 400112) + ScriptLib.EndTimeAxis(context, "CollectOrbs") + end + return 0 +end + +--====================================================================================================================== +--ServerLuaCalls || 物件SLC,记得return 0 +--靠近羽毛之后,羽毛散开,创生需要收集的结晶 +function SLC_CollectStart(context) + ScriptLib.PrintContextLog(context, "##[PB_CollectFeatherOrb.lua]:靠近草神羽毛,玩法开始") + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, 2) + ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, defs.feather) + ScriptLib.InitTimeAxis(context, "CollectOrbs", {defs.time_limit}, false) + return 0 +end + +--====================================================================================================================== +--LevelFunctions || 自定义函数 + + + diff --git a/Resources/Scripts/Common/V3_6/PB_ElfFlower.lua b/Resources/Scripts/Common/V3_6/PB_ElfFlower.lua index e69de29bb..deaa68f46 100644 --- a/Resources/Scripts/Common/V3_6/PB_ElfFlower.lua +++ b/Resources/Scripts/Common/V3_6/PB_ElfFlower.lua @@ -0,0 +1,78 @@ +--ServerUploadTool Save to [/root/env/data/lua/common/V3_6] +--====================================================================================================================== +--|| Filename || PB_ElfFlower +--|| RelVersion || V3_6 +--|| Owner || chao-jin +--|| Description || 精灵花朵收集玩法 +--|| LogName || ##[PB_ElfFlower] +--|| Protection || +--====================================================================================================================== +--Defs & Miscs || 需要LD配置的内容 +--[[ +local defs = { + flower_gadget_id = 70290733, +} +local elf_flowers = {} +]] +--====================================================================================================================== +--Events || Group内EVENT事件,记得初始化和return 0 +local EF_Triggers ={ + { name = "group_load", config_id = 8000101, event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0 }, + { name = "gadget_state_change", config_id = 8000102, event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "", action = "action_gadget_state_change", trigger_count = 0 }, + { name = "time_axis_pass", config_id = 8000103, event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "", action = "action_time_axis_pass", trigger_count = 0 }, +} + +function EF_Initialize() + for k,v in pairs(EF_Triggers) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + table.insert(variables,{ config_id = 50000001,name = "Finished", value = 0, no_refresh = true}) +end + +EF_Initialize() + +function action_group_load(context, evt) + ScriptLib.PrintContextLog(context, "##[PB_ElfFlower]:精灵花朵玩法加载") + ScriptLib.SetGroupTempValue(context, "FlowerBloomed", 0, {base_info.group_id}) + return 0 +end + +--监听花朵状态 +function action_gadget_state_change(context, evt) + if gadgets[evt.param2].gadget_id == 70290733 and evt.param1 == 201 then + ScriptLib.PrintContextLog(context, "##[PB_ElfFlower]: 精灵花朵状态变化") + if #elf_flowers == ScriptLib.GetGroupTempValue(context, "FlowerBloomed", {base_info.group_id}) then + ScriptLib.EndTimeAxis(context, "FlowerBloomTrail") + ScriptLib.PrintContextLog(context, "##[PB_ElfFlower]:挑战完成") + for i=1,#elf_flowers do + ScriptLib.SetGadgetStateByConfigId(context, elf_flowers[i], 202) + end + ScriptLib.SetGroupVariableValue(context, "Finished", 1) + return 0 + end + ScriptLib.EndTimeAxis(context, "FlowerBloomTrail") + ScriptLib.InitTimeAxis(context, "FlowerBloomTrail", {defs.time_limit}, false) + ScriptLib.ChangeGroupTempValue(context, "FlowerBloomed", 1, {base_info.group_id}) + end + return 0 +end + +function action_time_axis_pass(context, evt) + if evt.source_name == "FlowerBloomTrail" then + ScriptLib.PrintContextLog(context, "##[PB_ElfFlower]:时间结束,重置Group") + ScriptLib.SetGroupTempValue(context, "FlowerBloomed", 0, {base_info.group_id}) + for i=1,#elf_flowers do + ScriptLib.SetGadgetStateByConfigId(context, elf_flowers[i], 0) + end + end + return 0 +end +--====================================================================================================================== +--ServerLuaCalls || 物件SLC,记得return 0 + +--====================================================================================================================== +--LevelFunctions || 自定义函数 + + + diff --git a/Resources/Scripts/Common/V3_6/PB_FireTrail.lua b/Resources/Scripts/Common/V3_6/PB_FireTrail.lua index e69de29bb..ced047601 100644 --- a/Resources/Scripts/Common/V3_6/PB_FireTrail.lua +++ b/Resources/Scripts/Common/V3_6/PB_FireTrail.lua @@ -0,0 +1,85 @@ +--ServerUploadTool Save to [/root/env/data/lua/common/V3_6] +--====================================================================================================================== +--|| Filename || PB_FireTrail +--|| RelVersion || V3_6 +--|| Owner || chao-jin +--|| Description || +--|| LogName || ##[PB_FireTrail] +--|| Protection || +--====================================================================================================================== +--Defs & Miscs || 需要LD配置的内容 +--[[ +local defs = { + fire_seed = 110001, + time_limit = 5, +} + +local pillars = {110002,110003,110004,110005,110006} +]] +--====================================================================================================================== +--Events || Group内EVENT事件,记得初始化和return 0 +local FT_Triggers ={ + { name = "group_load", config_id = 8000101, event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0 }, + { name = "gadget_state_change", config_id = 8000102, event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "", action = "action_gadget_state_change", trigger_count = 0 }, + { name = "time_axis_pass", config_id = 8000103, event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "", action = "action_time_axis_pass", trigger_count = 0 }, +} + +function FT_Initialize() + for k,v in pairs(FT_Triggers) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end + table.insert(variables,{ config_id = 50000001,name = "Finished", value = 0, no_refresh = true}) +end + +FT_Initialize() + +function action_group_load(context, evt) + ScriptLib.PrintContextLog(context, "##[PB_FireTrail.lua]:火传导加载") + ScriptLib.SetGroupTempValue(context, "PillarChanged", 0, {base_info.group_id}) + return 0 +end + +function action_gadget_state_change(context, evt) + if evt.param2 == defs.fire_seed and evt.param1 == 201 then + ScriptLib.PrintContextLog(context, "##[PB_FireTrail.lua]:火种状态变化,开启时间轴") + ScriptLib.InitTimeAxis(context, "FireTrail", {defs.time_limit}, false) + return 0 + else + if gadgets[evt.param2].gadget_id == 70800422 and evt.param1 == 201 then + ScriptLib.PrintContextLog(context, "##[PB_FireTrail.lua]:传导柱状态变化,更新数量") + if #pillars == ScriptLib.GetGroupTempValue(context, "PillarChanged", {base_info.group_id}) then + ScriptLib.EndTimeAxis(context, "FireTrail") + ScriptLib.PrintContextLog(context, "##[PB_FireTrail.lua]:挑战完成") + ScriptLib.SetGroupVariableValue(context, "Finished", 1) + return 0 + end + ScriptLib.EndTimeAxis(context, "FireTrail") + ScriptLib.InitTimeAxis(context, "FireTrail", {defs.time_limit}, false) + ScriptLib.ChangeGroupTempValue(context, "PillarChanged", 1, {base_info.group_id}) + end + end + return 0 +end + +function action_time_axis_pass(context, evt) + if evt.source_name == "FireTrail" then + ScriptLib.PrintContextLog(context, "##[PB_FireTrail.lua]:火种监听的时间结束,重置Group") + ScriptLib.SetGroupTempValue(context, "PillarChanged", 0, {base_info.group_id}) + ScriptLib.SetGadgetStateByConfigId(context, defs.fire_seed, 0) + for i=1,#pillars do + ScriptLib.SetGadgetStateByConfigId(context, pillars[i], 0) + end + end + return 0 +end + + +--====================================================================================================================== +--ServerLuaCalls || 物件SLC,记得return 0 + +--====================================================================================================================== +--LevelFunctions || 自定义函数 + + + diff --git a/Resources/Scripts/Common/V3_6/PB_FlowerInStone.lua b/Resources/Scripts/Common/V3_6/PB_FlowerInStone.lua index e69de29bb..22e87b28e 100644 --- a/Resources/Scripts/Common/V3_6/PB_FlowerInStone.lua +++ b/Resources/Scripts/Common/V3_6/PB_FlowerInStone.lua @@ -0,0 +1,70 @@ +--ServerUploadTool Save to [/root/env/data/lua/common/V3_6] +--====================================================================================================================== +--|| Filename || PB_FlowerInStone +--|| RelVersion || V3_6 +--|| Owner || chao-jin +--|| Description || +--|| LogName || ##[PB_FlowerInStone] +--|| Protection || +--====================================================================================================================== +--Defs & Miscs || 需要LD配置的内容 +--[[ +local defs = { + bloom_time = 10, +} + +local flower_core = { + [flower_cfg_id] = core_cfg_id, +} +]] +--====================================================================================================================== +--Events || Group内EVENT事件,记得初始化和return 0 +local FIS_Triggers = { + { name = "gadget_state_change", config_id = 8000101, event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "", action = "action_gadget_state_change", trigger_count = 0 }, + { name = "time_axis_pass", config_id = 8000102, event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "", action = "action_time_axis_pass", trigger_count = 0 }, +} + +function FIS_Initialize() + for k,v in pairs(FIS_Triggers) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end +end + +FIS_Initialize() + +--石中花的状态变化,创建和移除采集物 +function action_gadget_state_change(context, evt) + if flower_core[evt.param2] ~= nil then + if evt.param1 == 0 then + ScriptLib.PrintContextLog(context, "##[PB_FlowerInStone.lua]:石中花关闭,移除采集物") + ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, flower_core[evt.param2]) + return 0 + end + if evt.param1 == 201 then + ScriptLib.PrintContextLog(context, "##[PB_FlowerInStone.lua]:石中花打开,创建采集物") + ScriptLib.CreateGadget(context, {config_id = flower_core[evt.param2]}) + ScriptLib.InitTimeAxis(context, tostring(evt.param2), {defs.bloom_time}, false) + return 0 + end + end + return 0 +end + +--开花后一段时间闭合 +function action_time_axis_pass(context, evt) + local flower_id = tonumber(evt.source_name) + if flower_id ~= nil then + ScriptLib.SetGadgetStateByConfigId(context, flower_id, 0) + end + return 0 +end + +--====================================================================================================================== +--ServerLuaCalls || 物件SLC,记得return 0 + +--====================================================================================================================== +--LevelFunctions || 自定义函数 + + + diff --git a/Resources/Scripts/Common/V3_6/ResidualBright.lua b/Resources/Scripts/Common/V3_6/ResidualBright.lua index e69de29bb..2b9f0e4e6 100644 --- a/Resources/Scripts/Common/V3_6/ResidualBright.lua +++ b/Resources/Scripts/Common/V3_6/ResidualBright.lua @@ -0,0 +1,86 @@ +--ServerUploadTool Save to [/root/env/data/lua/common/V3_4] +--====================================================================================================================== +--|| Filename || ResidualBright +--|| RelVersion || V3_4 +--|| Owner || chao-jin +--|| Description || +--|| LogName || ##[ResidualBright] +--|| Protection || +--====================================================================================================================== +--Defs & Miscs +--[[ +local defs = { + reset_region = 82001, + gadget_id_bright = 70310498, +} +]] + +--====================================================================================================================== +--Triggers&Init + +local BrightTriggers={ + { config_id = 8000001, name = "group_load", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_group_load", trigger_count = 0 }, + { config_id = 8000002,name = "leave_region", event = EventType.EVENT_LEAVE_REGION, source = "", condition = "", action = "action_leave_reset_region", forbid_guest = false, trigger_count = 0 }, +-- { config_id = 8000003, name = "gadget_state_change", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "", action = "action_gadget_state_change", trigger_count = 0 }, +} + +function LF_Initialize_Group(triggers, suites) + for i=1,#BrightTriggers do + table.insert(triggers, BrightTriggers[i]) + table.insert(suites[init_config.suite].triggers,BrightTriggers[i].name) + end + table.insert(variables,{ config_id = 50000001, name = "successed", value = 0, no_refresh = true}) +--初始化 +end + +LF_Initialize_Group(triggers, suites) + +--====================================================================================================================== +--Events + + +--加载判定物件状态 +function action_group_load(context, evt) + if ScriptLib.GetGroupVariableValue(context, "successed")==1 then + LF_RemoveAllRepeater(context) + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, 3) + for i=1,#gadgets do + if gadgets[i].gadget_id == defs.gadget_id_bright then + ScriptLib.SetGroupGadgetStateByConfigId(context, base_info.group_id, gadgets[i].config_id, 901) + end + end + return 0 + end + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, 2) + return 0 +end + + +--退出区域关闭挑战 +function action_leave_reset_region(context, evt) + if evt.param1 ~= defs.reset_region then + return 0 + end + if ScriptLib.GetGroupVariableValue(context, "successed")==1 then + LF_RemoveAllRepeater(context) + return 0 + end + ScriptLib.RefreshGroup(context,{group_id=base_info.group_id,suite=1}) + ScriptLib.AddExtraGroupSuite(context, base_info.group_id, 2) + return 0 +end + +--====================================================================================================================== +--LevelFunctions + +function LF_RemoveAllRepeater(context) + ScriptLib.PrintContextLog(context, "##[ResidualBright]:移除所有的残念") + for i=1,#gadgets do + if gadgets[i].gadget_id == defs.gadget_id_bright then + ScriptLib.RemoveEntityByConfigId(context, base_info.group_id, EntityType.GADGET, gadgets[i].config_id) + end + end + return 0 +end + + diff --git a/Resources/Scripts/Common/V3_6/WQ_ElfFollow.lua b/Resources/Scripts/Common/V3_6/WQ_ElfFollow.lua index e69de29bb..ce822f22e 100644 --- a/Resources/Scripts/Common/V3_6/WQ_ElfFollow.lua +++ b/Resources/Scripts/Common/V3_6/WQ_ElfFollow.lua @@ -0,0 +1,213 @@ +--ServerUploadTool Save to [/root/env/data/lua/common/V3_6] +--====================================================================================================================== +--|| Filename || WQ_ElfFollow +--|| RelVersion || V3_6 +--|| Owner || chao-jin +--|| Description || 用来给WQ任务中,小精灵伴飞的Require处理 +--|| LogName || ##[WQ_ElfFollow] +--|| Protection || 玩法失败refresh到suite1,中间不存档 +--====================================================================================================================== +--Defs & Miscs || 需要LD配置的内容 +--[[ +local defs = { + elf_config_id = 75001, + pointarray_id = 110200031, --使用的点阵ID + dis_fail_limit = 15, --跟随的最大距离限制 + dis_warning_limit = 6, --超出报警的距离 + time_fail_limit = 8, --超出最大距离限制判的上限时间 + time_warning_cd = 5, --提示玩家跟随的CD + slusha_type = 3, --司露莎载具状态 + reminder_follow = 400094, --提示跟随 + reminder_fail = 400113, + reminder_success = 400112, + point_target = 15, --最终到达的终点ID + end_suite = 2 +} +--小精灵到达对应的Point时短暂停留,播放动画,播的动画ID +local elf_actions = { + [1] = {wait_time = 0,action_id = 0, next_point = 4}, --目标点在点阵内的PointID 到达点阵时播放的动画ID,没有则填0 + [4] = {wait_time = 2,action_id = 0, next_point = 8}, + [8] = {wait_time = 2,action_id = 0, next_point = 12}, + [12] = {wait_time = 2,action_id = 0, next_point = 15}, + [15] = {wait_time = 2,action_id = 0, next_point = 0}, +} +]] +--====================================================================================================================== +--Events || Group内EVENT事件,记得初始化和return 0 +local ElfFollow_Triggers = { + { name = "gadget_state_change", config_id = 8000101, event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "", action = "action_gadget_state_change", trigger_count = 0 }, + { name = "time_axis_pass", config_id = 8000102, event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "", action = "action_time_axis_pass", trigger_count = 0 }, + { name = "platform_arrival", config_id = 8000103, event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "", action = "action_platform_arrival", trigger_count = 0 } +} + +function ElfFollow_Initialize() + for k,v in pairs(ElfFollow_Triggers) do + table.insert(triggers, v) + table.insert(suites[1].triggers, v.name) + end +end + +ElfFollow_Initialize() + +--监听小精灵Gadget的状态,切到201的时候开始玩法 +function action_gadget_state_change(context, evt) + if evt.param2 == defs.elf_config_id and evt.param1 == 201 then + ScriptLib.PrintContextLog(context, "##[WQ_ElfFollow]:小精灵状态改变,开始飞行玩法") + LF_StartFollowPlay(context) + end + return 0 +end + +--定时检测距离 +function action_time_axis_pass(context, evt) +-- ScriptLib.PrintContextLog(context, "##[WQ_ElfFollow]:触发TimeAxis") + --提示跟随 + if evt.source_name == "WARNING_CD" then + ScriptLib.SetGroupTempValue(context, "IS_WARNING_CD", 0, {}) + ScriptLib.PrintContextLog(context, "##[WQ_ElfFollow]:提示CD结束") + end + --检查玩家和小精灵距离 + if evt.source_name == "CHECK_DISTANCE" then + LF_CalcDist(context) + end + --检查玩家是否上了载具 + if evt.source_name == "CHECK_PLAYER_VEHICLE" then + ScriptLib.PrintContextLog(context, "##[WQ_ElfFollow]:检查玩家是否上载具") + local _host_uid = ScriptLib.GetSceneOwnerUid(context) + if defs.slusha_type ~= ScriptLib.GetPlayerVehicleType(context, _host_uid) then + ScriptLib.PrintContextLog(context, "##[WQ_ElfFollow]:玩家没有上载具") + LF_FollowPlayFail(context) + end + end + --小精灵继续飞行 + if evt.source_name == "ELF_FLY_AFTER_WAIT" then + ScriptLib.PrintContextLog(context, "##[WQ_ElfFollow]:小精灵继续飞行") + ScriptLib.SetPlatformPointArray(context, defs.elf_config_id, defs.pointarray_id, LF_GetFlyPath(context), {route_type = 0,turn_mode = false}) + end + return 0 +end + +--到达停留点 +function action_platform_arrival( context, evt) + ScriptLib.PrintContextLog(context, "##[WQ_ElfFollow]:小精灵到达点"..evt.param3) + --到达终点 + if evt.param3 == defs.point_target then + LF_FollowPlaySuccess(context) + return 0 + end + if elf_actions[evt.param3] ~= nil then + --小精灵播动画 + if elf_actions[evt.param3].action_id ~= 0 then + ScriptLib.SetGadgetStateByConfigId(context, defs.elf_config_id, elf_actions[evt.param3].action_id) + end + --更新当前的点 + if evt.param3 ~= ScriptLib.GetGroupTempValue(context, "ELF_CUR_POINT", {base_info.group_id}) then + ScriptLib.SetGroupTempValue(context, "ELF_CUR_POINT", evt.param3, {}) + end + --等待一段时间后继续飞行 + if elf_actions[evt.param3].wait_time ~= 0 then + ScriptLib.InitTimeAxis(context, "ELF_FLY_AFTER_WAIT", {elf_actions[evt.param3].wait_time}, false) + else + ScriptLib.SetPlatformPointArray(context, defs.elf_config_id, defs.pointarray_id, LF_GetFlyPath(context), {route_type = 0,turn_mode = false}) + end + end + return 0 +end + +--====================================================================================================================== +--LevelFunctions || 自定义函数 +--开始小精灵跟随玩法 +function LF_StartFollowPlay(context) + ScriptLib.PrintContextLog(context, "##[WQ_ElfFollow]:跟随玩法开始") + --记录离开距离过远的次数 + ScriptLib.SetGroupTempValue(context, "TIME_TOO_FAR", 0, {}) + --记录是否在提示冷却中 + ScriptLib.SetGroupTempValue(context, "IS_WARNING_CD", 0, {}) + --记录小精灵移动平台当前在哪个点 + ScriptLib.SetGroupTempValue(context, "ELF_CUR_POINT", 1, {}) + --创建一个时间轴,检查规定时间内是否处于载具状态 + ScriptLib.InitTimeAxis(context, "CHECK_PLAYER_VEHICLE", {8}, false) + --创建一个时间轴,定期计算玩家和小精灵的距离 + ScriptLib.InitTimeAxis(context, "CHECK_DISTANCE", {1}, true) + ScriptLib.SetPlatformPointArray(context, defs.elf_config_id, defs.pointarray_id, LF_GetFlyPath(context), {route_type = 0,turn_mode = false}) +end + +--检查玩家和小精灵的距离 +function LF_CalcDist(context) + ScriptLib.PrintContextLog(context, "##[WQ_ElfFollow]:处理玩家和小精灵之间的距离") + --计算玩家和小精灵的距离 + local dis_h2e = 100 + local uid_list = ScriptLib.GetSceneUidList(context) + if uid_list ~= nil then + local _host_uid = ScriptLib.GetSceneOwnerUid(context) + local _avatar_eid = ScriptLib.GetAvatarEntityIdByUid(context, _host_uid) + local _avatar_pos = ScriptLib.GetPosByEntityId(context, _avatar_eid) + + local _elf_eid = ScriptLib.GetEntityIdByConfigId(context, defs.elf_config_id) + local _elf_pos = ScriptLib.GetPosByEntityId(context, _elf_eid) + dis_h2e = math.sqrt( (_avatar_pos.x - _elf_pos.x)^2 + (_avatar_pos.y - _elf_pos.y)^2 +(_avatar_pos.z - _elf_pos.z)^2 ) + ScriptLib.PrintContextLog(context, "##[WQ_ElfFollow]:距离"..dis_h2e) + end + + --超出提示距离 + if dis_h2e > defs.dis_warning_limit then + if 0 == ScriptLib.GetGroupTempValue(context, "IS_WARNING_CD", {}) then + ScriptLib.ShowReminder(context, defs.reminder_follow) + ScriptLib.SetGroupTempValue(context, "IS_WARNING_CD", 1, {}) + ScriptLib.InitTimeAxis(context, "WARNING_CD", {defs.time_waring_cd}, false) + end + end + --处理超出限制距离 + if dis_h2e > defs.dis_fail_limit then + --更新超出距离的次数 + ScriptLib.ChangeGroupTempValue(context, "TIME_TOO_FAR", 1, {}) + --计算一下 + if defs.time_fail_limit < ScriptLib.GetGroupTempValue(context, "TIME_TOO_FAR", {}) then + LF_FollowPlayFail(context) + return 0 + end + else + --靠近后累计时间清零 + ScriptLib.SetGroupTempValue(context, "TIME_TOO_FAR", 0, {}) + end +end + +--关闭所有时间轴 +function LF_EndAllTimeAxis(context) + ScriptLib.PrintContextLog(context, "##[WQ_ElfFollow]:停止所有时间轴") + ScriptLib.EndTimeAxis(context, "IS_WARNING_CD") + ScriptLib.EndTimeAxis(context, "CHECK_PLAYER_VEHICLE") + ScriptLib.EndTimeAxis(context, "CHECK_DISTANCE") +end + +--跟随玩法失败 +function LF_FollowPlayFail(context) + ScriptLib.PrintContextLog(context, "##[WQ_ElfFollow]:玩法失败") + LF_EndAllTimeAxis(context) + ScriptLib.ShowReminder(context, defs.reminder_fail) + ScriptLib.RefreshGroup(context, {group_id = base_info.group_id, suite=1}) +end + +--跟随玩法成功 +function LF_FollowPlaySuccess(context) + ScriptLib.PrintContextLog(context, "##[WQ_ElfFollow]:玩法成功") + ScriptLib.ShowReminder(context, defs.reminder_success) + LF_EndAllTimeAxis(context) + ScriptLib.GoToGroupSuite(context, base_info.group_id, defs.end_suite) +end + +--根据当前点生成飞行的路径 +function LF_GetFlyPath(context) + ScriptLib.PrintContextLog(context, "##[WQ_ElfFollow]:生成飞行路径") + local cur_point = ScriptLib.GetGroupTempValue(context, "ELF_CUR_POINT", {}) + local fly_path = {} + if cur_point < defs.point_target then + local target_point = elf_actions[cur_point].next_point + for i=cur_point,target_point do + table.insert(fly_path, i) +-- ScriptLib.PrintContextLog(context, "##[WQ_ElfFollow]:路径"..i) + end + end + return fly_path +end + diff --git a/Resources/Scripts/Common/V3_7/RollerCoaster.lua b/Resources/Scripts/Common/V3_7/RollerCoaster.lua index e69de29bb..83d627ecd 100644 --- a/Resources/Scripts/Common/V3_7/RollerCoaster.lua +++ b/Resources/Scripts/Common/V3_7/RollerCoaster.lua @@ -0,0 +1,107 @@ +--[[====================================== +|| filename: RollerCoaster +|| owner: juntao.chen +|| description: 3.7过山车 +|| LogName: RollerCoaster +|| Protection: [Protection] +=======================================]] + +--需求defs +--[[ + +local defs = { + pointarray = 110100071, + pointcount = 13, + Start_Operator = 332001, + End_Operator = 332002, + speed = 15 +} + +]] + +local temp_Variables = { + { name = "Start", value = 0, no_refresh = false }, + { name = "SET_TRIGGER", value = 0, no_refresh = false }, +} +local temp_Tirgger = { + {event = EventType.EVENT_SELECT_OPTION, source = "", action = "action_EVENT_SELECT_OPTION"}, + {event = EventType.EVENT_GROUP_LOAD, source = "", action = "action_EVENT_GROUP_LOAD"}, + {event = EventType.EVENT_GADGET_CREATE, source = "", action = "action_EVENT_GADGET_CREATE"}, +} +function action_EVENT_GROUP_LOAD(context,evt) + ScriptLib.PrintContextLog(context,"## RollerCoaster action_EVENT_GROUP_LOAD") + return 0 +end +function action_EVENT_GADGET_CREATE(context,evt) + ScriptLib.PrintContextLog(context,"## RollerCoaster action_EVENT_GADGET_CREATE:evt.param1="..evt.param1) + if evt.param1 == defs.Start_Operator or evt.param1 == defs.End_Operator then + ScriptLib.SetWorktopOptions(context, {175}) + end + return 0 +end +function action_EVENT_SELECT_OPTION(context,evt) + ScriptLib.PrintContextLog(context,"## RollerCoaster action_EVENT_SELECT_OPTION") + local _list = {} + --配置合法检测 + if defs.speed == nil then + ScriptLib.PrintContextLog(context,"## RollerCoaster action_EVENT_SELECT_OPTION:[warning]defs.speed == nil") + return -1 + end + if defs.pointarray == nil then + ScriptLib.PrintContextLog(context,"## RollerCoaster action_EVENT_SELECT_OPTION:[warning]defs.pointarray == nil") + return -1 + end + if defs.Start_Operator == nil then + ScriptLib.PrintContextLog(context,"## RollerCoaster action_EVENT_SELECT_OPTION:[warning]defs.Start_Operator == nil") + return -1 + end + if defs.End_Operator == nil then + ScriptLib.PrintContextLog(context,"## RollerCoaster action_EVENT_SELECT_OPTION:[warning]defs.End_Operator == nil") + return -1 + end + if defs.pointcount == nil then + ScriptLib.PrintContextLog(context,"## RollerCoaster action_EVENT_SELECT_OPTION:[warning]defs.pointcount == nil") + return -1 + end + --开始 + if evt.param1 == defs.Start_Operator then + ScriptLib.PrintContextLog(context,"## RollerCoaster action_EVENT_SELECT_OPTION:Start_Operator") + for i = 1 ,defs.pointcount do + table.insert(_list,i) + end + ScriptLib.PrintContextLog(context,"## RollerCoaster action_EVENT_SELECT_OPTION:#_list = "..#_list) + ScriptLib.MoveAvatarByPointArray(context,evt.uid,defs.pointarray, _list,{speed = defs.speed }, "{\"MarkType\":1,\"IgnoreCollisionWhenEnter\":true}") + else + ScriptLib.PrintContextLog(context,"## RollerCoaster action_EVENT_SELECT_OPTION:End_Operator") + for i = 1 ,defs.pointcount do + table.insert(_list,defs.pointcount + 1 - i) + end + ScriptLib.PrintContextLog(context,"## RollerCoaster action_EVENT_SELECT_OPTION:#_list = "..#_list) + ScriptLib.MoveAvatarByPointArray(context,evt.uid,defs.pointarray, _list, {speed = defs.speed }, "{\"MarkType\":1,\"IgnoreCollisionWhenEnter\":true}") + end + return 0 +end +--初始化 +function Initialize() + --加触发器 + if temp_Tirgger ~= nil then + for k,v in pairs(temp_Tirgger) do + v.name = v.action + v.config_id = 40000000 + k + v.trigger_count = 0 + v.condition = "" + table.insert(triggers, v) + table.insert(suites[init_config.suite].triggers, v.name) + end + end + --加变量 + if temp_Variables ~= nil then + for k,v in pairs(temp_Variables) do + v.config_id = 50000000 + k + table.insert(variables,v) + end + end + + return 0 +end +Initialize() \ No newline at end of file diff --git a/Resources/Scripts/Common/WindFlora.lua b/Resources/Scripts/Common/WindFlora.lua index e69de29bb..d2a5965a6 100644 --- a/Resources/Scripts/Common/WindFlora.lua +++ b/Resources/Scripts/Common/WindFlora.lua @@ -0,0 +1,233 @@ +local WindFloraPlay ={ + +[1] = { + Uid = 0, + Score = 0, +}, + +[2] = { + Uid = 0, + Score = 0, +}, + +[3] = { + Uid = 0, + Score = 0, +}, + +[4] = { + Uid = 0, + Score = 0, +} + +} + +local SumScore = 0 + +-- local defs = { +-- area_flower_suites = 2, +-- static_flower_suites = {3,4,5}, +-- area_flower_timer = {2,12,22,32,42,52}, +-- static_flower_timer = {15,30,45}, +-- flower_group_id = 235800004, +-- start_suite = 2, +-- sequence_shoot_time_axis = {1,2,3,4,5,6,7,8,9,10} +-- } + +local Tri = { + {name = "time_axis_pass", config_id = 840001, event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "", action = "action_time_axis_pass", trigger_count = 0}, + {name = "gallery_stop", config_id = 840002, event = EventType.EVENT_GALLERY_STOP, source = "", condition = "", action = "action_gallery_stop", trigger_count = 0} +} + +function Initialize() + for i,v in ipairs(Tri) do + table.insert(triggers, v) + table.insert(suites[init_config.suite].triggers, v.name) + end + + return 0 +end + +function action_time_axis_pass(context, evt) + --发射花时间轴 + ScriptLib.PrintContextLog(context, "@@ Require_WARNING : action_time_axis_pass >>> "..evt.source_name) + if evt.source_name == "area_flower_timer" then + --开始随机范围发射初始化 + ScriptLib.PrintContextLog(context, "@@ Require_WARNING : LF_Area_Flower >>> Ready") + LF_Area_Flower(context) + elseif evt.source_name == "static_flower_timer" then + --开始固定路径点射List初始化 + ScriptLib.PrintContextLog(context, "@@ Require_WARNING : LF_Static_Flower "..evt.param1.." >>> Ready") + LF_Static_Flower(context, evt.param1) + elseif evt.source_name == "static_sequence_flower" then + --按照点射序列依次发射 + ScriptLib.PrintContextLog(context, "@@ Require_WARNING : static_sequence_flower_Index "..evt.param1.." >>> Ready") + local curren_id = evt.param1 + local sum = ScriptLib.GetGroupVariableValue(context, "seq_sum") + local seq_suites = ScriptLib.GetGroupVariableValue(context, "seq_suites") + local suites_index = defs.static_flower_suites[seq_suites] + if curren_id <= sum then + ScriptLib.SetGroupGadgetStateByConfigId(context, 0, suites[suites_index].gadgets[curren_id], GadgetState.GearStart) + ScriptLib.PrintContextLog(context, "@@ Require_WARNING : Shoot_Static_Flower_Index >>> "..curren_id) + else + ScriptLib.RemoveExtraGroupSuite(context, defs.flower_group_id, suites_index) + ScriptLib.EndTimeAxis(context, "static_sequence_flower") + ScriptLib.SetGroupVariableValue(context, "seq_sum", 0) + end + end + return 0 +end + +function StartGallery( context, prev_context, activeStage ) + -- 开启小游戏玩法 + + ScriptLib.AddExtraGroupSuite(context, defs.flower_group_id, defs.start_suite) + ScriptLib.InitTimeAxis(context, "area_flower_timer", defs.area_flower_timer, false) + ScriptLib.PrintContextLog(context, "@@ Require_WARNING : InitTimeAxis >>> area_flower_timer") + ScriptLib.InitTimeAxis(context, "static_flower_timer", defs.static_flower_timer, false) + ScriptLib.PrintContextLog(context, "@@ Require_WARNING : InitTimeAxis >>> static_flower_timer") + + ScriptLib.InitTimeAxis(context, "BubbleGameTimmer", TimeAxis, false) + + -- 开启gallery + ScriptLib.StartGallery(context, 6004) + + return 0 +end + +function AddWindFloraScore( context ) + -- 计算接花总分 + if ScriptLib.GetSceneMultiStagePlayUidValue(context,235800001, 1, "catch_flora_count", context.uid) == 0 then + ScriptLib.SetSceneMultiStagePlayUidValue(context,235800001, 1, "catch_flora_count", context.uid, 1) + else + ScriptLib.AddSceneMultiStagePlayUidValue(context,235800001, 1, "catch_flora_count", context.uid, 1) + end + + if ScriptLib.GetSceneMultiStagePlayUidValue(context,235800001, 1, "catch_flora_count2", context.uid) == 0 then + ScriptLib.SetSceneMultiStagePlayUidValue(context,235800001, 1, "catch_flora_count2", context.uid, 1) + else + ScriptLib.AddSceneMultiStagePlayUidValue(context,235800001, 1, "catch_flora_count2", context.uid, 1) + end + + ScriptLib.PrintContextLog(context, "@@ Require_WARNING : CATCHFLOWER ADD SCORE") + ScriptLib.UpdatePlayerGalleryScore(context, 6004,{["catch_flower_score"] = Catch_Flower_Score}) + return 0 +end + +function SubWindFloraScore( context ) + -- 计算接花总分 + ScriptLib.PrintContextLog(context, "@@ Require_WARNING : CATCHFLOWER SUB SCORE") + ScriptLib.UpdatePlayerGalleryScore(context, 6004,{["catch_flower_score"] = Bomb_Flower_Deduction}) + + ScriptLib.SetSceneMultiStagePlayUidValue(context,235800001, 1, "hit_by_bombflower", context.uid, 1) + + if ScriptLib.GetSceneMultiStagePlayUidValue(context,235800001, 1, "catch_flora_count", context.uid) ~= 0 then + if ScriptLib.AddSceneMultiStagePlayUidValue(context,235800001, 1, "catch_flora_count", context.uid, -1) < 0 then + ScriptLib.SetSceneMultiStagePlayUidValue(context,235800001, 1, "catch_flora_count", context.uid, 0) + end + end + + return 0 +end + +function GalleryWinBonus( context ) + + local UidList = ScriptLib.GetSceneUidList(context) + + for i,v in ipairs(UidList) do + + --watcher结算 + ScriptLib.PrintContextLog(context, "@@ Require_WARNING : HUAGUAN NUM "..ScriptLib.GetSceneMultiStagePlayUidValue(context,235800001, 1, "catch_flora_count2", v)) + ScriptLib.SetSceneMultiStagePlayUidValue(context, 235800001, 1, "watcher_catch_flora_count", v, ScriptLib.GetSceneMultiStagePlayUidValue(context,235800001, 1, "catch_flora_count2", v)) + ScriptLib.SetSceneMultiStagePlayUidValue(context, 235800001, 1, "watcher_hit_by_bombflower", v, ScriptLib.GetSceneMultiStagePlayUidValue(context,235800001, 1, "hit_by_bombflower", v)) + + ScriptLib.AddFleurFairMultistagePlayBuffEnergy(context, 235800001, 1, v, WindFlower_Clear_Bonus) + + ScriptLib.SetSceneMultiStagePlayUidValue(context,235800001, 1, "complete_timelimit_challenge_6004", v, WindFlower_Clear_Bonus) + + ScriptLib.PrintContextLog(context, "## WINDFLORA_LOG : Player Who AddSocre Is -> "..v) + end + + return 0 +end + +function GalleryLosePunish( context ) + + local UidList = ScriptLib.GetSceneUidList(context) + + for i,v in ipairs(UidList) do + + --watcher结算 + ScriptLib.SetSceneMultiStagePlayUidValue(context, 235800001, 1, "watcher_catch_flora_count", v, -1) + ScriptLib.SetSceneMultiStagePlayUidValue(context, 235800001, 1, "watcher_hit_by_bombflower", v, -1) + + ScriptLib.AddFleurFairMultistagePlayBuffEnergy(context, 235800001, 1, v, WindFlower_Failed_Deduction) + + ScriptLib.SetSceneMultiStagePlayUidValue(context,235800001, 1, "defeated_timelimit_challenge_6004", v, WindFlower_Failed_Deduction) + + ScriptLib.PrintContextLog(context, "## WINDFLORA_LOG : Player Who AddSocre Is -> "..v) + end + + return 0 +end + + + +function action_gallery_stop( context,evt ) + -- 游廊结束时,判断是否超时 + -- 未超时则为接满分数 + + for i=2,#suites do + ScriptLib.RemoveExtraGroupSuite(context, 235800004, i) + end + + if evt.param2 == 1 then + GalleryWinBonus( context ) + ScriptLib.ExecuteGroupLua(context, 235800001, "EndPlayStage", {1,235800004}) + else + GalleryLosePunish( context ) + ScriptLib.ExecuteGroupLua(context, 235800001, "EndPlayStage", {0,235800004}) + end + + return 0 +end + + +function LF_Area_Flower(context) + --随机发射范围花 + math.randomseed(ScriptLib.GetServerTime(context)) + local WindFloraCreator = suites[defs.area_flower_suites].gadgets + local randomIdx = math.random(#WindFloraCreator) + ScriptLib.SetGroupGadgetStateByConfigId(context, 0, WindFloraCreator[randomIdx], GadgetState.GearStart) + ScriptLib.PrintContextLog(context, "@@ Require_WARNING : Shoot_Area_Flower >>> "..randomIdx) + + return 0 +end + +function LF_Static_Flower(context, stage) + --固定路径发射list准备 + ScriptLib.SetGroupVariableValue(context, "seq_suites", stage) + local suites_index = defs.static_flower_suites[stage] + ScriptLib.PrintContextLog(context, "@@ Require_WARNING : suites_index >>>"..suites_index) + ScriptLib.AddExtraGroupSuite(context, defs.flower_group_id, suites_index) + local StaticList = suites[suites_index].gadgets + local sum = 0 + for i,v in ipairs(StaticList) do + sum = sum + 1 + end + ScriptLib.PrintContextLog(context, "@@ Require_WARNING : sum >>>"..sum) + ScriptLib.SetGroupVariableValue(context, "seq_sum", sum) + ScriptLib.InitTimeAxis(context, "static_sequence_flower", defs.sequence_shoot_time_axis, false) + ScriptLib.PrintContextLog(context, "@@ Require_WARNING : Init static_sequence_flower !!!") + + return 0 +end + + +Initialize() + +-- function LF_Initialize_Level(context) + +-- end + +--LF_Initialize_Level() \ No newline at end of file diff --git a/Resources/Scripts/Common/WindFlora_InvisibleFloor.lua b/Resources/Scripts/Common/WindFlora_InvisibleFloor.lua index 9eac2eedb..4031e483a 100644 --- a/Resources/Scripts/Common/WindFlora_InvisibleFloor.lua +++ b/Resources/Scripts/Common/WindFlora_InvisibleFloor.lua @@ -1,5 +1,5 @@ --- defs_floor_groups = { +-- local defs_floor_groups = { -- [1] = {invisible_suites = 2, visible_suites = 3}, -- [2] = {invisible_suites = 4, visible_suites = 5}, -- [3] = {invisible_suites = 6, visible_suites = 7}, diff --git a/Resources/Scripts/Common/WindFlora_Laser.lua b/Resources/Scripts/Common/WindFlora_Laser.lua index 3143c17d0..8fa10185a 100644 --- a/Resources/Scripts/Common/WindFlora_Laser.lua +++ b/Resources/Scripts/Common/WindFlora_Laser.lua @@ -1,11 +1,11 @@ --- defs_laser_stages = { +-- local defs_laser_stages = { -- [1] = {5,6,7,8}, -- [2] = {9,10,11,12,13}, -- [3] = {14,15,16,17,18,19} -- } --- defs = { +-- local defs = { -- laser_group_id = 235800005, -- hurt_floor_id = 5293, -- active_laser_timer = {5,13,21,27,33,39,43,47,51} diff --git a/Resources/Scripts/Gadget/BigAster.lua b/Resources/Scripts/Gadget/BigAster.lua index 6707c5fa5..368ae1c60 100644 --- a/Resources/Scripts/Gadget/BigAster.lua +++ b/Resources/Scripts/Gadget/BigAster.lua @@ -1,4 +1,4 @@ -defs = { +local defs = { player_energy = "AVATAR_ASTER_SCORE" } diff --git a/Resources/Scripts/Scene/1/scene1_group111101006.lua b/Resources/Scripts/Scene/1/scene1_group111101006.lua index e69de29bb..5b162d8bc 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101006.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101006.lua @@ -0,0 +1,95 @@ +-- 基础信息 +local base_info = { + group_id = 111101006 +} + +-- Trigger变量 +local defs = { + interactOptionID = 24, + gadget_fireTorch = 6002, + gadget_fireBase1 = 6001, + gadget_fire1 = 6003, + gadget_fireBase2 = 6005, + gadget_fire2 = 6007, + gadget_fireBase3 = 0, + gadget_fire3 = 0, + gadget_fireBase4 = 0, + gadget_fire4 = 0 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 6001, gadget_id = 70330279, pos = { x = 2984.001, y = 267.937, z = -1319.135 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStart }, + { config_id = 6002, gadget_id = 70330278, pos = { x = 2976.506, y = 266.311, z = -1327.099 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, vision_level = VisionLevelType.VISION_LEVEL_NORMAL }, + -- 1号火种 + { config_id = 6003, gadget_id = 70330257, pos = { x = 2984.742, y = 268.365, z = -1315.177 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 110100127 }, + { config_id = 6004, gadget_id = 70330256, pos = { x = 2972.360, y = 266.615, z = -1334.636 }, rot = { x = 0.000, y = 76.634, z = 0.000 }, level = 1 }, + { config_id = 6005, gadget_id = 70330279, pos = { x = 2990.066, y = 267.372, z = -1329.140 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + -- 2号火种 + { config_id = 6007, gadget_id = 70330257, pos = { x = 2991.232, y = 267.372, z = -1328.438 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 110100129 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 6001, 6002, 6004, 6005 }, + regions = { }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +require "BlackBoxPlay/DesertEnergySpark" \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101011.lua b/Resources/Scripts/Scene/1/scene1_group111101011.lua index e69de29bb..9c66b994a 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101011.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101011.lua @@ -0,0 +1,106 @@ +-- 基础信息 +local base_info = { + group_id = 111101011 +} + +-- Trigger变量 +local defs = { + pointarray_ID = 110100048, + pointArrayNum = 4 +} + +-- DEFS_MISCS +--添加的按钮id +defs.optionID=24 +--发射器id +defs.shooterGadgetID=11001 +--发射激光的点 +defs.shootPoints={1,2} +--停留点List +defs.stopPoints = {1,2,4} +--停留点对应底座 +defs.shooterBaseList={ +[1]=11003, +[2]=11004, +[4]=11005, +} +--短暂停留的点 +defs.shortStayPointList={2} +--短暂停留的时间 +defs.stayTime={3} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 11001, gadget_id = 70330280, pos = { x = 3001.269, y = 270.000, z = -1328.127 }, rot = { x = 0.000, y = 41.698, z = 0.000 }, level = 1, start_route = false, persistent = true, is_use_point_array = true }, + { config_id = 11002, gadget_id = 70330281, pos = { x = 3000.000, y = 270.000, z = -1322.052 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 11003, gadget_id = 70330300, pos = { x = 2999.589, y = 268.422, z = -1326.969 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 11004, gadget_id = 70330300, pos = { x = 2996.576, y = 268.079, z = -1327.866 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 11005, gadget_id = 70330300, pos = { x = 3001.552, y = 268.356, z = -1331.691 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 11006, gadget_id = 70330282, pos = { x = 2999.556, y = 268.654, z = -1324.066 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, server_global_value_config = { ["SGV_ChiWangLevelRequire"]= 2} } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { +} + +-- 变量 +variables = { + { config_id = 1, name = "curMoveIndex", value = 1, no_refresh = true } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 11001, 11002, 11003, 11004, 11005, 11006 }, + regions = { }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +require "V3_1/ChiWangShooter" \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101012.lua b/Resources/Scripts/Scene/1/scene1_group111101012.lua index e69de29bb..ed1e0e916 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101012.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101012.lua @@ -0,0 +1,209 @@ +-- 基础信息 +local base_info = { + group_id = 111101012 +} + +-- Trigger变量 +local defs = { + duration = 30, + kill_sum = 5, + group_id = 111101012 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 12001, monster_id = 21010101, pos = { x = 2701.651, y = 283.792, z = -1415.921 }, rot = { x = 358.591, y = 359.913, z = 7.039 }, level = 1, drop_id = 1000100 }, + { config_id = 12002, monster_id = 21010101, pos = { x = 2705.744, y = 284.114, z = -1424.291 }, rot = { x = 358.591, y = 359.913, z = 7.039 }, level = 1, drop_id = 1000100 }, + { config_id = 12003, monster_id = 21011001, pos = { x = 2699.589, y = 283.376, z = -1421.705 }, rot = { x = 358.591, y = 359.913, z = 7.039 }, level = 1, drop_id = 1000100 }, + { config_id = 12004, monster_id = 21010101, pos = { x = 2711.601, y = 285.115, z = -1413.547 }, rot = { x = 6.184, y = 228.019, z = 356.350 }, level = 1, drop_id = 1000100 }, + { config_id = 12005, monster_id = 21010101, pos = { x = 2710.171, y = 284.700, z = -1421.944 }, rot = { x = 6.184, y = 228.019, z = 356.350 }, level = 1, drop_id = 1000100 } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 12006, gadget_id = 70900008, pos = { x = 2707.103, y = 284.467, z = -1417.332 }, rot = { x = 358.591, y = 359.913, z = 7.039 }, level = 1, persistent = true }, + { config_id = 12007, gadget_id = 70300118, pos = { x = 2707.096, y = 284.442, z = -1417.340 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 12008, gadget_id = 70330011, pos = { x = 2708.329, y = 284.687, z = -1417.179 }, rot = { x = 358.591, y = 359.913, z = 7.039 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1012009, name = "GADGET_STATE_CHANGE_12009", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_12009", action = "action_EVENT_GADGET_STATE_CHANGE_12009", trigger_count = 0 }, + { config_id = 1012010, name = "CHALLENGE_SUCCESS_12010", event = EventType.EVENT_CHALLENGE_SUCCESS, source = "180", condition = "", action = "action_EVENT_CHALLENGE_SUCCESS_12010", trigger_count = 0 }, + { config_id = 1012011, name = "CHALLENGE_FAIL_12011", event = EventType.EVENT_CHALLENGE_FAIL, source = "180", condition = "", action = "action_EVENT_CHALLENGE_FAIL_12011", trigger_count = 0 }, + { config_id = 1012012, name = "GADGET_STATE_CHANGE_12012", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_12012", action = "action_EVENT_GADGET_STATE_CHANGE_12012", trigger_count = 0 } +} + +-- 变量 +variables = { + { config_id = 1, name = "hasFinished", value = 0, no_refresh = false } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { }, + gadgets = { 12006, 12007, 12008 }, + regions = { }, + triggers = { "GADGET_STATE_CHANGE_12009", "CHALLENGE_SUCCESS_12010", "CHALLENGE_FAIL_12011", "GADGET_STATE_CHANGE_12012" }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = suite_2, + monsters = { 12001, 12002, 12003, 12004, 12005 }, + gadgets = { }, + regions = { }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_12009(context, evt) + if 12006 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then + return false + end + + -- 判断变量"hasFinished"为0 + if ScriptLib.GetGroupVariableValue(context, "hasFinished") ~= 0 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_12009(context, evt) + -- 添加suite2的新内容 + ScriptLib.AddExtraGroupSuite(context, 111101012, 2) + + -- 13号挑战,duration内击杀kill_sum的怪物 + if 0 ~= ScriptLib.ActiveChallenge(context, 180, 13, defs.duration, defs.group_id, defs.kill_sum, 0) then + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_CHALLENGE_SUCCESS_12010(context, evt) + -- 将configid为 12008 的物件更改为状态 GadgetState.Default + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 12008, GadgetState.Default) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 永久关闭CongfigId的Gadget,需要和Groups的RefreshWithBlock标签搭配 + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 12007 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId") + return -1 + end + + + -- 针对当前group内变量名为 "hasFinished" 的变量,进行修改,变化值为 1 + if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "hasFinished", 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable") + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_CHALLENGE_FAIL_12011(context, evt) + -- 删除suite2的所有内容 + ScriptLib.RemoveExtraGroupSuite(context, 111101012, 2) + + -- 将configid为 12006 的物件更改为状态 GadgetState.Default + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 12006, GadgetState.Default) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 12008 的物件更改为状态 GadgetState.Default + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 12008, GadgetState.Default) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 创建id为12007的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 12007 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_12012(context, evt) + if 12006 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then + return false + end + + -- 判断变量"hasFinished"为0 + if ScriptLib.GetGroupVariableValue(context, "hasFinished") ~= 0 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_12012(context, evt) + -- 将configid为 12008 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 12008, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 永久关闭CongfigId的Gadget,需要和Groups的RefreshWithBlock标签搭配 + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 12007 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId") + return -1 + end + + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101014.lua b/Resources/Scripts/Scene/1/scene1_group111101014.lua index 61e95b07e..2510dd76f 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101014.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101014.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 111101014 } diff --git a/Resources/Scripts/Scene/1/scene1_group111101016.lua b/Resources/Scripts/Scene/1/scene1_group111101016.lua index e69de29bb..eb9ec1d9a 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101016.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101016.lua @@ -0,0 +1,116 @@ +-- 基础信息 +local base_info = { + group_id = 111101016 +} + +-- Trigger变量 +local defs = { + group_ID = 111101016, + gadget_fundation01 = 16001, + gadget_hand01 = 16003, + gadget_fundation02 = 16002, + gadget_hand02 = 16004, + gadget_fundation03 = 0, + gadget_hand03 = 0, + gadget_fundation04 = 0, + gadget_hand04 = 0, + gadget_fundation05 = 0, + gadget_hand05 = 0, + minDiscrapancy = 15 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 16001, gadget_id = 70950084, pos = { x = 2665.409, y = 233.746, z = -1094.059 }, rot = { x = 0.000, y = 290.000, z = 0.000 }, level = 1 }, + { config_id = 16002, gadget_id = 70950084, pos = { x = 2653.757, y = 232.813, z = -1098.403 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 16003, gadget_id = 70950085, pos = { x = 2665.409, y = 234.447, z = -1094.059 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 16004, gadget_id = 70950085, pos = { x = 2653.757, y = 233.541, z = -1098.403 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 16006, gadget_id = 70211111, pos = { x = 2663.691, y = 234.604, z = -1101.027 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 26, drop_tag = "解谜中级蒙德", isOneoff = true, persistent = true } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1016005, name = "VARIABLE_CHANGE_16005", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_16005", action = "" } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 16001, 16002, 16003, 16004 }, + regions = { }, + triggers = { }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = , + monsters = { }, + gadgets = { 16006 }, + regions = { }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_16005(context, evt) + if evt.param1 == evt.param2 then return false end + + -- 判断变量"successed"为1 + if ScriptLib.GetGroupVariableValue(context, "successed") ~= 1 then + return false + end + + return true +end + +require "BlackBoxPlay/MagneticGear" \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101017.lua b/Resources/Scripts/Scene/1/scene1_group111101017.lua index e69de29bb..3134e359f 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101017.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101017.lua @@ -0,0 +1,142 @@ +-- 基础信息 +local base_info = { + group_id = 111101017 +} + +-- Trigger变量 +local defs = { + maxRouteCount = 3 +} + +-- DEFS_MISCS +routeInfo = {route_1 = {1},route_2 = {2},route_3 = {3}} + +function MovePlatform(context) + ScriptLib.PrintLog(context, "Hit platform to move") + + + local index = ScriptLib.GetGroupVariableValue(context,"route") + ScriptLib.PrintLog(context, "Hit platform to move : get index = ".. index) + local route = "route_" ..index + ScriptLib.PrintLog(context, "Hit platform to move : get key = ".. route) + + ScriptLib.SetPlatformPointArray(context, 17002, 110100010, routeInfo[route], { route_type = 0 }) + + ScriptLib.PrintLog(context, "Hit platform to move : start platform") + index = index + 1 + if index > defs.maxRouteCount then + index = 1 + end + ScriptLib.SetGroupVariableValue(context,"route",index) + + return 0 + +end + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 17002, gadget_id = 70950081, pos = { x = 2478.369, y = 218.804, z = -1340.456 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + -- 水泡逻辑 + { config_id = 1017003, name = "AVATAR_NEAR_PLATFORM_17003", event = EventType.EVENT_AVATAR_NEAR_PLATFORM, source = "", condition = "condition_EVENT_AVATAR_NEAR_PLATFORM_17003", action = "action_EVENT_AVATAR_NEAR_PLATFORM_17003", trigger_count = 0 }, + -- 初始化 + { config_id = 1017008, name = "GROUP_LOAD_17008", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_EVENT_GROUP_LOAD_17008", trigger_count = 0 }, + { config_id = 1017009, name = "PLATFORM_REACH_POINT_17009", event = EventType.EVENT_PLATFORM_REACH_POINT, source = "17002", condition = "", action = "action_EVENT_PLATFORM_REACH_POINT_17009", trigger_count = 0 } +} + +-- 变量 +variables = { + { config_id = 1, name = "route", value = 1, no_refresh = false } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 17002 }, + regions = { }, + triggers = { "AVATAR_NEAR_PLATFORM_17003", "GROUP_LOAD_17008", "PLATFORM_REACH_POINT_17009" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_AVATAR_NEAR_PLATFORM_17003(context, evt) + if 17002 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_AVATAR_NEAR_PLATFORM_17003(context, evt) + ScriptLib.SetGadgetStateByConfigId(context, 17002, GadgetState.GearStart) + + MovePlatform(context) + return 0 +end + +-- 触发操作 +function action_EVENT_GROUP_LOAD_17008(context, evt) + MovePlatform(context) + return 0 +end + +-- 触发操作 +function action_EVENT_PLATFORM_REACH_POINT_17009(context, evt) + ScriptLib.StopPlatform(context, 17002) + ScriptLib.SetGadgetStateByConfigId(context, 17002, GadgetState.Default) + local route = ScriptLib.GetGroupVariableValue(context,"route") + if route == defs.maxRouteCount then + + end + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101020.lua b/Resources/Scripts/Scene/1/scene1_group111101020.lua index e69de29bb..6c03cb4da 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101020.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101020.lua @@ -0,0 +1,217 @@ +-- 基础信息 +local base_info = { + group_id = 111101020 +} + +-- Trigger变量 +local defs = { + gadget_Teleport_1 = 20001, + gadget_Teleport_2 = 20002, + gadget_Teleport_3 = 20003, + gadget_Teleport_4 = 20004, + pointarray_1 = 110100051, + pointarray_2 = 110100052, + pointarray_3 = 0, + pointarray_4 = 0, + gadget_TeleportOperator_1 = 20005, + gadget_TeleportOperator_2 = 20006, + gadget_TeleportOperator_3 = 20007, + gadget_TeleportOperator_4 = 20008, + group_ID = 111101020, + pointarray_Rotate = 110100053, + rotStep = 180 +} + +-- DEFS_MISCS +connectInfo = +{ + {defs.gadget_Teleport_1,defs.gadget_Teleport_2,defs.pointarray_1,10}, + {defs.gadget_Teleport_3,defs.gadget_Teleport_4,defs.pointarray_2,50}, +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + -- Teleport #1 + { config_id = 20001, gadget_id = 70950095, pos = { x = 2332.531, y = 248.610, z = -1216.265 }, rot = { x = 0.000, y = 21.410, z = 0.000 }, level = 1, persistent = true, is_use_point_array = true }, + -- Teleport #2 + { config_id = 20002, gadget_id = 70950095, pos = { x = 2415.235, y = 260.662, z = -1229.876 }, rot = { x = 0.000, y = 287.598, z = 0.000 }, level = 1, persistent = true, is_use_point_array = true }, + -- Teleport #3 + { config_id = 20003, gadget_id = 70950095, pos = { x = 2418.631, y = 260.265, z = -1230.493 }, rot = { x = 0.000, y = 97.351, z = 0.000 }, level = 1, persistent = true, is_use_point_array = true }, + -- Teleport #4 + { config_id = 20004, gadget_id = 70950095, pos = { x = 2504.023, y = 328.949, z = -1146.669 }, rot = { x = 0.000, y = 164.084, z = 0.000 }, level = 1, persistent = true, is_use_point_array = true }, + -- Operator #1 + { config_id = 20005, gadget_id = 70950145, pos = { x = 2332.531, y = 248.610, z = -1216.265 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + -- Operator #2 + { config_id = 20006, gadget_id = 70950145, pos = { x = 2415.235, y = 260.662, z = -1229.876 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + -- Operator #3 + { config_id = 20007, gadget_id = 70950145, pos = { x = 2418.631, y = 260.265, z = -1230.493 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + -- Operator #4 + { config_id = 20008, gadget_id = 70950145, pos = { x = 2504.023, y = 328.949, z = -1146.669 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 20009, gadget_id = 70330114, pos = { x = 2332.531, y = 250.265, z = -1216.265 }, rot = { x = 0.000, y = 22.841, z = 0.000 }, level = 1 }, + { config_id = 20010, gadget_id = 70330114, pos = { x = 2415.235, y = 260.662, z = -1229.876 }, rot = { x = 0.000, y = 82.137, z = 0.000 }, level = 1 }, + { config_id = 20011, gadget_id = 70330114, pos = { x = 2418.631, y = 260.265, z = -1230.493 }, rot = { x = 0.000, y = 96.290, z = 0.000 }, level = 1 }, + { config_id = 20012, gadget_id = 70330114, pos = { x = 2309.881, y = 248.611, z = -1239.228 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 20013, gadget_id = 70330114, pos = { x = 2332.531, y = 248.610, z = -1216.265 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 20014, gadget_id = 70330114, pos = { x = 2366.776, y = 248.025, z = -1216.499 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { + -- Trigger #1 + { config_id = 20015, shape = RegionShape.SPHERE, radius = 1.5, pos = { x = 2332.586, y = 249.798, z = -1216.516 } }, + -- Trigger #2 + { config_id = 20016, shape = RegionShape.SPHERE, radius = 1.5, pos = { x = 2415.235, y = 261.753, z = -1229.876 } }, + -- Trigger #3 + { config_id = 20017, shape = RegionShape.SPHERE, radius = 1.5, pos = { x = 2418.631, y = 261.325, z = -1230.493 } }, + -- Trigger #4 + { config_id = 20018, shape = RegionShape.SPHERE, radius = 1.5, pos = { x = 2504.023, y = 330.166, z = -1146.669 } } +} + +-- 触发器 +triggers = { + -- Trigger #1 + { config_id = 1020015, name = "ENTER_REGION_20015", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_20015", action = "action_EVENT_ENTER_REGION_20015", trigger_count = 0, forbid_guest = false }, + -- Trigger #2 + { config_id = 1020016, name = "ENTER_REGION_20016", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_20016", action = "action_EVENT_ENTER_REGION_20016", trigger_count = 0, forbid_guest = false }, + -- Trigger #3 + { config_id = 1020017, name = "ENTER_REGION_20017", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_20017", action = "action_EVENT_ENTER_REGION_20017", trigger_count = 0, forbid_guest = false }, + -- Trigger #4 + { config_id = 1020018, name = "ENTER_REGION_20018", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_20018", action = "action_EVENT_ENTER_REGION_20018", trigger_count = 0, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 20001, 20002, 20003, 20004, 20005, 20006, 20007, 20008, 20009, 20010, 20011, 20012, 20013, 20014 }, + regions = { 20015, 20016, 20017, 20018 }, + triggers = { "ENTER_REGION_20015", "ENTER_REGION_20016", "ENTER_REGION_20017", "ENTER_REGION_20018" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_ENTER_REGION_20015(context, evt) + if evt.param1 ~= 20015 then return false end + + -- 判断变量"gadget_Teleport_1_isActive"为1 + if ScriptLib.GetGroupVariableValue(context, "gadget_Teleport_1_isActive") ~= 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_20015(context, evt) + --gadget_Teleport_1 trigger + local teleportid = defs["gadget_Teleport_1"] + TeleportAction(context, teleportid) + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_20016(context, evt) + if evt.param1 ~= 20016 then return false end + + -- 判断变量"gadget_Teleport_2_isActive"为1 + if ScriptLib.GetGroupVariableValue(context, "gadget_Teleport_2_isActive") ~= 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_20016(context, evt) + --gadget_Teleport_2 trigger + local teleportid = defs["gadget_Teleport_2"] + TeleportAction(context, teleportid) + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_20017(context, evt) + if evt.param1 ~= 20017 then return false end + + -- 判断变量"gadget_Teleport_3_isActive"为1 + if ScriptLib.GetGroupVariableValue(context, "gadget_Teleport_3_isActive") ~= 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_20017(context, evt) + --gadget_Teleport_3 trigger + local teleportid = defs["gadget_Teleport_3"] + TeleportAction(context, teleportid) + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_20018(context, evt) + if evt.param1 ~= 20018 then return false end + + -- 判断变量"gadget_Teleport_4_isActive"为1 + if ScriptLib.GetGroupVariableValue(context, "gadget_Teleport_4_isActive") ~= 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_20018(context, evt) + --gadget_Teleport_4 trigger + local teleportid = defs["gadget_Teleport_4"] + TeleportAction(context, teleportid) + return 0 +end + +require "BlackBoxPlay/TeleportHighway" \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101028.lua b/Resources/Scripts/Scene/1/scene1_group111101028.lua index df7d32857..d3d5344b6 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101028.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101028.lua @@ -4,27 +4,21 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { option_id = 24, pointarray_ID = 110100049 } -- DEFS_MISCS --方尖碑configID -defs.gadget_1 - = 28001 -defs.gadget_2 - = 28002 -defs.gadget_3 - = 28003 +defs.gadget_1 = 28001 +defs.gadget_2 = 28002 +defs.gadget_3 = 28003 --方尖碑初始旋转角 -defs.rotation_1 - = 120 -defs.rotation_2 - = 0 -defs.rotation_3 - = 240 +defs.rotation_1 = 120 +defs.rotation_2 = 0 +defs.rotation_3 = 240 --方尖碑旋转影响的configID表 defs.gadget_connect1={} diff --git a/Resources/Scripts/Scene/1/scene1_group111101031.lua b/Resources/Scripts/Scene/1/scene1_group111101031.lua index e69de29bb..21ccb243e 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101031.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101031.lua @@ -0,0 +1,273 @@ +-- 基础信息 +local base_info = { + group_id = 111101031 +} + +-- Trigger变量 +local defs = { + duration = 30, + group_id = 111101031, + gadget_sum = 2 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 31001, gadget_id = 70220005, pos = { x = 2664.337, y = 249.493, z = -1268.747 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 31002, gadget_id = 70350084, pos = { x = 2664.415, y = 247.788, z = -1259.896 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 31003, gadget_id = 70211111, pos = { x = 2661.560, y = 247.563, z = -1260.265 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 26, drop_tag = "解谜中级蒙德", isOneoff = true, persistent = true }, + { config_id = 31004, gadget_id = 70220005, pos = { x = 2661.474, y = 249.493, z = -1268.747 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 31005, gadget_id = 70360001, pos = { x = 2664.424, y = 248.752, z = -1259.884 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1031006, name = "CHALLENGE_SUCCESS_31006", event = EventType.EVENT_CHALLENGE_SUCCESS, source = "56", condition = "", action = "action_EVENT_CHALLENGE_SUCCESS_31006" }, + { config_id = 1031007, name = "CHALLENGE_FAIL_31007", event = EventType.EVENT_CHALLENGE_FAIL, source = "56", condition = "", action = "action_EVENT_CHALLENGE_FAIL_31007", trigger_count = 0 }, + { config_id = 1031008, name = "GADGET_STATE_CHANGE_31008", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_31008", action = "action_EVENT_GADGET_STATE_CHANGE_31008", trigger_count = 0 }, + { config_id = 1031009, name = "ANY_GADGET_DIE_31009", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "", action = "", trigger_count = 0, tag = "201" }, + { config_id = 1031010, name = "GADGET_CREATE_31010", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_31010", action = "action_EVENT_GADGET_CREATE_31010", trigger_count = 0 }, + { config_id = 1031011, name = "SELECT_OPTION_31011", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_31011", action = "action_EVENT_SELECT_OPTION_31011", trigger_count = 0 }, + { config_id = 1031012, name = "ANY_GADGET_DIE_31012", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "condition_EVENT_ANY_GADGET_DIE_31012", action = "action_EVENT_ANY_GADGET_DIE_31012", trigger_count = 0 } +} + +-- 变量 +variables = { + { config_id = 1, name = "gadget_start", value = 0, no_refresh = true } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + io_type = 1, + suite = 1, + end_suite = 3, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suite_disk = { + [1] = { + gadgets = { + { config_id = 31002, state = 0 }, + { config_id = 31005, state = 0 } + }, + monsters = { + }, + regions = { }, + triggers = { "CHALLENGE_SUCCESS_31006", "CHALLENGE_FAIL_31007", "GADGET_STATE_CHANGE_31008", "ANY_GADGET_DIE_31009", "GADGET_CREATE_31010", "SELECT_OPTION_31011", "ANY_GADGET_DIE_31012" }, + npcs = { }, + variables = { + { config_id = 1, name = "gadget_start", value = 0, no_refresh = true } + } + }, + [2] = { + gadgets = { + { config_id = 31001, state = 0 }, + { config_id = 31004, state = 0 } + }, + monsters = { + }, + regions = { }, + triggers = { }, + npcs = { }, + variables = { + { config_id = 1, name = "gadget_start", value = 0, no_refresh = true } + } + }, + [3] = { + gadgets = { + { config_id = 31002, state = 202 }, + { config_id = 31003, state = 0 } + }, + monsters = { + }, + regions = { }, + triggers = { }, + npcs = { }, + variables = { + { config_id = 1, name = "gadget_start", value = 0, no_refresh = true } + } + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发操作 +function action_EVENT_CHALLENGE_SUCCESS_31006(context, evt) + -- 永久关闭CongfigId的Gadget,需要和Groups的RefreshWithBlock标签搭配 + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 31005 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId") + return -1 + end + + + -- 将指定flowGroup的进度和要素属性都改为目标suite(缺的创建,多的移除) + ScriptLib.GoToFlowSuite(context, 111101031, 3) + + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 3003, 3, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_CHALLENGE_FAIL_31007(context, evt) + -- 将configid为 31002 的物件更改为状态 GadgetState.Default + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 31002, GadgetState.Default) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 杀死flowGroup的某个flowSuite,会触发物件和怪物死亡 + ScriptLib.KillExtraFlowSuite(context, 111101031, 2, FlowSuiteOperatePolicy.DEFAULT) + + -- 创建id为31005的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 31005 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 3003, 4, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_31008(context, evt) + if 31002 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_31008(context, evt) + -- 201号挑战,duration内破坏炸药桶 + if 0 ~= ScriptLib.ActiveChallenge(context, 56, 201, defs.duration, 2, 201, defs.gadget_sum) then + return -1 + end + + -- 添加suite2的新内容 + ScriptLib.AddExtraFlowSuite(context, defs.group_id, 2, FlowSuiteOperatePolicy.DEFAULT) + + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 3003, 1, 1) then + return -1 + end + + return 0 + +end + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_31010(context, evt) + if 31005 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_31010(context, evt) + -- 设置操作台选项 + if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 111101031, 31005, {177}) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_31011(context, evt) + -- 判断是gadgetid 31005 option_id 177 + if 31005 ~= evt.param1 then + return false + end + + if 177 ~= evt.param2 then + return false + end + + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_31011(context, evt) + -- 永久关闭CongfigId的Gadget,需要和Groups的RefreshWithBlock标签搭配 + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 31005 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId") + return -1 + end + + + -- 将configid为 31002 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 31002, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ANY_GADGET_DIE_31012(context, evt) + if 31001 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ANY_GADGET_DIE_31012(context, evt) + -- 调用提示id为 1105002 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 + if 0 ~= ScriptLib.ShowReminder(context, 1105002) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") + return -1 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101032.lua b/Resources/Scripts/Scene/1/scene1_group111101032.lua index c431710af..815b49fd7 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101032.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101032.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { routeID = 110100011 } diff --git a/Resources/Scripts/Scene/1/scene1_group111101034.lua b/Resources/Scripts/Scene/1/scene1_group111101034.lua index 2109d47f9..54f5f5269 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101034.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101034.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 6, pointarray_route = 110100026, gadget_bubble = 34002, diff --git a/Resources/Scripts/Scene/1/scene1_group111101035.lua b/Resources/Scripts/Scene/1/scene1_group111101035.lua index 7c8451eea..d9e69e1f2 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101035.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101035.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 110100049 } @@ -13,20 +13,14 @@ defs = { defs.RotateTime = 5 --方尖碑configID -defs.gadget_1 - = 35001 -defs.gadget_2 - = 35002 -defs.gadget_3 - = 35003 +defs.gadget_1 = 35001 +defs.gadget_2 = 35002 +defs.gadget_3 = 35003 --方尖碑初始旋转角 -defs.rotation_1 - = 120 -defs.rotation_2 - = 0 -defs.rotation_3 - = 240 +defs.rotation_1 = 120 +defs.rotation_2 = 0 +defs.rotation_3 = 240 --重力压板对应的控制的方尖碑 defs.boardControlList={ diff --git a/Resources/Scripts/Scene/1/scene1_group111101036.lua b/Resources/Scripts/Scene/1/scene1_group111101036.lua index e69de29bb..a3d2a980f 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101036.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101036.lua @@ -0,0 +1,134 @@ +-- 基础信息 +local base_info = { + group_id = 111101036 +} + +-- Trigger变量 +local defs = { + elevatorOptionID = 24, + gadget_elevatorID = 36001, + finalMovePoints = {1,2,3,4,5} +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 36001, gadget_id = 70330316, pos = { x = 2985.933, y = 263.500, z = -1365.095 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1036003, name = "VARIABLE_CHANGE_36003", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_36003", action = "action_EVENT_VARIABLE_CHANGE_36003", trigger_count = 0 }, + { config_id = 1036004, name = "VARIABLE_CHANGE_36004", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_36004", action = "action_EVENT_VARIABLE_CHANGE_36004", trigger_count = 0 } +} + +-- 变量 +variables = { + { config_id = 1, name = "pointarray_ID", value = 110100050, no_refresh = false }, + { config_id = 2, name = "CurMovePoint", value = 1, no_refresh = false }, + { config_id = 3, name = "MovePoint1", value = 1, no_refresh = false }, + { config_id = 4, name = "MovePoint2", value = 2, no_refresh = false }, + { config_id = 5, name = "IsBlockMoveMode", value = 0, no_refresh = false }, + { config_id = 6, name = "IsFinalMove", value = 0, no_refresh = false }, + { config_id = 7, name = "moveState", value = 0, no_refresh = false } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 36001 }, + regions = { }, + triggers = { "VARIABLE_CHANGE_36003", "VARIABLE_CHANGE_36004" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_36003(context, evt) + if evt.param1 == evt.param2 then return false end + + if evt.param1 == evt.param2 then return false end + + if evt.source_name ~= "moveState"then return false end + + -- 判断变量"moveState"为1 + if ScriptLib.GetGroupVariableValueByGroup(context, "moveState", 111101036) ~= 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_36003(context, evt) + SetElevator(context,110100058,1) + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_36004(context, evt) + if evt.param1 == evt.param2 then return false end + + if evt.param1 == evt.param2 then return false end + + if evt.source_name ~= "moveState"then return false end + + -- 判断变量"moveState"为2 + if ScriptLib.GetGroupVariableValueByGroup(context, "moveState", 111101036) ~= 2 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_36004(context, evt) + SetElevator_finalMove(context,110100059,1) + return 0 +end + +require "V3_1/DeshretElevator" \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101037.lua b/Resources/Scripts/Scene/1/scene1_group111101037.lua index e69de29bb..f87557549 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101037.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101037.lua @@ -0,0 +1,164 @@ +-- 基础信息 +local base_info = { + group_id = 111101037 +} + +-- Trigger变量 +local defs = { + duration = 30, + kill_sum = 2, + group_id = 111101037 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 37001, monster_id = 21020101, pos = { x = 2296.940, y = 246.060, z = -1386.964 }, rot = { x = 0.000, y = 205.960, z = 0.000 }, level = 1, drop_tag = "丘丘暴徒" }, + { config_id = 37007, monster_id = 21020101, pos = { x = 2290.704, y = 245.076, z = -1386.965 }, rot = { x = 0.000, y = 143.450, z = 0.000 }, level = 1, drop_tag = "丘丘暴徒" } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 37002, gadget_id = 70900008, pos = { x = 2293.754, y = 246.303, z = -1392.736 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 37003, gadget_id = 70211111, pos = { x = 2293.455, y = 245.586, z = -1388.336 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "解谜中级蒙德", showcutscene = true, isOneoff = true, persistent = true } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1037004, name = "GADGET_STATE_CHANGE_37004", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_37004", action = "action_EVENT_GADGET_STATE_CHANGE_37004" }, + { config_id = 1037005, name = "CHALLENGE_SUCCESS_37005", event = EventType.EVENT_CHALLENGE_SUCCESS, source = "180", condition = "", action = "action_EVENT_CHALLENGE_SUCCESS_37005" }, + { config_id = 1037006, name = "CHALLENGE_FAIL_37006", event = EventType.EVENT_CHALLENGE_FAIL, source = "180", condition = "", action = "action_EVENT_CHALLENGE_FAIL_37006" } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { }, + gadgets = { 37002 }, + regions = { }, + triggers = { "GADGET_STATE_CHANGE_37004", "CHALLENGE_SUCCESS_37005", "CHALLENGE_FAIL_37006" }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = suite_2, + monsters = { 37001, 37007 }, + gadgets = { }, + regions = { }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_37004(context, evt) + if 37002 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_37004(context, evt) + -- 添加suite2的新内容 + ScriptLib.AddExtraGroupSuite(context, 111101037, 2) + + -- 180号挑战,duration内击杀kill_sum的怪物 + if 0 ~= ScriptLib.ActiveChallenge(context, 180, 180, defs.duration, defs.group_id, defs.kill_sum, 0) then + return -1 + end + + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 3001, 1, 1) then + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_CHALLENGE_SUCCESS_37005(context, evt) + -- 创建id为37003的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 37003 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 3001, 3, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_CHALLENGE_FAIL_37006(context, evt) + -- 删除suite2的所有内容 + ScriptLib.RemoveExtraGroupSuite(context, 111101037, 2) + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 111101037, suite = 1 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + -- 将configid为 37002 的物件更改为状态 GadgetState.Default + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 37002, GadgetState.Default) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 3001, 4, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101038.lua b/Resources/Scripts/Scene/1/scene1_group111101038.lua index 6efe5fdef..0cedded23 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101038.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101038.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_1_duration = 50, challenge_2_duration = 40, challenge_3_duration = 30, diff --git a/Resources/Scripts/Scene/1/scene1_group111101039.lua b/Resources/Scripts/Scene/1/scene1_group111101039.lua index e69de29bb..5378a32ec 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101039.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101039.lua @@ -0,0 +1,305 @@ +-- 基础信息 +local base_info = { + group_id = 111101039 +} + +-- Trigger变量 +local defs = { + group_id = 111101039, + gadget_target_1S = 39002, + gadget_target_1E = 39005, + gadget_target_2S = 39003, + gadget_target_2E = 39006, + gadget_target_3S = 39004, + gadget_target_3E = 39007 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 39001, gadget_id = 70360008, pos = { x = 2342.588, y = 253.848, z = -1419.759 }, rot = { x = 0.000, y = 268.800, z = 0.000 }, level = 1 }, + { config_id = 39002, gadget_id = 70360011, pos = { x = 2344.649, y = 259.544, z = -1408.639 }, rot = { x = 0.000, y = 302.600, z = 0.000 }, level = 1, mark_flag = 2 }, + { config_id = 39003, gadget_id = 70360011, pos = { x = 2340.900, y = 259.700, z = -1424.300 }, rot = { x = 0.000, y = 240.700, z = 0.000 }, level = 1, mark_flag = 4 }, + { config_id = 39004, gadget_id = 70360011, pos = { x = 2346.200, y = 259.600, z = -1421.100 }, rot = { x = 0.000, y = 136.900, z = 0.000 }, level = 1, mark_flag = 8 }, + { config_id = 39005, gadget_id = 70360014, pos = { x = 2344.649, y = 259.544, z = -1408.639 }, rot = { x = 0.000, y = 187.800, z = 0.000 }, level = 1, route_id = 110100014 }, + { config_id = 39006, gadget_id = 70360014, pos = { x = 2340.913, y = 259.668, z = -1424.285 }, rot = { x = 0.000, y = 287.700, z = 0.000 }, level = 1, route_id = 110100015 }, + { config_id = 39007, gadget_id = 70360014, pos = { x = 2346.184, y = 259.627, z = -1421.084 }, rot = { x = 0.000, y = 299.100, z = 0.000 }, level = 1, route_id = 110100016 }, + { config_id = 39008, gadget_id = 70211111, pos = { x = 2342.554, y = 253.848, z = -1421.193 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 6, drop_tag = "解谜中级蒙德", showcutscene = true, isOneoff = true, persistent = true } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1039009, name = "GADGET_STATE_CHANGE_39009", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "", action = "action_EVENT_GADGET_STATE_CHANGE_39009", trigger_count = 0 }, + { config_id = 1039010, name = "GADGET_STATE_CHANGE_39010", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_39010", action = "action_EVENT_GADGET_STATE_CHANGE_39010" }, + { config_id = 1039011, name = "VARIABLE_CHANGE_39011", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_39011", action = "action_EVENT_VARIABLE_CHANGE_39011" }, + { config_id = 1039012, name = "GADGET_STATE_CHANGE_39012", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_39012", action = "action_EVENT_GADGET_STATE_CHANGE_39012", trigger_count = 0 }, + { config_id = 1039013, name = "GADGET_CREATE_39013", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_39013", action = "action_EVENT_GADGET_CREATE_39013", trigger_count = 0 }, + { config_id = 1039014, name = "SELECT_OPTION_39014", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_39014", action = "action_EVENT_SELECT_OPTION_39014", trigger_count = 0 }, + { config_id = 1039015, name = "GROUP_REFRESH_39015", event = EventType.EVENT_GROUP_REFRESH, source = "", condition = "", action = "action_EVENT_GROUP_REFRESH_39015" }, + { config_id = 1039016, name = "ANY_GADGET_DIE_39016", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "", action = "action_EVENT_ANY_GADGET_DIE_39016", trigger_count = 0 }, + { config_id = 1039017, name = "GADGET_CREATE_39017", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_39017", action = "action_EVENT_GADGET_CREATE_39017", trigger_count = 0 } +} + +-- 变量 +variables = { + { config_id = 1, name = "count", value = 0, no_refresh = false } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 2, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { }, + gadgets = { 39001, 39002, 39003, 39004 }, + regions = { }, + triggers = { "GADGET_STATE_CHANGE_39009", "GADGET_STATE_CHANGE_39010", "VARIABLE_CHANGE_39011", "GADGET_STATE_CHANGE_39012", "GADGET_CREATE_39013", "SELECT_OPTION_39014", "GROUP_REFRESH_39015", "ANY_GADGET_DIE_39016" }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = suite_2, + monsters = { }, + gadgets = { 39001, 39008 }, + regions = { }, + triggers = { "GADGET_CREATE_39017" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_39009(context, evt) + if evt.param1 == GadgetState.GearStart and evt.param3 == GadgetState.Default then + + if evt.param2 == defs.gadget_target_1S then + ScriptLib.CreateGadget(context, { config_id = defs.gadget_target_1E }) + + elseif evt.param2 == defs.gadget_target_2S then + ScriptLib.CreateGadget(context, { config_id = defs.gadget_target_2E }) + + elseif evt.param2 == defs.gadget_target_3S then + ScriptLib.CreateGadget(context, { config_id = defs.gadget_target_3E }) + + end + + return 0 + else return -1 + + end + + return false +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_39010(context, evt) + if 39001 ~= evt.param2 or GadgetState.Action01 ~= evt.param1 then + return false + end + + if 0 == ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_target_1S) then + return true + end + + if 0 == ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_target_2S) then + return true + end + + if 0 == ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_target_3S) then + return true + end + + return false +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_39010(context, evt) + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 111101039, suite = 1 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_39011(context, evt) + if evt.param1 == evt.param2 then return false end + + -- 判断变量"count"为3 + if ScriptLib.GetGroupVariableValue(context, "count") ~= 3 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_39011(context, evt) + -- 将configid为 39001 的物件更改为状态 GadgetState.GearStop + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 39001, GadgetState.GearStop) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- group调整group进度,只对非randSuite有效 + if 0 ~= ScriptLib.GoToGroupSuite(context, 111101039, 2) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : goto_groupSuite") + return -1 + end + + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 2008, 3, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_39012(context, evt) + if 39001 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_39012(context, evt) + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 2008, 1, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + -- 删除指定group: 111101039 ;指定config:39001;物件身上指定option:171; + if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 111101039, 39001, 171) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_39013(context, evt) + if 39001 ~= evt.param1 or GadgetState.Default ~= ScriptLib.GetGadgetStateByConfigId(context, 0, evt.param1) then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_39013(context, evt) + -- 设置操作台选项 + if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 111101039, 39001, {171}) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_39014(context, evt) + if 39001 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_39014(context, evt) + -- 将configid为 39001 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 39001, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_GROUP_REFRESH_39015(context, evt) + -- 设置操作台选项 + if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 111101039, 39001, {171}) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid") + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_ANY_GADGET_DIE_39016(context, evt) + if evt.param1 == defs.gadget_target_1E or evt.param1 == defs.gadget_target_2E or evt.param1 == defs.gadget_target_3E then + ScriptLib.ChangeGroupVariableValue(context, "count", 1) + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_39017(context, evt) + if 39001 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_39017(context, evt) + -- 将configid为 39001 的物件更改为状态 GadgetState.GearStop + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 39001, GadgetState.GearStop) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101040.lua b/Resources/Scripts/Scene/1/scene1_group111101040.lua index e69de29bb..44314d46f 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101040.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101040.lua @@ -0,0 +1,163 @@ +-- 基础信息 +local base_info = { + group_id = 111101040 +} + +-- Trigger变量 +local defs = { + group_id = 111101040, + gadget_riddle_hint = 40001, + gadget_riddle_1 = 40002, + gadget_riddle_2 = 40003, + gadget_riddle_3 = 40004, + gadget_riddle_4 = 40005, + gadget_chest = 40006 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 40001, gadget_id = 70310012, pos = { x = 2307.237, y = 249.176, z = -1472.227 }, rot = { x = 0.000, y = 190.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 40002, gadget_id = 70310011, pos = { x = 2311.167, y = 249.907, z = -1468.868 }, rot = { x = 0.000, y = 276.100, z = 0.000 }, level = 1, persistent = true }, + { config_id = 40003, gadget_id = 70310011, pos = { x = 2303.119, y = 248.894, z = -1474.628 }, rot = { x = 0.000, y = 317.500, z = 0.000 }, level = 1, persistent = true }, + { config_id = 40004, gadget_id = 70310011, pos = { x = 2305.696, y = 249.387, z = -1466.218 }, rot = { x = 0.000, y = 257.600, z = 0.000 }, level = 1, persistent = true }, + { config_id = 40005, gadget_id = 70310011, pos = { x = 2311.435, y = 249.949, z = -1473.698 }, rot = { x = 0.000, y = 14.100, z = 0.000 }, level = 1, persistent = true }, + { config_id = 40006, gadget_id = 70211112, pos = { x = 2307.268, y = 249.625, z = -1472.226 }, rot = { x = 0.000, y = 270.400, z = 0.000 }, level = 6, drop_tag = "解谜中级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1040007, name = "GADGET_STATE_CHANGE_40007", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_40007", action = "action_EVENT_GADGET_STATE_CHANGE_40007", trigger_count = 0 }, + { config_id = 1040008, name = "VARIABLE_CHANGE_40008", event = EventType.EVENT_VARIABLE_CHANGE, source = "State_Flag", condition = "condition_EVENT_VARIABLE_CHANGE_40008", action = "action_EVENT_VARIABLE_CHANGE_40008", trigger_count = 0 }, + { config_id = 1040009, name = "GROUP_LOAD_40009", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_EVENT_GROUP_LOAD_40009" } +} + +-- 变量 +variables = { + { config_id = 1, name = "State_Flag", value = 0, no_refresh = true } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { }, + gadgets = { 40001, 40002, 40003, 40004, 40005, 40006 }, + regions = { }, + triggers = { "GADGET_STATE_CHANGE_40007", "VARIABLE_CHANGE_40008", "GROUP_LOAD_40009" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_40007(context, evt) + if evt.param2 ~= defs.gadget_riddle_1 and evt.param2 ~= defs.gadget_riddle_2 and evt.param2 ~= defs.gadget_riddle_3 and evt.param2 ~= defs.gadget_riddle_4 then + return false + end + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_40007(context, evt) + if evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if 0 == ScriptLib.GetCurTriggerCount(context) then + ScriptLib.MarkPlayerAction(context, 1003, 1, 1) + end + elseif evt.param1 == GadgetState.Default then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", -1) + end + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_40008(context, evt) + if evt.param1 == evt.param2 then return false end + + if evt.param1 < 0 or evt.param1 > 4 then + return false + end + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_40008(context, evt) + if evt.param1 == 0 then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_hint, GadgetState.Default) + elseif evt.param1 == 1 then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_hint, GadgetState.Action01) + ScriptLib.MarkPlayerAction(context, 1003, 2, 2) + elseif evt.param1 == 2 then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_hint, GadgetState.Action02) + ScriptLib.MarkPlayerAction(context, 1003, 2, 3) + elseif evt.param1 == 3 then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_hint, GadgetState.Action03) + ScriptLib.MarkPlayerAction(context, 1003, 2, 4) + elseif evt.param1 == 4 then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_hint, GadgetState.GearStart) + ScriptLib.MarkPlayerAction(context, 1003, 3, 5) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_chest, GadgetState.Default) + end + return 0 +end + +-- 触发操作 +function action_EVENT_GROUP_LOAD_40009(context, evt) + local sum = 0 + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_1) == GadgetState.GearStart then + sum = sum + 1 + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_2) == GadgetState.GearStart then + sum = sum + 1 + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_3) == GadgetState.GearStart then + sum = sum + 1 + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_4) == GadgetState.GearStart then + sum = sum + 1 + end + ScriptLib.SetGroupVariableValue(context, "State_Flag", sum) + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101041.lua b/Resources/Scripts/Scene/1/scene1_group111101041.lua index 082f504e3..646f1a5de 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101041.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101041.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 10, group_id = 111101041, diff --git a/Resources/Scripts/Scene/1/scene1_group111101044.lua b/Resources/Scripts/Scene/1/scene1_group111101044.lua index e69de29bb..c7d5e252c 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101044.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101044.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 111101044 +} + +-- Trigger变量 +local defs = { + gadget_id = 44004 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 44001, gadget_id = 70900051, pos = { x = 2366.951, y = 258.481, z = -1436.664 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 44002, gadget_id = 70900039, pos = { x = 2367.218, y = 264.477, z = -1440.719 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 44003, gadget_id = 70900051, pos = { x = 2355.394, y = 255.588, z = -1437.744 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 44004, gadget_id = 70211111, pos = { x = 2360.344, y = 262.375, z = -1443.877 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 6, drop_tag = "解谜中级蒙德", showcutscene = true, isOneoff = true, persistent = true }, + { config_id = 44008, gadget_id = 70900039, pos = { x = 2357.012, y = 261.791, z = -1443.033 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1044005, name = "GADGET_STATE_CHANGE_44005", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_44005", action = "action_EVENT_GADGET_STATE_CHANGE_44005", trigger_count = 0 }, + { config_id = 1044006, name = "GADGET_STATE_CHANGE_44006", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "", action = "action_EVENT_GADGET_STATE_CHANGE_44006" }, + { config_id = 1044007, name = "GADGET_CREATE_44007", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_44007", action = "action_EVENT_GADGET_CREATE_44007" } +} + +-- 变量 +variables = { + { config_id = 1, name = "start", value = 0, no_refresh = true } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 44001, 44002, 44003, 44008 }, + regions = { }, + triggers = { "GADGET_STATE_CHANGE_44005", "GADGET_STATE_CHANGE_44006", "GADGET_CREATE_44007" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_44005(context, evt) + if ScriptLib.GetGroupVariableValue(context, "start") == #suites[1].gadgets then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_44005(context, evt) + if evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context,"start",1) + elseif evt.param1 == GadgetState.Default then + ScriptLib.ChangeGroupVariableValue(context,"start",-1) + end + + if ScriptLib.GetGroupVariableValue(context, "start") == #suites[1].gadgets then + ScriptLib.CreateGadget(context, { config_id = defs.gadget_id }) + end +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_44006(context, evt) + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 1008, 1, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_44007(context, evt) + if defs.gadget_id ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_44007(context, evt) + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 1008, 3, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101045.lua b/Resources/Scripts/Scene/1/scene1_group111101045.lua index e69de29bb..abaf1a134 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101045.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101045.lua @@ -0,0 +1,284 @@ +-- 基础信息 +local base_info = { + group_id = 111101045 +} + +-- Trigger变量 +local defs = { + group_id = 111101045, + gadget_target_1 = 45003, + monster_mole_1 = 45001, + gadget_home_1 = 45004 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 45001, monster_id = 28050201, pos = { x = 2305.350, y = 251.486, z = -1426.829 }, rot = { x = 0.000, y = 29.457, z = 0.000 }, level = 1, drop_tag = "魔法生物" }, + { config_id = 45002, monster_id = 28050201, pos = { x = 2318.390, y = 253.733, z = -1428.814 }, rot = { x = 0.000, y = 29.457, z = 0.000 }, level = 1, drop_tag = "魔法生物", pose_id = 3 } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 45003, gadget_id = 70360027, pos = { x = 2318.493, y = 253.657, z = -1428.971 }, rot = { x = 0.000, y = 104.100, z = 0.000 }, level = 1, mark_flag = 3 }, + { config_id = 45004, gadget_id = 70360015, pos = { x = 2305.645, y = 251.317, z = -1426.714 }, rot = { x = 0.000, y = 15.100, z = 0.000 }, level = 1, mark_flag = 2 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1045005, name = "ANY_MONSTER_DIE_45005", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_45005", action = "action_EVENT_ANY_MONSTER_DIE_45005" }, + { config_id = 1045006, name = "SELECT_OPTION_45006", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_45006", action = "action_EVENT_SELECT_OPTION_45006", trigger_count = 0 }, + { config_id = 1045007, name = "GADGET_STATE_CHANGE_45007", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_45007", action = "action_EVENT_GADGET_STATE_CHANGE_45007", trigger_count = 0 }, + { config_id = 1045008, name = "GADGET_STATE_CHANGE_45008", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_45008", action = "action_EVENT_GADGET_STATE_CHANGE_45008", trigger_count = 0 }, + { config_id = 1045009, name = "GROUP_LOAD_45009", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "condition_EVENT_GROUP_LOAD_45009", action = "action_EVENT_GROUP_LOAD_45009", trigger_count = 0 }, + { config_id = 1045010, name = "GROUP_LOAD_45010", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "condition_EVENT_GROUP_LOAD_45010", action = "action_EVENT_GROUP_LOAD_45010", trigger_count = 0 } +} + +-- 变量 +variables = { + { config_id = 1, name = "HoleHasShowed", value = 0, no_refresh = false } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 2, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { 45001 }, + gadgets = { 45003, 45004 }, + regions = { }, + triggers = { "ANY_MONSTER_DIE_45005", "SELECT_OPTION_45006", "GADGET_STATE_CHANGE_45007", "GADGET_STATE_CHANGE_45008", "GROUP_LOAD_45009", "GROUP_LOAD_45010" }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = suite_2, + monsters = { }, + gadgets = { }, + regions = { }, + triggers = { }, + rand_weight = 100, + ban_refresh = true + }, + { + -- suite_id = 3, + -- description = suite_3, + monsters = { 45002 }, + gadgets = { }, + regions = { }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_ANY_MONSTER_DIE_45005(context, evt) + --判断死亡怪物的configid是否为 45002 + if evt.param1 ~= 45002 then + return false + end + + + --判断死亡怪物的死亡类型是否为0,0为普通死亡(比如被击杀),1为普通地被killself杀死,2为消失(比如小动物逃跑消失,北风狼脱战消失) + if evt.param2 ~= 0 then + return false + end + + + return true +end + +-- 触发操作 +function action_EVENT_ANY_MONSTER_DIE_45005(context, evt) + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 2006, 3, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + -- 销毁group存档,不影响当前场景,但卸载后group就永别了 + if 0 ~= ScriptLib.SetGroupDead(context, 0) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_group_die") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_45006(context, evt) + -- 判断是gadgetid 45004 option_id 171 + if 45004 ~= evt.param1 then + return false + end + + if 171 ~= evt.param2 then + return false + end + + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_45006(context, evt) + -- 改变指定group组111101045中, configid为45004的gadget的state + if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 111101045, 45004, GadgetState.GearAction2) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId") + return -1 + end + + -- 删除指定group: 111101045 ;指定config:45004;物件身上指定option:171; + if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 111101045, 45004, 171) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId") + return -1 + end + + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 2006, 1, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_45007(context, evt) + if 45004 ~= evt.param2 or GadgetState.GearAction1 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_45007(context, evt) + -- 设置操作台选项 + if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 111101045, 45004, {171}) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid") + return -1 + end + + -- 将本组内变量名为 "HoleHasShowed" 的变量设置为 1 + if 0 ~= ScriptLib.SetGroupVariableValue(context, "HoleHasShowed", 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_45008(context, evt) + if 45003 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_45008(context, evt) + -- 添加suite3的新内容 + ScriptLib.AddExtraGroupSuite(context, 111101045, 3) + + -- 将configid为 45004 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 45004, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GROUP_LOAD_45009(context, evt) + -- 判断变量"HoleHasShowed"为0 + if ScriptLib.GetGroupVariableValue(context, "HoleHasShowed") ~= 0 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GROUP_LOAD_45009(context, evt) + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 45001, delay_time = 0 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster") + return -1 + end + + -- 删除suite3的所有内容 + ScriptLib.RemoveExtraGroupSuite(context, 111101045, 3) + + return 0 +end + +-- 触发条件 +function condition_EVENT_GROUP_LOAD_45010(context, evt) + -- 判断变量"HoleHasShowed"为1 + if ScriptLib.GetGroupVariableValue(context, "HoleHasShowed") ~= 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GROUP_LOAD_45010(context, evt) + -- 将configid为 45004 的物件更改为状态 GadgetState.GearAction1 + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 45004, GadgetState.GearAction1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 删除suite3的所有内容 + ScriptLib.RemoveExtraGroupSuite(context, 111101045, 3) + + -- 将configid为 45003 的物件更改为状态 GadgetState.Default + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 45003, GadgetState.Default) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101049.lua b/Resources/Scripts/Scene/1/scene1_group111101049.lua index e69de29bb..52b1c9b6e 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101049.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101049.lua @@ -0,0 +1,256 @@ +-- 基础信息 +local base_info = { + group_id = 111101049 +} + +-- Trigger变量 +local defs = { + gadget_1 = 49001 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 49001, gadget_id = 70360006, pos = { x = 2411.905, y = 250.511, z = -1409.038 }, rot = { x = 0.000, y = 196.100, z = 0.000 }, level = 18 }, + { config_id = 49002, gadget_id = 70211101, pos = { x = 2413.928, y = 250.667, z = -1407.470 }, rot = { x = 0.000, y = 242.710, z = 0.000 }, level = 1, drop_tag = "解谜低级蒙德", showcutscene = true, isOneoff = true, persistent = true }, + { config_id = 49010, gadget_id = 70900007, pos = { x = 2414.299, y = 251.436, z = -1412.621 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 49011, gadget_id = 70900008, pos = { x = 2409.153, y = 249.647, z = -1405.776 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1049003, name = "GADGET_STATE_CHANGE_49003", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_49003", action = "action_EVENT_GADGET_STATE_CHANGE_49003" }, + { config_id = 1049004, name = "GADGET_STATE_CHANGE_49004", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_49004", action = "action_EVENT_GADGET_STATE_CHANGE_49004", trigger_count = 0 }, + { config_id = 1049005, name = "GADGET_STATE_CHANGE_49005", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_49005", action = "action_EVENT_GADGET_STATE_CHANGE_49005", trigger_count = 0 }, + { config_id = 1049006, name = "GADGET_CREATE_49006", event = EventType.EVENT_GADGET_CREATE, source = "111", condition = "condition_EVENT_GADGET_CREATE_49006", action = "action_EVENT_GADGET_CREATE_49006", trigger_count = 0 }, + { config_id = 1049007, name = "GADGET_STATE_CHANGE_49007", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "111", condition = "condition_EVENT_GADGET_STATE_CHANGE_49007", action = "action_EVENT_GADGET_STATE_CHANGE_49007", trigger_count = 0 }, + { config_id = 1049008, name = "GADGET_STATE_CHANGE_49008", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "", action = "action_EVENT_GADGET_STATE_CHANGE_49008" }, + { config_id = 1049009, name = "GADGET_CREATE_49009", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_49009", action = "action_EVENT_GADGET_CREATE_49009" } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 3, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { }, + gadgets = { 49010, 49011 }, + regions = { }, + triggers = { "GADGET_STATE_CHANGE_49007", "GADGET_STATE_CHANGE_49008", "GADGET_CREATE_49009" }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = suite_2, + monsters = { }, + gadgets = { 49001 }, + regions = { }, + triggers = { "GADGET_STATE_CHANGE_49003", "GADGET_STATE_CHANGE_49004", "GADGET_STATE_CHANGE_49005", "GADGET_CREATE_49006" }, + rand_weight = 100 + }, + { + -- suite_id = 3, + -- description = suite_3, + monsters = { }, + gadgets = { 49002 }, + regions = { }, + triggers = { }, + rand_weight = 100 + }, + { + -- suite_id = 4, + -- description = , + monsters = { }, + gadgets = { }, + regions = { }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_49003(context, evt) + if 49002 ~= evt.param2 or GadgetState.ChestOpened ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_49003(context, evt) + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 1010, 3, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + -- group调整group进度,只对非randSuite有效 + if 0 ~= ScriptLib.GoToGroupSuite(context, 111101049, 4) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : goto_groupSuite") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_49004(context, evt) + if 49001 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_49004(context, evt) + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 1010, 1, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + -- 添加suite3的新内容 + ScriptLib.AddExtraGroupSuite(context, 111101049, 3) + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_49005(context, evt) + if 49001 ~= evt.param2 or GadgetState.Default ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_49005(context, evt) + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 1010, 4, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + -- 删除suite3的所有内容 + ScriptLib.RemoveExtraGroupSuite(context, 111101049, 3) + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_49006(context, evt) + if 49001 ~= evt.param1 or GadgetState.Default ~= ScriptLib.GetGadgetStateByConfigId(context, 0, evt.param1) then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_49006(context, evt) + -- 删除suite3的所有内容 + ScriptLib.RemoveExtraGroupSuite(context, 111101049, 3) + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_49007(context, evt) + if ScriptLib.GetGroupVariableValue(context, "start") == #suites[1].gadgets then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_49007(context, evt) + if evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context,"start",1) + elseif evt.param1 == GadgetState.Default then + ScriptLib.ChangeGroupVariableValue(context,"start",-1) + end + + if ScriptLib.GetGroupVariableValue(context, "start") == #suites[1].gadgets then + ScriptLib.CreateGadget(context, { config_id = defs.gadget_id }) + end +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_49008(context, evt) + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 1008, 1, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_49009(context, evt) + if defs.gadget_id ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_49009(context, evt) + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 1008, 3, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101050.lua b/Resources/Scripts/Scene/1/scene1_group111101050.lua index 85bcbfa88..51d2fecfa 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101050.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101050.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111101050, trigger_playRegion = 50005, gadget_1 = 50002 diff --git a/Resources/Scripts/Scene/1/scene1_group111101053.lua b/Resources/Scripts/Scene/1/scene1_group111101053.lua index e69de29bb..4397f5bcc 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101053.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101053.lua @@ -0,0 +1,158 @@ +-- 基础信息 +local base_info = { + group_id = 111101053 +} + +-- Trigger变量 +local defs = { + max_gear = 3, + timer = 5, + group_id = 111101053, + gadget_1 = 53001, + gadget_2 = 53002, + gadget_3 = 53003, + gadget_4 = 0, + gadget_chest = 53004 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 53001, gadget_id = 70900009, pos = { x = 2519.332, y = 206.050, z = -1213.760 }, rot = { x = 0.000, y = 330.800, z = 0.000 }, level = 1, persistent = true }, + { config_id = 53002, gadget_id = 70900009, pos = { x = 2529.632, y = 206.050, z = -1208.960 }, rot = { x = 0.000, y = 329.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 53003, gadget_id = 70900009, pos = { x = 2521.037, y = 206.050, z = -1204.919 }, rot = { x = 0.000, y = 59.100, z = 0.000 }, level = 1, persistent = true }, + { config_id = 53004, gadget_id = 70211111, pos = { x = 2526.788, y = 206.050, z = -1215.111 }, rot = { x = 0.000, y = 330.500, z = 0.000 }, level = 1, drop_tag = "解谜中级蒙德", showcutscene = true, isOneoff = true, persistent = true }, + { config_id = 53005, gadget_id = 70900209, pos = { x = 2525.400, y = 206.289, z = -1217.565 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1053006, name = "GADGET_STATE_CHANGE_53006", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_53006", action = "action_EVENT_GADGET_STATE_CHANGE_53006", trigger_count = 0 }, + { config_id = 1053007, name = "TIMER_EVENT_53007", event = EventType.EVENT_TIMER_EVENT, source = "", condition = "condition_EVENT_TIMER_EVENT_53007", action = "action_EVENT_TIMER_EVENT_53007", trigger_count = 0 }, + { config_id = 1053008, name = "VARIABLE_CHANGE_53008", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_53008", action = "action_EVENT_VARIABLE_CHANGE_53008", trigger_count = 0 } +} + +-- 变量 +variables = { + { config_id = 1, name = "active_count", value = 0, no_refresh = false } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { }, + gadgets = { 53001, 53002, 53003, 53005 }, + regions = { }, + triggers = { "GADGET_STATE_CHANGE_53006", "TIMER_EVENT_53007", "VARIABLE_CHANGE_53008" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_53006(context, evt) + if defs.gadget_1 ~= evt.param2 and defs.gadget_2 ~= evt.param2 and defs.gadget_3 ~= evt.param2 and defs.gadget_4 ~= evt.param2 then + return false + end + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_53006(context, evt) + if 0 == ScriptLib.GetGroupVariableValue(context, "active_count") then + ScriptLib.MarkPlayerAction(context, 1001, 1, 1) + end + if evt.param1 == GadgetState.Default then + ScriptLib.ChangeGroupVariableValue(context, "active_count", -1) + elseif evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "active_count", 1) + ScriptLib.CreateGroupTimerEvent(context, defs.group_id, tostring(evt.param2), defs.timer) + else + return -1 + end + return 0 +end + +-- 触发条件 +function condition_EVENT_TIMER_EVENT_53007(context, evt) + if evt.source_name ~= tostring(defs.gadget_1) and evt.source_name ~= tostring(defs.gadget_2) and evt.source_name ~= tostring(defs.gadget_3) and evt.source_name ~= tostring(defs.gadget_4) then + return false + end + return true +end + +-- 触发操作 +function action_EVENT_TIMER_EVENT_53007(context, evt) + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, tonumber(evt.source_name), GadgetState.Default) then + return -1 + end + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_53008(context, evt) + if evt.param1 == evt.param2 then return false end + + if evt.param1 == -1 then + ScriptLib.MarkPlayerAction(context, 1001, 4, 1) + end + if evt.param1 ~= defs.max_gear then + return false + end + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_53008(context, evt) + ScriptLib.CancelGroupTimerEvent(context, defs.group_id, tostring(defs.gadget_1)) + ScriptLib.CancelGroupTimerEvent(context, defs.group_id, tostring(defs.gadget_2)) + ScriptLib.CancelGroupTimerEvent(context, defs.group_id, tostring(defs.gadget_3)) + ScriptLib.CancelGroupTimerEvent(context, defs.group_id, tostring(defs.gadget_4)) + if ScriptLib.CreateGadget(context, { config_id = defs.gadget_chest }) ~= 0 then + return -1 + end + ScriptLib.MarkPlayerAction(context, 1001, 3, 1) + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101055.lua b/Resources/Scripts/Scene/1/scene1_group111101055.lua index 8f267e1b6..263c391ef 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101055.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101055.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 111101055 } diff --git a/Resources/Scripts/Scene/1/scene1_group111101056.lua b/Resources/Scripts/Scene/1/scene1_group111101056.lua index 6db7ad0ca..7b61bb72e 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101056.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101056.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 111101056, gadget_sum = 2 diff --git a/Resources/Scripts/Scene/1/scene1_group111101057.lua b/Resources/Scripts/Scene/1/scene1_group111101057.lua index 6f43a3015..ca052c2ae 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101057.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101057.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { option_1 = 201, option_2 = 202, option_3 = 203, diff --git a/Resources/Scripts/Scene/1/scene1_group111101059.lua b/Resources/Scripts/Scene/1/scene1_group111101059.lua index 48bec92f4..760a7deff 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101059.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101059.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {59001,59002,59003,59004,59005}, diff --git a/Resources/Scripts/Scene/1/scene1_group111101082.lua b/Resources/Scripts/Scene/1/scene1_group111101082.lua index e69de29bb..08c9a15cc 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101082.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101082.lua @@ -0,0 +1,232 @@ +-- 基础信息 +local base_info = { + group_id = 111101082 +} + +-- Trigger变量 +local defs = { + duration = 30, + kill_sum = 1, + group_id = 111101082, + gadget_controller_id = 82003 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 82001, monster_id = 23030101, pos = { x = 2477.860, y = 198.120, z = -1216.498 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 9002 } } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 82002, gadget_id = 70360047, pos = { x = 2477.781, y = 198.120, z = -1212.029 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗高级蒙德", state = GadgetState.Action01, isOneoff = true, persistent = true }, + { config_id = 82003, gadget_id = 70360001, pos = { x = 2477.798, y = 198.120, z = -1211.998 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1082004, name = "GADGET_STATE_CHANGE_82004", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_82004", action = "action_EVENT_GADGET_STATE_CHANGE_82004" }, + { config_id = 1082005, name = "CHALLENGE_SUCCESS_82005", event = EventType.EVENT_CHALLENGE_SUCCESS, source = "180", condition = "", action = "action_EVENT_CHALLENGE_SUCCESS_82005" }, + { config_id = 1082006, name = "CHALLENGE_FAIL_82006", event = EventType.EVENT_CHALLENGE_FAIL, source = "180", condition = "", action = "action_EVENT_CHALLENGE_FAIL_82006", trigger_count = 0 }, + { config_id = 1082007, name = "GADGET_CREATE_82007", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_82007", action = "action_EVENT_GADGET_CREATE_82007", trigger_count = 0 }, + { config_id = 1082008, name = "SELECT_OPTION_82008", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_82008", action = "action_EVENT_SELECT_OPTION_82008", trigger_count = 0 } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { }, + gadgets = { 82002, 82003 }, + regions = { }, + triggers = { "GADGET_STATE_CHANGE_82004", "CHALLENGE_SUCCESS_82005", "CHALLENGE_FAIL_82006", "GADGET_CREATE_82007", "SELECT_OPTION_82008" }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = suite_2, + monsters = { 82001 }, + gadgets = { }, + regions = { }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_82004(context, evt) + if 82002 ~= evt.param2 or GadgetState.ChestOpened ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_82004(context, evt) + -- 销毁group存档,不影响当前场景,但卸载后group就永别了 + if 0 ~= ScriptLib.SetGroupDead(context, 0) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_group_die") + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_CHALLENGE_SUCCESS_82005(context, evt) + -- 将configid为 82002 的物件更改为状态 GadgetState.GearAction1 + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 82002, GadgetState.GearAction1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 3001, 3, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_CHALLENGE_FAIL_82006(context, evt) + -- 将configid为 82002 的物件更改为状态 GadgetState.Action01 + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 82002, GadgetState.Action01) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 创建id为82003的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 82003 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + -- 删除suite2的所有内容 + ScriptLib.RemoveExtraGroupSuite(context, 111101082, 2) + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 111101082, suite = 1 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 3001, 4, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_82007(context, evt) + if 82003 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_82007(context, evt) + -- 设置操作台选项 + if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 111101082, 82003, {177}) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_82008(context, evt) + -- 判断是gadgetid 82003 option_id 177 + if 82003 ~= evt.param1 then + return false + end + + if 177 ~= evt.param2 then + return false + end + + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_82008(context, evt) + -- 180号挑战,duration内击杀kill_sum的怪物 + if 0 ~= ScriptLib.ActiveChallenge(context, 180, 180, defs.duration, defs.group_id, defs.kill_sum, 0) then + return -1 + end + + -- 添加suite2的新内容 + ScriptLib.AddExtraGroupSuite(context, defs.group_id, 2) + + --永久关闭CongfigId的Gadget,需要和Groups的RefreshWithBlock标签搭配 + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_controller_id }) then + return -1 + end + + + -- 将configid为 2002 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 82002, GadgetState.GearStart) then + return -1 + end + + + + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 3001, 1, 1) then + return -1 + end + + return 0 + +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101083.lua b/Resources/Scripts/Scene/1/scene1_group111101083.lua index 8ffd6b37c..6fb189732 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101083.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101083.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 1, group_id = 111101083, diff --git a/Resources/Scripts/Scene/1/scene1_group111101087.lua b/Resources/Scripts/Scene/1/scene1_group111101087.lua index a7db1bf60..7ba9e909f 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101087.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101087.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 111101087, gadget_sum = 2 diff --git a/Resources/Scripts/Scene/1/scene1_group111101094.lua b/Resources/Scripts/Scene/1/scene1_group111101094.lua index 31220618a..8f33f37c1 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101094.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101094.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { RevivePoint = {pos = {x=2153.553, y= 217.2468, z=-1402.285}, radius = 2, rot = {x=0, y=196.7968, z=0}}, group_id = 111101094 diff --git a/Resources/Scripts/Scene/1/scene1_group111101095.lua b/Resources/Scripts/Scene/1/scene1_group111101095.lua index aa5343da0..d74f8c731 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101095.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101095.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 111101095, thunder1_id = 95019, thunder2_id = 95020, diff --git a/Resources/Scripts/Scene/1/scene1_group111101104.lua b/Resources/Scripts/Scene/1/scene1_group111101104.lua index 8da39ad55..224ff42e6 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101104.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101104.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { change1 = 0, change2 = 0, change3 = 0, diff --git a/Resources/Scripts/Scene/1/scene1_group111101106.lua b/Resources/Scripts/Scene/1/scene1_group111101106.lua index 0d5553fbe..768f97604 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101106.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101106.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 111101106, rewardChestID = 106004, isLoop = 0, diff --git a/Resources/Scripts/Scene/1/scene1_group111101109.lua b/Resources/Scripts/Scene/1/scene1_group111101109.lua index 4f3412f7d..955c15220 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101109.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101109.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 109001, gadget_2 = 109002, gadget_3 = 109003, diff --git a/Resources/Scripts/Scene/1/scene1_group111101110.lua b/Resources/Scripts/Scene/1/scene1_group111101110.lua index 6740f37d2..685c978c7 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101110.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101110.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111101110, gadget_thunderThelfID = 110001, pointarray_ID = 110100039, diff --git a/Resources/Scripts/Scene/1/scene1_group111101111.lua b/Resources/Scripts/Scene/1/scene1_group111101111.lua index 717e5ee30..88d4f99c6 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101111.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101111.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111101111, gadget_thunderThelfID = 111001, pointarray_ID = 110100006, diff --git a/Resources/Scripts/Scene/1/scene1_group111101112.lua b/Resources/Scripts/Scene/1/scene1_group111101112.lua index 9cd7545d0..c52d0baca 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101112.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101112.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 1, group_ID = 111101112, gadget_1 = 112001, diff --git a/Resources/Scripts/Scene/1/scene1_group111101113.lua b/Resources/Scripts/Scene/1/scene1_group111101113.lua index f28d0e053..2dc52c631 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101113.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101113.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111101113, gadget_11 = 113001, gadget_12 = 113002, diff --git a/Resources/Scripts/Scene/1/scene1_group111101115.lua b/Resources/Scripts/Scene/1/scene1_group111101115.lua index ca2c271f5..f7ae8d8ba 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101115.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101115.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111101115, gadget_1 = 115001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/1/scene1_group111101116.lua b/Resources/Scripts/Scene/1/scene1_group111101116.lua index d67a25d8f..7a7a9d2cd 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101116.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101116.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 110100051, gadget_seelie = 116002 diff --git a/Resources/Scripts/Scene/1/scene1_group111101117.lua b/Resources/Scripts/Scene/1/scene1_group111101117.lua index cf3936d3d..0bc2e88bf 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101117.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101117.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 117004 } diff --git a/Resources/Scripts/Scene/1/scene1_group111101118.lua b/Resources/Scripts/Scene/1/scene1_group111101118.lua index 0aa1182d7..e4fb15e80 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101118.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101118.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 10, group_id = 111101118, diff --git a/Resources/Scripts/Scene/1/scene1_group111101119.lua b/Resources/Scripts/Scene/1/scene1_group111101119.lua index a2b212d48..575e26871 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101119.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101119.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 110100053, gadget_seelie = 119002 diff --git a/Resources/Scripts/Scene/1/scene1_group111101120.lua b/Resources/Scripts/Scene/1/scene1_group111101120.lua index aa7dc5061..a5d79a9ce 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101120.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101120.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 111101120, shooter = 120001, repeater = {120001,120002,120003}, diff --git a/Resources/Scripts/Scene/1/scene1_group111101122.lua b/Resources/Scripts/Scene/1/scene1_group111101122.lua index d13e1447a..427b6a377 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101122.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101122.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { FatherQuest = 72160, group_id = 111101122, temari_gadget_id = 122007, diff --git a/Resources/Scripts/Scene/1/scene1_group111101124.lua b/Resources/Scripts/Scene/1/scene1_group111101124.lua index 9150af88f..51ddb700f 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101124.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101124.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 124001, gadget_Teleport_2 = 124002, gadget_Teleport_3 = 124004, diff --git a/Resources/Scripts/Scene/1/scene1_group111101125.lua b/Resources/Scripts/Scene/1/scene1_group111101125.lua index 3ce6b1a55..2f2a5bef2 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101125.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101125.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 5, route_2 = 110100023, gadget_seelie = 125002 diff --git a/Resources/Scripts/Scene/1/scene1_group111101139.lua b/Resources/Scripts/Scene/1/scene1_group111101139.lua index f657b8a1b..1dbf1b765 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101139.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101139.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111101139, gadget_fundation01 = 139001, gadget_hand01 = 139003, diff --git a/Resources/Scripts/Scene/1/scene1_group111101140.lua b/Resources/Scripts/Scene/1/scene1_group111101140.lua index 3011322f7..981decc1a 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101140.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101140.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111101140, gadget_11 = 140001, gadget_12 = 140002, diff --git a/Resources/Scripts/Scene/1/scene1_group111101141.lua b/Resources/Scripts/Scene/1/scene1_group111101141.lua index 5896ae9ed..20c1d4a38 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101141.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101141.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111101141, gadget_1 = 141001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/1/scene1_group111101142.lua b/Resources/Scripts/Scene/1/scene1_group111101142.lua index eade60fcf..9e27cddf6 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101142.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101142.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111101142, gadget_11 = 142001, gadget_12 = 142002, diff --git a/Resources/Scripts/Scene/1/scene1_group111101143.lua b/Resources/Scripts/Scene/1/scene1_group111101143.lua index 0758b993b..ace687ae7 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101143.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101143.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111101143, trigger_playRegion = 143006, gadget_1 = 143002 diff --git a/Resources/Scripts/Scene/1/scene1_group111101145.lua b/Resources/Scripts/Scene/1/scene1_group111101145.lua index 2d9beab3d..465783b51 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101145.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101145.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_temple = 145001, gadget_chest = 145002, group_ID = 111101145 diff --git a/Resources/Scripts/Scene/1/scene1_group111101148.lua b/Resources/Scripts/Scene/1/scene1_group111101148.lua index 4692039cb..ab68a9f18 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101148.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101148.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { PotConfigIDA =148004, PotConfigIDB =148005, PotConfigIDC =148006, diff --git a/Resources/Scripts/Scene/1/scene1_group111101151.lua b/Resources/Scripts/Scene/1/scene1_group111101151.lua index 790edcf0a..c75a3e3a0 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101151.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101151.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111101151, gadget_thunderThelfID = 151001, pointarray_ID = 110100040, diff --git a/Resources/Scripts/Scene/1/scene1_group111101152.lua b/Resources/Scripts/Scene/1/scene1_group111101152.lua index 5a0fb2ad4..2f00b380f 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101152.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101152.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111101152, gadget_fundation01 = 152001, gadget_hand01 = 152003, diff --git a/Resources/Scripts/Scene/1/scene1_group111101153.lua b/Resources/Scripts/Scene/1/scene1_group111101153.lua index b6cf6f327..32cfb9eb8 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101153.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101153.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 153001, gadget_Teleport_2 = 153002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/1/scene1_group111101154.lua b/Resources/Scripts/Scene/1/scene1_group111101154.lua index e8c0ef62a..9ec5afe2b 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101154.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101154.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 154001, gadget_Teleport_2 = 154002, gadget_Teleport_3 = 154003, diff --git a/Resources/Scripts/Scene/1/scene1_group111101157.lua b/Resources/Scripts/Scene/1/scene1_group111101157.lua index 2fbd630e8..efdef7523 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101157.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101157.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111101157, gadget_thunderThelfID = 157001, pointarray_ID = 110100041, diff --git a/Resources/Scripts/Scene/1/scene1_group111101158.lua b/Resources/Scripts/Scene/1/scene1_group111101158.lua index 1a5ca4dbc..53806ff4c 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101158.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101158.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111101158, gadget_1 = 158001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/1/scene1_group111101159.lua b/Resources/Scripts/Scene/1/scene1_group111101159.lua index 769cfcd82..62cdfcccc 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101159.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101159.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 111101159, gadget_1 = 159001, diff --git a/Resources/Scripts/Scene/1/scene1_group111101160.lua b/Resources/Scripts/Scene/1/scene1_group111101160.lua index e69de29bb..3f072d6df 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101160.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101160.lua @@ -0,0 +1,178 @@ +-- 基础信息 +local base_info = { + group_id = 111101160 +} + +-- Trigger变量 +local defs = { + group_ID = 111101160, + gadget_11 = 160001, + gadget_12 = 160002, + gadget_13 = 160003, + gadget_14 = 160004, + gadget_15 = 160005, + gadget_21 = 160006, + gadget_22 = 160007, + gadget_23 = 160008, + gadget_24 = 160009, + gadget_25 = 160010, + gadget_31 = 160011, + gadget_32 = 160012, + gadget_33 = 160013, + gadget_34 = 160014, + gadget_35 = 160015, + gadget_41 = 160016, + gadget_42 = 160017, + gadget_43 = 160018, + gadget_44 = 160019, + gadget_45 = 160020, + gadget_51 = 160021, + gadget_52 = 160022, + gadget_53 = 160023, + gadget_54 = 160024, + gadget_55 = 160025, + trigger_boarder = 160027, + gadget_starter = 160024, + gadget_ender = 160009 +} + +-- DEFS_MISCS +local matrix = +{ +{defs.gadget_11,defs.gadget_12,defs.gadget_13,defs.gadget_14,defs.gadget_15}, + +{defs.gadget_21,defs.gadget_22,defs.gadget_23,defs.gadget_24,defs.gadget_25}, + +{defs.gadget_31,defs.gadget_32,defs.gadget_33,defs.gadget_34,defs.gadget_35}, + +{defs.gadget_41,defs.gadget_42,defs.gadget_43,defs.gadget_44,defs.gadget_45}, + +{defs.gadget_51,defs.gadget_52,defs.gadget_53,defs.gadget_54,defs.gadget_55} +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 160001, gadget_id = 70360186, pos = { x = 2931.254, y = 270.260, z = -1308.133 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.Action03 }, + { config_id = 160002, gadget_id = 70360186, pos = { x = 2931.254, y = 270.260, z = -1310.232 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.Action03 }, + { config_id = 160003, gadget_id = 70360186, pos = { x = 2931.254, y = 270.260, z = -1312.331 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160004, gadget_id = 70360186, pos = { x = 2931.254, y = 270.260, z = -1314.431 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160005, gadget_id = 70360186, pos = { x = 2931.254, y = 270.260, z = -1316.532 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160006, gadget_id = 70360186, pos = { x = 2929.200, y = 270.262, z = -1308.134 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160007, gadget_id = 70360186, pos = { x = 2929.200, y = 270.262, z = -1310.233 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160008, gadget_id = 70360186, pos = { x = 2929.200, y = 270.262, z = -1312.334 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160009, gadget_id = 70360186, pos = { x = 2929.200, y = 270.262, z = -1314.434 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160010, gadget_id = 70360186, pos = { x = 2929.200, y = 270.262, z = -1316.534 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160011, gadget_id = 70360186, pos = { x = 2927.123, y = 270.262, z = -1308.137 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160012, gadget_id = 70360186, pos = { x = 2927.123, y = 270.262, z = -1310.236 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160013, gadget_id = 70360186, pos = { x = 2927.123, y = 270.262, z = -1312.336 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160014, gadget_id = 70360186, pos = { x = 2927.123, y = 270.262, z = -1314.436 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160015, gadget_id = 70360186, pos = { x = 2927.123, y = 270.262, z = -1316.535 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160016, gadget_id = 70360186, pos = { x = 2925.023, y = 270.247, z = -1308.139 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160017, gadget_id = 70360186, pos = { x = 2925.023, y = 270.247, z = -1310.238 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160018, gadget_id = 70360186, pos = { x = 2925.023, y = 270.247, z = -1312.337 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160019, gadget_id = 70360186, pos = { x = 2925.023, y = 270.247, z = -1314.438 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160020, gadget_id = 70360186, pos = { x = 2925.023, y = 270.247, z = -1316.538 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160021, gadget_id = 70360186, pos = { x = 2922.961, y = 270.246, z = -1308.150 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160022, gadget_id = 70360186, pos = { x = 2922.961, y = 270.246, z = -1310.249 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160023, gadget_id = 70360186, pos = { x = 2922.961, y = 270.246, z = -1312.350 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.Action03 }, + { config_id = 160024, gadget_id = 70360186, pos = { x = 2922.961, y = 270.246, z = -1314.450 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStart }, + { config_id = 160025, gadget_id = 70360186, pos = { x = 2922.961, y = 270.246, z = -1316.550 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 160026, gadget_id = 70211111, pos = { x = 2927.178, y = 269.591, z = -1305.282 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 26, drop_tag = "解谜中级蒙德", isOneoff = true } +} + +-- 区域 +regions = { + { config_id = 160027, shape = RegionShape.SPHERE, radius = 7.07, pos = { x = 2927.141, y = 271.011, z = -1312.325 } } +} + +-- 触发器 +triggers = { + { config_id = 1160028, name = "VARIABLE_CHANGE_160028", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_160028", action = "" } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 3, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { }, + regions = { }, + triggers = { }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = , + monsters = { }, + gadgets = { 160001, 160002, 160003, 160004, 160005, 160006, 160007, 160008, 160009, 160010, 160011, 160012, 160013, 160014, 160015, 160016, 160017, 160018, 160019, 160020, 160021, 160022, 160023, 160024, 160025 }, + regions = { 160027 }, + triggers = { }, + rand_weight = 100 + }, + { + -- suite_id = 3, + -- description = , + monsters = { }, + gadgets = { 160026 }, + regions = { }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_160028(context, evt) + if evt.param1 == evt.param2 then return false end + + -- 判断变量"successed"为1 + if ScriptLib.GetGroupVariableValue(context, "successed") ~= 1 then + return false + end + + return true +end + +require "BlackBoxPlay/DrawOneLinePlus" \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101161.lua b/Resources/Scripts/Scene/1/scene1_group111101161.lua index e69de29bb..cf4176eca 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101161.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101161.lua @@ -0,0 +1,117 @@ +-- 基础信息 +local base_info = { + group_id = 111101161 +} + +-- Trigger变量 +local defs = { + group_ID = 111101161, + trigger_playRegion = 161006, + gadget_1 = 161002 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 161001, gadget_id = 70950068, pos = { x = 2984.614, y = 272.509, z = -1273.112 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 161002, gadget_id = 70950070, pos = { x = 2971.171, y = 270.625, z = -1287.810 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 161003, gadget_id = 70950069, pos = { x = 2984.841, y = 272.184, z = -1285.497 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 161004, gadget_id = 70950069, pos = { x = 2981.332, y = 271.398, z = -1287.355 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 161005, gadget_id = 70211111, pos = { x = 2978.316, y = 271.612, z = -1278.977 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 26, drop_tag = "解谜中级蒙德", isOneoff = true, persistent = true } +} + +-- 区域 +regions = { + { config_id = 161006, shape = RegionShape.SPHERE, radius = 20, pos = { x = 2980.174, y = 271.960, z = -1274.991 }, ability_group_list = { "Move_Electric_Stake_Play" } } +} + +-- 触发器 +triggers = { + { config_id = 1161007, name = "VARIABLE_CHANGE_161007", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_161007", action = "" } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 161001, 161002, 161003, 161004 }, + regions = { }, + triggers = { }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = , + monsters = { }, + gadgets = { }, + regions = { 161006 }, + triggers = { }, + rand_weight = 100 + }, + { + -- suite_id = 3, + -- description = , + monsters = { }, + gadgets = { 161005 }, + regions = { }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_161007(context, evt) + if evt.param1 == evt.param2 then return false end + + -- 判断变量"successed"为1 + if ScriptLib.GetGroupVariableValue(context, "successed") ~= 1 then + return false + end + + return true +end + +require "BlackBoxPlay/ChargingPort" \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101162.lua b/Resources/Scripts/Scene/1/scene1_group111101162.lua index e69de29bb..a3a722bc2 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101162.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101162.lua @@ -0,0 +1,108 @@ +-- 基础信息 +local base_info = { + group_id = 111101162 +} + +-- Trigger变量 +local defs = { + operator_1 = 162007, + operator_2 = 162008, + chest = 162009 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 162001, monster_id = 21010101, pos = { x = 2391.254, y = 305.561, z = -1666.034 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "丘丘人" }, + { config_id = 162002, monster_id = 21010101, pos = { x = 2395.538, y = 305.124, z = -1664.171 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "丘丘人" }, + { config_id = 162003, monster_id = 21010101, pos = { x = 2390.617, y = 304.883, z = -1661.495 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "丘丘人" }, + { config_id = 162004, monster_id = 21020201, pos = { x = 2394.549, y = 304.587, z = -1659.760 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "丘丘暴徒" }, + { config_id = 162005, monster_id = 21020301, pos = { x = 2391.272, y = 303.726, z = -1655.848 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "丘丘暴徒" }, + { config_id = 162006, monster_id = 21020301, pos = { x = 2397.467, y = 304.280, z = -1657.782 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "丘丘暴徒" } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 162007, gadget_id = 70360056, pos = { x = 2392.077, y = 305.098, z = -1662.909 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 162008, gadget_id = 70360057, pos = { x = 2392.305, y = 305.095, z = -1662.966 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 162009, gadget_id = 70210106, pos = { x = 2391.813, y = 305.145, z = -1663.133 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 6, drop_tag = "战斗高级蒙德", isOneoff = true, persistent = true } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { +} + +-- 变量 +variables = { + { config_id = 1, name = "GroupCompletion", value = 0, no_refresh = false } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { }, + regions = { }, + triggers = { }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = , + monsters = { 162001, 162002, 162003, 162004 }, + gadgets = { }, + regions = { }, + triggers = { }, + rand_weight = 100 + }, + { + -- suite_id = 3, + -- description = , + monsters = { 162005, 162006 }, + gadgets = { }, + regions = { }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +require "V2_0/BlossomGroup" \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101163.lua b/Resources/Scripts/Scene/1/scene1_group111101163.lua index cebb1b514..7f3fd13bc 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101163.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101163.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 10, group_id = 111101163, diff --git a/Resources/Scripts/Scene/1/scene1_group111101164.lua b/Resources/Scripts/Scene/1/scene1_group111101164.lua index 6a06d646a..03d95c68a 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101164.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101164.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { PotConfigIDA =164004, PotConfigIDB =164005, PotConfigIDC =164006, diff --git a/Resources/Scripts/Scene/1/scene1_group111101165.lua b/Resources/Scripts/Scene/1/scene1_group111101165.lua index ed645bbf2..c67eca016 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101165.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101165.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111101165, trigger_playRegion = 165006, gadget_1 = 165002 diff --git a/Resources/Scripts/Scene/1/scene1_group111101166.lua b/Resources/Scripts/Scene/1/scene1_group111101166.lua index 06f73bbd0..345a71003 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101166.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101166.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111101166, trigger_playRegion = 166006, gadget_1 = 166002 diff --git a/Resources/Scripts/Scene/1/scene1_group111101172.lua b/Resources/Scripts/Scene/1/scene1_group111101172.lua index 38b990b1f..78a86edd1 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101172.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101172.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 0 } diff --git a/Resources/Scripts/Scene/1/scene1_group111101175.lua b/Resources/Scripts/Scene/1/scene1_group111101175.lua index 2f61ee924..b77be2a74 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101175.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101175.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111101175, gadget_1 = 175001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/1/scene1_group111101176.lua b/Resources/Scripts/Scene/1/scene1_group111101176.lua index 069d0e8f5..edb4f8c79 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101176.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101176.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 111101176, gadget_1 = 176001, diff --git a/Resources/Scripts/Scene/1/scene1_group111101180.lua b/Resources/Scripts/Scene/1/scene1_group111101180.lua index 40d1c8c72..81603f486 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101180.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101180.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 111101180, collectable_sum = 9 diff --git a/Resources/Scripts/Scene/1/scene1_group111101184.lua b/Resources/Scripts/Scene/1/scene1_group111101184.lua index 23b627b49..8d9e6e5f0 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101184.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101184.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { PotConfigIDA =184004, PotConfigIDB =184005, PotConfigIDC =184006, diff --git a/Resources/Scripts/Scene/1/scene1_group111101190.lua b/Resources/Scripts/Scene/1/scene1_group111101190.lua index d9b9f519e..b02a41c0e 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101190.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101190.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 111101190, gadget_1 = 190001, diff --git a/Resources/Scripts/Scene/1/scene1_group111101191.lua b/Resources/Scripts/Scene/1/scene1_group111101191.lua index 8dc7c438c..1e68f1a60 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101191.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101191.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_Enter = 191004, region_Leave = 191006, gallery_id = 12001 diff --git a/Resources/Scripts/Scene/1/scene1_group111101195.lua b/Resources/Scripts/Scene/1/scene1_group111101195.lua index 92e8108d0..e140450f7 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101195.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101195.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { order = {195001,195002,195003}, region_Enter = 195004, region_Leave = 195005 diff --git a/Resources/Scripts/Scene/1/scene1_group111101218.lua b/Resources/Scripts/Scene/1/scene1_group111101218.lua index 8086b8d26..ac83d7e5b 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101218.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101218.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 218004 } diff --git a/Resources/Scripts/Scene/1/scene1_group111101221.lua b/Resources/Scripts/Scene/1/scene1_group111101221.lua index e69de29bb..1f3d6b583 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101221.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101221.lua @@ -0,0 +1,101 @@ +-- 基础信息 +local base_info = { + group_id = 111101221 +} + +-- DEFS_MISCS +local defs = { + --按想要的解谜顺序, 填子装置的config_id + branch_gadgets = {221002, 221003, 221004}, + --主装置的config_id,可填一个或多个 + main_gadget = {221001}, + --重置倒计时秒数 + limit_time = {30}, + --这组解谜在哪个suit里 + puzzle_suit = 1 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 221001, gadget_id = 70220079, pos = { x = 2896.925, y = 278.933, z = -1464.541 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 221002, gadget_id = 70220080, pos = { x = 2892.958, y = 280.680, z = -1456.225 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 221003, gadget_id = 70220081, pos = { x = 2884.721, y = 280.026, z = -1457.785 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 221004, gadget_id = 70220082, pos = { x = 2889.201, y = 278.111, z = -1466.590 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 221005, gadget_id = 70590025, pos = { x = 2889.418, y = 281.268, z = -1451.414 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 221006, gadget_id = 70590025, pos = { x = 2891.328, y = 281.155, z = -1452.628 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 221007, gadget_id = 70590025, pos = { x = 2888.629, y = 281.511, z = -1449.657 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 221001, 221002, 221003, 221004 }, + regions = { }, + triggers = { }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = 可删除,测试用龙血矿石, + monsters = { }, + gadgets = { 221005, 221006, 221007 }, + regions = { }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +require "V2_3/WinterCampDevice" \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101222.lua b/Resources/Scripts/Scene/1/scene1_group111101222.lua index e7c1508dd..6dee07b70 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101222.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101222.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 111101222, --开启机关的configID,SelectOption为175 starter_gadget = 222001, diff --git a/Resources/Scripts/Scene/1/scene1_group111101223.lua b/Resources/Scripts/Scene/1/scene1_group111101223.lua index 59fb63774..ad1592b12 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101223.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101223.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 223001, gadget_Teleport_2 = 223002, pointarray_1 = 110100043, @@ -16,8 +16,7 @@ defs = { connectInfo = { {defs.gadget_Teleport_1,defs.gadget_Teleport_2,defs.pointarray_1,10}, -{defs.gadget_Teleport_2,defs.gadget_Teleport_1,defs.pointarray_1,10} - +{defs.gadget_Teleport_2,defs.gadget_Teleport_1,defs.pointarray_1,10} } staticForwardSet = {1,2,3,4,5} diff --git a/Resources/Scripts/Scene/1/scene1_group111101224.lua b/Resources/Scripts/Scene/1/scene1_group111101224.lua index e69de29bb..67ae6f548 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101224.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101224.lua @@ -0,0 +1,115 @@ +-- 基础信息 +local base_info = { + group_id = 111101224 +} + +-- DEFS_MISCS +local defs = +{ + + --本Group中发射器gadget的configID 最多3个 + fireMachineList = + { + 224001 + }, + --key为发射器configID value为ColorDefine。见re。quire开头定义 + initConfig = { + [224001] = 2, + }, + --Key为操作台。value为发射器。允许有多个操作台控制同一个发射器 + controlRelation = + { + [224007] = 224001, + } , + + --左右旋转的SelectOptionID + selectID_horizon = 54, + + --上下俯仰的SelectOptionID + selectID_vertical = 55, + + --定义左右旋转的步长,key为传递装置configID,value为GadgetState + horizon_steps = { + [224005] = {0, 102, 103, 104}, + }, + + --定义上下俯仰的步长,key为传递装置configID,value为GadgetState + vertical_steps = { + [224006] = {0, 302, 303, 304, 305}, + } +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 224001, gadget_id = 70310158, pos = { x = 2236.401, y = 209.943, z = -1129.958 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStop }, + { config_id = 224002, gadget_id = 70310163, pos = { x = 2232.023, y = 211.214, z = -1125.696 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 224003, gadget_id = 70310164, pos = { x = 2243.786, y = 212.011, z = -1133.621 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 224004, gadget_id = 70310165, pos = { x = 2257.002, y = 209.180, z = -1118.547 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 224005, gadget_id = 70310159, pos = { x = 2236.412, y = 209.014, z = -1124.056 }, rot = { x = 0.000, y = 84.017, z = 0.000 }, level = 1, worktop_config = { init_options = { 54 } } }, + { config_id = 224006, gadget_id = 70310159, pos = { x = 2243.817, y = 208.435, z = -1123.955 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, worktop_config = { init_options = { 55 } } } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 224001, 224002, 224003, 224004, 224005, 224006 }, + regions = { }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +require "V2_8/FireMachineColorHandle" \ No newline at end of file diff --git a/Resources/Scripts/Scene/1/scene1_group111101233.lua b/Resources/Scripts/Scene/1/scene1_group111101233.lua index 1e5bb6c2b..80c60da96 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101233.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101233.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gallery_id = 14002 } diff --git a/Resources/Scripts/Scene/1/scene1_group111101236.lua b/Resources/Scripts/Scene/1/scene1_group111101236.lua index dca38478a..5e488e2f0 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101236.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101236.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111101236, gadget_11 = 236001, gadget_12 = 236002, diff --git a/Resources/Scripts/Scene/1/scene1_group111101237.lua b/Resources/Scripts/Scene/1/scene1_group111101237.lua index 0e068b2c1..50b2217d9 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101237.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101237.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_route = 110100046 } @@ -17,8 +17,7 @@ SolutionList = { {1,2,3,4,5}, {1,3,5}, {2,4}, - {1,4,5} -, + {1,4,5} , {1,2,4} } diff --git a/Resources/Scripts/Scene/1/scene1_group111101239.lua b/Resources/Scripts/Scene/1/scene1_group111101239.lua index 79b9410ab..880ee1a50 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101239.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101239.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_route = 110100045, gadget_controller_1 = 239014, gadget_controller_2 = 239017, @@ -61,8 +61,7 @@ StartWallMap = {defs.gadget_wall_3, 9}, {defs.gadget_wall_4, 4}, } - ---初始blocker表,把所有的block都填入 + --初始blocker表,把所有的block都填入 StartBlockerMap = { {defs.blocker_1,1,0}, diff --git a/Resources/Scripts/Scene/1/scene1_group111101249.lua b/Resources/Scripts/Scene/1/scene1_group111101249.lua index 0523c154a..8f7f6ef13 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101249.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101249.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gallery_id = 14001, score_per_distance = 1, score_per_monster_count = 100 diff --git a/Resources/Scripts/Scene/1/scene1_group111101250.lua b/Resources/Scripts/Scene/1/scene1_group111101250.lua index 57446d283..caa7bca7d 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101250.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101250.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_id = 2017, center_point = 250003 } diff --git a/Resources/Scripts/Scene/1/scene1_group111101297.lua b/Resources/Scripts/Scene/1/scene1_group111101297.lua index fb7f77a35..1209032f0 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101297.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101297.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 297001, gadget_Teleport_2 = 297002, gadget_Teleport_3 = 297003, diff --git a/Resources/Scripts/Scene/1/scene1_group111101298.lua b/Resources/Scripts/Scene/1/scene1_group111101298.lua index dc3202f88..80421a44f 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101298.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101298.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray = 110100072, pointcount = 106, Start_Operator = 298001, diff --git a/Resources/Scripts/Scene/1/scene1_group111101299.lua b/Resources/Scripts/Scene/1/scene1_group111101299.lua index 62a76c0f3..7311da046 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101299.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101299.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray = 110100073, pointcount = 74, Start_Operator = 299001, diff --git a/Resources/Scripts/Scene/1/scene1_group111101327.lua b/Resources/Scripts/Scene/1/scene1_group111101327.lua index 5cae21c85..9159df1ab 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101327.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101327.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 110100148, gadget_seelie = 327002 diff --git a/Resources/Scripts/Scene/1/scene1_group111101332.lua b/Resources/Scripts/Scene/1/scene1_group111101332.lua index d5f8dd9ad..d39159f72 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101332.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101332.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray = 110100071, pointcount = 13, Start_Operator = 332001, diff --git a/Resources/Scripts/Scene/1/scene1_group111101370.lua b/Resources/Scripts/Scene/1/scene1_group111101370.lua index 126da714d..63d3ee85c 100644 --- a/Resources/Scripts/Scene/1/scene1_group111101370.lua +++ b/Resources/Scripts/Scene/1/scene1_group111101370.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { delay = 30, sumGadget = 16, resetTime = 5, diff --git a/Resources/Scripts/Scene/1/scene1_group111102009.lua b/Resources/Scripts/Scene/1/scene1_group111102009.lua index c93f35954..b5b2aa294 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102009.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102009.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { option_turn = 613, option_startstop = 7, diff --git a/Resources/Scripts/Scene/1/scene1_group111102010.lua b/Resources/Scripts/Scene/1/scene1_group111102010.lua index aa0b8ec27..5cbc48ec0 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102010.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102010.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { --玩法完成时 这个gadget如果为GearStop则会被设为Default finish_gadget = 10012, @@ -14,8 +14,7 @@ defs = ender = 10005, --矩阵 用于踩格子时判断是否相邻 matrix = - { - + { {0,10011,0}, {10001,10002,10005}, @@ -34,16 +33,14 @@ defs = { [10009] = 10003, [10010] = 10002, - } -, + } , --移动格的目标位置 movable_pos = {--[移动格子configID] = 两位数字的矩阵坐标,x是十位,y是个位 [10011] = 13, } - - + } --================================================================ diff --git a/Resources/Scripts/Scene/1/scene1_group111102014.lua b/Resources/Scripts/Scene/1/scene1_group111102014.lua index dcb426b97..f304d24ff 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102014.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102014.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 111102014, gadget_1 = 14001, gadget_2 = 14002, diff --git a/Resources/Scripts/Scene/1/scene1_group111102015.lua b/Resources/Scripts/Scene/1/scene1_group111102015.lua index d693f4e81..416e8c7ef 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102015.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102015.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 110200003, gadget_seelie = 15002 diff --git a/Resources/Scripts/Scene/1/scene1_group111102017.lua b/Resources/Scripts/Scene/1/scene1_group111102017.lua index 07f793129..9248c7a6c 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102017.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102017.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { -- 【根据实际情况修改】幻梦之门的config id door = 17001, -- 【根据实际情况修改】禁联机挑战的gallery id @@ -27,8 +27,7 @@ defs = { transParam_Pos = {x = 1438, y = 262.5, z = -1701}, transParam_Rot = {x = 0, y = 0, z = 0}, transParam_Radius = 1, - - + -- 视野id visionType = 11020002 } diff --git a/Resources/Scripts/Scene/1/scene1_group111102019.lua b/Resources/Scripts/Scene/1/scene1_group111102019.lua index 6c8f224a8..15494047f 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102019.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102019.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_node01 = 19002, gadget_node02 = 19003, gadget_node03 = 19004, diff --git a/Resources/Scripts/Scene/1/scene1_group111102025.lua b/Resources/Scripts/Scene/1/scene1_group111102025.lua index 82549050a..b2781efae 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102025.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102025.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 1, group_id = 111102025, diff --git a/Resources/Scripts/Scene/1/scene1_group111102026.lua b/Resources/Scripts/Scene/1/scene1_group111102026.lua index d910fc05c..1bd5cba0b 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102026.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102026.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 26001, pointarray_ID = 110200012, maxPointCount = 8, diff --git a/Resources/Scripts/Scene/1/scene1_group111102027.lua b/Resources/Scripts/Scene/1/scene1_group111102027.lua index 7f0705450..88bb1cf25 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102027.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102027.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111102027, gadget_1 = 27001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/1/scene1_group111102028.lua b/Resources/Scripts/Scene/1/scene1_group111102028.lua index ed4cf5266..9a9c1b89a 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102028.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102028.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111102028, gadget_11 = 28001, gadget_12 = 28002, diff --git a/Resources/Scripts/Scene/1/scene1_group111102029.lua b/Resources/Scripts/Scene/1/scene1_group111102029.lua index 1805fafb5..17686ee80 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102029.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102029.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 111102029, trigger_playRegion = 29006, gadget_1 = 29002 diff --git a/Resources/Scripts/Scene/1/scene1_group111102030.lua b/Resources/Scripts/Scene/1/scene1_group111102030.lua index 9e631d33e..992464350 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102030.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102030.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 30001, gadget_Teleport_2 = 30002, gadget_Teleport_3 = 30003, diff --git a/Resources/Scripts/Scene/1/scene1_group111102034.lua b/Resources/Scripts/Scene/1/scene1_group111102034.lua index e45b32506..da54febfc 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102034.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102034.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { maxRegion = 34011, maxJumpTimes = 5, diff --git a/Resources/Scripts/Scene/1/scene1_group111102036.lua b/Resources/Scripts/Scene/1/scene1_group111102036.lua index cf7ce7a3b..651f8481b 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102036.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102036.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { stages = { --key为第几段,value1为这一段的起点suite,value2为这一段的主体suite diff --git a/Resources/Scripts/Scene/1/scene1_group111102042.lua b/Resources/Scripts/Scene/1/scene1_group111102042.lua index f082e6e1b..4bf60facf 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102042.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102042.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { maxPlayerEnergyLev = 3, -- 出了这个区域,玩家身上捡的能量块特效就无了 diff --git a/Resources/Scripts/Scene/1/scene1_group111102043.lua b/Resources/Scripts/Scene/1/scene1_group111102043.lua index 7b48ff9c5..2eb0be554 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102043.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102043.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { starter_worktop_id = 43001, pointarray_route = 110200017, final_stage = 7, diff --git a/Resources/Scripts/Scene/1/scene1_group111102046.lua b/Resources/Scripts/Scene/1/scene1_group111102046.lua index 06b4c25e1..81ffd7258 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102046.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102046.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { target_region_config_id = 46018, related_big_region_config_id = 46027 } diff --git a/Resources/Scripts/Scene/1/scene1_group111102047.lua b/Resources/Scripts/Scene/1/scene1_group111102047.lua index 847dc7e72..720a0a77d 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102047.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102047.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --每个操作台config_id, 控制的markflag和它的解,最多5位数字。 --玩家按按钮,左转写2 右转写3。 --例如“左左右左”即为“{2,2,3,2}” diff --git a/Resources/Scripts/Scene/1/scene1_group111102049.lua b/Resources/Scripts/Scene/1/scene1_group111102049.lua index 96637e3bb..f29d7303f 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102049.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102049.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { regionId = 49008, targetScore = 6, maxTime = 90, diff --git a/Resources/Scripts/Scene/1/scene1_group111102052.lua b/Resources/Scripts/Scene/1/scene1_group111102052.lua index 2abfc95d3..bcd9bbfa2 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102052.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102052.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_move = 110200021 } diff --git a/Resources/Scripts/Scene/1/scene1_group111102053.lua b/Resources/Scripts/Scene/1/scene1_group111102053.lua index a3c1c6786..55d3a56cc 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102053.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102053.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { starter_worktop_id = 53005, final_stage = 7, TEMP_father_challenge_id = 2010001, diff --git a/Resources/Scripts/Scene/1/scene1_group111102054.lua b/Resources/Scripts/Scene/1/scene1_group111102054.lua index 5418cbc9b..ce75ba36c 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102054.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102054.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { starter_worktop_id = 54004, final_stage = 3, gallery_id = 21200 diff --git a/Resources/Scripts/Scene/1/scene1_group111102056.lua b/Resources/Scripts/Scene/1/scene1_group111102056.lua index 99b77f93d..df6e1be86 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102056.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102056.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { father_challenge_id = 2010034, worktop_id = 61001, elite_interval = 10, diff --git a/Resources/Scripts/Scene/1/scene1_group111102060.lua b/Resources/Scripts/Scene/1/scene1_group111102060.lua index b190c83f6..bd3e3e358 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102060.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102060.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 1, challenge_id = 2010045, target_count = 10, diff --git a/Resources/Scripts/Scene/1/scene1_group111102066.lua b/Resources/Scripts/Scene/1/scene1_group111102066.lua index 8517be2ec..f0f766244 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102066.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102066.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { gallery_id = 24001, challenge_time = 90, diff --git a/Resources/Scripts/Scene/1/scene1_group111102073.lua b/Resources/Scripts/Scene/1/scene1_group111102073.lua index 91ee60d30..5614a3b65 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102073.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102073.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { challenge_id = 2010057, diff --git a/Resources/Scripts/Scene/1/scene1_group111102085.lua b/Resources/Scripts/Scene/1/scene1_group111102085.lua index b47d7859e..3c213e186 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102085.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102085.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_region = 85005, gallery_id = 28020, exit_region = 85008 diff --git a/Resources/Scripts/Scene/1/scene1_group111102086.lua b/Resources/Scripts/Scene/1/scene1_group111102086.lua index 90f496b6c..7df5953fc 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102086.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102086.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 86001, pointarray_id = 110200024, pointarraylist = {1,2,3} diff --git a/Resources/Scripts/Scene/1/scene1_group111102087.lua b/Resources/Scripts/Scene/1/scene1_group111102087.lua index d8e8c834f..501ad9263 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102087.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102087.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { energy_worktop_id = 87001 } diff --git a/Resources/Scripts/Scene/1/scene1_group111102089.lua b/Resources/Scripts/Scene/1/scene1_group111102089.lua index 4efc66ea1..2f2779b5f 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102089.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102089.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_route = 110200026 } diff --git a/Resources/Scripts/Scene/1/scene1_group111102092.lua b/Resources/Scripts/Scene/1/scene1_group111102092.lua index a3b5bfa34..09dd8b69e 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102092.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102092.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_iris = 92001, gadget_block = 92002 } diff --git a/Resources/Scripts/Scene/1/scene1_group111102094.lua b/Resources/Scripts/Scene/1/scene1_group111102094.lua index 0b4ed9417..d3403894d 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102094.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102094.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { hintTime = 30, hintCount = 3, coinTime = 10, @@ -13,7 +13,7 @@ defs = { } -- DEFS_MISCS -defs_miscs = { +local defs_miscs = { specialCoinTable = { -- 每项格式如下 [94005] = {94006, 94007, 94008, 94009, 94010}, diff --git a/Resources/Scripts/Scene/1/scene1_group111102100.lua b/Resources/Scripts/Scene/1/scene1_group111102100.lua index 44a59f6f9..6185fd8f0 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102100.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102100.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gallery_id = 30001 } diff --git a/Resources/Scripts/Scene/1/scene1_group111102107.lua b/Resources/Scripts/Scene/1/scene1_group111102107.lua index e1bdcfe55..e7acbd014 100644 --- a/Resources/Scripts/Scene/1/scene1_group111102107.lua +++ b/Resources/Scripts/Scene/1/scene1_group111102107.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { chest_id = 107006, hint_gadget_id = 107007 } @@ -14,8 +14,7 @@ local windball_worktops = { 107001, 107002, - 107003 -, + 107003 , 107004, 107005, 107009 diff --git a/Resources/Scripts/Scene/1004/scene1004_group201004901.lua b/Resources/Scripts/Scene/1004/scene1004_group201004901.lua index e69de29bb..052ef1c06 100644 --- a/Resources/Scripts/Scene/1004/scene1004_group201004901.lua +++ b/Resources/Scripts/Scene/1004/scene1004_group201004901.lua @@ -0,0 +1,110 @@ +-- 基础信息 +local base_info = { + group_id = 201004901 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 1, + gadget_id_2 = 2, + gadget_id_3 = 3 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { +} + +-- 区域 +regions = { + { config_id = 1, shape = RegionShape.SPHERE, radius = 5, pos = { x = -0.126, y = 0.027, z = 13.951 }, room = 1 }, + { config_id = 2, shape = RegionShape.CUBIC, size = { x = 4.000, y = 4.000, z = 8.000 }, pos = { x = 12.689, y = 0.000, z = 7.063 }, room = 100402 }, + { config_id = 3, shape = RegionShape.CUBIC, size = { x = 4.000, y = 4.000, z = 25.000 }, pos = { x = -12.340, y = 1.300, z = 0.400 }, room = 100401 } +} + +-- 触发器 +triggers = { + { config_id = 1000001, name = "ENTER_REGION_1", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_1", action = "", trigger_count = 0, forbid_guest = false }, + { config_id = 1000002, name = "ENTER_REGION_2", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2", action = "", trigger_count = 0, forbid_guest = false }, + { config_id = 1000003, name = "ENTER_REGION_3", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_3", action = "", trigger_count = 0, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { }, + regions = { 1, 2, 3 }, + triggers = { "ENTER_REGION_1", "ENTER_REGION_2", "ENTER_REGION_3" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_ENTER_REGION_1(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 37001) == QuestState.UNFINISHED and evt.param1 == defs.gadget_id_1 then + return true + end + return false +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 37003) == QuestState.UNFINISHED and evt.param1 == defs.gadget_id_2 then + return true + end + return false +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_3(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and (ScriptLib.GetQuestState(context, evt.target_eid, 1010001) == QuestState.UNFINISHED or + ScriptLib.GetQuestState(context, evt.target_eid, 1010109) == QuestState.UNFINISHED) + and evt.param1 == defs.gadget_id_3 then + return true + end + return false +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1005/scene1005_group201005001.lua b/Resources/Scripts/Scene/1005/scene1005_group201005001.lua index e69de29bb..fbd99d627 100644 --- a/Resources/Scripts/Scene/1005/scene1005_group201005001.lua +++ b/Resources/Scripts/Scene/1005/scene1005_group201005001.lua @@ -0,0 +1,94 @@ +-- 基础信息 +local base_info = { + group_id = 201005001 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 1001 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 1001, gadget_id = 70211001, pos = { x = -27.133, y = -6.400, z = 19.198 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 4, chest_drop_id = 1010900, drop_count = 1, isOneoff = true, room = 1 }, + { config_id = 1002, gadget_id = 70211001, pos = { x = 26.799, y = -6.400, z = 13.790 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 4, chest_drop_id = 1010900, drop_count = 1, isOneoff = true, room = 1 }, + { config_id = 1003, gadget_id = 70211011, pos = { x = 1.697, y = -8.400, z = 24.098 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 8, chest_drop_id = 1011000, drop_count = 1, isOneoff = true, room = 1 }, + { config_id = 1004, gadget_id = 70211011, pos = { x = -23.956, y = -6.400, z = -2.951 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 8, chest_drop_id = 1011000, drop_count = 1, isOneoff = true, room = 1 }, + { config_id = 1005, gadget_id = 70211021, pos = { x = -9.897, y = -8.400, z = 24.892 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 13, chest_drop_id = 1011100, drop_count = 1, isOneoff = true, room = 1 }, + { config_id = 1006, gadget_id = 70211021, pos = { x = 25.726, y = -6.400, z = 32.661 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 13, chest_drop_id = 1011100, drop_count = 1, isOneoff = true, room = 1 } +} + +-- 区域 +regions = { + { config_id = 1, shape = RegionShape.SPHERE, radius = 6, pos = { x = -4.278, y = -3.155, z = -41.092 }, room = 1 } +} + +-- 触发器 +triggers = { + { config_id = 1000001, name = "ENTER_REGION_1", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_1", action = "", trigger_count = 0, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 1001, 1002, 1003, 1004, 1005, 1006 }, + regions = { 1 }, + triggers = { "ENTER_REGION_1" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_ENTER_REGION_1(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and (ScriptLib.GetQuestState(context, evt.target_eid, 41503) == QuestState.UNFINISHED + or ScriptLib.GetQuestState(context, evt.target_eid, 37503) == QuestState.UNFINISHED ) + and evt.param1 == defs.gadget_id_1 then + return true + end + return false +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1005/scene1005_group201005901.lua b/Resources/Scripts/Scene/1005/scene1005_group201005901.lua index e69de29bb..7704c859a 100644 --- a/Resources/Scripts/Scene/1005/scene1005_group201005901.lua +++ b/Resources/Scripts/Scene/1005/scene1005_group201005901.lua @@ -0,0 +1,100 @@ +-- 基础信息 +local base_info = { + group_id = 201005901 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 2, + gadget_id_2 = 3 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { +} + +-- 区域 +regions = { + { config_id = 2, shape = RegionShape.SPHERE, radius = 7, pos = { x = -4.354, y = -4.400, z = -41.704 }, room = 1 }, + { config_id = 3, shape = RegionShape.SPHERE, radius = 5, pos = { x = -4.459, y = 0.274, z = 48.487 }, room = 1 } +} + +-- 触发器 +triggers = { + { config_id = 1000002, name = "ENTER_REGION_2", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2", action = "", trigger_count = 0, forbid_guest = false }, + { config_id = 1000003, name = "ENTER_REGION_3", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_3", action = "", trigger_count = 0, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { }, + regions = { 2, 3 }, + triggers = { "ENTER_REGION_2", "ENTER_REGION_3" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and (ScriptLib.GetQuestState(context, evt.target_eid, 41503) == QuestState.UNFINISHED + or ScriptLib.GetQuestState(context, evt.target_eid, 37503) == QuestState.UNFINISHED ) + and evt.param1 == defs.gadget_id_1 then + return true + end + return false + +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_3(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 37502) == QuestState.UNFINISHED and evt.param1 == defs.gadget_id_2 then + return true + end + return false +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1008/scene1008_group201008901.lua b/Resources/Scripts/Scene/1008/scene1008_group201008901.lua index e69de29bb..48249067d 100644 --- a/Resources/Scripts/Scene/1008/scene1008_group201008901.lua +++ b/Resources/Scripts/Scene/1008/scene1008_group201008901.lua @@ -0,0 +1,108 @@ +-- 基础信息 +local base_info = { + group_id = 201008901 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 1, + gadget_id_2 = 2, + gadget_id_3 = 3 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { +} + +-- 区域 +regions = { + { config_id = 1, shape = RegionShape.SPHERE, radius = 5, pos = { x = -0.529, y = 0.025, z = 6.003 }, room = 1 }, + { config_id = 2, shape = RegionShape.SPHERE, radius = 3.5, pos = { x = -0.413, y = 0.025, z = -4.252 }, room = 1 }, + { config_id = 3, shape = RegionShape.SPHERE, radius = 5, pos = { x = 8.376, y = 0.025, z = -12.220 }, room = 1 } +} + +-- 触发器 +triggers = { + { config_id = 1000001, name = "ENTER_REGION_1", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_1", action = "", trigger_count = 0, forbid_guest = false }, + { config_id = 1000002, name = "ENTER_REGION_2", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2", action = "", trigger_count = 0, forbid_guest = false }, + { config_id = 1000003, name = "ENTER_REGION_3", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_3", action = "", trigger_count = 0, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { }, + regions = { 1, 2, 3 }, + triggers = { "ENTER_REGION_1", "ENTER_REGION_2", "ENTER_REGION_3" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_ENTER_REGION_1(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 37301) == QuestState.UNFINISHED and evt.param1 == defs.gadget_id_1 then + return true + end + return false +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 37401) == QuestState.UNFINISHED and evt.param1 == defs.gadget_id_2 then + return true + end + return false +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_3(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 37405) == QuestState.UNFINISHED and evt.param1 == defs.gadget_id_3 then + return true + end + return false +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1009/scene1009_group201009901.lua b/Resources/Scripts/Scene/1009/scene1009_group201009901.lua index e69de29bb..f5f39d0cc 100644 --- a/Resources/Scripts/Scene/1009/scene1009_group201009901.lua +++ b/Resources/Scripts/Scene/1009/scene1009_group201009901.lua @@ -0,0 +1,97 @@ +-- 基础信息 +local base_info = { + group_id = 201009901 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 1, + gadget_id_2 = 2 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { +} + +-- 区域 +regions = { + { config_id = 1, shape = RegionShape.SPHERE, radius = 3, pos = { x = 4.827, y = 0.000, z = 4.151 }, room = 1 }, + { config_id = 2, shape = RegionShape.SPHERE, radius = 2, pos = { x = 2.124, y = 5.514, z = -2.700 }, room = 1 } +} + +-- 触发器 +triggers = { + { config_id = 1000001, name = "ENTER_REGION_1", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_1", action = "", trigger_count = 0, forbid_guest = false }, + { config_id = 1000002, name = "ENTER_REGION_2", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2", action = "", trigger_count = 0, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { }, + regions = { 1, 2 }, + triggers = { "ENTER_REGION_1", "ENTER_REGION_2" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_ENTER_REGION_1(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 37604) == QuestState.UNFINISHED and evt.param1 == defs.gadget_id_1 then + return true + end + return false +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 37606) == QuestState.UNFINISHED and evt.param1 == defs.gadget_id_2 then + return true + end + return false +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011001.lua b/Resources/Scripts/Scene/1011/scene1011_group201011001.lua index e69de29bb..9641cb9b6 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011001.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011001.lua @@ -0,0 +1,542 @@ +-- 基础信息 +local base_info = { + group_id = 201011001 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 1021, + gadget_id_2 = 7122, + gadget_id_3 = 7123, + gadget_id_4 = 7124, + gadget_id_5 = 7125, + gadget_id_6 = 7121, + gadget_id_7 = 1022, + gadget_id_8 = 7142, + gadget_id_9 = 7143, + gadget_id_10 = 7144, + gadget_id_11 = 7145, + gadget_id_12 = 7146 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 1001, monster_id = 21010201, pos = { x = 58.110, y = 0.500, z = 3.021 }, rot = { x = 0.000, y = 184.002, z = 0.000 }, level = 1 }, + { config_id = 1002, monster_id = 21010201, pos = { x = 55.682, y = 0.500, z = 3.928 }, rot = { x = 0.000, y = 179.685, z = 0.000 }, level = 1 }, + { config_id = 1003, monster_id = 21010201, pos = { x = 59.773, y = 0.500, z = 4.443 }, rot = { x = 0.000, y = 188.117, z = 0.000 }, level = 1 }, + { config_id = 1004, monster_id = 21010401, pos = { x = 58.083, y = 0.500, z = 10.667 }, rot = { x = 0.000, y = 184.789, z = 0.000 }, level = 1 }, + { config_id = 1005, monster_id = 20011301, pos = { x = 67.071, y = 0.500, z = 7.042 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1006, monster_id = 20011201, pos = { x = 66.772, y = 0.500, z = 8.886 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1007, monster_id = 20011201, pos = { x = 68.320, y = 0.500, z = 8.766 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1008, monster_id = 20011201, pos = { x = 69.114, y = 0.500, z = 7.886 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1009, monster_id = 20011101, pos = { x = 46.863, y = 0.500, z = 8.108 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1010, monster_id = 20011001, pos = { x = 44.661, y = 0.500, z = 9.206 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1011, monster_id = 20011001, pos = { x = 46.265, y = 0.500, z = 9.880 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1012, monster_id = 20011001, pos = { x = 47.969, y = 0.500, z = 9.991 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1013, monster_id = 20010301, pos = { x = 54.920, y = 0.500, z = 11.144 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1014, monster_id = 20010301, pos = { x = 56.378, y = 0.500, z = 11.975 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1015, monster_id = 20010301, pos = { x = 62.924, y = 0.500, z = 11.548 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1016, monster_id = 20010401, pos = { x = 58.695, y = 0.500, z = 9.271 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1017, monster_id = 20010701, pos = { x = 57.831, y = 0.500, z = 7.261 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1018, monster_id = 20010501, pos = { x = 55.681, y = 0.500, z = 8.083 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1019, monster_id = 20010501, pos = { x = 58.334, y = 0.500, z = 8.698 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1020, monster_id = 20010501, pos = { x = 61.130, y = 0.500, z = 8.272 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 1021, gadget_id = 70360002, pos = { x = 62.876, y = 0.500, z = -16.388 }, rot = { x = 0.000, y = 179.902, z = 0.000 }, level = 1 }, + { config_id = 1022, gadget_id = 70360002, pos = { x = 72.789, y = 0.479, z = -47.014 }, rot = { x = 0.000, y = 102.298, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000001, name = "GADGET_CREATE_1", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_1", action = "action_EVENT_GADGET_CREATE_1" }, + { config_id = 1000002, 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, forbid_guest = false }, + { config_id = 1000003, 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, forbid_guest = false }, + { config_id = 1000004, 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, forbid_guest = false }, + { config_id = 1000005, 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, forbid_guest = false }, + { config_id = 1000006, 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, forbid_guest = false }, + { config_id = 1000027, name = "GADGET_CREATE_27", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_27", action = "action_EVENT_GADGET_CREATE_27" }, + { config_id = 1000028, 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, forbid_guest = false }, + { config_id = 1000029, 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, forbid_guest = false }, + { config_id = 1000030, 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, forbid_guest = false }, + { config_id = 1000031, 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, forbid_guest = false }, + { config_id = 1000032, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { 1001, 1002, 1003, 1004 }, + gadgets = { 1021, 1022 }, + regions = { }, + 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 = 2, + -- description = suite_2, + monsters = { 1005, 1006, 1007, 1008 }, + gadgets = { 1021, 1022 }, + regions = { }, + 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_3, + monsters = { 1009, 1010, 1011, 1012 }, + gadgets = { 1021, 1022 }, + regions = { }, + 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_4, + monsters = { 1013, 1014, 1015, 1016 }, + gadgets = { 1021, 1022 }, + regions = { }, + 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 = 5, + -- description = suite_5, + monsters = { 1017, 1018, 1019, 1020 }, + gadgets = { 1021, 1022 }, + regions = { }, + 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 1021 ~= 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_2(context, evt) + -- 判断是gadgetid 1021 + if 1021 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_2(context, evt) + + -- 根据不同的选项做不同的操作 + if defs.gadget_id_2 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, suite = 2 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_3(context, evt) + -- 判断是gadgetid 1021 + if 1021 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_3(context, evt) + + -- 根据不同的选项做不同的操作 + if defs.gadget_id_3 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, suite = 3 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_4(context, evt) + -- 判断是gadgetid 1021 + if 1021 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_4(context, evt) + + -- 根据不同的选项做不同的操作 + if defs.gadget_id_4 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, suite = 4 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_5(context, evt) + -- 判断是gadgetid 1021 + if 1021 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_5(context, evt) + + -- 根据不同的选项做不同的操作 + if defs.gadget_id_5 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, suite = 5 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_6(context, evt) + -- 判断是gadgetid 1021 + if 1021 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_6(context, evt) + + -- 根据不同的选项做不同的操作 + if defs.gadget_id_6 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, suite = 1 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_27(context, evt) + if 1022 ~= 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_28(context, evt) + -- 判断是gadgetid 1022 + if 1022 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_28(context, evt) + -- 根据不同的选项做不同的操作 + if defs.gadget_id_8 == 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, defs.gadget_id_7, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_29(context, evt) + -- 判断是gadgetid 1022 + if 1022 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_29(context, evt) + -- 根据不同的选项做不同的操作 + if defs.gadget_id_9 == 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, defs.gadget_id_7, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_30(context, evt) + -- 判断是gadgetid 1022 + if 1022 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_30(context, evt) + -- 根据不同的选项做不同的操作 + if defs.gadget_id_10 == 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, defs.gadget_id_7, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_31(context, evt) + -- 判断是gadgetid 1022 + if 1022 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_31(context, evt) + -- 根据不同的选项做不同的操作 + if defs.gadget_id_11 == 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, defs.gadget_id_7, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_32(context, evt) + -- 判断是gadgetid 1022 + if 1022 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_32(context, evt) + -- 根据不同的选项做不同的操作 + if defs.gadget_id_12 == 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, defs.gadget_id_7, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011002.lua b/Resources/Scripts/Scene/1011/scene1011_group201011002.lua index e69de29bb..3f6848266 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011002.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011002.lua @@ -0,0 +1,269 @@ +-- 基础信息 +local base_info = { + group_id = 201011002 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 2, + gadget_id_2 = 135, + gadget_id_3 = 136, + gadget_id_4 = 137, + gadget_id_5 = 138 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 21, monster_id = 21030301, pos = { x = 57.912, y = 0.500, z = -95.336 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 22, monster_id = 21010201, pos = { x = 61.062, y = 0.500, z = -91.982 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 23, monster_id = 21010201, pos = { x = 56.126, y = 0.500, z = -92.124 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 24, monster_id = 21010401, pos = { x = 55.455, y = 0.500, z = -95.702 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 25, monster_id = 21030101, pos = { x = 49.052, y = 0.500, z = -94.817 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 26, monster_id = 21010301, pos = { x = 51.089, y = 0.500, z = -91.808 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 27, monster_id = 21010301, pos = { x = 48.608, y = 0.500, z = -91.842 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 28, monster_id = 21010901, pos = { x = 45.889, y = 0.500, z = -94.345 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 29, monster_id = 21030201, pos = { x = 71.403, y = 0.500, z = -95.699 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 30, monster_id = 21010201, pos = { x = 73.416, y = 0.500, z = -92.104 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 31, monster_id = 21010201, pos = { x = 68.602, y = 0.500, z = -91.989 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 32, monster_id = 21010501, pos = { x = 68.118, y = 0.500, z = -95.571 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 33, monster_id = 21030301, pos = { x = 59.521, y = 0.500, z = -94.506 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 34, monster_id = 21010901, pos = { x = 72.086, y = 0.500, z = -94.099 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 35, monster_id = 21010301, pos = { x = 63.029, y = 0.500, z = -88.794 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 36, monster_id = 21010301, pos = { x = 54.168, y = 0.500, z = -89.209 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 2, gadget_id = 70360002, pos = { x = 52.155, y = 0.500, z = -62.055 }, rot = { x = 0.000, y = 165.182, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000007, name = "GADGET_CREATE_7", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_7", action = "action_EVENT_GADGET_CREATE_7" }, + { config_id = 1000008, 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, forbid_guest = false }, + { config_id = 1000009, 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, forbid_guest = false }, + { config_id = 1000010, 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, forbid_guest = false }, + { config_id = 1000011, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { 21, 22, 23, 24 }, + gadgets = { 2 }, + regions = { }, + triggers = { "GADGET_CREATE_7", "SELECT_OPTION_8", "SELECT_OPTION_9", "SELECT_OPTION_10", "SELECT_OPTION_11" }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = suite_2, + monsters = { 25, 26, 27, 28 }, + gadgets = { 2 }, + regions = { }, + triggers = { "GADGET_CREATE_7", "SELECT_OPTION_8", "SELECT_OPTION_9", "SELECT_OPTION_10", "SELECT_OPTION_11" }, + rand_weight = 0 + }, + { + -- suite_id = 3, + -- description = suite_3, + monsters = { 29, 30, 31, 32 }, + gadgets = { 2 }, + regions = { }, + triggers = { "GADGET_CREATE_7", "SELECT_OPTION_8", "SELECT_OPTION_9", "SELECT_OPTION_10", "SELECT_OPTION_11" }, + rand_weight = 0 + }, + { + -- suite_id = 4, + -- description = suite_4, + monsters = { 33, 34, 35, 36 }, + gadgets = { 2 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_2 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, suite = 1 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_3 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, suite = 2 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_4 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, suite = 3 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_5 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, suite = 4 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011003.lua b/Resources/Scripts/Scene/1011/scene1011_group201011003.lua index dcf2cbe31..359e70f86 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011003.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 3, gadget_id_2 = 139, gadget_id_3 = 140, diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011004.lua b/Resources/Scripts/Scene/1011/scene1011_group201011004.lua index e69de29bb..0a4a7da24 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011004.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011004.lua @@ -0,0 +1,354 @@ +-- 基础信息 +local base_info = { + group_id = 201011004 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 4, + gadget_id_2 = 145, + gadget_id_3 = 146, + gadget_id_4 = 147, + gadget_id_5 = 148, + gadget_id_6 = 149, + gadget_id_7 = 150 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 58, monster_id = 21020101, pos = { x = -13.562, y = 0.500, z = -91.499 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 59, monster_id = 21010201, pos = { x = -11.702, y = 0.500, z = -87.198 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 60, monster_id = 21010201, pos = { x = -14.572, y = 0.500, z = -87.667 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 61, monster_id = 21011001, pos = { x = -9.918, y = 0.500, z = -92.883 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 62, monster_id = 21020201, pos = { x = -13.955, y = 0.540, z = -81.967 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 63, monster_id = 22010101, pos = { x = -5.854, y = 0.500, z = -88.906 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 64, monster_id = 21020101, pos = { x = -20.566, y = 0.500, z = -87.696 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 65, monster_id = 22010301, pos = { x = -24.448, y = 0.500, z = -90.805 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 66, monster_id = 21010901, pos = { x = -19.798, y = 0.500, z = -92.160 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 67, monster_id = 20011501, pos = { x = -8.957, y = 0.500, z = -86.399 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 68, monster_id = 20011401, pos = { x = -7.107, y = 0.500, z = -87.518 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 69, monster_id = 20011401, pos = { x = -9.793, y = 0.500, z = -88.222 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 70, monster_id = 20010601, pos = { x = -19.191, y = 0.500, z = -84.563 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 71, monster_id = 20010701, pos = { x = -16.105, y = 0.500, z = -86.995 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 72, monster_id = 20011001, pos = { x = -18.275, y = 0.500, z = -85.214 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 73, monster_id = 20011001, pos = { x = -20.342, y = 0.500, z = -85.502 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 74, monster_id = 20010901, pos = { x = -6.283, y = 0.500, z = -83.121 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 75, monster_id = 20011001, pos = { x = -1.867, y = 0.500, z = -84.530 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 76, monster_id = 20011101, pos = { x = -5.092, y = 0.500, z = -85.109 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 4, gadget_id = 70360002, pos = { x = -20.818, y = 0.500, z = -61.807 }, rot = { x = 0.000, y = 270.134, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000019, name = "GADGET_CREATE_19", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_19", action = "action_EVENT_GADGET_CREATE_19" }, + { config_id = 1000020, 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, forbid_guest = false }, + { config_id = 1000021, 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, forbid_guest = false }, + { config_id = 1000022, 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, forbid_guest = false }, + { config_id = 1000023, 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, forbid_guest = false }, + { config_id = 1000024, 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, forbid_guest = false }, + { config_id = 1000025, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { 58, 59, 60, 61 }, + gadgets = { 4 }, + regions = { }, + 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 = 2, + -- description = suite_2, + monsters = { 62, 63 }, + gadgets = { 4 }, + regions = { }, + 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 = suite_3, + monsters = { 64, 65, 66 }, + gadgets = { 4 }, + regions = { }, + 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 = 0, + monsters = { 67, 68, 69 }, + gadgets = { 4 }, + regions = { }, + 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_5, + monsters = { 70, 71, 72, 73 }, + gadgets = { 4 }, + regions = { }, + 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 = 6, + -- description = suite_6, + monsters = { 74, 75, 76 }, + gadgets = { 4 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_2 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 1 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_3 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 2 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_4 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 3 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_5 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 4 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_6 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 5 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_7 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 6 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011005.lua b/Resources/Scripts/Scene/1011/scene1011_group201011005.lua index e69de29bb..5ee1b2f24 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011005.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011005.lua @@ -0,0 +1,179 @@ +-- 基础信息 +local base_info = { + group_id = 201011005 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 8, + gadget_id_2 = 164, + gadget_id_3 = 165 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 77, monster_id = 20010801, pos = { x = 23.132, y = 0.400, z = 7.385 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 78, monster_id = 20010901, pos = { x = 20.407, y = 0.400, z = 10.176 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 79, monster_id = 21010901, pos = { x = 31.788, y = 0.400, z = 12.012 }, rot = { x = 0.000, y = 199.581, z = 0.000 }, level = 1 }, + { config_id = 80, monster_id = 22010201, pos = { x = 20.413, y = 0.400, z = 5.920 }, rot = { x = 0.000, y = 171.796, z = 0.000 }, level = 1 }, + { config_id = 81, monster_id = 20010701, pos = { x = 18.089, y = 0.400, z = 6.869 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 82, monster_id = 20010701, pos = { x = 21.765, y = 0.400, z = 7.454 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 6, gadget_id = 70900011, pos = { x = 7.023, y = 7.364, z = 4.978 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, arguments = { 5, 5 } }, + { config_id = 7, gadget_id = 70900011, pos = { x = 36.148, y = 5.479, z = -1.554 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, arguments = { 5, 5 } }, + { config_id = 8, gadget_id = 70360002, pos = { x = 19.930, y = 0.360, z = -18.315 }, rot = { x = 0.000, y = 56.080, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000033, name = "GADGET_CREATE_33", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_33", action = "action_EVENT_GADGET_CREATE_33" }, + { config_id = 1000034, 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, forbid_guest = false }, + { config_id = 1000035, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { 77, 78, 79 }, + gadgets = { 8 }, + regions = { }, + triggers = { "GADGET_CREATE_33", "SELECT_OPTION_34", "SELECT_OPTION_35" }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = suite_2, + monsters = { 80, 81, 82 }, + gadgets = { 8 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_2 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011005, suite = 1 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_3 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011005, suite = 2 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011006.lua b/Resources/Scripts/Scene/1011/scene1011_group201011006.lua index e69de29bb..8f38e5096 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011006.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011006.lua @@ -0,0 +1,445 @@ +-- 基础信息 +local base_info = { + group_id = 201011006 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 9, + gadget_id_2 = 156, + gadget_id_3 = 157, + gadget_id_4 = 158, + gadget_id_5 = 159, + gadget_id_6 = 160, + gadget_id_7 = 161, + gadget_id_8 = 162, + gadget_id_9 = 163 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 83, monster_id = 21010201, pos = { x = -22.015, y = 0.400, z = 9.854 }, rot = { x = 0.000, y = 172.830, z = 0.000 }, level = 1 }, + { config_id = 84, monster_id = 21010201, pos = { x = -18.711, y = 0.400, z = 10.225 }, rot = { x = 0.000, y = 211.084, z = 0.000 }, level = 1 }, + { config_id = 85, monster_id = 21010201, pos = { x = -15.279, y = 0.400, z = 10.048 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 86, monster_id = 21010401, pos = { x = -1.001, y = 6.577, z = 13.078 }, rot = { x = 0.000, y = 210.329, z = 0.000 }, level = 1 }, + { config_id = 87, monster_id = 21010401, pos = { x = -27.988, y = 6.532, z = 12.245 }, rot = { x = 0.000, y = 163.090, z = 0.000 }, level = 1 }, + { config_id = 88, monster_id = 21010301, pos = { x = -8.104, y = 0.500, z = 10.942 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 89, monster_id = 21010301, pos = { x = -16.810, y = 0.540, z = 10.861 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 90, monster_id = 21010201, pos = { x = -14.019, y = 0.540, z = 11.922 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 91, monster_id = 21010201, pos = { x = -10.685, y = 0.500, z = 13.016 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 92, monster_id = 21010201, pos = { x = -12.078, y = 0.500, z = 9.955 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 93, monster_id = 21030301, pos = { x = -6.826, y = 0.500, z = 13.112 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 94, monster_id = 21010201, pos = { x = -9.851, y = 0.500, z = 10.907 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 95, monster_id = 21010201, pos = { x = -16.153, y = 0.540, z = 14.309 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 96, monster_id = 21010201, pos = { x = -8.784, y = 0.500, z = 14.736 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 97, monster_id = 21020201, pos = { x = -18.815, y = 0.500, z = 15.044 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 98, monster_id = 21020101, pos = { x = -14.106, y = 0.540, z = 8.927 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 99, monster_id = 21010301, pos = { x = -4.638, y = 0.500, z = 13.368 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 100, monster_id = 21010301, pos = { x = -21.464, y = 0.500, z = 14.137 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 101, monster_id = 21030201, pos = { x = -6.039, y = 0.500, z = 11.836 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 102, monster_id = 20011201, pos = { x = -9.111, y = 0.500, z = 10.597 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 103, monster_id = 20011201, pos = { x = -18.572, y = 0.500, z = 9.694 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 104, monster_id = 20011301, pos = { x = -12.551, y = 0.540, z = 8.637 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 105, monster_id = 24010101, pos = { x = -13.646, y = 0.540, z = 12.903 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, pose_id = 101 }, + { config_id = 106, monster_id = 21010401, pos = { x = -1.146, y = 6.505, z = 13.474 }, rot = { x = 0.000, y = 209.031, z = 0.000 }, level = 1 }, + { config_id = 107, monster_id = 21010401, pos = { x = -27.187, y = 6.536, z = 12.635 }, rot = { x = 0.000, y = 162.864, z = 0.000 }, level = 1 }, + { config_id = 108, monster_id = 22010101, pos = { x = -13.969, y = 0.540, z = 7.356 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 109, monster_id = 20011201, pos = { x = -4.177, y = 0.500, z = 10.585 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 110, monster_id = 20011201, pos = { x = -23.913, y = 0.500, z = 9.120 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 9, gadget_id = 70360002, pos = { x = -6.078, y = 0.471, z = -18.757 }, rot = { x = 0.000, y = 261.620, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000036, name = "GADGET_CREATE_36", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_36", action = "action_EVENT_GADGET_CREATE_36" }, + { config_id = 1000037, 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, forbid_guest = false }, + { config_id = 1000038, 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, forbid_guest = false }, + { config_id = 1000039, 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, forbid_guest = false }, + { config_id = 1000040, 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, forbid_guest = false }, + { config_id = 1000041, 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, forbid_guest = false }, + { config_id = 1000042, 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, forbid_guest = false }, + { config_id = 1000043, 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, forbid_guest = false }, + { config_id = 1000044, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { 83, 84, 85 }, + gadgets = { 9 }, + regions = { }, + 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 = 2, + -- description = suite_2, + monsters = { 86, 87, 88, 89 }, + gadgets = { 9 }, + regions = { }, + 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_3, + monsters = { 90, 91, 92, 93 }, + gadgets = { 9 }, + regions = { }, + 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_4, + monsters = { 94, 95, 96, 97 }, + gadgets = { 9 }, + regions = { }, + 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_5, + monsters = { 98, 99, 100 }, + gadgets = { 9 }, + regions = { }, + 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_6, + monsters = { 101, 102, 103, 104 }, + gadgets = { 9 }, + regions = { }, + 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_7, + monsters = { 105, 106, 107 }, + gadgets = { 9 }, + regions = { }, + 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 = 8, + -- description = suite_8, + monsters = { 108, 109, 110 }, + gadgets = { 9 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_2 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011006, suite = 1 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_3 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011006, suite = 2 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_4 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011006, suite = 3 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_5 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011006, suite = 4 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_6 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011006, suite = 5 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_7 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011006, suite = 6 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_8 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011006, suite = 7 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_9 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011006, suite = 8 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011011.lua b/Resources/Scripts/Scene/1011/scene1011_group201011011.lua index e69de29bb..0f8035381 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011011.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011011.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011011 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 233, gadget_id = 70360002, pos = { x = 130.614, y = 1.133, z = -3.899 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000047, name = "GADGET_CREATE_47", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_47", action = "action_EVENT_GADGET_CREATE_47" }, + { config_id = 1000048, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 233 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 6}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011012.lua b/Resources/Scripts/Scene/1011/scene1011_group201011012.lua index e69de29bb..d192248eb 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011012.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011012.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011012 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 234, gadget_id = 70360002, pos = { x = 180.338, y = 1.133, z = -5.043 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000049, name = "GADGET_CREATE_49", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_49", action = "action_EVENT_GADGET_CREATE_49" }, + { config_id = 1000050, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 234 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 6}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011013.lua b/Resources/Scripts/Scene/1011/scene1011_group201011013.lua index e69de29bb..e70b4555f 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011013.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011013.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011013 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 235, gadget_id = 70360002, pos = { x = 230.703, y = 1.133, z = -4.173 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000051, name = "GADGET_CREATE_51", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_51", action = "action_EVENT_GADGET_CREATE_51" }, + { config_id = 1000052, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 235 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011014.lua b/Resources/Scripts/Scene/1011/scene1011_group201011014.lua index e69de29bb..f38f06d7b 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011014.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011014.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011014 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 236, gadget_id = 70360002, pos = { x = 277.534, y = 1.133, z = -4.823 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000053, name = "GADGET_CREATE_53", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_53", action = "action_EVENT_GADGET_CREATE_53" }, + { config_id = 1000054, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 236 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011015.lua b/Resources/Scripts/Scene/1011/scene1011_group201011015.lua index e69de29bb..7fcb7e8ca 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011015.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011015.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011015 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 237, gadget_id = 70360002, pos = { x = 327.353, y = 1.133, z = -5.249 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000055, name = "GADGET_CREATE_55", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_55", action = "action_EVENT_GADGET_CREATE_55" }, + { config_id = 1000056, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 237 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011016.lua b/Resources/Scripts/Scene/1011/scene1011_group201011016.lua index e69de29bb..3fc83ab34 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011016.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011016.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011016 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 238, gadget_id = 70360002, pos = { x = 376.743, y = 1.133, z = -4.475 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000057, name = "GADGET_CREATE_57", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_57", action = "action_EVENT_GADGET_CREATE_57" }, + { config_id = 1000058, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 238 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011017.lua b/Resources/Scripts/Scene/1011/scene1011_group201011017.lua index e69de29bb..1e632a89d 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011017.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011017.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011017 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 239, gadget_id = 70360002, pos = { x = 426.424, y = 1.133, z = -4.101 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000059, name = "GADGET_CREATE_59", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_59", action = "action_EVENT_GADGET_CREATE_59" }, + { config_id = 1000060, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 239 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011018.lua b/Resources/Scripts/Scene/1011/scene1011_group201011018.lua index e69de29bb..e0a3fe3af 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011018.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011018.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011018 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 240, gadget_id = 70360002, pos = { x = 478.063, y = 1.133, z = -4.299 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000061, name = "GADGET_CREATE_61", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_61", action = "action_EVENT_GADGET_CREATE_61" }, + { config_id = 1000062, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 240 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 6}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011019.lua b/Resources/Scripts/Scene/1011/scene1011_group201011019.lua index e69de29bb..1b8bc34c6 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011019.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011019.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011019 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 241, gadget_id = 70360002, pos = { x = 525.390, y = 1.133, z = -4.903 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000063, name = "GADGET_CREATE_63", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_63", action = "action_EVENT_GADGET_CREATE_63" }, + { config_id = 1000064, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 241 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011020.lua b/Resources/Scripts/Scene/1011/scene1011_group201011020.lua index e69de29bb..3a6f072b6 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011020.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011020.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011020 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 242, gadget_id = 70360002, pos = { x = 573.920, y = 1.133, z = -4.671 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000065, name = "GADGET_CREATE_65", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_65", action = "action_EVENT_GADGET_CREATE_65" }, + { config_id = 1000066, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 242 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011021.lua b/Resources/Scripts/Scene/1011/scene1011_group201011021.lua index e69de29bb..4a3489fc4 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011021.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011021.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011021 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 243, gadget_id = 70360002, pos = { x = 624.207, y = 1.133, z = -4.837 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000067, name = "GADGET_CREATE_67", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_67", action = "action_EVENT_GADGET_CREATE_67" }, + { config_id = 1000068, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 243 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011022.lua b/Resources/Scripts/Scene/1011/scene1011_group201011022.lua index 2e64442cd..fb76209cc 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011022.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011022.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 151, gadget_id_2 = 166, gadget_id_3 = 167 diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011023.lua b/Resources/Scripts/Scene/1011/scene1011_group201011023.lua index e69de29bb..5fa6053b4 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011023.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011023.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011023 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 245, gadget_id = 70360002, pos = { x = 722.771, y = 1.133, z = -3.705 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000071, name = "GADGET_CREATE_71", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_71", action = "action_EVENT_GADGET_CREATE_71" }, + { config_id = 1000072, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 245 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011024.lua b/Resources/Scripts/Scene/1011/scene1011_group201011024.lua index e69de29bb..686b37bae 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011024.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011024.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011024 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 246, gadget_id = 70360002, pos = { x = 772.393, y = 1.133, z = -4.359 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000073, name = "GADGET_CREATE_73", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_73", action = "action_EVENT_GADGET_CREATE_73" }, + { config_id = 1000074, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 246 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011025.lua b/Resources/Scripts/Scene/1011/scene1011_group201011025.lua index e69de29bb..00937231a 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011025.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011025.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011025 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 247, gadget_id = 70360002, pos = { x = 821.988, y = 1.133, z = -4.298 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000075, name = "GADGET_CREATE_75", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_75", action = "action_EVENT_GADGET_CREATE_75" }, + { config_id = 1000076, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 247 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011026.lua b/Resources/Scripts/Scene/1011/scene1011_group201011026.lua index e69de29bb..d2faf485e 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011026.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011026.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011026 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 248, gadget_id = 70360002, pos = { x = 833.904, y = 0.786, z = -35.035 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000077, name = "GADGET_CREATE_77", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_77", action = "action_EVENT_GADGET_CREATE_77" }, + { config_id = 1000078, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 248 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011027.lua b/Resources/Scripts/Scene/1011/scene1011_group201011027.lua index 2e938d83c..bfd30a4b5 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011027.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011027.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 151, gadget_id_2 = 166, gadget_id_3 = 167 diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011028.lua b/Resources/Scripts/Scene/1011/scene1011_group201011028.lua index e69de29bb..1e08a45cc 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011028.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011028.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011028 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 250, gadget_id = 70360002, pos = { x = 754.729, y = 0.518, z = -44.549 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000081, name = "GADGET_CREATE_81", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_81", action = "action_EVENT_GADGET_CREATE_81" }, + { config_id = 1000082, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 250 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011029.lua b/Resources/Scripts/Scene/1011/scene1011_group201011029.lua index e69de29bb..5df8a345b 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011029.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011029.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011029 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 251, gadget_id = 70360002, pos = { x = 710.525, y = 0.429, z = -45.725 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000083, name = "GADGET_CREATE_83", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_83", action = "action_EVENT_GADGET_CREATE_83" }, + { config_id = 1000084, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 251 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011030.lua b/Resources/Scripts/Scene/1011/scene1011_group201011030.lua index e69de29bb..583914da6 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011030.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011030.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011030 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 252, gadget_id = 70360002, pos = { x = 663.833, y = 0.429, z = -44.431 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000085, name = "GADGET_CREATE_85", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_85", action = "action_EVENT_GADGET_CREATE_85" }, + { config_id = 1000086, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 252 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011031.lua b/Resources/Scripts/Scene/1011/scene1011_group201011031.lua index e69de29bb..df344a3bd 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011031.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011031.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011031 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 253, gadget_id = 70360002, pos = { x = 618.389, y = 0.633, z = -44.928 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000087, name = "GADGET_CREATE_87", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_87", action = "action_EVENT_GADGET_CREATE_87" }, + { config_id = 1000088, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 253 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011032.lua b/Resources/Scripts/Scene/1011/scene1011_group201011032.lua index e69de29bb..cb0e39330 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011032.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011032.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011032 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 254, gadget_id = 70360002, pos = { x = 571.959, y = 0.595, z = -44.659 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000089, name = "GADGET_CREATE_89", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_89", action = "action_EVENT_GADGET_CREATE_89" }, + { config_id = 1000090, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 254 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011033.lua b/Resources/Scripts/Scene/1011/scene1011_group201011033.lua index e69de29bb..acd9f4156 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011033.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011033.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011033 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 255, gadget_id = 70360002, pos = { x = 526.703, y = 0.429, z = -44.180 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000091, name = "GADGET_CREATE_91", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_91", action = "action_EVENT_GADGET_CREATE_91" }, + { config_id = 1000092, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 255 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011034.lua b/Resources/Scripts/Scene/1011/scene1011_group201011034.lua index e69de29bb..5cc6d9655 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011034.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011034.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011034 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 256, gadget_id = 70360002, pos = { x = 481.170, y = 0.429, z = -44.740 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000093, name = "GADGET_CREATE_93", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_93", action = "action_EVENT_GADGET_CREATE_93" }, + { config_id = 1000094, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 256 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011035.lua b/Resources/Scripts/Scene/1011/scene1011_group201011035.lua index e69de29bb..76e97cbb3 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011035.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011035.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011035 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 257, gadget_id = 70360002, pos = { x = 436.051, y = 0.429, z = -44.529 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000095, name = "GADGET_CREATE_95", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_95", action = "action_EVENT_GADGET_CREATE_95" }, + { config_id = 1000096, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 257 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011036.lua b/Resources/Scripts/Scene/1011/scene1011_group201011036.lua index e69de29bb..3b8529e63 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011036.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011036.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011036 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 258, gadget_id = 70360002, pos = { x = 391.638, y = 0.286, z = -44.682 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000097, name = "GADGET_CREATE_97", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_97", action = "action_EVENT_GADGET_CREATE_97" }, + { config_id = 1000098, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 258 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011037.lua b/Resources/Scripts/Scene/1011/scene1011_group201011037.lua index eb12dbf68..6b35fa89a 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011037.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011037.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 151, gadget_id_2 = 166, gadget_id_3 = 167 diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011038.lua b/Resources/Scripts/Scene/1011/scene1011_group201011038.lua index e69de29bb..671f49436 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011038.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011038.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011038 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 260, gadget_id = 70360002, pos = { x = 300.374, y = 0.133, z = -45.072 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000101, name = "GADGET_CREATE_101", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_101", action = "action_EVENT_GADGET_CREATE_101" }, + { config_id = 1000102, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 260 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011039.lua b/Resources/Scripts/Scene/1011/scene1011_group201011039.lua index e69de29bb..3e5f993db 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011039.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011039.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011039 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 261, gadget_id = 70360002, pos = { x = 255.188, y = -0.071, z = -44.567 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000103, name = "GADGET_CREATE_103", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_103", action = "action_EVENT_GADGET_CREATE_103" }, + { config_id = 1000104, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 261 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011040.lua b/Resources/Scripts/Scene/1011/scene1011_group201011040.lua index e69de29bb..7d7d45003 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011040.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011040.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011040 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 262, gadget_id = 70360002, pos = { x = 209.792, y = -0.071, z = -45.195 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000105, name = "GADGET_CREATE_105", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_105", action = "action_EVENT_GADGET_CREATE_105" }, + { config_id = 1000106, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 262 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011041.lua b/Resources/Scripts/Scene/1011/scene1011_group201011041.lua index e69de29bb..49c257003 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011041.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011041.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011041 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 263, gadget_id = 70360002, pos = { x = 163.855, y = 0.133, z = -45.400 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000107, name = "GADGET_CREATE_107", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_107", action = "action_EVENT_GADGET_CREATE_107" }, + { config_id = 1000108, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 263 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011042.lua b/Resources/Scripts/Scene/1011/scene1011_group201011042.lua index 1907ca141..9da52e9da 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011042.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011042.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 151, gadget_id_2 = 166, gadget_id_3 = 167 diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011043.lua b/Resources/Scripts/Scene/1011/scene1011_group201011043.lua index e69de29bb..d7be1de92 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011043.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011043.lua @@ -0,0 +1,138 @@ +-- 基础信息 +local base_info = { + group_id = 201011043 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 151, + gadget_id_2 = 166, + gadget_id_3 = 167 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 265, gadget_id = 70360002, pos = { x = 186.891, y = 0.456, z = -101.554 }, rot = { x = 0.000, y = 270.536, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000111, name = "GADGET_CREATE_111", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_111", action = "action_EVENT_GADGET_CREATE_111" }, + { config_id = 1000112, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 265 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_1 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 1}) then + return -1 + end + return 0 + end + + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011010, refresh_level_revise = 7}) then + return -1 + end + return 0 + end + + if defs.gadget_id_3 == 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 \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011044.lua b/Resources/Scripts/Scene/1011/scene1011_group201011044.lua index e69de29bb..cb4ed9a9f 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011044.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011044.lua @@ -0,0 +1,548 @@ +-- 基础信息 +local base_info = { + group_id = 201011044 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 1021, + gadget_id_2 = 7122, + gadget_id_3 = 7123, + gadget_id_4 = 7124, + gadget_id_5 = 7125, + gadget_id_6 = 7121, + gadget_id_7 = 1022, + gadget_id_8 = 7142, + gadget_id_9 = 7143, + gadget_id_10 = 7144, + gadget_id_11 = 7145, + gadget_id_12 = 7146 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 156, monster_id = 21010201, pos = { x = 167.874, y = 0.641, z = 50.864 }, rot = { x = 0.000, y = 276.499, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 157, monster_id = 21010201, pos = { x = 169.971, y = 0.641, z = 53.143 }, rot = { x = 0.000, y = 269.795, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 158, monster_id = 21010201, pos = { x = 170.324, y = 0.641, z = 49.203 }, rot = { x = 0.000, y = 280.679, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 159, monster_id = 21010401, pos = { x = 175.011, y = 0.641, z = 51.242 }, rot = { x = 0.000, y = 275.059, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 160, monster_id = 20011301, pos = { x = 218.643, y = 0.641, z = 52.231 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 161, monster_id = 20011201, pos = { x = 221.243, y = 0.641, z = 53.350 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 162, monster_id = 20011201, pos = { x = 221.237, y = 0.641, z = 51.997 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 163, monster_id = 20011201, pos = { x = 221.226, y = 0.641, z = 50.564 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 164, monster_id = 20011101, pos = { x = 270.552, y = 0.641, z = 48.327 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 165, monster_id = 20011001, pos = { x = 268.349, y = 0.641, z = 49.424 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 166, monster_id = 20011001, pos = { x = 269.953, y = 0.641, z = 50.098 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 167, monster_id = 20011001, pos = { x = 271.658, y = 0.641, z = 50.210 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 168, monster_id = 20010301, pos = { x = 317.223, y = 0.641, z = 47.567 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 169, monster_id = 20010301, pos = { x = 318.681, y = 0.641, z = 48.398 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 170, monster_id = 20010301, pos = { x = 321.273, y = 0.641, z = 47.808 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 171, monster_id = 20010401, pos = { x = 319.025, y = 0.641, z = 45.669 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 172, monster_id = 20010901, pos = { x = 369.768, y = 0.641, z = 48.651 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 173, monster_id = 20010801, pos = { x = 367.618, y = 0.641, z = 49.474 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 174, monster_id = 20011001, pos = { x = 370.272, y = 0.641, z = 50.088 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 175, monster_id = 20011001, pos = { x = 373.068, y = 0.641, z = 49.662 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 266, gadget_id = 70360002, pos = { x = 157.888, y = 0.641, z = 35.590 }, rot = { x = 0.000, y = 179.902, z = 0.000 }, level = 1 }, + { config_id = 267, gadget_id = 70360002, pos = { x = 147.728, y = 1.133, z = 7.703 }, rot = { x = 0.000, y = 102.298, z = 0.000 }, level = 1 }, + { config_id = 270, gadget_id = 70220010, pos = { x = 471.290, y = 2.748, z = 103.818 }, rot = { x = 0.000, y = 85.569, z = 0.000 }, level = 1 }, + { config_id = 271, gadget_id = 70220010, pos = { x = 470.838, y = 0.633, z = 93.630 }, rot = { x = 0.000, y = 85.569, z = 0.000 }, level = 1 }, + { config_id = 272, gadget_id = 70220010, pos = { x = 459.433, y = 0.633, z = 93.788 }, rot = { x = 0.000, y = 85.569, z = 0.000 }, level = 1 }, + { config_id = 273, gadget_id = 70220010, pos = { x = 458.110, y = 0.633, z = 109.143 }, rot = { x = 0.000, y = 85.569, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { + { config_id = 137, shape = RegionShape.SPHERE, radius = 5, pos = { x = 160.216, y = 0.641, z = 37.783 } } +} + +-- 触发器 +triggers = { + { config_id = 1000113, name = "GADGET_CREATE_113", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_113", action = "action_EVENT_GADGET_CREATE_113" }, + { config_id = 1000114, 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, forbid_guest = false }, + { config_id = 1000115, 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, forbid_guest = false }, + { config_id = 1000116, 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, forbid_guest = false }, + { config_id = 1000117, 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, forbid_guest = false }, + { config_id = 1000118, 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, forbid_guest = false }, + { config_id = 1000119, name = "GADGET_CREATE_119", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_119", action = "action_EVENT_GADGET_CREATE_119" }, + { config_id = 1000120, 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, forbid_guest = false }, + { config_id = 1000121, 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, forbid_guest = false }, + { config_id = 1000122, 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, forbid_guest = false }, + { config_id = 1000123, 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, forbid_guest = false }, + { config_id = 1000124, 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, forbid_guest = false }, + { config_id = 1000137, name = "ENTER_REGION_137", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "", forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- 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 = { 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 = 2, + -- description = suite_2, + monsters = { }, + gadgets = { 267 }, + regions = { }, + 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_3, + monsters = { }, + gadgets = { 267 }, + regions = { }, + 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_4, + monsters = { }, + gadgets = { 267 }, + regions = { }, + 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 = 5, + -- description = suite_5, + monsters = { }, + gadgets = { 267 }, + regions = { }, + 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 1021 ~= 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_114(context, evt) + -- 判断是gadgetid 1021 + if 1021 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_114(context, evt) + + -- 根据不同的选项做不同的操作 + if defs.gadget_id_2 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, suite = 2 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_115(context, evt) + -- 判断是gadgetid 1021 + if 1021 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_115(context, evt) + + -- 根据不同的选项做不同的操作 + if defs.gadget_id_3 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, suite = 3 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_116(context, evt) + -- 判断是gadgetid 1021 + if 1021 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_116(context, evt) + + -- 根据不同的选项做不同的操作 + if defs.gadget_id_4 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, suite = 4 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_117(context, evt) + -- 判断是gadgetid 1021 + if 1021 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_117(context, evt) + + -- 根据不同的选项做不同的操作 + if defs.gadget_id_5 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, suite = 5 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_118(context, evt) + -- 判断是gadgetid 1021 + if 1021 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_118(context, evt) + + -- 根据不同的选项做不同的操作 + if defs.gadget_id_6 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011001, suite = 1 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_119(context, evt) + if 1022 ~= 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_120(context, evt) + -- 判断是gadgetid 1022 + if 1022 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_120(context, evt) + -- 根据不同的选项做不同的操作 + if defs.gadget_id_8 == 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, defs.gadget_id_7, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_121(context, evt) + -- 判断是gadgetid 1022 + if 1022 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_121(context, evt) + -- 根据不同的选项做不同的操作 + if defs.gadget_id_9 == 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, defs.gadget_id_7, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_122(context, evt) + -- 判断是gadgetid 1022 + if 1022 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_122(context, evt) + -- 根据不同的选项做不同的操作 + if defs.gadget_id_10 == 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, defs.gadget_id_7, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_123(context, evt) + -- 判断是gadgetid 1022 + if 1022 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_123(context, evt) + -- 根据不同的选项做不同的操作 + if defs.gadget_id_11 == 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, defs.gadget_id_7, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_124(context, evt) + -- 判断是gadgetid 1022 + if 1022 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_124(context, evt) + -- 根据不同的选项做不同的操作 + if defs.gadget_id_12 == 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, defs.gadget_id_7, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011045.lua b/Resources/Scripts/Scene/1011/scene1011_group201011045.lua index e69de29bb..975d3e0f6 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011045.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011045.lua @@ -0,0 +1,269 @@ +-- 基础信息 +local base_info = { + group_id = 201011045 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 2, + gadget_id_2 = 135, + gadget_id_3 = 136, + gadget_id_4 = 137, + gadget_id_5 = 138 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 176, monster_id = 21030301, pos = { x = 420.470, y = 0.641, z = 44.716 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 177, monster_id = 21010301, pos = { x = 416.956, y = 0.641, z = 52.582 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 178, monster_id = 21010201, pos = { x = 416.638, y = 0.641, z = 48.552 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 179, monster_id = 21010501, pos = { x = 421.387, y = 0.641, z = 55.760 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 180, monster_id = 21030101, pos = { x = 470.979, y = 0.641, z = 51.830 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 181, monster_id = 21010701, pos = { x = 465.947, y = 0.641, z = 45.393 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 182, monster_id = 21010701, pos = { x = 465.680, y = 0.641, z = 49.069 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 183, monster_id = 21010901, pos = { x = 470.146, y = 0.641, z = 41.456 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 184, monster_id = 21030201, pos = { x = 519.138, y = 0.641, z = 41.770 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 185, monster_id = 21010701, pos = { x = 515.042, y = 0.641, z = 45.304 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 186, monster_id = 21010701, pos = { x = 515.306, y = 0.641, z = 49.206 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 187, monster_id = 21010501, pos = { x = 519.120, y = 0.641, z = 52.244 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 188, monster_id = 21030301, pos = { x = 567.528, y = 0.641, z = 41.346 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 189, monster_id = 21030101, pos = { x = 568.093, y = 0.641, z = 52.768 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 190, monster_id = 21010701, pos = { x = 563.188, y = 0.641, z = 49.296 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 191, monster_id = 21010701, pos = { x = 563.437, y = 0.641, z = 44.972 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 268, gadget_id = 70360002, pos = { x = 122.802, y = 0.500, z = 68.255 }, rot = { x = 0.000, y = 165.182, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000125, name = "GADGET_CREATE_125", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_125", action = "action_EVENT_GADGET_CREATE_125" }, + { config_id = 1000126, 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, forbid_guest = false }, + { config_id = 1000127, 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, forbid_guest = false }, + { config_id = 1000128, 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, forbid_guest = false }, + { config_id = 1000129, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 }, + gadgets = { }, + regions = { }, + triggers = { "GADGET_CREATE_125", "SELECT_OPTION_126", "SELECT_OPTION_127", "SELECT_OPTION_128", "SELECT_OPTION_129" }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = suite_2, + monsters = { 180, 181, 182, 183 }, + gadgets = { 268 }, + regions = { }, + triggers = { "GADGET_CREATE_125", "SELECT_OPTION_126", "SELECT_OPTION_127", "SELECT_OPTION_128", "SELECT_OPTION_129" }, + rand_weight = 0 + }, + { + -- suite_id = 3, + -- description = suite_3, + monsters = { 184, 185, 186, 187 }, + gadgets = { 268 }, + regions = { }, + triggers = { "GADGET_CREATE_125", "SELECT_OPTION_126", "SELECT_OPTION_127", "SELECT_OPTION_128", "SELECT_OPTION_129" }, + rand_weight = 0 + }, + { + -- suite_id = 4, + -- description = suite_4, + monsters = { 188, 189, 190, 191 }, + gadgets = { 268 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_2 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, suite = 1 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_3 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, suite = 2 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_4 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, suite = 3 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_5 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011002, suite = 4 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011046.lua b/Resources/Scripts/Scene/1011/scene1011_group201011046.lua index e69de29bb..9d6284438 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011046.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011046.lua @@ -0,0 +1,376 @@ +-- 基础信息 +local base_info = { + group_id = 201011046 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 4, + gadget_id_2 = 145, + gadget_id_3 = 146, + gadget_id_4 = 147, + gadget_id_5 = 148, + gadget_id_6 = 149, + gadget_id_7 = 150 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 192, monster_id = 21020101, pos = { x = 617.195, y = 0.641, z = 47.455 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 193, monster_id = 21010301, pos = { x = 612.611, y = 0.641, z = 52.107 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 194, monster_id = 21010601, pos = { x = 612.528, y = 0.641, z = 48.015 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 195, monster_id = 21010601, pos = { x = 617.138, y = 0.641, z = 51.322 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 196, monster_id = 21020201, pos = { x = 652.783, y = 0.633, z = 98.090 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 197, monster_id = 22010101, pos = { x = 609.544, y = 0.633, z = 94.500 }, rot = { x = 0.000, y = 108.934, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 199, monster_id = 22010301, pos = { x = 558.979, y = 0.633, z = 98.214 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 201, monster_id = 20011501, pos = { x = 662.044, y = 0.641, z = 50.119 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 202, monster_id = 20011401, pos = { x = 663.893, y = 0.641, z = 49.000 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 203, monster_id = 20011401, pos = { x = 661.208, y = 0.641, z = 48.296 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 204, monster_id = 20010601, pos = { x = 707.417, y = 0.641, z = 51.745 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 205, monster_id = 20010701, pos = { x = 710.686, y = 0.641, z = 48.806 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 207, monster_id = 20011301, pos = { x = 714.243, y = 0.633, z = 102.958 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 208, monster_id = 20010601, pos = { x = 712.338, y = 0.633, z = 97.316 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 209, monster_id = 20010601, pos = { x = 716.007, y = 0.633, z = 98.627 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 210, monster_id = 20011301, pos = { x = 711.338, y = 0.633, z = 100.099 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 211, monster_id = 20011401, pos = { x = 660.315, y = 0.641, z = 52.201 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 212, monster_id = 20011401, pos = { x = 663.663, y = 0.641, z = 52.696 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 213, monster_id = 20010501, pos = { x = 710.243, y = 0.641, z = 51.632 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 214, monster_id = 20010501, pos = { x = 707.585, y = 0.641, z = 48.484 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 215, monster_id = 21020101, pos = { x = 652.992, y = 0.633, z = 103.938 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 216, monster_id = 21030201, pos = { x = 611.113, y = 0.633, z = 108.128 }, rot = { x = 0.000, y = 108.934, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 217, monster_id = 21010301, pos = { x = 614.020, y = 0.633, z = 100.788 }, rot = { x = 0.000, y = 108.934, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 218, monster_id = 21010301, pos = { x = 613.851, y = 0.633, z = 104.189 }, rot = { x = 0.000, y = 108.934, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 219, monster_id = 21030301, pos = { x = 559.765, y = 0.633, z = 93.973 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 220, monster_id = 21010301, pos = { x = 564.521, y = 0.633, z = 99.533 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 221, monster_id = 21010301, pos = { x = 563.924, y = 0.633, z = 102.215 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 222, monster_id = 22010201, pos = { x = 511.101, y = 0.633, z = 99.574 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 223, monster_id = 20011001, pos = { x = 514.858, y = 0.633, z = 95.796 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 224, monster_id = 20011101, pos = { x = 515.092, y = 0.633, z = 103.067 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 225, monster_id = 21030101, pos = { x = 509.994, y = 0.633, z = 104.114 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 226, monster_id = 20020101, pos = { x = 462.863, y = 0.633, z = 100.247 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 7 }, + { config_id = 227, monster_id = 20010801, pos = { x = 466.653, y = 0.633, z = 98.234 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 228, monster_id = 20010801, pos = { x = 465.478, y = 0.633, z = 102.958 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 229, monster_id = 20010801, pos = { x = 462.015, y = 0.633, z = 102.947 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 230, monster_id = 24010101, pos = { x = 417.875, y = 0.633, z = 102.643 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 7, disableWander = true, pose_id = 100 }, + { config_id = 231, monster_id = 22010201, pos = { x = 415.663, y = 0.633, z = 106.946 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 232, monster_id = 21010401, pos = { x = 657.945, y = 0.633, z = 93.517 }, rot = { x = 0.000, y = 81.067, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 233, monster_id = 21010401, pos = { x = 658.088, y = 0.633, z = 108.542 }, rot = { x = 0.000, y = 81.067, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 234, monster_id = 21030201, pos = { x = 463.053, y = 0.633, z = 93.296 }, rot = { x = 0.000, y = 108.934, z = 0.000 }, level = 7, disableWander = true }, + { config_id = 235, monster_id = 21010401, pos = { x = 417.164, y = 0.633, z = 109.388 }, rot = { x = 0.000, y = 81.067, z = 0.000 }, level = 7, disableWander = true } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 269, gadget_id = 70360002, pos = { x = 123.510, y = 0.500, z = 69.446 }, rot = { x = 0.000, y = 270.134, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000130, name = "GADGET_CREATE_130", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_130", action = "action_EVENT_GADGET_CREATE_130" }, + { config_id = 1000131, 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, forbid_guest = false }, + { config_id = 1000132, 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, forbid_guest = false }, + { config_id = 1000133, 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, forbid_guest = false }, + { config_id = 1000134, 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, forbid_guest = false }, + { config_id = 1000135, 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, forbid_guest = false }, + { config_id = 1000136, 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, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- 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 = { }, + 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 = 2, + -- description = suite_2, + monsters = { 196, 197 }, + gadgets = { 269 }, + regions = { }, + 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 = suite_3, + monsters = { 199 }, + gadgets = { 269 }, + regions = { }, + 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 = 0, + monsters = { 201, 202, 203 }, + gadgets = { 269 }, + regions = { }, + 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_5, + monsters = { 204, 205, 207 }, + gadgets = { 269 }, + regions = { }, + 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 = 6, + -- description = suite_6, + monsters = { 208, 209, 210 }, + gadgets = { 269 }, + regions = { }, + 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 + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + 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 defs.gadget_id_2 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 1 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_3 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 2 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_4 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 3 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_5 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 4 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_6 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 5 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, 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 defs.gadget_id_7 == evt.param2 then + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011004, suite = 6 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, GadgetState.GearStart) then + return -1 + end + return 0 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011049.lua b/Resources/Scripts/Scene/1011/scene1011_group201011049.lua index e69de29bb..f62d7e2ce 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011049.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011049.lua @@ -0,0 +1,351 @@ +-- 基础信息 +local base_info = { + group_id = 201011049 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 49009, + gadget_id_2 = 49010, + gadget_id_3 = 49011, + gadget_id_4 = 49012, + gadget_id_5 = 49013, + gadget_id_6 = 49014, + monster_id_1 = 250, + monster_id_2 = 251, + monster_id_3 = 252, + monster_id_4 = 253, + gadget_id_7 = 49008, + gadget_id_8 = 7096, + gadget_id_9 = 258, + gadget_id_10 = 260, + gadget_id_11 = 261, + gadget_id_12 = 259 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 49001, monster_id = 20011301, pos = { x = -127.520, y = 0.800, z = -142.228 }, rot = { x = 0.000, y = 88.153, z = 0.000 }, level = 7, affix = { 1008, 1019 }, isElite = true }, + { config_id = 49002, monster_id = 20011201, pos = { x = -126.837, y = 0.800, z = -138.637 }, rot = { x = 0.000, y = 95.244, z = 0.000 }, level = 7, affix = { 1008, 1019 }, isElite = true }, + { config_id = 49003, monster_id = 20011201, pos = { x = -126.268, y = 0.800, z = -145.457 }, rot = { x = 0.000, y = 62.030, z = 0.000 }, level = 7, affix = { 1008, 1019 }, isElite = true }, + { config_id = 49004, monster_id = 20011201, pos = { x = -124.701, y = 0.800, z = -142.059 }, rot = { x = 0.000, y = 83.321, z = 0.000 }, level = 7, affix = { 1008, 1019 }, isElite = true }, + { config_id = 49005, monster_id = 21010501, pos = { x = -125.639, y = 0.800, z = -132.562 }, rot = { x = 0.000, y = 126.815, z = 0.000 }, level = 7, disableWander = true, affix = { 1010, 1019 }, pose_id = 32 }, + { config_id = 49006, monster_id = 21010501, pos = { x = -125.345, y = 0.800, z = -152.667 }, rot = { x = 0.000, y = 40.273, z = 0.000 }, level = 7, disableWander = true, affix = { 1010, 1019 }, pose_id = 32 }, + { config_id = 49007, monster_id = 21010501, pos = { x = -134.315, y = 0.800, z = -143.035 }, rot = { x = 0.000, y = 89.455, z = 0.000 }, level = 7, disableWander = true, affix = { 1010, 1019 }, pose_id = 32 } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 49008, gadget_id = 70360002, pos = { x = -99.843, y = 0.800, z = -141.164 }, rot = { x = 0.000, y = 88.149, z = 0.000 }, level = 1 }, + { config_id = 49009, gadget_id = 70350006, pos = { x = -92.036, y = 1.334, z = -139.820 }, rot = { x = 0.000, y = 271.444, z = 0.000 }, level = 1 }, + { config_id = 49010, gadget_id = 70350006, pos = { x = -92.043, y = 1.331, z = -133.880 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 }, + { config_id = 49011, gadget_id = 70350006, pos = { x = -92.017, y = 1.336, z = -127.990 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 }, + { config_id = 49012, gadget_id = 70350006, pos = { x = -151.279, y = 1.463, z = -139.845 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 }, + { config_id = 49013, gadget_id = 70350006, pos = { x = -151.297, y = 0.800, z = -133.916 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 }, + { config_id = 49014, gadget_id = 70350006, pos = { x = -151.290, y = 0.800, z = -127.978 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 }, + { config_id = 49015, gadget_id = 70220021, pos = { x = -130.521, y = -0.906, z = -158.466 }, rot = { x = 0.000, y = 132.836, z = 0.000 }, level = 1 }, + { config_id = 49016, gadget_id = 70220021, pos = { x = -140.141, y = -0.997, z = -152.149 }, rot = { x = 359.616, y = 49.736, z = 3.169 }, level = 1 }, + { config_id = 49017, gadget_id = 70220021, pos = { x = -135.749, y = -2.316, z = -132.582 }, rot = { x = 3.148, y = 322.323, z = 0.526 }, level = 1 }, + { config_id = 49018, gadget_id = 70220021, pos = { x = -126.085, y = -0.874, z = -121.576 }, rot = { x = 1.137, y = 325.199, z = 253.949 }, level = 1 }, + { config_id = 49019, gadget_id = 70220021, pos = { x = -118.684, y = -1.324, z = -163.509 }, rot = { x = 1.137, y = 325.199, z = 253.949 }, level = 1 }, + { config_id = 49020, gadget_id = 70220021, pos = { x = -115.742, y = -2.564, z = -124.982 }, rot = { x = 1.137, y = 325.199, z = 352.929 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000141, name = "GADGET_CREATE_141", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_141", action = "action_EVENT_GADGET_CREATE_141" }, + { config_id = 1000142, name = "SELECT_OPTION_142", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_142", action = "action_EVENT_SELECT_OPTION_142", forbid_guest = false }, + { config_id = 1000162, name = "ANY_MONSTER_DIE_162", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_162", action = "action_EVENT_ANY_MONSTER_DIE_162", trigger_count = 0 }, + { config_id = 1000163, name = "ANY_MONSTER_DIE_163", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_163", action = "action_EVENT_ANY_MONSTER_DIE_163", trigger_count = 0 }, + { config_id = 1000164, name = "ANY_MONSTER_DIE_164", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_164", action = "action_EVENT_ANY_MONSTER_DIE_164", trigger_count = 0 }, + { config_id = 1000165, name = "ANY_MONSTER_DIE_165", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_165", action = "action_EVENT_ANY_MONSTER_DIE_165" }, + { config_id = 1000166, name = "ANY_MONSTER_DIE_166", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_166", action = "action_EVENT_ANY_MONSTER_DIE_166", trigger_count = 0 }, + { config_id = 1000167, name = "ANY_MONSTER_DIE_167", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_167", action = "action_EVENT_ANY_MONSTER_DIE_167", trigger_count = 0 }, + { config_id = 1000168, name = "ANY_MONSTER_DIE_168", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_168", action = "action_EVENT_ANY_MONSTER_DIE_168", trigger_count = 0 } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 49008, 49015, 49016, 49017, 49018, 49019, 49020 }, + regions = { }, + triggers = { "GADGET_CREATE_141", "SELECT_OPTION_142", "ANY_MONSTER_DIE_162", "ANY_MONSTER_DIE_163", "ANY_MONSTER_DIE_164", "ANY_MONSTER_DIE_165", "ANY_MONSTER_DIE_166", "ANY_MONSTER_DIE_167", "ANY_MONSTER_DIE_168" }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = suite_2, + monsters = { }, + gadgets = { }, + regions = { }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_141(context, evt) + if 49008 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_141(context, evt) + -- 设置操作台选项 + if 0 ~= ScriptLib.SetWorktopOptions(context, {105}) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_142(context, evt) + if 49008 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_142(context, evt) + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 49001, delay_time = 0 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster") + return -1 + end + + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 49002, delay_time = 0 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster") + return -1 + end + + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 49003, delay_time = 0 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster") + return -1 + end + + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 49004, delay_time = 0 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster") + return -1 + end + + -- 延迟2秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 49005, delay_time = 2 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster") + return -1 + end + + -- 延迟2秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 49006, delay_time = 2 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster") + return -1 + end + + -- 延迟2秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 49007, delay_time = 2 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster") + return -1 + end + + -- 创建编号为1001(该挑战的识别id),挑战内容为2001的区域挑战,具体参数填写方式,见DungeonChallengeData表中的注释,所有填写的值都必须是int类型 + if 0 ~= ScriptLib.ActiveChallenge(context, 1001, 2001, 60, 201011049, 275, 0) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_challenge") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ANY_MONSTER_DIE_162(context, evt) + if 49003 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ANY_MONSTER_DIE_162(context, evt) + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 49003, delay_time = 0 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ANY_MONSTER_DIE_163(context, evt) + if 49002 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ANY_MONSTER_DIE_163(context, evt) + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 49002, delay_time = 0 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ANY_MONSTER_DIE_164(context, evt) + if 49004 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ANY_MONSTER_DIE_164(context, evt) + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 49004, delay_time = 0 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ANY_MONSTER_DIE_165(context, evt) + if 49001 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ANY_MONSTER_DIE_165(context, evt) + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201011049, suite = 2 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ANY_MONSTER_DIE_166(context, evt) + if 49005 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ANY_MONSTER_DIE_166(context, evt) + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 49005, delay_time = 0 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ANY_MONSTER_DIE_167(context, evt) + if 49006 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ANY_MONSTER_DIE_167(context, evt) + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 49006, delay_time = 0 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ANY_MONSTER_DIE_168(context, evt) + if 49007 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ANY_MONSTER_DIE_168(context, evt) + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 49007, delay_time = 0 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster") + return -1 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011059.lua b/Resources/Scripts/Scene/1011/scene1011_group201011059.lua index ec982339c..5b1eb0af8 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011059.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011059.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 201011059, gadget_riddle_hint = 59001, gadget_riddle_1 = 59002, diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011060.lua b/Resources/Scripts/Scene/1011/scene1011_group201011060.lua index e69de29bb..6ef2c45c3 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011060.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011060.lua @@ -0,0 +1,303 @@ +-- 基础信息 +local base_info = { + group_id = 201011060 +} + +-- Trigger变量 +local defs = { + group_id = 201011060, + gadget_riddle_hint = 60001, + gadget_riddle_1 = 60002, + gadget_riddle_2 = 60003, + gadget_riddle_3 = 60004, + gadget_riddle_4 = 60005, + gadget_chest = 60006, + gadget_riddle_5 = 60007, + gadget_riddle_6 = 60008, + gadget_riddle_7 = 60009, + gadget_riddle_8 = 60010, + gadget_riddle_9 = 60011, + gadget_riddle_10 = 60012, + gadget_riddle_11 = 60013, + gadget_riddle_12 = 60014, + gadget_riddle_13 = 60015, + gadget_riddle_14 = 60016, + group_id_2 = 201011059, + group_id_3 = 201011061 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 60001, gadget_id = 70310012, pos = { x = -54.640, y = 7.378, z = 81.819 }, rot = { x = 0.000, y = 190.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 60002, gadget_id = 70310011, pos = { x = -60.210, y = 7.364, z = 60.531 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 60003, gadget_id = 70310011, pos = { x = -75.214, y = 7.378, z = 60.497 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 60004, gadget_id = 70310011, pos = { x = -60.237, y = 7.378, z = 75.522 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 60005, gadget_id = 70310011, pos = { x = -75.227, y = 7.378, z = 75.537 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 60006, gadget_id = 70900007, pos = { x = -54.609, y = 7.827, z = 81.820 }, rot = { x = 0.000, y = 270.400, z = 0.000 }, level = 1, isOneoff = true, persistent = true }, + { config_id = 60007, gadget_id = 70310011, pos = { x = -75.227, y = 7.378, z = 68.031 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 60008, gadget_id = 70310011, pos = { x = -60.237, y = 7.378, z = 68.012 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 60009, gadget_id = 70310011, pos = { x = -67.723, y = 7.378, z = 75.522 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 60010, gadget_id = 70310011, pos = { x = -67.746, y = 7.364, z = 60.531 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 60011, gadget_id = 70310011, pos = { x = -72.805, y = 7.378, z = 65.541 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 60012, gadget_id = 70310011, pos = { x = -65.221, y = 7.378, z = 62.995 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 60013, gadget_id = 70310011, pos = { x = -62.699, y = 7.378, z = 70.603 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 60014, gadget_id = 70310011, pos = { x = -70.653, y = 7.378, z = 72.895 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 60015, gadget_id = 70310011, pos = { x = -72.141, y = 7.378, z = 69.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 60016, gadget_id = 70310011, pos = { x = -63.900, y = 7.378, z = 66.346 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1060017, name = "GADGET_STATE_CHANGE_60017", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "", action = "action_EVENT_GADGET_STATE_CHANGE_60017", trigger_count = 0 }, + { config_id = 1060018, name = "VARIABLE_CHANGE_60018", event = EventType.EVENT_VARIABLE_CHANGE, source = "State_Flag", condition = "condition_EVENT_VARIABLE_CHANGE_60018", action = "action_EVENT_VARIABLE_CHANGE_60018", trigger_count = 0 } +} + +-- 变量 +variables = { + { config_id = 1, name = "State_Flag", value = 0, no_refresh = true }, + { config_id = 2, name = "Door_Open", value = 0, no_refresh = true } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { }, + gadgets = { 60001, 60002, 60003, 60004, 60005, 60006, 60007, 60008, 60009, 60010, 60011, 60012, 60013, 60014, 60015, 60016 }, + regions = { }, + triggers = { "GADGET_STATE_CHANGE_60017", "VARIABLE_CHANGE_60018" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_60017(context, evt) + --映射点亮 + if evt.param2 == defs.gadget_riddle_1 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_1) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_1, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_1) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_1, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_2 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_2) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_2, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_2) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_2, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_3 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_3) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_3, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_3) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_3, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_4 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_4) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_4, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_4) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_4, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_5 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_5) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_5, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_5) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_5, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_6 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_6) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_6, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_6) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_6, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_7 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_7) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_7, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_7) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_7, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_8 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_8) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_8, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_8) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_8, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_9 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_9) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_9, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_9) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_9, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_10 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_10) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_10, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_10) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_10, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_11 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_11) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_11, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_11) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_11, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_12 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_12) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_12, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_12) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_12, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_13 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_13) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_13, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_13) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_13, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_14 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_14) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_14, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_14) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_14, GadgetState.GearAction1) + end + end + --检查是否符合开门条件 + if ScriptLib.GetGroupVariableValue(context, "Door_Open") == 0 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_1) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_1) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_2) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_2) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_3) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_3) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_4) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_4) == GadgetState.GearAction1 then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_chest, GadgetState.GearStart) + ScriptLib.SetGroupVariableValueByGroup(context, "Door_Open", 1, defs.group_id) + ScriptLib.MarkPlayerAction(context, 5007, 2, 3) + end + end + end + end + end + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_60018(context, evt) + if evt.param1 == evt.param2 then return false end + + if evt.param1 < 0 or evt.param1 > 14 then + return false + end + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_60018(context, evt) + --单层点亮超3个熄灭所有 + if evt.param1 > 3 then + ScriptLib.SetGroupVariableValueByGroup(context, "State_Flag", 0, defs.group_id) + ScriptLib.SetGroupVariableValueByGroup(context, "State_Flag", 0, defs.group_id2) + ScriptLib.SetGroupVariableValueByGroup(context, "State_Flag", 0, defs.group_id3) + end + --灭火 + if evt.param1 == 0 then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_1, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_2, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_3, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_4, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_5, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_6, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_7, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_8, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_9, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_10, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_11, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_12, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_13, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_14, GadgetState.Default) + end + return 0 + +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011061.lua b/Resources/Scripts/Scene/1011/scene1011_group201011061.lua index e69de29bb..a82285ec8 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011061.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011061.lua @@ -0,0 +1,324 @@ +-- 基础信息 +local base_info = { + group_id = 201011061 +} + +-- Trigger变量 +local defs = { + group_id = 201011061, + gadget_riddle_hint = 61001, + gadget_riddle_1 = 61002, + gadget_riddle_2 = 61003, + gadget_riddle_3 = 61004, + gadget_riddle_4 = 61005, + gadget_chest = 61006, + gadget_riddle_5 = 61007, + gadget_riddle_6 = 61008, + gadget_riddle_7 = 61009, + gadget_riddle_8 = 61010, + gadget_riddle_9 = 61011, + gadget_riddle_10 = 61012, + gadget_riddle_11 = 61013, + gadget_riddle_12 = 61014, + gadget_riddle_13 = 61015, + gadget_riddle_14 = 61016, + group_id_2 = 201011059, + group_id_3 = 201011060 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 61001, gadget_id = 70310012, pos = { x = -54.640, y = 14.690, z = 81.819 }, rot = { x = 0.000, y = 190.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 61002, gadget_id = 70310011, pos = { x = -60.210, y = 14.675, z = 60.531 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 61003, gadget_id = 70310011, pos = { x = -75.214, y = 14.690, z = 60.497 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 61004, gadget_id = 70310011, pos = { x = -60.237, y = 14.690, z = 75.522 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 61005, gadget_id = 70310011, pos = { x = -75.227, y = 14.690, z = 75.537 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 61006, gadget_id = 70900007, pos = { x = -54.609, y = 15.139, z = 81.820 }, rot = { x = 0.000, y = 270.400, z = 0.000 }, level = 1, isOneoff = true, persistent = true }, + { config_id = 61007, gadget_id = 70310011, pos = { x = -75.227, y = 14.690, z = 68.031 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 61008, gadget_id = 70310011, pos = { x = -60.237, y = 14.690, z = 68.012 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 61009, gadget_id = 70310011, pos = { x = -67.723, y = 14.690, z = 75.522 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 61010, gadget_id = 70310011, pos = { x = -67.746, y = 14.675, z = 60.531 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 61011, gadget_id = 70310011, pos = { x = -72.805, y = 14.690, z = 65.541 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 61012, gadget_id = 70310011, pos = { x = -65.221, y = 14.690, z = 62.995 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 61013, gadget_id = 70310011, pos = { x = -62.699, y = 14.690, z = 70.603 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 61014, gadget_id = 70310011, pos = { x = -70.653, y = 14.690, z = 72.895 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 61015, gadget_id = 70310011, pos = { x = -72.141, y = 14.690, z = 69.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 61016, gadget_id = 70310011, pos = { x = -63.900, y = 14.690, z = 66.346 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1061017, name = "GADGET_STATE_CHANGE_61017", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_61017", action = "action_EVENT_GADGET_STATE_CHANGE_61017", trigger_count = 0 }, + { config_id = 1061018, name = "VARIABLE_CHANGE_61018", event = EventType.EVENT_VARIABLE_CHANGE, source = "State_Flag", condition = "condition_EVENT_VARIABLE_CHANGE_61018", action = "action_EVENT_VARIABLE_CHANGE_61018", trigger_count = 0 } +} + +-- 变量 +variables = { + { config_id = 1, name = "State_Flag", value = 0, no_refresh = true }, + { config_id = 2, name = "Door_Open", value = 0, no_refresh = true } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { }, + gadgets = { 61001, 61002, 61003, 61004, 61005, 61006, 61007, 61008, 61009, 61010, 61011, 61012, 61013, 61014, 61015, 61016 }, + regions = { }, + triggers = { "GADGET_STATE_CHANGE_61017", "VARIABLE_CHANGE_61018" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_61017(context, evt) + if evt.param2 ~= defs.gadget_riddle_1 and evt.param2 ~= defs.gadget_riddle_2 and evt.param2 ~= defs.gadget_riddle_3 and evt.param2 ~= defs.gadget_riddle_4 and evt.param2 ~= defs.gadget_riddle_5 and evt.param2 ~= defs.gadget_riddle_6 and evt.param2 ~= defs.gadget_riddle_7 and evt.param2 ~= defs.gadget_riddle_8 and evt.param2 ~= defs.gadget_riddle_9 and evt.param2 ~= defs.gadget_riddle_10 and evt.param2 ~= defs.gadget_riddle_11 and evt.param2 ~= defs.gadget_riddle_12 and evt.param2 ~= defs.gadget_riddle_13 and evt.param2 ~= defs.gadget_riddle_14 then + return false + end + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_61017(context, evt) + --映射点亮 + if evt.param2 == defs.gadget_riddle_1 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_1) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_1, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_1) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_1, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_2 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_2) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_2, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_2) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_2, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_3 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_3) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_3, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_3) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_3, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_4 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_4) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_4, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_4) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_4, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_5 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_5) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_5, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_5) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_5, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_6 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_6) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_6, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_6) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_6, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_7 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_7) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_7, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_7) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_7, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_8 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_8) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_8, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_8) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_8, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_9 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_9) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_9, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_9) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_9, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_10 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_10) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_10, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_10) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_10, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_11 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_11) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_11, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_11) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_11, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_12 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_12) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_12, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_12) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_12, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_13 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_13) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_13, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_13) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_13, GadgetState.GearAction1) + end + end + if evt.param2 == defs.gadget_riddle_14 and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_14) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_2, defs.gadget_riddle_14, GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_14) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id_3, defs.gadget_riddle_14, GadgetState.GearAction1) + end + end + --检查是否符合开门条件 + if ScriptLib.GetGroupVariableValue(context, "Door_Open") == 0 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_1) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_1) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_2) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_2) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_3) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_3) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_4) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_4) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_5) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_5) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_6) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_6) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_7) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_7) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_8) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_8) == GadgetState.GearAction1 then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_chest, GadgetState.GearStart) + ScriptLib.SetGroupVariableValueByGroup(context, "Door_Open", 1, defs.group_id) + ScriptLib.MarkPlayerAction(context, 5007, 2, 4) + ScriptLib.MarkPlayerAction(context, 5007, 3, 5) + end + end + end + end + end + end + end + end + end + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_61018(context, evt) + if evt.param1 == evt.param2 then return false end + + if evt.param1 < 0 or evt.param1 > 14 then + return false + end + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_61018(context, evt) + --单层点亮超3个熄灭所有 + if evt.param1 > 3 then + ScriptLib.SetGroupVariableValueByGroup(context, "State_Flag", 0, defs.group_id) + ScriptLib.SetGroupVariableValueByGroup(context, "State_Flag", 0, defs.group_id2) + ScriptLib.SetGroupVariableValueByGroup(context, "State_Flag", 0, defs.group_id3) + end + --灭火 + if evt.param1 == 0 then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_1, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_2, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_3, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_4, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_5, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_6, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_7, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_8, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_9, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_10, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_11, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_12, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_13, GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_14, GadgetState.Default) + end + return 0 + +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1011/scene1011_group201011062.lua b/Resources/Scripts/Scene/1011/scene1011_group201011062.lua index e69de29bb..7ffb4eec1 100644 --- a/Resources/Scripts/Scene/1011/scene1011_group201011062.lua +++ b/Resources/Scripts/Scene/1011/scene1011_group201011062.lua @@ -0,0 +1,331 @@ +-- 基础信息 +local base_info = { + group_id = 201011062 +} + +-- Trigger变量 +local defs = { + group_id = 201011062, + gadget_riddle_hint = 62001, + gadget_riddle_1 = 62002, + gadget_riddle_2 = 62003, + gadget_riddle_3 = 62004, + gadget_riddle_4 = 62005, + gadget_chest = 62006, + gadget_riddle_5 = 62007, + gadget_riddle_6 = 62008, + gadget_riddle_7 = 62009, + gadget_riddle_8 = 62010, + gadget_riddle_9 = 62011, + gadget_riddle_10 = 62012, + gadget_riddle_11 = 62013, + gadget_riddle_12 = 62014, + gadget_riddle_13 = 62015, + gadget_riddle_14 = 62016, + group_id_2 = 201011060, + group_id_3 = 201011061, + gadget_riddle_15 = 62019, + gadget_riddle_16 = 62020, + gadget_riddle_17 = 62021, + gadget_riddle_18 = 62022, + gadget_chest_2 = 62023, + gadget_riddle_19 = 62024, + gadget_riddle_20 = 62025, + gadget_riddle_21 = 62026, + gadget_riddle_22 = 62027, + gadget_riddle_23 = 62028, + gadget_riddle_24 = 62029, + gadget_riddle_25 = 62030, + gadget_riddle_26 = 62031, + gadget_riddle_27 = 62032, + gadget_riddle_28 = 62033, + gadget_riddle_29 = 62034, + gadget_riddle_30 = 62035, + gadget_riddle_31 = 62036, + gadget_riddle_32 = 62037, + gadget_chest_3 = 62038, + gadget_riddle_33 = 62039, + gadget_riddle_34 = 62040, + gadget_riddle_35 = 62041, + gadget_riddle_36 = 62042, + gadget_riddle_37 = 62043, + gadget_riddle_38 = 62044, + gadget_riddle_39 = 62045, + gadget_riddle_40 = 62046, + gadget_riddle_41 = 62047, + gadget_riddle_42 = 62048 +} + +-- DEFS_MISCS +local gadget_floor_1 = {62002,62003,62004,62005,62007,62008,62009,62010,62011,62012,62013,62014,62015,62016} +local gadget_floor_2 = {62019,62020,62021,62022,62024,62025,62026,62027,62028,62029,62030,62031,62032,62033} +local gadget_floor_3 = {62034,62035,62036,62037,62039,62040,62041,62042,62043,62044,62045,62046,62047,62048} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 62001, gadget_id = 70310012, pos = { x = -54.706, y = 0.500, z = 121.315 }, rot = { x = 0.000, y = 190.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62002, gadget_id = 70310011, pos = { x = -60.276, y = 0.486, z = 100.028 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62003, gadget_id = 70310011, pos = { x = -75.280, y = 0.500, z = 99.994 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62004, gadget_id = 70310011, pos = { x = -60.303, y = 0.500, z = 115.019 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62005, gadget_id = 70310011, pos = { x = -75.293, y = 0.500, z = 115.034 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62006, gadget_id = 70900007, pos = { x = -54.675, y = 0.949, z = 121.317 }, rot = { x = 0.000, y = 270.400, z = 0.000 }, level = 1, isOneoff = true, persistent = true }, + { config_id = 62007, gadget_id = 70310011, pos = { x = -75.293, y = 0.500, z = 107.528 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62008, gadget_id = 70310011, pos = { x = -60.303, y = 0.500, z = 107.509 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62009, gadget_id = 70310011, pos = { x = -67.790, y = 0.500, z = 115.019 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62010, gadget_id = 70310011, pos = { x = -67.813, y = 0.486, z = 100.028 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62011, gadget_id = 70310011, pos = { x = -72.872, y = 0.500, z = 105.038 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62012, gadget_id = 70310011, pos = { x = -65.287, y = 0.500, z = 102.492 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62013, gadget_id = 70310011, pos = { x = -62.765, y = 0.500, z = 110.100 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62014, gadget_id = 70310011, pos = { x = -70.719, y = 0.500, z = 112.391 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62015, gadget_id = 70310011, pos = { x = -72.207, y = 0.500, z = 109.097 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62016, gadget_id = 70310011, pos = { x = -63.966, y = 0.500, z = 105.843 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62019, gadget_id = 70310011, pos = { x = -60.276, y = 7.386, z = 100.028 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62020, gadget_id = 70310011, pos = { x = -75.280, y = 7.400, z = 99.994 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62021, gadget_id = 70310011, pos = { x = -60.303, y = 7.400, z = 115.019 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62022, gadget_id = 70310011, pos = { x = -75.300, y = 7.400, z = 115.000 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62023, gadget_id = 70900007, pos = { x = -54.675, y = 7.849, z = 121.317 }, rot = { x = 0.000, y = 270.400, z = 0.000 }, level = 1, isOneoff = true, persistent = true }, + { config_id = 62024, gadget_id = 70310011, pos = { x = -75.293, y = 7.400, z = 107.528 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62025, gadget_id = 70310011, pos = { x = -60.303, y = 7.400, z = 107.509 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62026, gadget_id = 70310011, pos = { x = -67.790, y = 7.400, z = 115.019 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62027, gadget_id = 70310011, pos = { x = -67.813, y = 7.386, z = 100.028 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62028, gadget_id = 70310011, pos = { x = -72.872, y = 7.400, z = 105.038 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62029, gadget_id = 70310011, pos = { x = -65.287, y = 7.400, z = 102.492 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62030, gadget_id = 70310011, pos = { x = -62.765, y = 7.400, z = 110.100 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62031, gadget_id = 70310011, pos = { x = -70.719, y = 7.400, z = 112.391 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62032, gadget_id = 70310011, pos = { x = -72.207, y = 7.400, z = 109.097 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62033, gadget_id = 70310011, pos = { x = -63.966, y = 7.400, z = 105.843 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62034, gadget_id = 70310011, pos = { x = -60.276, y = 14.686, z = 100.028 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62035, gadget_id = 70310011, pos = { x = -75.280, y = 14.700, z = 99.994 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62036, gadget_id = 70310011, pos = { x = -60.303, y = 14.700, z = 115.019 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62037, gadget_id = 70310011, pos = { x = -75.293, y = 14.700, z = 115.034 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62038, gadget_id = 70900007, pos = { x = -54.675, y = 15.149, z = 121.317 }, rot = { x = 0.000, y = 270.400, z = 0.000 }, level = 1, isOneoff = true, persistent = true }, + { config_id = 62039, gadget_id = 70310011, pos = { x = -75.293, y = 14.700, z = 107.528 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62040, gadget_id = 70310011, pos = { x = -60.303, y = 14.700, z = 107.509 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62041, gadget_id = 70310011, pos = { x = -67.790, y = 14.700, z = 115.019 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62042, gadget_id = 70310011, pos = { x = -67.813, y = 14.686, z = 100.028 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62043, gadget_id = 70310011, pos = { x = -72.872, y = 14.700, z = 105.038 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62044, gadget_id = 70310011, pos = { x = -65.287, y = 14.700, z = 102.492 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62045, gadget_id = 70310011, pos = { x = -62.765, y = 14.700, z = 110.100 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62046, gadget_id = 70310011, pos = { x = -70.719, y = 14.700, z = 112.391 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62047, gadget_id = 70310011, pos = { x = -72.207, y = 14.700, z = 109.097 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }, + { config_id = 62048, gadget_id = 70310011, pos = { x = -63.966, y = 14.700, z = 105.843 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1062017, name = "GADGET_STATE_CHANGE_62017", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_62017", action = "action_EVENT_GADGET_STATE_CHANGE_62017", trigger_count = 0 }, + { config_id = 1062018, name = "VARIABLE_CHANGE_62018", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_62018", action = "action_EVENT_VARIABLE_CHANGE_62018", trigger_count = 0 } +} + +-- 变量 +variables = { + { config_id = 1, name = "State_Floor_1", value = 0, no_refresh = true }, + { config_id = 2, name = "State_Floor_2", value = 0, no_refresh = true }, + { config_id = 3, name = "State_Floor_3", value = 0, no_refresh = true }, + { config_id = 4, name = "Door_Open_1", value = 0, no_refresh = true }, + { config_id = 5, name = "Door_Open_2", value = 0, no_refresh = true }, + { config_id = 6, name = "Door_Open_3", value = 0, no_refresh = true }, + { config_id = 7, name = "Right_Floor_1", value = 0, no_refresh = true }, + { config_id = 8, name = "Right_Floor_2", value = 0, no_refresh = true }, + { config_id = 9, name = "Right_Floor_3", value = 0, no_refresh = true } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { }, + gadgets = { 62001, 62002, 62003, 62004, 62005, 62006, 62007, 62008, 62009, 62010, 62011, 62012, 62013, 62014, 62015, 62016, 62019, 62020, 62021, 62022, 62023, 62024, 62025, 62026, 62027, 62028, 62029, 62030, 62031, 62032, 62033, 62034, 62035, 62036, 62037, 62038, 62039, 62040, 62041, 62042, 62043, 62044, 62045, 62046, 62047, 62048 }, + regions = { }, + triggers = { "GADGET_STATE_CHANGE_62017", "VARIABLE_CHANGE_62018" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_62017(context, evt) + if evt.param2 ~= defs.gadget_riddle_1 and evt.param2 ~= defs.gadget_riddle_2 and evt.param2 ~= defs.gadget_riddle_3 and evt.param2 ~= defs.gadget_riddle_4 and evt.param2 ~= defs.gadget_riddle_5 and evt.param2 ~= defs.gadget_riddle_6 and evt.param2 ~= defs.gadget_riddle_7 and evt.param2 ~= defs.gadget_riddle_8 and evt.param2 ~= defs.gadget_riddle_9 and evt.param2 ~= defs.gadget_riddle_10 and evt.param2 ~= defs.gadget_riddle_11 and evt.param2 ~= defs.gadget_riddle_12 and evt.param2 ~= defs.gadget_riddle_13 and evt.param2 ~= defs.gadget_riddle_14 and evt.param2 ~= defs.gadget_riddle_15 and evt.param2 ~= defs.gadget_riddle_16 and evt.param2 ~= defs.gadget_riddle_17 and evt.param2 ~= defs.gadget_riddle_18 and evt.param2 ~= defs.gadget_riddle_19 and evt.param2 ~= defs.gadget_riddle_20 and evt.param2 ~= defs.gadget_riddle_21 and evt.param2 ~= defs.gadget_riddle_22 and evt.param2 ~= defs.gadget_riddle_23 and evt.param2 ~= defs.gadget_riddle_24 and evt.param2 ~= defs.gadget_riddle_25 and evt.param2 ~= defs.gadget_riddle_26 and evt.param2 ~= defs.gadget_riddle_27 and evt.param2 ~= defs.gadget_riddle_28 and evt.param2 ~= defs.gadget_riddle_29 and evt.param2 ~= defs.gadget_riddle_30 and evt.param2 ~= defs.gadget_riddle_31 and evt.param2 ~= defs.gadget_riddle_32 and evt.param2 ~= defs.gadget_riddle_33 and evt.param2 ~= defs.gadget_riddle_34 and evt.param2 ~= defs.gadget_riddle_35 and evt.param2 ~= defs.gadget_riddle_36 and evt.param2 ~= defs.gadget_riddle_37 and evt.param2 ~= defs.gadget_riddle_38 and evt.param2 ~= defs.gadget_riddle_39 and evt.param2 ~= defs.gadget_riddle_40 and evt.param2 ~= defs.gadget_riddle_41 and evt.param2 ~= defs.gadget_riddle_42 then + return false + end + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_62017(context, evt) + --起点记录 + if ScriptLib.GetCurTriggerCount(context) == 0 then + ScriptLib.MarkPlayerAction(context, 5007, 1, 1) + end + --映射点亮 + + for i = 1,14 do + if evt.param2 == gadget_floor_1[i] and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Floor_1", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, gadget_floor_2[i]) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, gadget_floor_2[i], GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, gadget_floor_3[i]) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, gadget_floor_3[i], GadgetState.GearAction1) + end + break + end + end + --检查是否符合开门条件 + if ScriptLib.GetGroupVariableValue(context, "Door_Open_1") == 0 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_5) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_5) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_1) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_1) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_3) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_3) == GadgetState.GearAction1 then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_chest, GadgetState.GearStart) + ScriptLib.SetGroupVariableValueByGroup(context, "Door_Open_1", 1, defs.group_id) + ScriptLib.MarkPlayerAction(context, 5007, 2, 2) + end + end + end + end + for i = 1,14 do + if evt.param2 == gadget_floor_2[i] and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Floor_2", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, gadget_floor_1[i]) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, gadget_floor_1[i], GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, gadget_floor_3[i]) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, gadget_floor_3[i], GadgetState.GearAction1) + end + break + end + end + --检查是否符合开门条件 + if ScriptLib.GetGroupVariableValue(context, "Door_Open_2") == 0 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_15) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_15) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_16) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_16) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_17) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_17) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_18) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_18) == GadgetState.GearAction1 then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_chest_2, GadgetState.GearStart) + ScriptLib.SetGroupVariableValueByGroup(context, "Door_Open_2", 1, defs.group_id) + ScriptLib.MarkPlayerAction(context, 5007, 2, 3) + end + end + end + end + end + for i = 1,14 do + if evt.param2 == gadget_floor_3[i] and evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Floor_3", 1) + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, gadget_floor_1[i]) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, gadget_floor_1[i], GadgetState.GearAction1) + end + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, gadget_floor_2[i]) == GadgetState.Default then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, gadget_floor_2[i], GadgetState.GearAction1) + end + break + end + end + --检查是否符合开门条件 + if ScriptLib.GetGroupVariableValue(context, "Door_Open_3") == 0 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_29) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_29) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_30) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_30) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_31) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_31) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_32) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_32) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_33) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_33) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_34) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_34) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_35) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_35) == GadgetState.GearAction1 then + if ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_36) == GadgetState.GearStart or + ScriptLib.GetGadgetStateByConfigId(context, defs.group_id, defs.gadget_riddle_36) == GadgetState.GearAction1 then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.gadget_chest_3, GadgetState.GearStart) + ScriptLib.SetGroupVariableValueByGroup(context, "Door_Open_3", 1, defs.group_id) + ScriptLib.MarkPlayerAction(context, 5007, 2, 4) + ScriptLib.MarkPlayerAction(context, 5007, 3, 5) + end + end + end + end + end + end + end + end + end + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_62018(context, evt) + if evt.param1 == evt.param2 then return false end + + if evt.param1 < 0 then + return false + end + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_62018(context, evt) + --单层点亮超3个熄灭所有 + if evt.param1 >= 4 then + for i = 1,14 do + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, gadget_floor_1[i], GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, gadget_floor_2[i], GadgetState.Default) + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, gadget_floor_3[i], GadgetState.Default) + end + ScriptLib.SetGroupVariableValue(context, "State_Floor_1", 0) + ScriptLib.SetGroupVariableValue(context, "State_Floor_2", 0) + ScriptLib.SetGroupVariableValue(context, "State_Floor_3", 0) + end + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/1056/scene1056_group201056005.lua b/Resources/Scripts/Scene/1056/scene1056_group201056005.lua index e69de29bb..638195f3c 100644 --- a/Resources/Scripts/Scene/1056/scene1056_group201056005.lua +++ b/Resources/Scripts/Scene/1056/scene1056_group201056005.lua @@ -0,0 +1,171 @@ +-- 基础信息 +local base_info = { + group_id = 201056005 +} + +-- Trigger变量 +local defs = { + max_gear = 3, + timer = 10, + group_id = 201056005, + gadget_1 = 5001, + gadget_2 = 5002, + gadget_3 = 5003, + gadget_4 = 5005, + gadget_chest = 5004 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 5001, gadget_id = 70900051, pos = { x = -53.233, y = -0.874, z = 51.080 }, rot = { x = 0.000, y = 330.800, z = 0.000 }, level = 1, state = GadgetState.Action01, persistent = true }, + { config_id = 5002, gadget_id = 70900051, pos = { x = -44.852, y = -0.874, z = 51.080 }, rot = { x = 0.000, y = 330.800, z = 0.000 }, level = 1, state = GadgetState.Action01, persistent = true }, + { config_id = 5003, gadget_id = 70900051, pos = { x = -48.920, y = -0.874, z = 55.295 }, rot = { x = 0.000, y = 330.800, z = 0.000 }, level = 1, state = GadgetState.Action01, persistent = true } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1005006, name = "GADGET_STATE_CHANGE_5006", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_5006", action = "action_EVENT_GADGET_STATE_CHANGE_5006", trigger_count = 0 }, + { config_id = 1005007, name = "TIMER_EVENT_5007", event = EventType.EVENT_TIMER_EVENT, source = "", condition = "condition_EVENT_TIMER_EVENT_5007", action = "action_EVENT_TIMER_EVENT_5007", trigger_count = 0 }, + { config_id = 1005008, name = "VARIABLE_CHANGE_5008", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_5008", action = "action_EVENT_VARIABLE_CHANGE_5008", trigger_count = 0 } +} + +-- 变量 +variables = { + { config_id = 1, name = "active_count", value = 0, no_refresh = false } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { }, + gadgets = { 5001, 5002, 5003 }, + regions = { }, + triggers = { "GADGET_STATE_CHANGE_5006", "TIMER_EVENT_5007", "VARIABLE_CHANGE_5008" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_5006(context, evt) + if defs.gadget_1 ~= evt.param2 and defs.gadget_2 ~= evt.param2 and defs.gadget_3 ~= evt.param2 then + return false + end + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_5006(context, evt) + if 0 == ScriptLib.GetGroupVariableValue(context, "active_count") then + ScriptLib.MarkPlayerAction(context, 1001, 1, 1) + end + if evt.param1 == GadgetState.Action01 then + ScriptLib.ChangeGroupVariableValue(context, "active_count", -1) + elseif evt.param1 == GadgetState.Action02 then + ScriptLib.ChangeGroupVariableValue(context, "active_count", 1) + ScriptLib.CreateGroupTimerEvent(context, defs.group_id, tostring(evt.param2), defs.timer) + else + return -1 + end + return 0 +end + +-- 触发条件 +function condition_EVENT_TIMER_EVENT_5007(context, evt) + if evt.source_name ~= tostring(defs.gadget_1) and evt.source_name ~= tostring(defs.gadget_2) and evt.source_name ~= tostring(defs.gadget_3) then + return false + end + return true +end + +-- 触发操作 +function action_EVENT_TIMER_EVENT_5007(context, evt) + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, tonumber(evt.source_name), GadgetState.Action01) then + return -1 + end + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_5008(context, evt) + if evt.param1 == evt.param2 then return false end + + if evt.param1 == -1 then + ScriptLib.MarkPlayerAction(context, 1001, 4, 1) + end + if evt.param1 ~= defs.max_gear then + return false + end + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_5008(context, evt) + ScriptLib.CancelGroupTimerEvent(context, defs.group_id, tostring(defs.gadget_1)) + ScriptLib.CancelGroupTimerEvent(context, defs.group_id, tostring(defs.gadget_2)) + ScriptLib.CancelGroupTimerEvent(context, defs.group_id, tostring(defs.gadget_3)) + + if defs.gadget_1 ~= 0 then + ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_1, GadgetState.GearStart) + end + + if defs.gadget_2 ~= 0 then + ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_2, GadgetState.GearStart) + end + + if defs.gadget_3 ~=0 then + ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_3, GadgetState.GearStart) + end + + -- 改变指定group组201056003中, configid为3035的gadget的state + if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 201056003, 3035, GadgetState.ChestOpened) then + return -1 + end + + ScriptLib.MarkPlayerAction(context, 1001, 3, 1) + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20000/scene20000_group220000001.lua b/Resources/Scripts/Scene/20000/scene20000_group220000001.lua index e69de29bb..94fce5795 100644 --- a/Resources/Scripts/Scene/20000/scene20000_group220000001.lua +++ b/Resources/Scripts/Scene/20000/scene20000_group220000001.lua @@ -0,0 +1,284 @@ +-- 基础信息 +local base_info = { + group_id = 220000001 +} + +-- Trigger变量 +local defs = { + monster_id_1 = 1001, + monster_id_2 = 1002, + monster_id_3 = 1003, + monster_id_4 = 1004, + monster_id_5 = 1005, + monster_id_6 = 1006, + monster_id_7 = 1007, + monster_id_8 = 1008, + gadget_id_1 = 100, + gadget_id_2 = 101, + gadget_id_3 = 102 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 1001, monster_id = 20010801, pos = { x = 57.499, y = 0.500, z = -2.595 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1002, monster_id = 20010801, pos = { x = 64.907, y = 0.500, z = 5.814 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1003, monster_id = 20011001, pos = { x = 60.626, y = 0.500, z = 0.895 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1004, monster_id = 20010901, pos = { x = 56.622, y = 0.500, z = 8.253 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1005, monster_id = 20011001, pos = { x = 53.984, y = 0.500, z = 5.116 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1006, monster_id = 20011001, pos = { x = 58.994, y = 0.500, z = 5.488 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1007, monster_id = 20011101, pos = { x = 52.430, y = 0.500, z = 6.416 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1008, monster_id = 20010901, pos = { x = 62.412, y = 0.500, z = 7.166 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 1009, gadget_id = 70350001, pos = { x = 57.011, y = 0.500, z = -22.590 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1010, gadget_id = 70360002, pos = { x = 63.180, y = 0.500, z = -28.576 }, rot = { x = 0.000, y = 161.385, z = 0.000 }, level = 1 }, + { config_id = 1011, gadget_id = 70211011, pos = { x = 111.400, y = 22.900, z = -36.916 }, rot = { x = 0.000, y = 95.413, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", isOneoff = true }, + { config_id = 1012, gadget_id = 70211011, pos = { x = 111.417, y = 22.900, z = -40.480 }, rot = { x = 0.000, y = 29.270, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", isOneoff = true }, + { config_id = 1013, gadget_id = 70380002, pos = { x = 21.541, y = 2.923, z = -22.585 }, rot = { x = 270.000, y = 0.000, z = 0.000 }, level = 1, route_id = 1 } +} + +-- 区域 +regions = { + { config_id = 10, shape = RegionShape.SPHERE, radius = 19.05, pos = { x = 58.247, y = 0.500, z = -39.930 } }, + { config_id = 11, shape = RegionShape.SPHERE, radius = 20.08, pos = { x = 18.585, y = 0.500, z = -41.411 } } +} + +-- 触发器 +triggers = { + { config_id = 1000001, name = "GADGET_CREATE_1", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_1", action = "action_EVENT_GADGET_CREATE_1" }, + { config_id = 1000003, name = "SELECT_OPTION_3", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_3", action = "action_EVENT_SELECT_OPTION_3", forbid_guest = false }, + { config_id = 1000004, name = "SELECT_OPTION_4", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_4", action = "action_EVENT_SELECT_OPTION_4", forbid_guest = false }, + { config_id = 1000005, name = "SELECT_OPTION_5", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_5", action = "action_EVENT_SELECT_OPTION_5", forbid_guest = false }, + { config_id = 1000010, name = "ENTER_REGION_10", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_10", action = "action_EVENT_ENTER_REGION_10", trigger_count = 0, forbid_guest = false }, + { config_id = 1000011, name = "ENTER_REGION_11", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_11", action = "action_EVENT_ENTER_REGION_11", trigger_count = 0, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 1009, 1010, 1011, 1012, 1013 }, + regions = { 10, 11 }, + triggers = { "GADGET_CREATE_1", "SELECT_OPTION_3", "SELECT_OPTION_4", "SELECT_OPTION_5", "ENTER_REGION_10", "ENTER_REGION_11" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_1(context, evt) + if 1010 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_1(context, evt) + -- 设置操作台选项 + if 0 ~= ScriptLib.SetWorktopOptions(context, {100,101,102}) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_3(context, evt) + -- 判断是gadgetid 1010 + if 1010 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_3(context, evt) + -- 根据不同的选项做不同的操作 + if defs.gadget_id_1 == evt.param2 then + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = defs.monster_id_1, delay_time = 0 }) then + return -1 + end + + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = defs.monster_id_2, delay_time = 0 }) then + return -1 + end + + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = defs.monster_id_3, delay_time = 0 }) then + return -1 + end + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.monster_id_1, GadgetState.GearStart) then + return -1 + end + return 0 + end + + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_4(context, evt) + -- 判断是gadgetid 1010 + if 1010 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_4(context, evt) + -- 根据不同的选项做不同的操作 + if defs.gadget_id_2 == evt.param2 then + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = defs.monster_id_4, delay_time = 0 }) then + return -1 + end + + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = defs.monster_id_5, delay_time = 0 }) then + return -1 + end + + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = defs.monster_id_6, delay_time = 0 }) then + return -1 + end + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.monster_id_1, GadgetState.GearStart) then + return -1 + end + return 0 + end + + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_5(context, evt) + -- 判断是gadgetid 1010 + if 1010 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_5(context, evt) + -- 根据不同的选项做不同的操作 + if defs.gadget_id_3 == evt.param2 then + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = defs.monster_id_7, delay_time = 0 }) then + return -1 + end + + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = defs.monster_id_8, delay_time = 0 }) then + return -1 + end + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.monster_id_1, GadgetState.GearStart) then + return -1 + end + return 0 + end + + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_10(context, evt) + if evt.param1 ~= 10 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_10(context, evt) + -- play_type含义:1·代表开始播放; 2·代表停止播放 + -- 在指定位置播放或停止音效资源 + pos = {x=53, y=2, z=-53} + if 0 ~= ScriptLib.ScenePlaySound(context, {play_pos = pos, sound_name = "LevelHornSound001", play_type= 1, is_broadcast = false }) then + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_11(context, evt) + if evt.param1 ~= 11 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_11(context, evt) + -- play_type含义:1·代表开始播放; 2·代表停止播放 + -- 在指定位置播放或停止音效资源 + pos = {x=53, y=2, z=-53} + if 0 ~= ScriptLib.ScenePlaySound(context, {play_pos = pos, sound_name = "LevelHornSound001", play_type= 2, is_broadcast = false }) then + return -1 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20000/scene20000_group220000002.lua b/Resources/Scripts/Scene/20000/scene20000_group220000002.lua index e69de29bb..6c57e5a80 100644 --- a/Resources/Scripts/Scene/20000/scene20000_group220000002.lua +++ b/Resources/Scripts/Scene/20000/scene20000_group220000002.lua @@ -0,0 +1,224 @@ +-- 基础信息 +local base_info = { + group_id = 220000002 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 2001, + gadget_id_2 = 2002 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 2001, gadget_id = 70350002, pos = { x = 59.118, y = 0.500, z = -57.825 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 2002, gadget_id = 70350003, pos = { x = 23.628, y = 0.500, z = -57.671 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 2003, gadget_id = 70360002, pos = { x = 54.907, y = 0.500, z = -54.910 }, rot = { x = 0.000, y = 358.317, z = 0.000 }, level = 1 }, + { config_id = 2004, gadget_id = 70360002, pos = { x = 19.966, y = 0.500, z = -55.153 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { + { config_id = 12, shape = RegionShape.SPHERE, radius = 5, pos = { x = 21.552, y = 0.400, z = 0.159 } } +} + +-- 触发器 +triggers = { + { config_id = 1000006, name = "GADGET_CREATE_6", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_6", action = "action_EVENT_GADGET_CREATE_6" }, + { config_id = 1000007, name = "SELECT_OPTION_7", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_7", action = "action_EVENT_SELECT_OPTION_7", trigger_count = 0, forbid_guest = false }, + { config_id = 1000008, name = "GADGET_CREATE_8", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_8", action = "action_EVENT_GADGET_CREATE_8" }, + { config_id = 1000009, 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, forbid_guest = false }, + { config_id = 1000012, name = "ENTER_REGION_12", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_12", action = "action_EVENT_ENTER_REGION_12", forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 2001, 2002, 2003, 2004 }, + regions = { 12 }, + triggers = { "GADGET_CREATE_6", "SELECT_OPTION_7", "GADGET_CREATE_8", "SELECT_OPTION_9", "ENTER_REGION_12" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_6(context, evt) + if 2003 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_6(context, evt) + -- 设置操作台选项 + if 0 ~= ScriptLib.SetWorktopOptions(context, {1,4}) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_7(context, evt) + -- 判断是gadgetid 2003 + if 2003 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_7(context, evt) + -- 根据不同的选项做不同的操作 + if 1 == evt.param2 then + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2001, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_option") + return -1 + end + return 0 + end + + -- 根据不同的选项做不同的操作 + if 4 == evt.param2 then + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2001, GadgetState.Default) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_option") + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_8(context, evt) + if 2004 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_8(context, evt) + -- 设置操作台选项 + if 0 ~= ScriptLib.SetWorktopOptions(context, {1,4}) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_9(context, evt) + -- 判断是gadgetid 2004 + if 2004 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_9(context, evt) + -- 根据不同的选项做不同的操作 + if 1 == evt.param2 then + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2002, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_option") + return -1 + end + return 0 + end + + -- 根据不同的选项做不同的操作 + if 4 == evt.param2 then + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2002, GadgetState.Default) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_option") + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_12(context, evt) + if evt.param1 ~= 12 then return false end + + -- 判断是gadgetid 2003 + if 2003 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_12(context, evt) + -- 根据不同的选项做不同的操作 + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, GadgetState.Default) then + return -1 + end + return -1 + end + + -- 杀死Group内所有monster + if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220000002, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then + return -1 + end + + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20000/scene20000_group220000004.lua b/Resources/Scripts/Scene/20000/scene20000_group220000004.lua index e69de29bb..fd5dd6424 100644 --- a/Resources/Scripts/Scene/20000/scene20000_group220000004.lua +++ b/Resources/Scripts/Scene/20000/scene20000_group220000004.lua @@ -0,0 +1,173 @@ +-- 基础信息 +local base_info = { + group_id = 220000004 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 4005, + gadget_id_2 = 120, + gadget_id_3 = 121 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 4001, monster_id = 21020101, pos = { x = -67.068, y = 0.470, z = -37.355 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 4002, monster_id = 20011001, pos = { x = -69.966, y = 0.470, z = -41.026 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 4003, monster_id = 20011001, pos = { x = -69.455, y = 0.470, z = -33.898 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 4004, monster_id = 21020201, pos = { x = -74.544, y = 0.470, z = -38.009 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 4005, gadget_id = 70350002, pos = { x = -42.421, y = 0.470, z = -37.486 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 4006, gadget_id = 70360002, pos = { x = -39.910, y = 0.450, z = -33.825 }, rot = { x = 0.000, y = 108.316, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000013, name = "GADGET_CREATE_13", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_13", action = "action_EVENT_GADGET_CREATE_13" }, + { config_id = 1000014, name = "SELECT_OPTION_14", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_14", action = "action_EVENT_SELECT_OPTION_14", forbid_guest = false }, + { config_id = 1000015, name = "SELECT_OPTION_15", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_15", action = "action_EVENT_SELECT_OPTION_15", forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 4005, 4006 }, + regions = { }, + triggers = { "GADGET_CREATE_13", "SELECT_OPTION_14", "SELECT_OPTION_15" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_13(context, evt) + if 4006 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_13(context, evt) + -- 设置操作台选项 + if 0 ~= ScriptLib.SetWorktopOptions(context, {120,121}) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_14(context, evt) + -- 判断是gadgetid 4006 + if 4006 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_14(context, evt) + -- 根据不同的选项做不同的操作 + if defs.gadget_id_2 == evt.param2 then + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 13, delay_time = 0 }) then + return -1 + end + + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 14, delay_time = 0 }) then + return -1 + end + + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 15, delay_time = 0 }) then + return -1 + end + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, GadgetState.GearStart) then + return -1 + end + return 0 + end + + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_15(context, evt) + -- 判断是gadgetid 4006 + if 4006 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_15(context, evt) + -- 根据不同的选项做不同的操作 + if defs.gadget_id_3 == evt.param2 then + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 16, delay_time = 0 }) then + return -1 + end + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, GadgetState.Default) then + return -1 + end + return 0 + end + + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20000/scene20000_group220000005.lua b/Resources/Scripts/Scene/20000/scene20000_group220000005.lua index e69de29bb..4e291442e 100644 --- a/Resources/Scripts/Scene/20000/scene20000_group220000005.lua +++ b/Resources/Scripts/Scene/20000/scene20000_group220000005.lua @@ -0,0 +1,320 @@ +-- 基础信息 +local base_info = { + group_id = 220000005 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 5006, + gadget_id_2 = 5002, + gadget_id_3 = 5003, + gadget_id_4 = 5001, + gadget_id_5 = 5007, + gadget_id_6 = 7001 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 5001, gadget_id = 70900007, pos = { x = 67.167, y = 0.587, z = -40.812 }, rot = { x = 0.000, y = 305.180, z = 0.000 }, level = 1, state = GadgetState.GearStop }, + { config_id = 5002, gadget_id = 70900008, pos = { x = 73.981, y = 0.547, z = -48.492 }, rot = { x = 0.000, y = 159.915, z = 0.000 }, level = 1, state = GadgetState.GearStop }, + { config_id = 5003, gadget_id = 70900009, pos = { x = 76.723, y = 0.500, z = -32.653 }, rot = { x = 0.000, y = 29.283, z = 0.000 }, level = 1, state = GadgetState.GearStop }, + { config_id = 5004, gadget_id = 70350003, pos = { x = 73.703, y = 1.529, z = -53.205 }, rot = { x = 0.000, y = 15.515, z = 0.000 }, level = 1 }, + { config_id = 5005, gadget_id = 70350003, pos = { x = 75.804, y = 1.433, z = -28.966 }, rot = { x = 0.000, y = 135.560, z = 0.000 }, level = 1 }, + { config_id = 5006, gadget_id = 70211012, pos = { x = 87.927, y = 0.500, z = -61.169 }, rot = { x = 0.000, y = 5.447, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", state = GadgetState.ChestLocked, showcutscene = true, isOneoff = true }, + { config_id = 5007, gadget_id = 70360001, pos = { x = 84.636, y = 1.323, z = -51.203 }, rot = { x = 0.000, y = 206.115, z = 0.000 }, level = 1 }, + { config_id = 5008, gadget_id = 70500000, pos = { x = 88.057, y = 0.500, z = -27.508 }, rot = { x = 0.000, y = 104.057, z = 0.000 }, level = 1, point_type = 2019 }, + { config_id = 5009, gadget_id = 70211011, pos = { x = 85.100, y = 0.500, z = -30.860 }, rot = { x = 0.000, y = 168.034, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", showcutscene = true, isOneoff = true } +} + +-- 区域 +regions = { + { config_id = 21, shape = RegionShape.SPHERE, radius = 5, pos = { x = 65.644, y = 0.500, z = -41.466 } }, + { config_id = 69, shape = RegionShape.SPHERE, radius = 11.6, pos = { x = 87.168, y = 0.500, z = -62.278 } } +} + +-- 触发器 +triggers = { + { config_id = 1000016, name = "GADGET_STATE_CHANGE_16", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_16", action = "action_EVENT_GADGET_STATE_CHANGE_16", trigger_count = 0 }, + { config_id = 1000017, name = "GADGET_STATE_CHANGE_17", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_17", action = "action_EVENT_GADGET_STATE_CHANGE_17", trigger_count = 0 }, + { config_id = 1000018, name = "GADGET_STATE_CHANGE_18", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_18", action = "action_EVENT_GADGET_STATE_CHANGE_18", trigger_count = 0 }, + { config_id = 1000019, name = "GADGET_STATE_CHANGE_19", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_19", action = "action_EVENT_GADGET_STATE_CHANGE_19", trigger_count = 0 }, + { config_id = 1000020, name = "GADGET_STATE_CHANGE_20", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_20", action = "action_EVENT_GADGET_STATE_CHANGE_20", trigger_count = 0 }, + { config_id = 1000021, name = "ENTER_REGION_21", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_21", action = "action_EVENT_ENTER_REGION_21", trigger_count = 0, forbid_guest = false }, + { config_id = 1000022, name = "GADGET_CREATE_22", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_22", action = "action_EVENT_GADGET_CREATE_22" }, + { config_id = 1000023, name = "SELECT_OPTION_23", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_23", action = "action_EVENT_SELECT_OPTION_23", forbid_guest = false }, + { config_id = 1000024, name = "GATHER_24", event = EventType.EVENT_GATHER, source = "21", condition = "", action = "action_EVENT_GATHER_24", forbid_guest = false }, + { config_id = 1000069, name = "ENTER_REGION_69", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_69", action = "action_EVENT_ENTER_REGION_69", forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 5001, 5002, 5003, 5004, 5005, 5006, 5007, 5008 }, + regions = { 21, 69 }, + triggers = { "GADGET_STATE_CHANGE_16", "GADGET_STATE_CHANGE_17", "GADGET_STATE_CHANGE_18", "GADGET_STATE_CHANGE_19", "GADGET_STATE_CHANGE_20", "ENTER_REGION_21", "GADGET_CREATE_22", "SELECT_OPTION_23", "GATHER_24", "ENTER_REGION_69" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_16(context, evt) + if GadgetState.GearStart ~= evt.param1 or defs.gadget_id_2 ~= evt.param2 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_16(context, evt) + -- 将configid为 5004 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 5004, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_17(context, evt) + if GadgetState.GearStart ~= evt.param1 or defs.gadget_id_3 ~= evt.param2 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_17(context, evt) + -- 将configid为 5005 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 5005, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_18(context, evt) + if GadgetState.GearStart ~= evt.param1 or defs.gadget_id_4 ~= evt.param2 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_18(context, evt) + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220000018, suite = 1 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_19(context, evt) + ScriptLib.PrintLog(context, "enter condition judge") + if GadgetState.GearStop ~= evt.param1 or defs.gadget_id_2 ~= evt.param2 then + ScriptLib.PrintLog(context, "judge false") + return false + end + + ScriptLib.PrintLog(context, "judge true") + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_19(context, evt) + -- 将configid为 5004 的物件更改为状态 GadgetState.GearStop + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 5004, GadgetState.GearStop) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_20(context, evt) + ScriptLib.PrintLog(context, "enter condition judge") + if GadgetState.GearStop ~= evt.param1 or defs.gadget_id_3 ~= evt.param2 then + ScriptLib.PrintLog(context, "judge false") + return false + + end + + ScriptLib.PrintLog(context, "judge true") + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_20(context, evt) + -- 将configid为 5005 的物件更改为状态 GadgetState.GearStop + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 5005, GadgetState.GearStop) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_21(context, evt) + ScriptLib.PrintLog(context, "Enter condition judge") + if GadgetState.GearStop ~= evt.param1 or defs.gadget_id_4 ~= evt.param2 then + ScriptLib.PrintLog(context, "judge false") + return false + end + + ScriptLib.PrintLog(context, "judge true") + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_21(context, evt) + -- 将configid为 15 的物件更改为状态 GadgetState.GearStop + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 15, GadgetState.GearStop) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_22(context, evt) + if 5007 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_22(context, evt) + -- 设置操作台选项 + if 0 ~= ScriptLib.SetWorktopOptions(context, {23}) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_23(context, evt) + -- 判断是gadgetid 5007 + if 5007 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_23(context, evt) + -- 根据不同的选项做不同的操作 + if defs.gadget_id_6 == evt.param2 then + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_1 }) then + return -1 + end + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220000006, suite = 2 }) then + return -1 + end + if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 220000005, defs.gadget_id_5,23 ) then + return -1 + end + + end + + + + -- 重新生成指定group,指定suite + + + return 0 +end + +-- 触发操作 +function action_EVENT_GATHER_24(context, evt) + -- 创建id为5009的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 5009 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_69(context, evt) + if evt.param1 ~= 69 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_69(context, evt) + -- 解锁目标5006 + if 0 ~= ScriptLib.ChangeGroupGadget(context, { config_id = 5006, state = GadgetState.Default }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : unlock_gadget") + return -1 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20000/scene20000_group220000007.lua b/Resources/Scripts/Scene/20000/scene20000_group220000007.lua index 02f8e7016..38d986269 100644 --- a/Resources/Scripts/Scene/20000/scene20000_group220000007.lua +++ b/Resources/Scripts/Scene/20000/scene20000_group220000007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 7004, gadget_id_2 = 7003 } diff --git a/Resources/Scripts/Scene/20000/scene20000_group220000008.lua b/Resources/Scripts/Scene/20000/scene20000_group220000008.lua index 8fafea000..2d0585ec5 100644 --- a/Resources/Scripts/Scene/20000/scene20000_group220000008.lua +++ b/Resources/Scripts/Scene/20000/scene20000_group220000008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 30 } diff --git a/Resources/Scripts/Scene/20000/scene20000_group220000010.lua b/Resources/Scripts/Scene/20000/scene20000_group220000010.lua index e69de29bb..bd5fe7711 100644 --- a/Resources/Scripts/Scene/20000/scene20000_group220000010.lua +++ b/Resources/Scripts/Scene/20000/scene20000_group220000010.lua @@ -0,0 +1,188 @@ +-- 基础信息 +local base_info = { + group_id = 220000010 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 50, + gadget_id_2 = 49, + gadget_id_3 = 1, + gadget_id_4 = 4 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 43, gadget_id = 70900025, pos = { x = 42.332, y = 1.660, z = -29.665 }, rot = { x = 0.000, y = 335.536, z = 0.000 }, level = 1 }, + { config_id = 44, gadget_id = 70900025, pos = { x = 36.384, y = 2.361, z = -29.913 }, rot = { x = 0.000, y = 146.802, z = 0.000 }, level = 1 }, + { config_id = 45, gadget_id = 70900025, pos = { x = 30.823, y = 1.747, z = -29.320 }, rot = { x = 0.000, y = 217.129, z = 0.000 }, level = 1 }, + { config_id = 46, gadget_id = 70900027, pos = { x = 31.032, y = 5.349, z = -29.411 }, rot = { x = 0.000, y = 343.819, z = 0.000 }, level = 1 }, + { config_id = 48, gadget_id = 70220005, pos = { x = 42.575, y = 5.209, z = -29.694 }, rot = { x = 0.000, y = 299.352, z = 0.000 }, level = 1 }, + { config_id = 49, gadget_id = 70900036, pos = { x = 20.656, y = 0.500, z = -39.443 }, rot = { x = 0.000, y = 296.422, z = 0.000 }, level = 1 }, + { config_id = 50, gadget_id = 70360002, pos = { x = 29.563, y = 0.500, z = -41.466 }, rot = { x = 0.000, y = 266.728, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000035, name = "CLIENT_EXECUTE_35", event = EventType.EVENT_CLIENT_EXECUTE, source = "Chest_Bramble_Remove", condition = "", action = "action_EVENT_CLIENT_EXECUTE_35", trigger_count = 0 }, + { config_id = 1000036, name = "CLIENT_EXECUTE_36", event = EventType.EVENT_CLIENT_EXECUTE, source = "Chest_Frozen_Remove", condition = "", action = "action_EVENT_CLIENT_EXECUTE_36", trigger_count = 0 }, + { config_id = 1000038, name = "GADGET_CREATE_38", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_38", action = "action_EVENT_GADGET_CREATE_38", trigger_count = 0 }, + { config_id = 1000039, 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, forbid_guest = false }, + { config_id = 1000047, name = "GADGET_STATE_CHANGE_47", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_47", action = "action_EVENT_GADGET_STATE_CHANGE_47", trigger_count = 0 } +} + +-- 变量 +variables = { + { config_id = 1, name = "Sculpture_State", value = 0, no_refresh = true } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 43, 44, 45, 46, 48, 49, 50 }, + regions = { }, + triggers = { "CLIENT_EXECUTE_35", "CLIENT_EXECUTE_36", "GADGET_CREATE_38", "SELECT_OPTION_39", "GADGET_STATE_CHANGE_47" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发操作 +function action_EVENT_CLIENT_EXECUTE_35(context, evt) + --由entityId获取configId + local This_configID = ScriptLib.GetConfigIdByEntityId(context, evt.param1 ) + --转换对应宝箱状态 + if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 0, This_configID, GadgetState.Default ) then + return -1 + end + return 0 +end + +-- 触发操作 +function action_EVENT_CLIENT_EXECUTE_36(context, evt) + --由entityId获取configId + This_configID = ScriptLib.GetConfigIdByEntityId(context, evt.param1 ) + --转换对应宝箱状态 + if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 0, This_configID, GadgetState.Default ) then + return -1 + end + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_38(context, evt) + if 50 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_38(context, evt) + -- 设置操作台选项 + if 0 ~= ScriptLib.SetWorktopOptions(context, {1,4}) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_39(context, evt) + if evt.param1 == defs.gadget_id_1 then + return true + end + return false +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_39(context, evt) + local state = ScriptLib.GetGroupVariableValue(context, "Sculpture_State") + -- 根据不同的选项做不同的操作 + if defs.gadget_id_3 == evt.param2 then + if state == 0 then + ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_2, GadgetState.GearStart) + elseif state == 201 then + ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_2, GadgetState.GearStop) + elseif state == 202 then + ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_2, GadgetState.Default) + end + elseif defs.gadget_id_4 == evt.param2 then + if state == 0 then + ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_2, GadgetState.GearStop) + elseif state == 201 then + ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_2, GadgetState.Default) + elseif state == 202 then + ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_2, GadgetState.GearStart) + end + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_47(context, evt) + if evt.param2 ~= defs.gadget_id_2 then + return false + else return true + end +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_47(context, evt) + if evt.param1 == GadgetState.Default then + ScriptLib.SetGroupVariableValue(context, "Sculpture_State", 0) + elseif evt.param1 == GadgetState.GearStart then + ScriptLib.SetGroupVariableValue(context, "Sculpture_State", 201) + elseif evt.param1 == GadgetState.GearStop then + ScriptLib.SetGroupVariableValue(context, "Sculpture_State", 202) + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20000/scene20000_group220000019.lua b/Resources/Scripts/Scene/20000/scene20000_group220000019.lua index e69de29bb..2db11abeb 100644 --- a/Resources/Scripts/Scene/20000/scene20000_group220000019.lua +++ b/Resources/Scripts/Scene/20000/scene20000_group220000019.lua @@ -0,0 +1,203 @@ +-- 基础信息 +local base_info = { + group_id = 220000019 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 118, + gadget_id_2 = 119, + gadget_id_3 = 120, + gadget_id_4 = 121, + gadget_id_5 = 122 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 118, gadget_id = 70900207, pos = { x = 188.120, y = 0.573, z = 46.994 }, rot = { x = 0.000, y = 240.985, z = 0.000 }, level = 1 }, + { config_id = 119, gadget_id = 70900207, pos = { x = 192.278, y = 0.610, z = 44.452 }, rot = { x = 0.000, y = 328.790, z = 0.000 }, level = 1 }, + { config_id = 120, gadget_id = 70900207, pos = { x = 196.118, y = 0.598, z = 42.574 }, rot = { x = 0.000, y = 301.372, z = 0.000 }, level = 1 }, + { config_id = 121, gadget_id = 70900207, pos = { x = 199.894, y = 0.580, z = 40.925 }, rot = { x = 0.000, y = 204.239, z = 0.000 }, level = 1 }, + { config_id = 122, gadget_id = 70900207, pos = { x = 201.772, y = 0.551, z = 44.581 }, rot = { x = 0.000, y = 327.318, z = 0.000 }, level = 1 }, + { config_id = 123, gadget_id = 70380003, pos = { x = 188.256, y = -1.516, z = 46.985 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 20000012, start_route = false }, + { config_id = 124, gadget_id = 70380003, pos = { x = 192.095, y = -1.521, z = 44.214 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 20000013, start_route = false }, + { config_id = 125, gadget_id = 70380003, pos = { x = 195.916, y = -1.494, z = 42.392 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 20000014, start_route = false }, + { config_id = 126, gadget_id = 70380003, pos = { x = 199.876, y = -1.502, z = 40.865 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 20000015, start_route = false }, + { config_id = 127, gadget_id = 70380003, pos = { x = 202.128, y = -1.421, z = 44.236 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 20000016, start_route = false }, + { config_id = 132, gadget_id = 70510009, pos = { x = 108.756, y = 0.500, z = 64.307 }, rot = { x = 0.000, y = 272.230, z = 0.000 }, level = 1 }, + { config_id = 133, gadget_id = 70510009, pos = { x = 106.860, y = 0.500, z = 65.912 }, rot = { x = 0.000, y = 48.179, z = 0.000 }, level = 1 }, + { config_id = 134, gadget_id = 70510009, pos = { x = 104.632, y = 0.500, z = 67.467 }, rot = { x = 0.000, y = 94.809, z = 0.000 }, level = 1 }, + { config_id = 135, gadget_id = 70510009, pos = { x = 105.345, y = 0.500, z = 65.575 }, rot = { x = 0.000, y = 66.433, z = 0.000 }, level = 1 }, + { config_id = 136, gadget_id = 70510009, pos = { x = 103.009, y = 0.500, z = 68.924 }, rot = { x = 0.000, y = 55.099, z = 0.000 }, level = 1 }, + { config_id = 137, gadget_id = 70510009, pos = { x = 100.697, y = 0.500, z = 70.310 }, rot = { x = 0.000, y = 53.943, z = 0.000 }, level = 1 }, + { config_id = 138, gadget_id = 70510009, pos = { x = 103.100, y = 0.500, z = 67.160 }, rot = { x = 0.000, y = 270.424, z = 0.000 }, level = 1 }, + { config_id = 139, gadget_id = 70510009, pos = { x = 106.191, y = 0.500, z = 68.207 }, rot = { x = 0.000, y = 259.872, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000070, name = "CLIENT_EXECUTE_70", event = EventType.EVENT_CLIENT_EXECUTE, source = "ElectricPile", condition = "condition_EVENT_CLIENT_EXECUTE_70", action = "action_EVENT_CLIENT_EXECUTE_70" }, + { config_id = 1000071, name = "CLIENT_EXECUTE_71", event = EventType.EVENT_CLIENT_EXECUTE, source = "ElectricPile", condition = "condition_EVENT_CLIENT_EXECUTE_71", action = "action_EVENT_CLIENT_EXECUTE_71" }, + { config_id = 1000072, name = "CLIENT_EXECUTE_72", event = EventType.EVENT_CLIENT_EXECUTE, source = "ElectricPile", condition = "condition_EVENT_CLIENT_EXECUTE_72", action = "action_EVENT_CLIENT_EXECUTE_72" }, + { config_id = 1000073, name = "CLIENT_EXECUTE_73", event = EventType.EVENT_CLIENT_EXECUTE, source = "ElectricPile", condition = "condition_EVENT_CLIENT_EXECUTE_73", action = "action_EVENT_CLIENT_EXECUTE_73" }, + { config_id = 1000074, name = "CLIENT_EXECUTE_74", event = EventType.EVENT_CLIENT_EXECUTE, source = "ElectricPile", condition = "condition_EVENT_CLIENT_EXECUTE_74", action = "action_EVENT_CLIENT_EXECUTE_74" } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { }, + gadgets = { 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 132, 133, 134, 135, 136, 137, 138 }, + regions = { }, + triggers = { "CLIENT_EXECUTE_70", "CLIENT_EXECUTE_71", "CLIENT_EXECUTE_72", "CLIENT_EXECUTE_73", "CLIENT_EXECUTE_74" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_CLIENT_EXECUTE_70(context, evt) + if defs.gadget_id_1 ~= ScriptLib.GetGadgetConfigId(context, { gadget_eid = evt.source_eid }) then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_CLIENT_EXECUTE_70(context, evt) + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 123) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_CLIENT_EXECUTE_71(context, evt) + if defs.gadget_id_2 ~= ScriptLib.GetGadgetConfigId(context, { gadget_eid = evt.source_eid }) then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_CLIENT_EXECUTE_71(context, evt) + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 124) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_CLIENT_EXECUTE_72(context, evt) + if defs.gadget_id_3 ~= ScriptLib.GetGadgetConfigId(context, { gadget_eid = evt.source_eid }) then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_CLIENT_EXECUTE_72(context, evt) + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 125) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_CLIENT_EXECUTE_73(context, evt) + if defs.gadget_id_4 ~= ScriptLib.GetGadgetConfigId(context, { gadget_eid = evt.source_eid }) then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_CLIENT_EXECUTE_73(context, evt) + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 126) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_CLIENT_EXECUTE_74(context, evt) + if defs.gadget_id_5 ~= ScriptLib.GetGadgetConfigId(context, { gadget_eid = evt.source_eid }) then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_CLIENT_EXECUTE_74(context, evt) + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 127) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20000/scene20000_group220000054.lua b/Resources/Scripts/Scene/20000/scene20000_group220000054.lua index e69de29bb..22d37a194 100644 --- a/Resources/Scripts/Scene/20000/scene20000_group220000054.lua +++ b/Resources/Scripts/Scene/20000/scene20000_group220000054.lua @@ -0,0 +1,257 @@ +-- 基础信息 +local base_info = { + group_id = 220000054 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 282, + gadget_id_2 = 283, + gadget_id_3 = 284, + gadget_id_4 = 285, + gadget_id_5 = 286, + gadget_id_6 = 287, + gadget_id_7 = 288, + gadget_id_8 = 289, + gadget_id_9 = 291, + gadget_id_10 = 292, + gadget_id_11 = 293, + gadget_id_12 = 290 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 281, gadget_id = 70900236, pos = { x = 6.223, y = 1.296, z = 284.763 }, rot = { x = 0.000, y = 86.932, z = 0.000 }, level = 1 }, + { config_id = 282, gadget_id = 70900236, pos = { x = 4.556, y = 1.443, z = 284.776 }, rot = { x = 0.000, y = 82.808, z = 0.000 }, level = 1 }, + { config_id = 283, gadget_id = 70900236, pos = { x = 2.788, y = 1.698, z = 284.836 }, rot = { x = 0.000, y = 37.867, z = 0.000 }, level = 1 }, + { config_id = 284, gadget_id = 70900236, pos = { x = 1.541, y = 1.856, z = 283.805 }, rot = { x = 0.000, y = 77.422, z = 0.000 }, level = 1 }, + { config_id = 285, gadget_id = 70900236, pos = { x = 0.682, y = 2.010, z = 282.462 }, rot = { x = 0.000, y = 229.784, z = 0.000 }, level = 1 }, + { config_id = 286, gadget_id = 70900236, pos = { x = -0.788, y = 2.387, z = 281.089 }, rot = { x = 0.000, y = 48.293, z = 0.000 }, level = 1 }, + { config_id = 287, gadget_id = 70900236, pos = { x = -2.762, y = 2.838, z = 280.118 }, rot = { x = 0.000, y = 180.279, z = 0.000 }, level = 1 }, + { config_id = 288, gadget_id = 70900236, pos = { x = -4.370, y = 3.090, z = 281.326 }, rot = { x = 0.000, y = 83.813, z = 0.000 }, level = 1 }, + { config_id = 289, gadget_id = 70900236, pos = { x = -5.324, y = 3.168, z = 282.414 }, rot = { x = 0.000, y = 300.623, z = 0.000 }, level = 1 }, + { config_id = 290, gadget_id = 70211031, pos = { x = 1.568, y = 1.795, z = 289.323 }, rot = { x = 0.000, y = 314.709, z = 0.000 }, level = 1, drop_tag = "战斗超级蒙德", showcutscene = true, isOneoff = true }, + { config_id = 291, gadget_id = 70900236, pos = { x = -3.850, y = 2.924, z = 284.918 }, rot = { x = 0.000, y = 300.623, z = 0.000 }, level = 1 }, + { config_id = 292, gadget_id = 70900236, pos = { x = -2.225, y = 2.588, z = 286.410 }, rot = { x = 0.000, y = 300.623, z = 0.000 }, level = 1 }, + { config_id = 293, gadget_id = 70900236, pos = { x = -0.306, y = 2.214, z = 285.580 }, rot = { x = 0.000, y = 300.623, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000088, name = "GADGET_STATE_CHANGE_88", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_88", action = "action_EVENT_GADGET_STATE_CHANGE_88", trigger_count = 0 }, + { config_id = 1000089, name = "CLIENT_EXECUTE_89", event = EventType.EVENT_CLIENT_EXECUTE, source = "MimosaTrigger", condition = "", action = "", trigger_count = 0 }, + { config_id = 1000090, name = "GADGET_STATE_CHANGE_90", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "", action = "action_EVENT_GADGET_STATE_CHANGE_90", trigger_count = 0 }, + { config_id = 1000091, name = "GADGET_STATE_CHANGE_91", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_91", action = "action_EVENT_GADGET_STATE_CHANGE_91", trigger_count = 0 } +} + +-- 变量 +variables = { + { config_id = 1, name = "count", value = 0, no_refresh = false }, + { config_id = 2, name = "ison", value = 0, no_refresh = false } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 281 }, + regions = { }, + triggers = { "GADGET_STATE_CHANGE_88", "CLIENT_EXECUTE_89", "GADGET_STATE_CHANGE_90", "GADGET_STATE_CHANGE_91" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_88(context, evt) + if 281 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_88(context, evt) + -- 创建id为269的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_1 }) then + return -1 + end + + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_2 }) then + return -1 + end + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_3 }) then + return -1 + end + + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_4 }) then + return -1 + end + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_5 }) then + return -1 + end + + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_6 }) then + return -1 + end + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_7 }) then + return -1 + end + + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_8 }) then + return -1 + end + + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_9 }) then + return -1 + end + + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_10 }) then + return -1 + end + + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_11 }) then + return -1 + end + if 0 ~= ScriptLib.SetGroupVariableValue(context, "ison", 1) then + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_90(context, evt) + local c_num_1 = ScriptLib.GetGroupVariableValue(context, "count") + local c_num = c_num_1 + 1 + if 0 ~= ScriptLib.SetGroupVariableValue(context, "count", c_num) then + return -1 + end + + if c_num == 12 then + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_12 }) then + return -1 + end + end + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_91(context, evt) + if 281 ~= evt.param2 or GadgetState.Default ~= evt.param1 then + return false + end + + -- 判断变量"ison"为1 + if ScriptLib.GetGroupVariableValue(context, "ison") ~= 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_91(context, evt) + -- 永久关闭CongfigId的Gadget,需要和Groups的RefreshWithBlock标签搭配 + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_1 }) then + return -1 + end + + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_2 }) then + return -1 + end + + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_3 }) then + return -1 + end + + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_4 }) then + return -1 + end + + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_5 }) then + return -1 + end + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_6 }) then + return -1 + end + + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_7 }) then + return -1 + end + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_8 }) then + return -1 + end + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_9 }) then + return -1 + end + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_10 }) then + return -1 + end + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_11 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGroupVariableValue(context, "ison", 0) then + return -1 + end + + + if 0 ~= ScriptLib.SetGroupVariableValue(context, "count", 0) then + return -1 + end + + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20000/scene20000_group220000055.lua b/Resources/Scripts/Scene/20000/scene20000_group220000055.lua index e69de29bb..fa8599c68 100644 --- a/Resources/Scripts/Scene/20000/scene20000_group220000055.lua +++ b/Resources/Scripts/Scene/20000/scene20000_group220000055.lua @@ -0,0 +1,259 @@ +-- 基础信息 +local base_info = { + group_id = 220000055 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 295, + gadget_id_2 = 296, + gadget_id_3 = 297, + gadget_id_4 = 298, + gadget_id_5 = 299, + gadget_id_6 = 300, + gadget_id_7 = 301, + gadget_id_8 = 302, + gadget_id_9 = 304, + gadget_id_10 = 305, + gadget_id_11 = 306, + gadget_id_12 = 303 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 294, gadget_id = 70900236, pos = { x = -10.194, y = 3.587, z = 326.389 }, rot = { x = 0.000, y = 86.932, z = 0.000 }, level = 1 }, + { config_id = 295, gadget_id = 70900236, pos = { x = -11.746, y = 3.829, z = 326.408 }, rot = { x = 0.000, y = 82.808, z = 0.000 }, level = 1 }, + { config_id = 296, gadget_id = 70900236, pos = { x = -13.437, y = 4.053, z = 325.869 }, rot = { x = 0.000, y = 37.867, z = 0.000 }, level = 1 }, + { config_id = 297, gadget_id = 70900236, pos = { x = -14.762, y = 4.194, z = 325.437 }, rot = { x = 0.000, y = 77.422, z = 0.000 }, level = 1 }, + { config_id = 298, gadget_id = 70900236, pos = { x = -16.315, y = 4.392, z = 324.862 }, rot = { x = 0.000, y = 229.784, z = 0.000 }, level = 1 }, + { config_id = 299, gadget_id = 70900236, pos = { x = -20.906, y = 4.994, z = 324.694 }, rot = { x = 0.000, y = 48.293, z = 0.000 }, level = 1 }, + { config_id = 300, gadget_id = 70900236, pos = { x = -22.185, y = 5.151, z = 324.669 }, rot = { x = 0.000, y = 180.279, z = 0.000 }, level = 1 }, + { config_id = 301, gadget_id = 70900236, pos = { x = -23.321, y = 5.290, z = 324.644 }, rot = { x = 0.000, y = 83.813, z = 0.000 }, level = 1 }, + { config_id = 302, gadget_id = 70900236, pos = { x = -29.739, y = 5.959, z = 324.018 }, rot = { x = 0.000, y = 300.623, z = 0.000 }, level = 1 }, + { config_id = 303, gadget_id = 70211031, pos = { x = -27.199, y = 5.596, z = 322.987 }, rot = { x = 0.000, y = 358.195, z = 0.000 }, level = 1, drop_tag = "战斗超级蒙德", showcutscene = true, isOneoff = true }, + { config_id = 304, gadget_id = 70900236, pos = { x = -25.555, y = 5.523, z = 324.517 }, rot = { x = 0.000, y = 300.623, z = 0.000 }, level = 1 }, + { config_id = 305, gadget_id = 70900236, pos = { x = -36.646, y = 5.568, z = 319.283 }, rot = { x = 0.000, y = 300.623, z = 0.000 }, level = 1 }, + { config_id = 306, gadget_id = 70900236, pos = { x = -34.732, y = 5.338, z = 320.718 }, rot = { x = 0.000, y = 300.623, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000092, name = "GADGET_STATE_CHANGE_92", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_92", action = "action_EVENT_GADGET_STATE_CHANGE_92", trigger_count = 0 }, + { config_id = 1000093, name = "CLIENT_EXECUTE_93", event = EventType.EVENT_CLIENT_EXECUTE, source = "MimosaTrigger", condition = "", action = "", trigger_count = 0 }, + { config_id = 1000094, name = "GADGET_STATE_CHANGE_94", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "", action = "action_EVENT_GADGET_STATE_CHANGE_94", trigger_count = 0 }, + { config_id = 1000095, name = "GADGET_STATE_CHANGE_95", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_95", action = "action_EVENT_GADGET_STATE_CHANGE_95", trigger_count = 0 } +} + +-- 变量 +variables = { + { config_id = 1, name = "count", value = 0, no_refresh = false }, + { config_id = 2, name = "ison", value = 0, no_refresh = false } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 294 }, + regions = { }, + triggers = { "GADGET_STATE_CHANGE_92", "CLIENT_EXECUTE_93", "GADGET_STATE_CHANGE_94", "GADGET_STATE_CHANGE_95" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_92(context, evt) + if 294 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_92(context, evt) + -- 创建id为269的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_1 }) then + return -1 + end + + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_2 }) then + return -1 + end + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_3 }) then + return -1 + end + + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_4 }) then + return -1 + end + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_5 }) then + return -1 + end + + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_6 }) then + return -1 + end + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_7 }) then + return -1 + end + + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_8 }) then + return -1 + end + + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_9 }) then + return -1 + end + + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_10 }) then + return -1 + end + + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_11 }) then + return -1 + end + if 0 ~= ScriptLib.SetGroupVariableValue(context, "ison", 1) then + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_94(context, evt) + local c_num_1 = ScriptLib.GetGroupVariableValue(context, "count") + local c_num = c_num_1 + 1 + if 0 ~= ScriptLib.SetGroupVariableValue(context, "count", c_num) then + ScriptLib.PrintLog(context, "c_num="..c_num) + return -1 + end + + if c_num == 12 then + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_12 }) then + ScriptLib.PrintLog(context, "create") + return -1 + end + end + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_95(context, evt) + if 294 ~= evt.param2 or GadgetState.Default ~= evt.param1 then + return false + end + + -- 判断变量"ison"为1 + if ScriptLib.GetGroupVariableValue(context, "ison") ~= 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_95(context, evt) + -- 永久关闭CongfigId的Gadget,需要和Groups的RefreshWithBlock标签搭配 + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_1 }) then + return -1 + end + + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_2 }) then + return -1 + end + + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_3 }) then + return -1 + end + + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_4 }) then + return -1 + end + + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_5 }) then + return -1 + end + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_6 }) then + return -1 + end + + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_7 }) then + return -1 + end + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_8 }) then + return -1 + end + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_9 }) then + return -1 + end + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_10 }) then + return -1 + end + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_11 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGroupVariableValue(context, "ison", 0) then + return -1 + end + + + if 0 ~= ScriptLib.SetGroupVariableValue(context, "count", 0) then + return -1 + end + + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20000/scene20000_group220000056.lua b/Resources/Scripts/Scene/20000/scene20000_group220000056.lua index cc5383238..42257a6f3 100644 --- a/Resources/Scripts/Scene/20000/scene20000_group220000056.lua +++ b/Resources/Scripts/Scene/20000/scene20000_group220000056.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 308, gadget_id_2 = 309, gadget_id_3 = 310, diff --git a/Resources/Scripts/Scene/20000/scene20000_group220000057.lua b/Resources/Scripts/Scene/20000/scene20000_group220000057.lua index e69de29bb..a9e6e25c1 100644 --- a/Resources/Scripts/Scene/20000/scene20000_group220000057.lua +++ b/Resources/Scripts/Scene/20000/scene20000_group220000057.lua @@ -0,0 +1,232 @@ +-- 基础信息 +local base_info = { + group_id = 220000057 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 318, + gadget_id_2 = 319, + gadget_id_3 = 320, + gadget_id_4 = 321, + gadget_id_5 = 322, + gadget_id_6 = 323, + gadget_id_7 = 324, + gadget_id_8 = 325, + gadget_id_9 = 326 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 317, gadget_id = 70900236, pos = { x = -30.598, y = 10.365, z = 304.329 }, rot = { x = 0.000, y = 86.932, z = 0.000 }, level = 1 }, + { config_id = 318, gadget_id = 70900236, pos = { x = -29.965, y = 10.512, z = 301.963 }, rot = { x = 0.000, y = 82.808, z = 0.000 }, level = 1 }, + { config_id = 319, gadget_id = 70900236, pos = { x = -28.922, y = 10.727, z = 299.326 }, rot = { x = 0.000, y = 37.867, z = 0.000 }, level = 1 }, + { config_id = 320, gadget_id = 70900236, pos = { x = -28.353, y = 11.054, z = 296.915 }, rot = { x = 0.000, y = 77.422, z = 0.000 }, level = 1 }, + { config_id = 321, gadget_id = 70900236, pos = { x = -28.685, y = 12.861, z = 294.146 }, rot = { x = 317.546, y = 229.784, z = 0.000 }, level = 1 }, + { config_id = 322, gadget_id = 70900236, pos = { x = -27.099, y = 10.500, z = 288.204 }, rot = { x = 0.000, y = 48.293, z = 0.000 }, level = 1 }, + { config_id = 323, gadget_id = 70900236, pos = { x = -27.464, y = 10.523, z = 292.298 }, rot = { x = 0.000, y = 180.279, z = 0.000 }, level = 1 }, + { config_id = 324, gadget_id = 70900236, pos = { x = -27.286, y = 10.730, z = 290.826 }, rot = { x = 0.000, y = 83.813, z = 0.000 }, level = 1 }, + { config_id = 325, gadget_id = 70900236, pos = { x = -27.343, y = 10.614, z = 289.472 }, rot = { x = 0.000, y = 300.623, z = 0.000 }, level = 1 }, + { config_id = 326, gadget_id = 70211031, pos = { x = -20.119, y = 10.053, z = 288.711 }, rot = { x = 0.000, y = 314.709, z = 0.000 }, level = 1, drop_tag = "战斗超级蒙德", showcutscene = true, isOneoff = true } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000100, name = "GADGET_STATE_CHANGE_100", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_100", action = "action_EVENT_GADGET_STATE_CHANGE_100", trigger_count = 0 }, + { config_id = 1000101, name = "CLIENT_EXECUTE_101", event = EventType.EVENT_CLIENT_EXECUTE, source = "MimosaTrigger", condition = "", action = "", trigger_count = 0 }, + { config_id = 1000102, name = "GADGET_STATE_CHANGE_102", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "", action = "action_EVENT_GADGET_STATE_CHANGE_102", trigger_count = 0 }, + { config_id = 1000103, name = "GADGET_STATE_CHANGE_103", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_103", action = "action_EVENT_GADGET_STATE_CHANGE_103", trigger_count = 0 } +} + +-- 变量 +variables = { + { config_id = 1, name = "count", value = 0, no_refresh = false }, + { config_id = 2, name = "ison", value = 0, no_refresh = false } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 317 }, + regions = { }, + triggers = { "GADGET_STATE_CHANGE_100", "CLIENT_EXECUTE_101", "GADGET_STATE_CHANGE_102", "GADGET_STATE_CHANGE_103" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_100(context, evt) + if 317 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_100(context, evt) + -- 创建id为269的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_1 }) then + return -1 + end + + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_2 }) then + return -1 + end + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_3 }) then + return -1 + end + + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_4 }) then + return -1 + end + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_5 }) then + return -1 + end + + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_6 }) then + return -1 + end + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_7 }) then + return -1 + end + + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_8 }) then + return -1 + end + if 0 ~= ScriptLib.SetGroupVariableValue(context, "ison", 1) then + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_102(context, evt) + local c_num_1 = ScriptLib.GetGroupVariableValue(context, "count") + local c_num = c_num_1 + 1 + if 0 ~= ScriptLib.SetGroupVariableValue(context, "count", c_num) then + ScriptLib.PrintLog(context, "c_num="..c_num) + return -1 + end + + if c_num == 9 then + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_9 }) then + ScriptLib.PrintLog(context, "create") + return -1 + end + end + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_103(context, evt) + if 317 ~= evt.param2 or GadgetState.Default ~= evt.param1 then + return false + end + + -- 判断变量"ison"为1 + if ScriptLib.GetGroupVariableValue(context, "ison") ~= 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_103(context, evt) + -- 永久关闭CongfigId的Gadget,需要和Groups的RefreshWithBlock标签搭配 + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_1 }) then + return -1 + end + + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_2 }) then + return -1 + end + + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_3 }) then + return -1 + end + + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_4 }) then + return -1 + end + + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_5 }) then + return -1 + end + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_6 }) then + return -1 + end + + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_7 }) then + return -1 + end + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = defs.gadget_id_8 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGroupVariableValue(context, "ison", 0) then + return -1 + end + + + if 0 ~= ScriptLib.SetGroupVariableValue(context, "count", 0) then + return -1 + end + + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20000/scene20000_group220000066.lua b/Resources/Scripts/Scene/20000/scene20000_group220000066.lua index e69de29bb..5e7a6dac2 100644 --- a/Resources/Scripts/Scene/20000/scene20000_group220000066.lua +++ b/Resources/Scripts/Scene/20000/scene20000_group220000066.lua @@ -0,0 +1,179 @@ +-- 基础信息 +local base_info = { + group_id = 220000066 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 372, + gadget_id_2 = 376, + gadget_id_3 = 371, + gadget_id_5 = 1, + questLuaNotify_success = 22000006612801, + questLuaNotify_faild = 22000006612802, + gadget_id_4 = 377 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { + { config_id = 1, npc_id = 20005, pos = { x = 101.422, y = 0.540, z = 322.092 }, rot = { x = 0.000, y = 201.531, z = 0.000 } } +} + +-- 装置 +gadgets = { + { config_id = 371, gadget_id = 70900250, pos = { x = 99.939, y = 0.540, z = 318.102 }, rot = { x = 0.000, y = 23.884, z = 0.000 }, level = 1 }, + { config_id = 372, gadget_id = 70211001, pos = { x = 103.095, y = 0.540, z = 322.881 }, rot = { x = 0.000, y = 192.083, z = 0.000 }, level = 1, drop_tag = "战斗低级蒙德", isOneoff = true }, + { config_id = 377, gadget_id = 70900202, pos = { x = 100.041, y = 0.540, z = 318.251 }, rot = { x = 0.000, y = 96.869, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { + { config_id = 132, shape = RegionShape.SPHERE, radius = 1.5, pos = { x = 100.083, y = 0.671, z = 317.966 } } +} + +-- 触发器 +triggers = { + { config_id = 1000128, name = "CLIENT_EXECUTE_128", event = EventType.EVENT_CLIENT_EXECUTE, source = "RopeRule", condition = "", action = "action_EVENT_CLIENT_EXECUTE_128", trigger_count = 0 }, + { config_id = 1000131, name = "QUEST_START_131", event = EventType.EVENT_QUEST_START, source = "2000202", condition = "", action = "action_EVENT_QUEST_START_131", trigger_count = 0 }, + { config_id = 1000132, name = "ENTER_REGION_132", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_132", action = "action_EVENT_ENTER_REGION_132", trigger_count = 0, forbid_guest = false }, + { config_id = 1000154, name = "QUEST_START_154", event = EventType.EVENT_QUEST_START, source = "2000203", condition = "", action = "action_EVENT_QUEST_START_154" } +} + +-- 变量 +variables = { + { config_id = 1, name = "SwitchOn", value = 0, no_refresh = true } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 371 }, + regions = { 132 }, + triggers = { "CLIENT_EXECUTE_128", "QUEST_START_131", "ENTER_REGION_132", "QUEST_START_154" }, + npcs = { 1 }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发操作 +function action_EVENT_CLIENT_EXECUTE_128(context, evt) + -- 创建id为372的gadget + if evt.param1 == defs.gadget_id_5 then + + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_3, GadgetState.Default) then + --ScriptLib.PrintLog(context, "Faild to change 371 state default when evt.param1 == defs.gadget_id_5") + return -1 + end + + --通知任务系统完成条件类型“LUA通知”,复杂参数为quest_param的进度+1 + if 0 ~= ScriptLib.AddQuestProgress(context, "22000006612801")then + return -1 + end + return 0 + end + ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_3, GadgetState.Default) + ScriptLib.AddQuestProgress(context, "22000006612802") + return -1 +end + +-- 触发操作 +function action_EVENT_QUEST_START_131(context, evt) + -- 创建id为377的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 377 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + -- 将本组内变量名为 "SwitchOn" 的变量设置为 1 + if 0 ~= ScriptLib.SetGroupVariableValue(context, "SwitchOn", 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_132(context, evt) + if evt.param1 ~= 132 then return false end + + -- 判断变量"SwitchOn"为1 + if ScriptLib.GetGroupVariableValue(context, "SwitchOn") ~= 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_132(context, evt) + -- 改变指定group组220000066中, configid为371的gadget的state + if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220000066, 371, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId") + return -1 + end + + -- 将本组内变量名为 "SwitchOn" 的变量设置为 0 + if 0 ~= ScriptLib.SetGroupVariableValue(context, "SwitchOn", 0) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable") + return -1 + end + + -- 永久关闭CongfigId的Gadget,需要和Groups的RefreshWithBlock标签搭配 + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 377 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId") + return -1 + end + + + return 0 +end + +-- 触发操作 +function action_EVENT_QUEST_START_154(context, evt) + -- 创建id为372的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 372 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20000/scene20000_group220000083.lua b/Resources/Scripts/Scene/20000/scene20000_group220000083.lua index e69de29bb..f967df07b 100644 --- a/Resources/Scripts/Scene/20000/scene20000_group220000083.lua +++ b/Resources/Scripts/Scene/20000/scene20000_group220000083.lua @@ -0,0 +1,172 @@ +-- 基础信息 +local base_info = { + group_id = 220000083 +} + +-- Trigger变量 +local defs = { + group_id = 220000083, + riddle_hint = 598, + riddle_1 = 600, + riddle_2 = 601, + riddle_3 = 602, + riddle_4 = 603 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 598, gadget_id = 70220029, pos = { x = 95.469, y = -12.000, z = 650.457 }, rot = { x = 0.000, y = 190.000, z = 0.000 }, level = 1 }, + { config_id = 599, gadget_id = 70220030, pos = { x = 95.469, y = -11.820, z = 650.457 }, rot = { x = 0.000, y = 182.700, z = 0.000 }, level = 1 }, + { config_id = 600, gadget_id = 70220031, pos = { x = 93.869, y = -12.000, z = 639.357 }, rot = { x = 0.000, y = 276.100, z = 0.000 }, level = 1, state = GadgetState.GearStart }, + { config_id = 601, gadget_id = 70220031, pos = { x = 81.769, y = -12.000, z = 653.657 }, rot = { x = 0.000, y = 317.500, z = 0.000 }, level = 1, state = GadgetState.GearStart }, + { config_id = 602, gadget_id = 70220031, pos = { x = 97.769, y = -12.000, z = 660.457 }, rot = { x = 0.000, y = 257.600, z = 0.000 }, level = 1, state = GadgetState.GearStart }, + { config_id = 603, gadget_id = 70220031, pos = { x = 108.569, y = -12.000, z = 648.057 }, rot = { x = 0.000, y = 14.100, z = 0.000 }, level = 1, state = GadgetState.GearStart }, + { config_id = 604, gadget_id = 70211001, pos = { x = 96.069, y = -11.820, z = 650.557 }, rot = { x = 0.000, y = 270.400, z = 0.000 }, level = 1, drop_tag = "战斗低级蒙德", isOneoff = true } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000162, name = "GADGET_STATE_CHANGE_162", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_162", action = "action_EVENT_GADGET_STATE_CHANGE_162", trigger_count = 0 }, + { config_id = 1000163, name = "GADGET_STATE_CHANGE_163", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_163", action = "action_EVENT_GADGET_STATE_CHANGE_163" }, + { config_id = 1000164, name = "VARIABLE_CHANGE_164", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_164", action = "action_EVENT_VARIABLE_CHANGE_164", trigger_count = 0 } +} + +-- 变量 +variables = { + { config_id = 1, name = "Stage_Flag", value = 4, no_refresh = true } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 3, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 598, 599, 600, 601, 602, 603, 604 }, + regions = { }, + triggers = { "GADGET_STATE_CHANGE_162", "GADGET_STATE_CHANGE_163", "VARIABLE_CHANGE_164" }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = suite_2, + monsters = { }, + gadgets = { 599 }, + regions = { }, + triggers = { }, + rand_weight = 100 + }, + { + -- suite_id = 3, + -- description = suite_3, + monsters = { }, + gadgets = { 598, 600, 601, 602, 603, 604 }, + regions = { }, + triggers = { "GADGET_STATE_CHANGE_162", "VARIABLE_CHANGE_164" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_162(context, evt) + if evt.param2 ~= defs.riddle_1 and evt.param2 ~= defs.riddle_2 and evt.param2 ~= defs.riddle_3 and evt.param2 ~= defs.riddle_4 then + return false + end + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_162(context, evt) + if evt.param1 == GadgetState.GearStart then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", 1) + elseif evt.param1 == GadgetState.Default then + ScriptLib.ChangeGroupVariableValue(context, "State_Flag", -1) + end + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_163(context, evt) + if evt.param1 ~= GadgetState.GearStart or evt.param2 ~= defs.riddle_hint then + return false + end + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_163(context, evt) + if 0 ~= ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, 2) then + return -1 + end + if 0 ~= ScriptLib.GoToGroupSuite(context, defs.group_id, 3) then + return -1 + end + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_164(context, evt) + if evt.param1 == evt.param2 then return false end + +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_164(context, evt) + if value < 0 or value > 4 then + return -1 + end + if value == 4 then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.riddle_hint, GadgetState.Default) + elseif value == 3 then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.riddle_hint, GadgetState.Action01) + elseif value == 2 then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.riddle_hint, GadgetState.Action02) + elseif value == 1 then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.riddle_hint, GadgetState.Action03) + elseif value == 0 then + ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_id, defs.riddle_hint, GadgetState.GearStart) + end + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20005/scene20005_group220005010.lua b/Resources/Scripts/Scene/20005/scene20005_group220005010.lua index e69de29bb..18bd777fb 100644 --- a/Resources/Scripts/Scene/20005/scene20005_group220005010.lua +++ b/Resources/Scripts/Scene/20005/scene20005_group220005010.lua @@ -0,0 +1,372 @@ +-- 基础信息 +local base_info = { + group_id = 220005010 +} + +-- Trigger变量 +local defs = { + max_gear = 4, + timer = 10, + group_id = 220005010, + gadget_1 = 10001, + gadget_2 = 10002, + gadget_3 = 10003, + gadget_4 = 10005, + gadget_chest = 0 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 10001, gadget_id = 70900007, pos = { x = -234.114, y = 27.813, z = 168.074 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.Action01, persistent = true }, + { config_id = 10002, gadget_id = 70900007, pos = { x = -227.356, y = 27.813, z = 174.720 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, state = GadgetState.Action01, persistent = true }, + { config_id = 10003, gadget_id = 70900007, pos = { x = -234.085, y = 27.813, z = 174.570 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.Action01, persistent = true }, + { config_id = 10005, gadget_id = 70900007, pos = { x = -227.421, y = 27.813, z = 168.056 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.Action01, persistent = true }, + { config_id = 10009, gadget_id = 70350025, pos = { x = -257.591, y = 31.412, z = 171.546 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 10010, gadget_id = 70900201, pos = { x = -289.577, y = 32.986, z = 171.626 }, rot = { x = 0.000, y = 87.592, z = 0.000 }, level = 1 }, + { config_id = 10011, gadget_id = 70350019, pos = { x = -216.913, y = 25.323, z = 160.570 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearAction1 }, + { config_id = 10012, gadget_id = 70350019, pos = { x = -239.733, y = 25.467, z = 184.172 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearAction1 }, + { config_id = 10013, gadget_id = 70350019, pos = { x = -218.668, y = 25.438, z = 182.493 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearAction1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1010004, name = "GADGET_STATE_CHANGE_10004", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_10004", action = "action_EVENT_GADGET_STATE_CHANGE_10004" }, + { config_id = 1010006, name = "GADGET_STATE_CHANGE_10006", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_10006", action = "action_EVENT_GADGET_STATE_CHANGE_10006", trigger_count = 0 }, + { config_id = 1010007, name = "TIMER_EVENT_10007", event = EventType.EVENT_TIMER_EVENT, source = "time1", condition = "", action = "action_EVENT_TIMER_EVENT_10007", trigger_count = 0 }, + { config_id = 1010008, name = "VARIABLE_CHANGE_10008", event = EventType.EVENT_VARIABLE_CHANGE, source = "active_count", condition = "condition_EVENT_VARIABLE_CHANGE_10008", action = "action_EVENT_VARIABLE_CHANGE_10008", trigger_count = 0 }, + { config_id = 1010014, name = "GADGET_STATE_CHANGE_10014", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_10014", action = "action_EVENT_GADGET_STATE_CHANGE_10014", trigger_count = 0 }, + { config_id = 1010015, name = "GADGET_STATE_CHANGE_10015", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_10015", action = "action_EVENT_GADGET_STATE_CHANGE_10015", trigger_count = 0 }, + { config_id = 1010016, name = "GADGET_STATE_CHANGE_10016", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_10016", action = "action_EVENT_GADGET_STATE_CHANGE_10016", trigger_count = 0 }, + { config_id = 1010017, name = "TIMER_EVENT_10017", event = EventType.EVENT_TIMER_EVENT, source = "time2", condition = "", action = "action_EVENT_TIMER_EVENT_10017", trigger_count = 0 }, + { config_id = 1010018, name = "TIMER_EVENT_10018", event = EventType.EVENT_TIMER_EVENT, source = "time3", condition = "", action = "action_EVENT_TIMER_EVENT_10018", trigger_count = 0 }, + { config_id = 1010019, name = "TIMER_EVENT_10019", event = EventType.EVENT_TIMER_EVENT, source = "time4", condition = "", action = "action_EVENT_TIMER_EVENT_10019", trigger_count = 0 } +} + +-- 变量 +variables = { + { config_id = 1, name = "active_count", value = 0, no_refresh = false } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { }, + gadgets = { 10001, 10002, 10003, 10005, 10009, 10011, 10012, 10013 }, + regions = { }, + triggers = { "GADGET_STATE_CHANGE_10004", "GADGET_STATE_CHANGE_10006", "TIMER_EVENT_10007", "VARIABLE_CHANGE_10008", "GADGET_STATE_CHANGE_10014", "GADGET_STATE_CHANGE_10015", "GADGET_STATE_CHANGE_10016", "TIMER_EVENT_10017", "TIMER_EVENT_10018", "TIMER_EVENT_10019" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_10004(context, evt) + if 10009 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_10004(context, evt) + -- 创建id为10010的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 10010 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + -- 杀死Group内指定的monster和gadget + if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220005006, monsters = {}, gadgets = {6002} }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_10006(context, evt) + if 10001 ~= evt.param2 or GadgetState.Action02 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_10006(context, evt) + -- 延迟4秒后,向groupId为:220005010的对象,请求一次调用,并将string参数:"time1" 传递过去 + if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220005010, "time1", 4) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group") + return -1 + end + + -- 针对当前group内变量名为 "active_count" 的变量,进行修改,变化值为 1 + if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "active_count", 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable") + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_TIMER_EVENT_10007(context, evt) + -- 将configid为 10001 的物件更改为状态 GadgetState.Action01 + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 10001, GadgetState.Action01) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 针对当前group内变量名为 "active_count" 的变量,进行修改,变化值为 -1 + if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "active_count", -1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_10008(context, evt) + if evt.param1 == evt.param2 then return false end + + -- 判断变量"active_count"为4 + if ScriptLib.GetGroupVariableValue(context, "active_count") ~= 4 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_10008(context, evt) + -- 将configid为 10001 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 10001, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 10002 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 10002, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 10003 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 10003, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 10005 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 10005, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 10009 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 10009, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 取消group中对应名称的TimerEvent + if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 220005010, "time1") then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group") + return -1 + end + + -- 取消group中对应名称的TimerEvent + if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 220005010, "time2") then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group") + return -1 + end + + -- 取消group中对应名称的TimerEvent + if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 220005010, "time3") then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group") + return -1 + end + + -- 取消group中对应名称的TimerEvent + if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 220005010, "time4") then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_10014(context, evt) + if 10002 ~= evt.param2 or GadgetState.Action02 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_10014(context, evt) + -- 延迟4秒后,向groupId为:220005010的对象,请求一次调用,并将string参数:"time2" 传递过去 + if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220005010, "time2", 4) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group") + return -1 + end + + -- 针对当前group内变量名为 "active_count" 的变量,进行修改,变化值为 1 + if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "active_count", 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_10015(context, evt) + if 10003 ~= evt.param2 or GadgetState.Action02 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_10015(context, evt) + -- 延迟4秒后,向groupId为:220005010的对象,请求一次调用,并将string参数:"time3" 传递过去 + if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220005010, "time3", 4) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group") + return -1 + end + + -- 针对当前group内变量名为 "active_count" 的变量,进行修改,变化值为 1 + if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "active_count", 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_10016(context, evt) + if 10005 ~= evt.param2 or GadgetState.Action02 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_10016(context, evt) + -- 延迟4秒后,向groupId为:220005010的对象,请求一次调用,并将string参数:"time4" 传递过去 + if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220005010, "time4", 4) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group") + return -1 + end + + -- 针对当前group内变量名为 "active_count" 的变量,进行修改,变化值为 1 + if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "active_count", 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable") + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_TIMER_EVENT_10017(context, evt) + -- 将configid为 10002 的物件更改为状态 GadgetState.Action01 + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 10002, GadgetState.Action01) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 针对当前group内变量名为 "active_count" 的变量,进行修改,变化值为 -1 + if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "active_count", -1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable") + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_TIMER_EVENT_10018(context, evt) + -- 将configid为 10003 的物件更改为状态 GadgetState.Action01 + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 10003, GadgetState.Action01) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 针对当前group内变量名为 "active_count" 的变量,进行修改,变化值为 -1 + if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "active_count", -1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable") + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_TIMER_EVENT_10019(context, evt) + -- 将configid为 10005 的物件更改为状态 GadgetState.Action01 + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 10005, GadgetState.Action01) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 针对当前group内变量名为 "active_count" 的变量,进行修改,变化值为 -1 + if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "active_count", -1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable") + return -1 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20006/scene20006_group220006004.lua b/Resources/Scripts/Scene/20006/scene20006_group220006004.lua index cd73e5785..d962cb13c 100644 --- a/Resources/Scripts/Scene/20006/scene20006_group220006004.lua +++ b/Resources/Scripts/Scene/20006/scene20006_group220006004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 49 } diff --git a/Resources/Scripts/Scene/20006/scene20006_group220006005.lua b/Resources/Scripts/Scene/20006/scene20006_group220006005.lua index e69de29bb..41803e5d6 100644 --- a/Resources/Scripts/Scene/20006/scene20006_group220006005.lua +++ b/Resources/Scripts/Scene/20006/scene20006_group220006005.lua @@ -0,0 +1,180 @@ +-- 基础信息 +local base_info = { + group_id = 220006005 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 42 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 22, monster_id = 21010201, pos = { x = 186.062, y = 57.016, z = 386.420 }, rot = { x = 0.000, y = 31.450, z = 0.000 }, level = 1, disableWander = true }, + { config_id = 23, monster_id = 21010201, pos = { x = 196.962, y = 57.016, z = 386.366 }, rot = { x = 0.000, y = 323.620, z = 0.000 }, level = 1, disableWander = true }, + { config_id = 42, monster_id = 21020201, pos = { x = 191.734, y = 57.000, z = 389.078 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 3, disableWander = true }, + { config_id = 61, monster_id = 21010701, pos = { x = 181.676, y = 57.016, z = 378.620 }, rot = { x = 0.000, y = 87.200, z = 0.000 }, level = 1, disableWander = true }, + { config_id = 68, monster_id = 21010501, pos = { x = 182.998, y = 57.016, z = 383.405 }, rot = { x = 0.000, y = 36.700, z = 0.000 }, level = 1, disableWander = true }, + { config_id = 69, monster_id = 21010501, pos = { x = 183.382, y = 57.017, z = 388.556 }, rot = { x = 0.000, y = 152.300, z = 0.000 }, level = 1, disableWander = true }, + { config_id = 70, monster_id = 21010501, pos = { x = 182.857, y = 57.017, z = 381.163 }, rot = { x = 0.000, y = 33.480, z = 0.000 }, level = 1, disableWander = true }, + { config_id = 91, monster_id = 20011201, pos = { x = 179.252, y = 57.017, z = 370.305 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 92, monster_id = 20011201, pos = { x = 204.518, y = 57.016, z = 369.968 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 93, monster_id = 20011201, pos = { x = 204.387, y = 57.016, z = 379.441 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 94, monster_id = 20011201, pos = { x = 179.185, y = 57.016, z = 379.234 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 54, gadget_id = 70211011, pos = { x = 191.468, y = 57.100, z = 382.573 }, rot = { x = 0.000, y = 180.800, z = 0.000 }, level = 6, drop_tag = "战斗中级蒙德", showcutscene = true, isOneoff = true }, + { config_id = 83, gadget_id = 70220005, pos = { x = 181.710, y = 57.016, z = 382.069 }, rot = { x = 0.000, y = 7.749, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000009, name = "DUNGEON_SETTLE_9", event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "condition_EVENT_DUNGEON_SETTLE_9", action = "action_EVENT_DUNGEON_SETTLE_9" }, + { config_id = 1000012, name = "ANY_MONSTER_DIE_12", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_12", action = "action_EVENT_ANY_MONSTER_DIE_12" }, + { config_id = 1000053, name = "ANY_MONSTER_DIE_53", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_53", action = "action_EVENT_ANY_MONSTER_DIE_53", trigger_count = 0 } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { 22, 23, 42, 61, 68, 69, 70 }, + gadgets = { 83 }, + regions = { }, + triggers = { "DUNGEON_SETTLE_9", "ANY_MONSTER_DIE_12", "ANY_MONSTER_DIE_53" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_DUNGEON_SETTLE_9(context, evt) + -- 判断副本成功 + if 1 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_DUNGEON_SETTLE_9(context, evt) + -- 创建id为54的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 54 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ANY_MONSTER_DIE_12(context, evt) + -- 判断剩余怪物数量是否是2 + if ScriptLib.GetGroupMonsterCount(context) ~= 2 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ANY_MONSTER_DIE_12(context, evt) + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 91, delay_time = 0 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster") + return -1 + end + + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 92, delay_time = 0 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster") + return -1 + end + + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 93, delay_time = 0 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster") + return -1 + end + + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = 94, delay_time = 0 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster") + return -1 + end + + -- 调用提示id为 1019001 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 + if 0 ~= ScriptLib.ShowReminder(context, 1019001) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ANY_MONSTER_DIE_53(context, evt) + -- 判断角色数量不少于0 + if evt.type == EventType.EVENT_ANY_MONSTER_DIE and evt.param1 == defs.gadget_id_1 then + return true + end + + return false +end + +-- 触发操作 +function action_EVENT_ANY_MONSTER_DIE_53(context, evt) + -- 杀死Group内所有monster + if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220006005, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group") + return -1 + end + + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20006/scene20006_group220006007.lua b/Resources/Scripts/Scene/20006/scene20006_group220006007.lua index e69de29bb..770ef1c12 100644 --- a/Resources/Scripts/Scene/20006/scene20006_group220006007.lua +++ b/Resources/Scripts/Scene/20006/scene20006_group220006007.lua @@ -0,0 +1,177 @@ +-- 基础信息 +local base_info = { + group_id = 220006007 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 1, + gadget_id_2 = 2 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 84, gadget_id = 70360002, pos = { x = 213.952, y = 46.073, z = 177.670 }, rot = { x = 0.000, y = 225.020, z = 0.000 }, level = 1 }, + { config_id = 141, gadget_id = 70211021, pos = { x = 199.500, y = 58.300, z = 285.600 }, rot = { x = 0.000, y = 180.900, z = 0.000 }, level = 6, drop_tag = "战斗高级蒙德", isOneoff = true } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1000024, name = "GADGET_CREATE_24", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_24", action = "action_EVENT_GADGET_CREATE_24" }, + { config_id = 1000025, name = "SELECT_OPTION_25", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_25", action = "action_EVENT_SELECT_OPTION_25", forbid_guest = false }, + { config_id = 1000027, name = "SELECT_OPTION_27", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_27", action = "action_EVENT_SELECT_OPTION_27", forbid_guest = false }, + { config_id = 1000033, name = "SELECT_OPTION_33", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_33", action = "action_EVENT_SELECT_OPTION_33", trigger_count = 0, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { }, + gadgets = { 84, 141 }, + regions = { }, + triggers = { "GADGET_CREATE_24", "SELECT_OPTION_25", "SELECT_OPTION_27", "SELECT_OPTION_33" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_24(context, evt) + -- 判断是gadgetid 84 + if 84 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_24(context, evt) + -- 设置操作台选项 + if 0 ~= ScriptLib.SetWorktopOptions(context, {2}) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_25(context, evt) + -- 判断是gadgetid 84 + if 84 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_25(context, evt) + -- 根据不同的选项解锁风场 + if defs.gadget_id_2 == evt.param2 then + if 0 ~= ScriptLib.UnlockForce(context, defs.gadget_id_1) then + return -1 + end + if 0 ~= ScriptLib.ShowReminder(context, 1030001) then + return -1 + end + + + return 0 + end + + + +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_27(context, evt) + -- 判断是gadgetid 84 + if 84 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_27(context, evt) + -- 根据不同的选项做不同的操作 + if 2 == evt.param2 then + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 84, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_option") + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_33(context, evt) + -- 判断是gadgetid 84 + if 84 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_33(context, evt) + pos = {x=236, y=52.8, z=181.6} + if 0 ~= ScriptLib.BeginCameraSceneLook(context, { look_pos = pos, duration = 3.5, is_force = true, is_broadcast = false }) then + return -1 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20007/scene20007_group220007003.lua b/Resources/Scripts/Scene/20007/scene20007_group220007003.lua index e69de29bb..6edc50893 100644 --- a/Resources/Scripts/Scene/20007/scene20007_group220007003.lua +++ b/Resources/Scripts/Scene/20007/scene20007_group220007003.lua @@ -0,0 +1,83 @@ +-- 基础信息 +local base_info = { + group_id = 220007003 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 43, + gadget_id_2 = 6, + gadget_id_3 = 5, + gadget_id_4 = 1, + gadget_id_5 = 4, + gadget_id_6 = 26 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 4, gadget_id = 70380001, pos = { x = 13.118, y = 1.198, z = -10.109 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 20007014 }, + { config_id = 5, gadget_id = 70710010, pos = { x = 5.000, y = 23.000, z = 20.000 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, route_id = 3 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 4, 5 }, + regions = { }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ \ No newline at end of file diff --git a/Resources/Scripts/Scene/20007/scene20007_group220007005.lua b/Resources/Scripts/Scene/20007/scene20007_group220007005.lua index 5186185cb..a202e4f4d 100644 --- a/Resources/Scripts/Scene/20007/scene20007_group220007005.lua +++ b/Resources/Scripts/Scene/20007/scene20007_group220007005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_lift = 51, route_down = 20007015, route_up = 20007016, diff --git a/Resources/Scripts/Scene/20008/scene20008_group220008003.lua b/Resources/Scripts/Scene/20008/scene20008_group220008003.lua index e69de29bb..c9518ff89 100644 --- a/Resources/Scripts/Scene/20008/scene20008_group220008003.lua +++ b/Resources/Scripts/Scene/20008/scene20008_group220008003.lua @@ -0,0 +1,401 @@ +-- 基础信息 +local base_info = { + group_id = 220008003 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 193, + gadget_id_2 = 1 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 50, monster_id = 20011301, pos = { x = 455.642, y = -28.484, z = 260.679 }, rot = { x = 0.000, y = 22.659, z = 0.000 }, level = 1, disableWander = true } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 193, gadget_id = 70350003, pos = { x = 485.934, y = -28.585, z = 266.299 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 194, gadget_id = 70350003, pos = { x = 440.258, y = -25.618, z = 246.296 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 195, gadget_id = 70360002, pos = { x = 488.781, y = -28.514, z = 269.575 }, rot = { x = 0.000, y = 135.152, z = 0.000 }, level = 1 }, + { config_id = 197, gadget_id = 70220002, pos = { x = 470.541, y = -28.410, z = 267.466 }, rot = { x = 0.000, y = 339.627, z = 0.000 }, level = 1 }, + { config_id = 247, gadget_id = 70220010, pos = { x = 447.865, y = -28.327, z = 266.131 }, rot = { x = 0.000, y = 91.123, z = 0.000 }, level = 1 }, + { config_id = 248, gadget_id = 70220023, pos = { x = 458.129, y = -28.433, z = 265.689 }, rot = { x = 0.000, y = 52.075, z = 0.000 }, level = 1 }, + { config_id = 365, gadget_id = 70380001, pos = { x = 433.284, y = -26.337, z = 222.074 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + { config_id = 366, gadget_id = 70380001, pos = { x = 443.286, y = -26.337, z = 222.069 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + { config_id = 389, gadget_id = 70211022, pos = { x = 440.503, y = -28.503, z = 266.212 }, rot = { x = 0.000, y = 88.017, z = 0.000 }, level = 1, chest_drop_id = 11010100, drop_count = 1, state = GadgetState.ChestLocked, isOneoff = true }, + { config_id = 390, gadget_id = 70220013, pos = { x = 444.555, y = -28.284, z = 248.684 }, rot = { x = 349.243, y = 186.270, z = 355.368 }, level = 1 }, + { config_id = 391, gadget_id = 70220013, pos = { x = 466.116, y = -28.426, z = 283.259 }, rot = { x = 0.000, y = 0.203, z = 0.000 }, level = 1 }, + { config_id = 392, gadget_id = 70220014, pos = { x = 464.676, y = -28.637, z = 283.869 }, rot = { x = 0.000, y = 216.038, z = 0.000 }, level = 1 }, + { config_id = 393, gadget_id = 70220014, pos = { x = 443.926, y = -28.611, z = 284.117 }, rot = { x = 0.000, y = 302.000, z = 0.000 }, level = 1 }, + { config_id = 394, gadget_id = 70220014, pos = { x = 438.315, y = -28.489, z = 278.548 }, rot = { x = 0.000, y = 229.730, z = 0.000 }, level = 1 }, + { config_id = 395, gadget_id = 70220014, pos = { x = 445.859, y = -28.627, z = 284.420 }, rot = { x = 0.000, y = 54.228, z = 0.000 }, level = 1 }, + { config_id = 398, gadget_id = 70220014, pos = { x = 464.315, y = -28.570, z = 248.638 }, rot = { x = 0.000, y = 175.453, z = 0.000 }, level = 1 }, + { config_id = 401, gadget_id = 70220023, pos = { x = 450.418, y = -28.484, z = 260.969 }, rot = { x = 0.000, y = 281.483, z = 0.000 }, level = 1 }, + { config_id = 402, gadget_id = 70220023, pos = { x = 452.718, y = -28.433, z = 265.714 }, rot = { x = 0.000, y = 317.004, z = 0.000 }, level = 1 }, + { config_id = 403, gadget_id = 70220023, pos = { x = 449.683, y = -28.483, z = 271.023 }, rot = { x = 0.000, y = 148.263, z = 0.000 }, level = 1 }, + { config_id = 404, gadget_id = 70220023, pos = { x = 454.572, y = -28.433, z = 270.638 }, rot = { x = 0.000, y = 133.318, z = 0.000 }, level = 1 }, + { config_id = 405, gadget_id = 70220023, pos = { x = 455.569, y = -28.434, z = 261.477 }, rot = { x = 0.000, y = 310.354, z = 0.000 }, level = 1 }, + { config_id = 417, gadget_id = 70211111, pos = { x = 431.462, y = -25.418, z = 222.165 }, rot = { x = 0.000, y = 90.044, z = 0.000 }, level = 1, drop_tag = "解谜中级蒙德", isOneoff = true }, + { config_id = 418, gadget_id = 70380001, pos = { x = 433.105, y = -26.319, z = 211.580 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 10, persistent = true }, + { config_id = 419, gadget_id = 70380001, pos = { x = 438.281, y = -26.337, z = 222.071 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + { config_id = 420, gadget_id = 70900023, pos = { x = 438.064, y = -27.521, z = 226.302 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 421, gadget_id = 70900023, pos = { x = 442.638, y = -27.521, z = 226.229 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 422, gadget_id = 70900023, pos = { x = 442.890, y = -27.521, z = 217.180 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 423, gadget_id = 70900023, pos = { x = 438.119, y = -27.521, z = 217.194 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 424, gadget_id = 70900023, pos = { x = 433.328, y = -27.521, z = 217.201 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 425, gadget_id = 70900023, pos = { x = 442.754, y = -27.521, z = 212.325 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 426, gadget_id = 70900023, pos = { x = 438.072, y = -27.521, z = 212.324 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 427, gadget_id = 70900023, pos = { x = 433.260, y = -27.521, z = 212.048 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 428, gadget_id = 70900023, pos = { x = 442.755, y = -27.521, z = 231.150 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 429, gadget_id = 70900023, pos = { x = 438.111, y = -27.521, z = 231.071 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { + { config_id = 21, shape = RegionShape.SPHERE, radius = 5, pos = { x = 475.990, y = -28.483, z = 266.281 } }, + { config_id = 59, shape = RegionShape.SPHERE, radius = 5, pos = { x = 471.335, y = -28.503, z = 266.185 } } +} + +-- 触发器 +triggers = { + { config_id = 1000020, name = "ANY_MONSTER_DIE_20", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_20", action = "action_EVENT_ANY_MONSTER_DIE_20" }, + { config_id = 1000021, name = "ENTER_REGION_21", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_21", action = "action_EVENT_ENTER_REGION_21", trigger_count = 0, forbid_guest = false }, + { config_id = 1000023, name = "GADGET_CREATE_23", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_23", action = "action_EVENT_GADGET_CREATE_23" }, + { config_id = 1000024, 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, forbid_guest = false }, + { config_id = 1000025, 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, forbid_guest = false }, + { config_id = 1000033, name = "DUNGEON_SETTLE_33", event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "condition_EVENT_DUNGEON_SETTLE_33", action = "action_EVENT_DUNGEON_SETTLE_33" }, + { config_id = 1000036, name = "SPECIFIC_MONSTER_HP_CHANGE_36", event = EventType.EVENT_SPECIFIC_MONSTER_HP_CHANGE, source = "50", condition = "condition_EVENT_SPECIFIC_MONSTER_HP_CHANGE_36", action = "action_EVENT_SPECIFIC_MONSTER_HP_CHANGE_36" }, + { config_id = 1000038, name = "ANY_GADGET_DIE_38", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "condition_EVENT_ANY_GADGET_DIE_38", action = "action_EVENT_ANY_GADGET_DIE_38", trigger_count = 0 }, + { config_id = 1000057, name = "ANY_MONSTER_DIE_57", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_57", action = "action_EVENT_ANY_MONSTER_DIE_57" }, + { config_id = 1000059, name = "ENTER_REGION_59", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_59", action = "action_EVENT_ENTER_REGION_59", forbid_guest = false }, + { config_id = 1000060, name = "TIMER_EVENT_60", event = EventType.EVENT_TIMER_EVENT, source = "creatself", condition = "", action = "action_EVENT_TIMER_EVENT_60", trigger_count = 0 }, + { config_id = 1000065, name = "ANY_GADGET_DIE_65", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "condition_EVENT_ANY_GADGET_DIE_65", action = "action_EVENT_ANY_GADGET_DIE_65" } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { 50 }, + gadgets = { 193, 194, 195, 197, 247, 248, 365, 366, 389, 390, 391, 392, 393, 394, 395, 398, 401, 402, 403, 404, 405, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429 }, + regions = { 21, 59 }, + triggers = { "ANY_MONSTER_DIE_20", "ENTER_REGION_21", "GADGET_CREATE_23", "SELECT_OPTION_24", "SELECT_OPTION_25", "DUNGEON_SETTLE_33", "SPECIFIC_MONSTER_HP_CHANGE_36", "ANY_GADGET_DIE_38", "ANY_MONSTER_DIE_57", "ENTER_REGION_59", "TIMER_EVENT_60", "ANY_GADGET_DIE_65" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_ANY_MONSTER_DIE_20(context, evt) + -- 判断剩余怪物数量是否是0 + if ScriptLib.GetGroupMonsterCount(context) ~= 0 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ANY_MONSTER_DIE_20(context, evt) + -- 将configid为 194 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 194, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 解锁目标389 + if 0 ~= ScriptLib.ChangeGroupGadget(context, { config_id = 389, state = GadgetState.Default }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : unlock_gadget") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_21(context, evt) + if evt.param1 ~= 21 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_21(context, evt) + -- 将configid为 195 的物件更改为状态 GadgetState.Default + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 195, GadgetState.Default) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_23(context, evt) + if 195 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_23(context, evt) + -- 设置操作台选项 + if 0 ~= ScriptLib.SetWorktopOptions(context, {1}) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_24(context, evt) + -- 判断是gadgetid 195 + if 195 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_24(context, evt) + -- 根据不同的选项做不同的操作 + if defs.gadget_id_2 == evt.param2 then + + -- 杀死Group内指定的monster和gadget + if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220008001, monsters = {}, gadgets = {370} }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_1, GadgetState.GearStart) then + return -1 + end + + -- 删除指定group: 220008003 ;指定config:195;物件身上指定option:1; + if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 220008003, 195, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId") + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_25(context, evt) + -- 判断是gadgetid 195 + if 195 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_25(context, evt) + -- 根据不同的选项做不同的操作 + if 1 == evt.param2 then + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 195, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_option") + return -1 + end + return 0 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_DUNGEON_SETTLE_33(context, evt) + -- 判断副本成功 + if 1 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_DUNGEON_SETTLE_33(context, evt) + -- 杀死Group内指定的monster和gadget + if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220008001, monsters = {}, gadgets = {367} }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SPECIFIC_MONSTER_HP_CHANGE_36(context, evt) + --[[判断指定configid的怪物的血量小于%80时触发指定后续操作]]-- + if evt.type ~= EventType.EVENT_SPECIFIC_MONSTER_HP_CHANGE or evt.param3 > 80 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SPECIFIC_MONSTER_HP_CHANGE_36(context, evt) + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220008012, suite = 2 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ANY_GADGET_DIE_38(context, evt) + if 247 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ANY_GADGET_DIE_38(context, evt) + -- 延迟24秒后,向groupId为:220008003的对象,请求一次调用,并将string参数:"creatself" 传递过去 + if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220008003, "creatself", 24) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ANY_MONSTER_DIE_57(context, evt) + if 50 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ANY_MONSTER_DIE_57(context, evt) + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220008012, suite = 1 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + -- 创建id为365的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 365 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_59(context, evt) + if evt.param1 ~= 59 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_59(context, evt) + -- 触发镜头注目,注目位置为坐标(447,-28,266),持续时间为2秒,并且为强制注目形式,不广播其他玩家 + local pos = {x=447, y=-28, z=266} + local pos_follow = {x=0, y=0, z=0} + if 0 ~= ScriptLib.BeginCameraSceneLook(context, { look_pos = pos, is_allow_input = false, duration = 2, is_force = true, is_broadcast = false, is_recover_keep_current = true, delay = 0, + is_set_follow_pos = false, follow_pos = pos_follow, is_force_walk = false, is_change_play_mode = false, + is_set_screen_XY = false, screen_x = 0, screen_y = 0 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_cameraLook_Begin") + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_TIMER_EVENT_60(context, evt) + -- 创建id为247的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 247 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ANY_GADGET_DIE_65(context, evt) + if 247 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ANY_GADGET_DIE_65(context, evt) + -- 调用提示id为 1010001 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 + if 0 ~= ScriptLib.ShowReminder(context, 1010001) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") + return -1 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20008/scene20008_group220008901.lua b/Resources/Scripts/Scene/20008/scene20008_group220008901.lua index e69de29bb..ad477615c 100644 --- a/Resources/Scripts/Scene/20008/scene20008_group220008901.lua +++ b/Resources/Scripts/Scene/20008/scene20008_group220008901.lua @@ -0,0 +1,108 @@ +-- 基础信息 +local base_info = { + group_id = 220008901 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 41, + gadget_id_2 = 42, + gadget_id_3 = 43 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { +} + +-- 区域 +regions = { + { config_id = 41, shape = RegionShape.CUBIC, size = { x = 18.160, y = 3.000, z = 47.080 }, pos = { x = 565.430, y = -62.666, z = 206.703 } }, + { config_id = 42, shape = RegionShape.SPHERE, radius = 5, pos = { x = 517.301, y = -65.573, z = 221.517 } }, + { config_id = 43, shape = RegionShape.CUBIC, size = { x = 3.880, y = 3.410, z = 50.310 }, pos = { x = 471.269, y = -28.506, z = 266.122 } } +} + +-- 触发器 +triggers = { + { config_id = 1000041, name = "ENTER_REGION_41", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_41", action = "", trigger_count = 0, forbid_guest = false }, + { config_id = 1000042, name = "ENTER_REGION_42", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_42", action = "", trigger_count = 0, forbid_guest = false }, + { config_id = 1000043, name = "ENTER_REGION_43", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_43", action = "", trigger_count = 0, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { }, + regions = { 41, 42, 43 }, + triggers = { "ENTER_REGION_41", "ENTER_REGION_42", "ENTER_REGION_43" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_ENTER_REGION_41(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 30707) == QuestState.UNFINISHED and evt.param1 == defs.gadget_id_1 then + return true + end + return false +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_42(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 30708) == QuestState.UNFINISHED and evt.param1 == defs.gadget_id_2 then + return true + end + return false +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_43(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 30709) == QuestState.UNFINISHED and evt.param1 == defs.gadget_id_3 then + return true + end + return false +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20009/scene20009_group220009001.lua b/Resources/Scripts/Scene/20009/scene20009_group220009001.lua index 5395ee047..af5a3984a 100644 --- a/Resources/Scripts/Scene/20009/scene20009_group220009001.lua +++ b/Resources/Scripts/Scene/20009/scene20009_group220009001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 137, gadget_id_2 = 138, gadget_id_3 = 55, diff --git a/Resources/Scripts/Scene/20009/scene20009_group220009002.lua b/Resources/Scripts/Scene/20009/scene20009_group220009002.lua index 596422774..9cee9148f 100644 --- a/Resources/Scripts/Scene/20009/scene20009_group220009002.lua +++ b/Resources/Scripts/Scene/20009/scene20009_group220009002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 205, gadget_id_2 = 235, gadget_id_3 = 236, diff --git a/Resources/Scripts/Scene/20009/scene20009_group220009011.lua b/Resources/Scripts/Scene/20009/scene20009_group220009011.lua index 91b68e5a1..1be0f46e9 100644 --- a/Resources/Scripts/Scene/20009/scene20009_group220009011.lua +++ b/Resources/Scripts/Scene/20009/scene20009_group220009011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 8, gadget_id_2 = 9, gadget_id_3 = 10, diff --git a/Resources/Scripts/Scene/20009/scene20009_group220009901.lua b/Resources/Scripts/Scene/20009/scene20009_group220009901.lua index e69de29bb..be1daf695 100644 --- a/Resources/Scripts/Scene/20009/scene20009_group220009901.lua +++ b/Resources/Scripts/Scene/20009/scene20009_group220009901.lua @@ -0,0 +1,120 @@ +-- 基础信息 +local base_info = { + group_id = 220009901 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 28, + gadget_id_2 = 29, + gadget_id_3 = 30, + gadget_id_4 = 56 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { +} + +-- 区域 +regions = { + { config_id = 28, shape = RegionShape.SPHERE, radius = 20.4, pos = { x = -63.699, y = -7.984, z = 96.682 } }, + { config_id = 29, shape = RegionShape.CUBIC, size = { x = 20.000, y = 9.940, z = 20.000 }, pos = { x = -79.597, y = -7.613, z = 98.022 } }, + { config_id = 30, shape = RegionShape.SPHERE, radius = 16.2, pos = { x = -128.398, y = -12.483, z = 125.991 } }, + { config_id = 56, shape = RegionShape.SPHERE, radius = 5, pos = { x = -127.322, y = -12.404, z = 101.642 } } +} + +-- 触发器 +triggers = { + { config_id = 1000028, name = "ENTER_REGION_28", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_28", action = "", trigger_count = 0, forbid_guest = false }, + { config_id = 1000029, name = "ENTER_REGION_29", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_29", action = "", trigger_count = 0, forbid_guest = false }, + { config_id = 1000030, name = "ENTER_REGION_30", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_30", action = "", trigger_count = 0, forbid_guest = false }, + { config_id = 1000056, name = "ENTER_REGION_56", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_56", action = "", trigger_count = 0, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { }, + gadgets = { }, + regions = { 28, 29, 56 }, + triggers = { "ENTER_REGION_28", "ENTER_REGION_29", "ENTER_REGION_56" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_ENTER_REGION_28(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 30607) == QuestState.UNFINISHED and evt.param1 == defs.gadget_id_1 then + return true + end + return false +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_29(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 30608) == QuestState.UNFINISHED and evt.param1 == defs.gadget_id_2 then + return true + end + return false +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_30(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 30609) == QuestState.UNFINISHED and evt.param1 == defs.gadget_id_3 then + return true + end + return false +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_56(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 30612) == QuestState.UNFINISHED and evt.param1 == defs.gadget_id_4 then + return true + end + return false + +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/2001/scene2001_group420010001.lua b/Resources/Scripts/Scene/2001/scene2001_group420010001.lua index 14fd96379..b25757787 100644 --- a/Resources/Scripts/Scene/2001/scene2001_group420010001.lua +++ b/Resources/Scripts/Scene/2001/scene2001_group420010001.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 家园Group物件 001 计时器 -defs = { +local defs = { GalleryID = 410001, StartConfig = 1001, EndConfig = 1002, diff --git a/Resources/Scripts/Scene/2001/scene2001_group420010002.lua b/Resources/Scripts/Scene/2001/scene2001_group420010002.lua index 8a2574e59..9fd9f5f8a 100644 --- a/Resources/Scripts/Scene/2001/scene2001_group420010002.lua +++ b/Resources/Scripts/Scene/2001/scene2001_group420010002.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 家园Group物件 002 计分器 -defs = { +local defs = { ScoreCid = 2001, PedalCid = 2002, Operator = 2003, diff --git a/Resources/Scripts/Scene/2001/scene2001_group420010003.lua b/Resources/Scripts/Scene/2001/scene2001_group420010003.lua index 218e66568..391560681 100644 --- a/Resources/Scripts/Scene/2001/scene2001_group420010003.lua +++ b/Resources/Scripts/Scene/2001/scene2001_group420010003.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 家园Group物件 002 计分器 -defs = { +local defs = { ScoreCid = 3001, PedalCid = 3002, Operator = 3003, diff --git a/Resources/Scripts/Scene/2001/scene2001_group420010004.lua b/Resources/Scripts/Scene/2001/scene2001_group420010004.lua index 0f924dfd9..eaa465d2c 100644 --- a/Resources/Scripts/Scene/2001/scene2001_group420010004.lua +++ b/Resources/Scripts/Scene/2001/scene2001_group420010004.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 家园Group物件 002 计分器 -defs = { +local defs = { ScoreCid = 4001, PedalCid = 4002, Operator = 4003, diff --git a/Resources/Scripts/Scene/2001/scene2001_group420010005.lua b/Resources/Scripts/Scene/2001/scene2001_group420010005.lua index 9d6edd20a..039e14784 100644 --- a/Resources/Scripts/Scene/2001/scene2001_group420010005.lua +++ b/Resources/Scripts/Scene/2001/scene2001_group420010005.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 家园Group物件 002 计分器 -defs = { +local defs = { ScoreCid = 5001, PedalCid = 5002, Operator = 5003, diff --git a/Resources/Scripts/Scene/2001/scene2001_group420010007.lua b/Resources/Scripts/Scene/2001/scene2001_group420010007.lua index 004d3075a..aa6d6d389 100644 --- a/Resources/Scripts/Scene/2001/scene2001_group420010007.lua +++ b/Resources/Scripts/Scene/2001/scene2001_group420010007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challengeTime = 2, delayTime = 5 } diff --git a/Resources/Scripts/Scene/2001/scene2001_group420010008.lua b/Resources/Scripts/Scene/2001/scene2001_group420010008.lua index ee18bc7b4..99d87ba47 100644 --- a/Resources/Scripts/Scene/2001/scene2001_group420010008.lua +++ b/Resources/Scripts/Scene/2001/scene2001_group420010008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { Game_Time = 150, Stage_Time = 30, Stage_Tubby_Count = 4, diff --git a/Resources/Scripts/Scene/20011/scene20011_group220011001.lua b/Resources/Scripts/Scene/20011/scene20011_group220011001.lua index e69de29bb..5eb16ce88 100644 --- a/Resources/Scripts/Scene/20011/scene20011_group220011001.lua +++ b/Resources/Scripts/Scene/20011/scene20011_group220011001.lua @@ -0,0 +1,653 @@ +-- 基础信息 +local base_info = { + group_id = 220011001 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 1047 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 1001, monster_id = 20011201, pos = { x = 448.686, y = -24.413, z = 68.376 }, rot = { x = 0.000, y = 92.335, z = 0.000 }, level = 3 } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 1002, gadget_id = 70211101, pos = { x = 507.446, y = -37.485, z = 83.806 }, rot = { x = 0.000, y = 182.260, z = 0.000 }, level = 1, drop_tag = "解谜低级蒙德", isOneoff = true }, + { config_id = 1003, gadget_id = 70350002, pos = { x = 469.561, y = -20.423, z = 67.499 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 1004, gadget_id = 70360002, pos = { x = 475.525, y = -20.035, z = 63.895 }, rot = { x = 0.000, y = 90.056, z = 0.000 }, level = 1 }, + { config_id = 1005, gadget_id = 70211001, pos = { x = 428.371, y = -22.064, z = 53.570 }, rot = { x = 0.000, y = 321.609, z = 0.000 }, level = 1, drop_tag = "战斗低级蒙德", isOneoff = true }, + { config_id = 1006, gadget_id = 70350002, pos = { x = 406.374, y = -22.161, z = 81.408 }, rot = { x = 0.000, y = 180.210, z = 0.000 }, level = 1 }, + { config_id = 1007, gadget_id = 70350002, pos = { x = 423.516, y = -22.097, z = 71.100 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 1008, gadget_id = 70220013, pos = { x = 490.493, y = -20.051, z = 78.232 }, rot = { x = 0.000, y = 41.505, z = 0.000 }, level = 1 }, + { config_id = 1009, gadget_id = 70220013, pos = { x = 491.485, y = -20.265, z = 75.821 }, rot = { x = 0.000, y = 272.591, z = 0.000 }, level = 1 }, + { config_id = 1010, gadget_id = 70211101, pos = { x = 495.062, y = -20.033, z = 77.011 }, rot = { x = 0.000, y = 75.558, z = 0.000 }, level = 1, drop_tag = "解谜低级蒙德", isOneoff = true }, + { config_id = 1011, gadget_id = 70220014, pos = { x = 489.414, y = -20.334, z = 79.560 }, rot = { x = 0.000, y = 283.946, z = 0.000 }, level = 1 }, + { config_id = 1012, gadget_id = 70220013, pos = { x = 502.881, y = -37.317, z = 81.759 }, rot = { x = 0.000, y = 351.358, z = 0.000 }, level = 1 }, + { config_id = 1013, gadget_id = 70220013, pos = { x = 505.355, y = -37.535, z = 82.002 }, rot = { x = 0.000, y = 314.506, z = 0.000 }, level = 1 }, + { config_id = 1014, gadget_id = 70220013, pos = { x = 504.487, y = -37.735, z = 80.146 }, rot = { x = 0.000, y = 290.533, z = 0.000 }, level = 1 }, + { config_id = 1015, gadget_id = 70310002, pos = { x = 494.202, y = -26.998, z = 70.886 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 1016, gadget_id = 70310002, pos = { x = 494.425, y = -26.764, z = 64.127 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 1017, gadget_id = 70310002, pos = { x = 495.341, y = -16.234, z = 72.000 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 }, + { config_id = 1018, gadget_id = 70310002, pos = { x = 494.991, y = -16.363, z = 63.191 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1019, gadget_id = 70310002, pos = { x = 450.161, y = -19.643, z = 64.219 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1020, gadget_id = 70310001, pos = { x = 425.898, y = -22.324, z = 65.538 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 1021, gadget_id = 70310001, pos = { x = 425.962, y = -22.151, z = 76.792 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 1022, gadget_id = 70310001, pos = { x = 400.746, y = -20.073, z = 78.909 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 }, + { config_id = 1023, gadget_id = 70310001, pos = { x = 411.845, y = -20.076, z = 78.945 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 }, + { config_id = 1024, gadget_id = 70310002, pos = { x = 472.137, y = -15.665, z = 61.579 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 1025, gadget_id = 70310002, pos = { x = 472.140, y = -15.580, z = 73.325 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 1026, gadget_id = 70310002, pos = { x = 500.972, y = -31.446, z = 84.375 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 1027, gadget_id = 70310001, pos = { x = 420.841, y = -22.084, z = 58.142 }, rot = { x = 0.000, y = 98.952, z = 0.000 }, level = 1 }, + { config_id = 1028, gadget_id = 70310001, pos = { x = 544.595, y = -42.056, z = 46.233 }, rot = { x = 0.000, y = 223.245, z = 0.000 }, level = 1 }, + { config_id = 1029, gadget_id = 70310001, pos = { x = 555.298, y = -42.020, z = 46.185 }, rot = { x = 0.000, y = 183.036, z = 0.000 }, level = 1 }, + { config_id = 1030, gadget_id = 70310001, pos = { x = 544.739, y = -43.356, z = 40.212 }, rot = { x = 0.000, y = 63.973, z = 0.000 }, level = 1 }, + { config_id = 1031, gadget_id = 70310001, pos = { x = 555.476, y = -43.385, z = 40.564 }, rot = { x = 0.000, y = 83.172, z = 0.000 }, level = 1 }, + { config_id = 1032, gadget_id = 70310001, pos = { x = 555.558, y = -40.544, z = 51.271 }, rot = { x = 0.000, y = 76.840, z = 0.000 }, level = 1 }, + { config_id = 1033, gadget_id = 70310001, pos = { x = 544.648, y = -40.557, z = 51.131 }, rot = { x = 0.000, y = 265.978, z = 0.000 }, level = 1 }, + { config_id = 1034, gadget_id = 70310001, pos = { x = 555.398, y = -39.273, z = 55.224 }, rot = { x = 0.000, y = 209.609, z = 0.000 }, level = 1 }, + { config_id = 1035, gadget_id = 70310001, pos = { x = 544.782, y = -39.282, z = 55.270 }, rot = { x = 0.000, y = 97.228, z = 0.000 }, level = 1 }, + { config_id = 1036, gadget_id = 70310001, pos = { x = 555.310, y = -38.151, z = 71.121 }, rot = { x = 0.000, y = 348.422, z = 0.000 }, level = 1 }, + { config_id = 1037, gadget_id = 70310001, pos = { x = 545.100, y = -38.135, z = 71.161 }, rot = { x = 0.000, y = 239.016, z = 0.000 }, level = 1 }, + { config_id = 1038, gadget_id = 70310001, pos = { x = 555.394, y = -38.213, z = 81.758 }, rot = { x = 0.000, y = 21.280, z = 0.000 }, level = 1 }, + { config_id = 1039, gadget_id = 70310001, pos = { x = 545.119, y = -38.184, z = 81.482 }, rot = { x = 0.000, y = 100.803, z = 0.000 }, level = 1 }, + { config_id = 1040, gadget_id = 70900202, pos = { x = 532.301, y = 2.338, z = 219.869 }, rot = { x = 0.000, y = 331.636, z = 0.000 }, level = 1 }, + { config_id = 1041, gadget_id = 70900202, pos = { x = 496.332, y = -34.534, z = 67.662 }, rot = { x = 0.000, y = 274.978, z = 0.000 }, level = 1 }, + { config_id = 1042, gadget_id = 70900202, pos = { x = 475.449, y = -18.451, z = 63.887 }, rot = { x = 0.000, y = 162.878, z = 0.000 }, level = 1 }, + { config_id = 1047, gadget_id = 70900008, pos = { x = 410.549, y = -22.101, z = 63.921 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1048, gadget_id = 70211002, pos = { x = 400.092, y = -22.083, z = 65.379 }, rot = { x = 0.000, y = 91.011, z = 0.000 }, level = 1, drop_tag = "战斗低级蒙德", state = GadgetState.ChestLocked, isOneoff = true }, + { config_id = 1049, gadget_id = 70900201, pos = { x = 533.887, y = -1.984, z = 248.031 }, rot = { x = 0.000, y = 120.050, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { + { config_id = 13, shape = RegionShape.SPHERE, radius = 9, pos = { x = 549.954, y = -38.121, z = 75.771 } }, + { config_id = 14, shape = RegionShape.CUBIC, size = { x = 15.000, y = 10.000, z = 25.000 }, pos = { x = 512.009, y = -35.200, z = 75.080 } }, + { config_id = 16, shape = RegionShape.CUBIC, size = { x = 6.000, y = 5.000, z = 12.000 }, pos = { x = 459.749, y = -22.562, z = 69.188 } }, + { config_id = 17, shape = RegionShape.CUBIC, size = { x = 6.000, y = 8.000, z = 3.800 }, pos = { x = 430.517, y = -22.137, z = 63.496 } }, + { config_id = 36, shape = RegionShape.CUBIC, size = { x = 8.000, y = 5.000, z = 8.000 }, pos = { x = 496.588, y = -27.480, z = 67.701 } }, + { config_id = 37, shape = RegionShape.CUBIC, size = { x = 6.000, y = 3.000, z = 9.000 }, pos = { x = 496.978, y = -16.889, z = 67.723 } }, + { config_id = 44, shape = RegionShape.CUBIC, size = { x = 15.000, y = 3.000, z = 3.000 }, pos = { x = 550.039, y = -42.195, z = 43.212 } }, + { config_id = 45, shape = RegionShape.CUBIC, size = { x = 15.000, y = 5.000, z = 3.000 }, pos = { x = 549.723, y = -41.104, z = 48.071 } }, + { config_id = 46, shape = RegionShape.SPHERE, radius = 5, pos = { x = 549.864, y = -38.150, z = 62.537 } } +} + +-- 触发器 +triggers = { + { config_id = 1000001, name = "GADGET_CREATE_1", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_1", action = "action_EVENT_GADGET_CREATE_1" }, + { config_id = 1000004, name = "SELECT_OPTION_4", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_4", action = "action_EVENT_SELECT_OPTION_4", forbid_guest = false }, + { config_id = 1000007, name = "ANY_MONSTER_DIE_7", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_7", action = "action_EVENT_ANY_MONSTER_DIE_7" }, + { config_id = 1000013, name = "ENTER_REGION_13", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_13", action = "action_EVENT_ENTER_REGION_13", forbid_guest = false }, + { config_id = 1000014, name = "ENTER_REGION_14", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_14", action = "action_EVENT_ENTER_REGION_14", forbid_guest = false }, + { config_id = 1000016, name = "ENTER_REGION_16", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_16", action = "action_EVENT_ENTER_REGION_16", forbid_guest = false }, + { config_id = 1000017, name = "ENTER_REGION_17", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_17", action = "action_EVENT_ENTER_REGION_17", forbid_guest = false }, + { config_id = 1000036, name = "ENTER_REGION_36", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_36", action = "action_EVENT_ENTER_REGION_36", forbid_guest = false }, + { config_id = 1000037, name = "ENTER_REGION_37", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_37", action = "action_EVENT_ENTER_REGION_37", forbid_guest = false }, + { config_id = 1000039, name = "GADGET_CREATE_39", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_39", action = "action_EVENT_GADGET_CREATE_39" }, + { config_id = 1000044, name = "ENTER_REGION_44", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_44", action = "action_EVENT_ENTER_REGION_44", forbid_guest = false }, + { config_id = 1000045, name = "ENTER_REGION_45", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_45", action = "action_EVENT_ENTER_REGION_45", forbid_guest = false }, + { config_id = 1000046, name = "ENTER_REGION_46", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_46", action = "action_EVENT_ENTER_REGION_46", forbid_guest = false }, + { config_id = 1000060, name = "GADGET_STATE_CHANGE_60", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_60", action = "action_EVENT_GADGET_STATE_CHANGE_60", trigger_count = 0 }, + { config_id = 1000064, name = "TIMER_EVENT_64", event = EventType.EVENT_TIMER_EVENT, source = "begin", condition = "", action = "action_EVENT_TIMER_EVENT_64", trigger_count = 0 } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { 1001 }, + gadgets = { 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1047, 1048 }, + regions = { 13, 14, 16, 17, 36, 37, 44, 45, 46 }, + triggers = { "GADGET_CREATE_1", "SELECT_OPTION_4", "ANY_MONSTER_DIE_7", "ENTER_REGION_13", "ENTER_REGION_14", "ENTER_REGION_16", "ENTER_REGION_17", "ENTER_REGION_36", "ENTER_REGION_37", "GADGET_CREATE_39", "ENTER_REGION_44", "ENTER_REGION_45", "ENTER_REGION_46", "GADGET_STATE_CHANGE_60", "TIMER_EVENT_64" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_1(context, evt) + -- 判断是gadgetid 1004 + if 1004 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_1(context, evt) + -- 设置操作台选项 + if 0 ~= ScriptLib.SetWorktopOptions(context, {1}) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_4(context, evt) + -- 判断是gadgetid 1004 option_id 1 + if 1004 ~= evt.param1 then + return false + end + + if 1 ~= evt.param2 then + return false + end + + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_4(context, evt) + -- 删除suite2的所有内容 + ScriptLib.RemoveExtraGroupSuite(context, 220011007, 2) + + -- 添加suite3的新内容 + ScriptLib.AddExtraGroupSuite(context, 220011007, 3) + + -- 将configid为 1003 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1003, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 1004 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1004, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 删除指定group: 220011001 ;指定config:1004;物件身上指定option:1; + if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 220011001, 1004, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId") + return -1 + end + + -- 杀死Group内指定的monster和gadget + if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220011001, monsters = {}, gadgets = {1042} }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ANY_MONSTER_DIE_7(context, evt) + --判断死亡怪物的configid是否为 1001 + if evt.param1 ~= 1001 then + return false + end + + + return true +end + +-- 触发操作 +function action_EVENT_ANY_MONSTER_DIE_7(context, evt) + -- 将configid为 1007 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1007, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 1020 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1020, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 1021 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1021, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_13(context, evt) + if evt.param1 ~= 13 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_13(context, evt) + -- 触发镜头注目,注目位置为坐标(550,-35,83),持续时间为3秒,并且为强制注目形式,不广播其他玩家 + local pos = {x=550, y=-35, z=83} + local pos_follow = {x=0, y=0, z=0} + if 0 ~= ScriptLib.BeginCameraSceneLook(context, { look_pos = pos, is_allow_input = false, duration = 3, is_force = true, is_broadcast = false, is_recover_keep_current = true, delay = 0, + is_set_follow_pos = false, follow_pos = pos_follow, is_force_walk = false, is_change_play_mode = false, + is_set_screen_XY = false, screen_x = 0, screen_y = 0 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_cameraLook_Begin") + return -1 + end + + -- 调用提示id为 1041001 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 + if 0 ~= ScriptLib.ShowReminder(context, 1041001) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") + return -1 + end + + -- 创建id为1041的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 1041 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + -- 创建id为1049的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 1049 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_14(context, evt) + if evt.param1 ~= 14 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_14(context, evt) + -- 调用提示id为 1041011 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 + if 0 ~= ScriptLib.ShowReminder(context, 1041011) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") + return -1 + end + + -- 展示名称为"GuideAvatarFlyInWind"的引导,见GuideData表,参数类型为string + if 0 ~= ScriptLib.ShowClientGuide(context, "GuideAvatarFlyInWind") then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : show_client_guide") + return -1 + end + + -- 卸载指定gadget + if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220011001, EntityType.GADGET, 1049 ) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid") + return -1 + end + + -- 添加suite2的新内容 + ScriptLib.AddExtraGroupSuite(context, 220011007, 2) + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_16(context, evt) + if evt.param1 ~= 16 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_16(context, evt) + -- 调用提示id为 1041041 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 + if 0 ~= ScriptLib.ShowReminder(context, 1041041) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") + return -1 + end + + -- 将configid为 1019 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1019, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_17(context, evt) + if evt.param1 ~= 17 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_17(context, evt) + -- 调用提示id为 1041031 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 + if 0 ~= ScriptLib.ShowReminder(context, 1041031) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_36(context, evt) + if evt.param1 ~= 36 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_36(context, evt) + -- 将configid为 1015 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1015, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 1016 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1016, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 杀死Group内指定的monster和gadget + if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220011001, monsters = {}, gadgets = {1041,1049} }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group") + return -1 + end + + -- 创建id为1042的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 1042 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_37(context, evt) + if evt.param1 ~= 37 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_37(context, evt) + -- 将configid为 1017 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1017, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 1018 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1018, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 1024 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1024, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 1025 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1025, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_39(context, evt) + if 1026 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_39(context, evt) + -- 将configid为 1026 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1026, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 1027 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1027, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_44(context, evt) + if evt.param1 ~= 44 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_44(context, evt) + -- 将configid为 1028 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1028, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 1029 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1029, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 1030 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1030, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 1031 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1031, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_45(context, evt) + if evt.param1 ~= 45 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_45(context, evt) + -- 将configid为 1032 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1032, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 1033 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1033, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 1034 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1034, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 1035 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1035, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_46(context, evt) + if evt.param1 ~= 46 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_46(context, evt) + -- 将configid为 1036 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1036, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 1037 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1037, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 1038 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1038, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 1039 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1039, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_60(context, evt) + if GadgetState.GearStart ~= evt.param1 or defs.gadget_id_1 ~= evt.param2 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_60(context, evt) + -- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1 + if 0 ~= ScriptLib.AddQuestProgress(context, "LisaOne") then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress") + return -1 + end + + -- 延迟3秒后,向groupId为:220011001的对象,请求一次调用,并将string参数:"begin" 传递过去 + if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220011001, "begin", 3) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group") + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_TIMER_EVENT_64(context, evt) + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220011006, suite = 1 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20011/scene20011_group220011004.lua b/Resources/Scripts/Scene/20011/scene20011_group220011004.lua index e69de29bb..cc9ebb656 100644 --- a/Resources/Scripts/Scene/20011/scene20011_group220011004.lua +++ b/Resources/Scripts/Scene/20011/scene20011_group220011004.lua @@ -0,0 +1,392 @@ +-- 基础信息 +local base_info = { + group_id = 220011004 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 97, + gadget_id_2 = 70, + gadget_id_3 = 137, + gadget_id_4 = 138, + gadget_id_5 = 139, + gadget_id_6 = 140, + gadget_id_7 = 4, + gadget_id_8 = 83, + gadget_id_9 = 7 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 29, gadget_id = 70300016, pos = { x = 533.847, y = -1.984, z = 254.026 }, rot = { x = 0.000, y = 181.174, z = 0.000 }, level = 1, persistent = true }, + { config_id = 56, gadget_id = 70310001, pos = { x = 522.986, y = -2.133, z = 251.939 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 57, gadget_id = 70310001, pos = { x = 543.354, y = -2.069, z = 252.100 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 }, + { config_id = 58, gadget_id = 70310001, pos = { x = 528.495, y = -2.061, z = 261.877 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 }, + { config_id = 59, gadget_id = 70310001, pos = { x = 525.688, y = -2.085, z = 256.865 }, rot = { x = 0.000, y = 37.098, z = 0.000 }, level = 1 }, + { config_id = 60, gadget_id = 70310001, pos = { x = 540.554, y = -2.066, z = 256.967 }, rot = { x = 0.000, y = 110.444, z = 0.000 }, level = 1 }, + { config_id = 69, gadget_id = 70211021, pos = { x = 533.532, y = -2.051, z = 257.035 }, rot = { x = 0.000, y = 180.627, z = 0.000 }, level = 1, chest_drop_id = 11010600, drop_count = 1, isOneoff = true }, + { config_id = 70, gadget_id = 70380001, pos = { x = 531.604, y = -22.408, z = 141.296 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 6, start_route = false }, + { config_id = 81, gadget_id = 70310001, pos = { x = 537.904, y = -2.046, z = 261.743 }, rot = { x = 0.000, y = 247.823, z = 0.000 }, level = 1 }, + { config_id = 82, gadget_id = 70380001, pos = { x = 520.953, y = -25.990, z = 121.329 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 7 }, + { config_id = 83, gadget_id = 70360002, pos = { x = 532.819, y = -24.889, z = 123.122 }, rot = { x = 0.000, y = 270.679, z = 0.000 }, level = 1 }, + { config_id = 84, gadget_id = 70900205, pos = { x = 531.371, y = -24.819, z = 121.518 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 85, gadget_id = 70900205, pos = { x = 531.472, y = -9.345, z = 158.632 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 86, gadget_id = 70380001, pos = { x = 531.644, y = -10.726, z = 163.823 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 8 }, + { config_id = 97, gadget_id = 70900202, pos = { x = 531.416, y = -8.752, z = 158.659 }, rot = { x = 0.000, y = 103.806, z = 0.000 }, level = 1 }, + { config_id = 98, gadget_id = 70900202, pos = { x = 532.576, y = -1.080, z = 221.851 }, rot = { x = 0.000, y = 277.205, z = 0.000 }, level = 1 }, + { config_id = 137, gadget_id = 70380001, pos = { x = 545.317, y = -25.822, z = 131.972 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 20011012, start_route = false }, + { config_id = 138, gadget_id = 70380001, pos = { x = 540.062, y = -25.787, z = 131.692 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 20011011, start_route = false }, + { config_id = 139, gadget_id = 70380001, pos = { x = 531.673, y = -18.917, z = 136.523 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 20011010, start_route = false }, + { config_id = 140, gadget_id = 70380001, pos = { x = 520.582, y = -25.972, z = 151.526 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 20011009, start_route = false }, + { config_id = 141, gadget_id = 70900205, pos = { x = 531.747, y = -25.927, z = 151.336 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { + { config_id = 38, shape = RegionShape.CUBIC, size = { x = 40.000, y = 5.000, z = 10.000 }, pos = { x = 533.597, y = -2.137, z = 238.024 } }, + { config_id = 53, shape = RegionShape.SPHERE, radius = 5, pos = { x = 531.109, y = -9.328, z = 158.314 } }, + { config_id = 54, shape = RegionShape.SPHERE, radius = 5, pos = { x = 532.769, y = -2.051, z = 223.711 } }, + { config_id = 63, shape = RegionShape.CUBIC, size = { x = 5.000, y = 5.000, z = 3.000 }, pos = { x = 531.533, y = -23.574, z = 151.641 } } +} + +-- 触发器 +triggers = { + { config_id = 1000038, name = "ENTER_REGION_38", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_38", action = "action_EVENT_ENTER_REGION_38", forbid_guest = false }, + { config_id = 1000043, name = "DUNGEON_SETTLE_43", event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "condition_EVENT_DUNGEON_SETTLE_43", action = "action_EVENT_DUNGEON_SETTLE_43" }, + { config_id = 1000047, name = "GADGET_CREATE_47", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_47", action = "action_EVENT_GADGET_CREATE_47" }, + { config_id = 1000048, name = "SELECT_OPTION_48", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_48", action = "action_EVENT_SELECT_OPTION_48", forbid_guest = false }, + { config_id = 1000053, name = "ENTER_REGION_53", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_53", action = "action_EVENT_ENTER_REGION_53", forbid_guest = false }, + { config_id = 1000054, name = "ENTER_REGION_54", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_54", action = "action_EVENT_ENTER_REGION_54", forbid_guest = false }, + { config_id = 1000063, name = "ENTER_REGION_63", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_63", action = "action_EVENT_ENTER_REGION_63", forbid_guest = false }, + { config_id = 1004001, name = "ANY_GADGET_DIE_4001", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "condition_EVENT_ANY_GADGET_DIE_4001", action = "action_EVENT_ANY_GADGET_DIE_4001" } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 29, 56, 57, 58, 59, 60, 70, 81, 82, 83, 84, 85, 86, 137, 138, 139, 140, 141 }, + regions = { 38, 53, 54, 63 }, + triggers = { "ENTER_REGION_38", "DUNGEON_SETTLE_43", "GADGET_CREATE_47", "SELECT_OPTION_48", "ENTER_REGION_53", "ENTER_REGION_54", "ENTER_REGION_63", "ANY_GADGET_DIE_4001" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_ENTER_REGION_38(context, evt) + if evt.param1 ~= 38 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_38(context, evt) + -- 将configid为 56 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 56, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 57 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 57, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 58 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 58, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 59 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 59, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 60 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 60, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 81 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 81, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 调用提示id为 1041112 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 + if 0 ~= ScriptLib.ShowReminder(context, 1041112) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_DUNGEON_SETTLE_43(context, evt) + -- 判断副本成功 + if 1 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_DUNGEON_SETTLE_43(context, evt) + -- 创建id为69的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 69 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_47(context, evt) + if 83 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_47(context, evt) + -- 设置操作台选项 + if 0 ~= ScriptLib.SetWorktopOptions(context, {7}) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_48(context, evt) + -- 判断是gadgetid 83 + if 83 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_48(context, evt) + -- 根据不同的选项做不同的操作 + if defs.gadget_id_9 == evt.param2 then + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, defs.gadget_id_2) then + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, defs.gadget_id_3) then + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, defs.gadget_id_4) then + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, defs.gadget_id_5) then + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, defs.gadget_id_6) then + return -1 + end + + -- 删除指定group: 220011004 ;指定config:83;物件身上指定option:7; + if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 220011004, defs.gadget_id_8, 7) then + return -1 + end + + -- 解锁目标4 + if 0 ~= ScriptLib.UnlockForce(context, defs.gadget_id_7) then + return -1 + end + + -- 杀死Group内指定的monster和gadget + if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220011003, monsters = {}, gadgets = {3020} }) then + return -1 + end + + if 0 ~= ScriptLib.CreateGadget(context, { config_id = defs.gadget_id_1 }) then + return -1 + end + + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id_8, GadgetState.GearStart) then + return -1 + end + return 0 + end + + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 3020}) then + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_53(context, evt) + if evt.param1 ~= 53 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_53(context, evt) + -- 杀死Group内指定的monster和gadget + if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220011004, monsters = {}, gadgets = {97} }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group") + return -1 + end + + -- 创建id为98的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 98 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + -- 调用提示id为 1041026 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 + if 0 ~= ScriptLib.ShowReminder(context, 1041026) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_54(context, evt) + if evt.param1 ~= 54 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_54(context, evt) + -- 杀死Group内指定的monster和gadget + if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220011004, monsters = {}, gadgets = {98} }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_63(context, evt) + if evt.param1 ~= 63 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_63(context, evt) + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 141) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ANY_GADGET_DIE_4001(context, evt) + if 29 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ANY_GADGET_DIE_4001(context, evt) + -- 展示名称为"GuideGoddessMapUnlock"的引导,见GuideData表,参数类型为string + if 0 ~= ScriptLib.ShowClientGuide(context, "GuideGoddessMapUnlock") then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : show_client_guide") + return -1 + end + + -- 删除suite7的所有内容 + ScriptLib.RemoveExtraGroupSuite(context, 220011007, 7) + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20011/scene20011_group220011901.lua b/Resources/Scripts/Scene/20011/scene20011_group220011901.lua index e69de29bb..9da960b7d 100644 --- a/Resources/Scripts/Scene/20011/scene20011_group220011901.lua +++ b/Resources/Scripts/Scene/20011/scene20011_group220011901.lua @@ -0,0 +1,119 @@ +-- 基础信息 +local base_info = { + group_id = 220011901 +} + +-- Trigger变量 +local defs = { + gadget_id_1 = 49, + gadget_id_2 = 50, + gadget_id_3 = 51, + gadget_id_4 = 55 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { +} + +-- 区域 +regions = { + { config_id = 49, shape = RegionShape.SPHERE, radius = 5, pos = { x = 460.379, y = -24.350, z = 69.159 } }, + { config_id = 50, shape = RegionShape.SPHERE, radius = 5, pos = { x = 406.504, y = -22.573, z = 107.872 } }, + { config_id = 51, shape = RegionShape.CUBIC, size = { x = 30.000, y = 2.000, z = 30.000 }, pos = { x = 487.505, y = -17.535, z = 121.603 } }, + { config_id = 55, shape = RegionShape.SPHERE, radius = 7.3, pos = { x = 411.721, y = -22.083, z = 63.952 } } +} + +-- 触发器 +triggers = { + { config_id = 1000049, name = "ENTER_REGION_49", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_49", action = "", trigger_count = 0, forbid_guest = false }, + { config_id = 1000050, name = "ENTER_REGION_50", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_50", action = "", trigger_count = 0, forbid_guest = false }, + { config_id = 1000051, name = "ENTER_REGION_51", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_51", action = "", trigger_count = 0, forbid_guest = false }, + { config_id = 1000055, name = "ENTER_REGION_55", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_55", action = "", trigger_count = 0, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { }, + regions = { 49, 50, 51, 55 }, + triggers = { "ENTER_REGION_49", "ENTER_REGION_50", "ENTER_REGION_51", "ENTER_REGION_55" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_ENTER_REGION_49(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 30807) == QuestState.UNFINISHED and evt.param1 == defs.gadget_id_1 then + return true + end + return false +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_50(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 30808) == QuestState.UNFINISHED and evt.param1 == defs.gadget_id_2 then + return true + end + return false +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_51(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 30809) == QuestState.UNFINISHED and evt.param1 == defs.gadget_id_3 then + return true + end + return false +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_55(context, evt) + if ScriptLib.GetEntityType(context, evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 30812) == QuestState.UNFINISHED and evt.param1 == defs.gadget_id_4 then + return true + end + return false +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20012/scene20012_group220012003.lua b/Resources/Scripts/Scene/20012/scene20012_group220012003.lua index e69de29bb..2b5a7ff8e 100644 --- a/Resources/Scripts/Scene/20012/scene20012_group220012003.lua +++ b/Resources/Scripts/Scene/20012/scene20012_group220012003.lua @@ -0,0 +1,210 @@ +-- 基础信息 +local base_info = { + group_id = 220012003 +} + +-- Trigger变量 +local defs = { + monster_id_1 = 3006, + monster_id_2 = 3007, + monster_id_3 = 3008, + monster_id_4 = 3009 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 3001, monster_id = 21010501, pos = { x = -16.491, y = 50.231, z = 111.771 }, rot = { x = 0.000, y = 148.850, z = 0.000 }, level = 1, disableWander = true, pose_id = 32 }, + { config_id = 3002, monster_id = 21010501, pos = { x = -14.518, y = 50.231, z = 114.316 }, rot = { x = 0.000, y = 158.100, z = 0.000 }, level = 1, disableWander = true, pose_id = 32 }, + { config_id = 3003, monster_id = 21020101, pos = { x = -4.403, y = 42.016, z = 107.936 }, rot = { x = 0.000, y = 178.810, z = 0.000 }, level = 1, disableWander = true }, + { config_id = 3004, monster_id = 21010201, pos = { x = -6.865, y = 42.016, z = 98.092 }, rot = { x = 0.000, y = 80.300, z = 0.000 }, level = 1, disableWander = true }, + { config_id = 3005, monster_id = 21010201, pos = { x = -4.471, y = 42.017, z = 95.525 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true }, + { config_id = 3006, monster_id = 21010301, pos = { x = 27.710, y = 42.016, z = 130.765 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 3007, monster_id = 21010301, pos = { x = 27.593, y = 42.016, z = 131.913 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 3008, monster_id = 21010201, pos = { x = 25.210, y = 42.017, z = 130.677 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 3009, monster_id = 21010201, pos = { x = 24.899, y = 42.017, z = 131.878 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 3010, gadget_id = 70220010, pos = { x = 5.824, y = 42.070, z = 109.103 }, rot = { x = 0.000, y = 187.200, z = 0.000 }, level = 1 }, + { config_id = 3011, gadget_id = 70220010, pos = { x = 5.700, y = 42.017, z = 98.238 }, rot = { x = 0.000, y = 185.700, z = 0.000 }, level = 1 }, + { config_id = 3012, gadget_id = 70220010, pos = { x = -4.525, y = 42.017, z = 98.275 }, rot = { x = 0.000, y = 158.700, z = 0.000 }, level = 1 }, + { config_id = 3013, gadget_id = 70220004, pos = { x = -16.993, y = 42.016, z = 109.493 }, rot = { x = 0.000, y = 229.534, z = 0.000 }, level = 1 }, + { config_id = 3014, gadget_id = 70220004, pos = { x = -13.296, y = 42.016, z = 109.380 }, rot = { x = 0.000, y = 102.081, z = 0.000 }, level = 1 }, + { config_id = 3015, gadget_id = 70220004, pos = { x = -19.600, y = 44.160, z = 109.600 }, rot = { x = 270.000, y = 270.000, z = 0.000 }, level = 1 }, + { config_id = 3016, gadget_id = 70220004, pos = { x = -19.400, y = 47.500, z = 109.500 }, rot = { x = 270.000, y = 270.000, z = 0.000 }, level = 1 }, + { config_id = 3017, gadget_id = 70220004, pos = { x = -19.400, y = 50.500, z = 109.555 }, rot = { x = 270.000, y = 270.000, z = 0.000 }, level = 1 }, + { config_id = 3018, gadget_id = 70220004, pos = { x = -19.500, y = 50.800, z = 112.800 }, rot = { x = 270.000, y = 270.000, z = 0.000 }, level = 10 }, + { config_id = 3019, gadget_id = 70220005, pos = { x = -15.553, y = 50.231, z = 113.697 }, rot = { x = 0.000, y = 14.678, z = 0.000 }, level = 10 }, + { config_id = 3020, gadget_id = 70900201, pos = { x = 55.028, y = 44.180, z = 120.913 }, rot = { x = 0.000, y = 158.838, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { + { config_id = 11, shape = RegionShape.SPHERE, radius = 5, pos = { x = 58.920, y = 42.017, z = 121.096 } } +} + +-- 触发器 +triggers = { + { config_id = 1000001, name = "ANY_MONSTER_DIE_1", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_1", action = "action_EVENT_ANY_MONSTER_DIE_1" }, + { config_id = 1000010, name = "ANY_MONSTER_DIE_10", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_10", action = "action_EVENT_ANY_MONSTER_DIE_10" }, + { config_id = 1000011, name = "ENTER_REGION_11", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_11", action = "action_EVENT_ENTER_REGION_11", forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = true +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { 3001, 3002, 3003, 3004, 3005 }, + gadgets = { 3010, 3011, 3012, 3013, 3014, 3015, 3016, 3017, 3018, 3019 }, + regions = { 11 }, + triggers = { "ANY_MONSTER_DIE_1", "ANY_MONSTER_DIE_10", "ENTER_REGION_11" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_ANY_MONSTER_DIE_1(context, evt) + -- 判断剩余怪物数量是否是4 + if ScriptLib.GetGroupMonsterCount(context) ~= 4 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ANY_MONSTER_DIE_1(context, evt) + -- 延迟0秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = defs.monster_id_1, delay_time = 0 }) then + return -1 + end + + -- 延迟0.5秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = defs.monster_id_2, delay_time = 0.5 }) then + return -1 + end + + -- 延迟1秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = defs.monster_id_3, delay_time = 1 }) then + return -1 + end + + -- 延迟1.5秒刷怪 + if 0 ~= ScriptLib.CreateMonster(context, { config_id = defs.monster_id_4, delay_time = 1.5 }) then + return -1 + end + + -- play_type含义:1·代表开始播放; 2·代表停止播放 + -- 在指定位置播放或停止音效资源 + local pos = {x=-4, y=42, z=107} + if 0 ~= ScriptLib.ScenePlaySound(context, {play_pos = pos, sound_name = "LevelHornSound001", play_type= 1, is_broadcast = false }) then + return -1 + end + + -- 调用提示id为 1005 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 + if 0 ~= ScriptLib.ShowReminder(context, 1005) then + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ANY_MONSTER_DIE_10(context, evt) + -- 判断剩余怪物数量是否是0 + if ScriptLib.GetGroupMonsterCount(context) ~= 0 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ANY_MONSTER_DIE_10(context, evt) + -- 改变指定group组220012004中, configid为17的gadget的state + if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220012004, 17, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId") + return -1 + end + + -- 创建id为3020的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 3020 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + -- 触发镜头注目,注目位置为坐标(48,45,120),持续时间为3秒,并且为强制注目形式,不广播其他玩家 + local pos = {x=48, y=45, z=120} + local pos_follow = {x=0, y=0, z=0} + if 0 ~= ScriptLib.BeginCameraSceneLook(context, { look_pos = pos, is_allow_input = false, duration = 3, is_force = true, is_broadcast = false, is_recover_keep_current = true, delay = 0, + is_set_follow_pos = false, follow_pos = pos_follow, is_force_walk = false, is_change_play_mode = false, + is_set_screen_XY = false, screen_x = 0, screen_y = 0 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_cameraLook_Begin") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_11(context, evt) + if evt.param1 ~= 11 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_11(context, evt) + -- 杀死Group内指定的monster和gadget + if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220012003, monsters = {}, gadgets = {3020} }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group") + return -1 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20013/scene20013_group220013002.lua b/Resources/Scripts/Scene/20013/scene20013_group220013002.lua index e35b0e9ac..8152ab5aa 100644 --- a/Resources/Scripts/Scene/20013/scene20013_group220013002.lua +++ b/Resources/Scripts/Scene/20013/scene20013_group220013002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 10, gadget_id_2 = 1018, gadget_id_3 = 1017, diff --git a/Resources/Scripts/Scene/20014/scene20014_group220014002.lua b/Resources/Scripts/Scene/20014/scene20014_group220014002.lua index 180109e5e..8ec19afd0 100644 --- a/Resources/Scripts/Scene/20014/scene20014_group220014002.lua +++ b/Resources/Scripts/Scene/20014/scene20014_group220014002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 2043, gadget_id_2 = 2034, gadget_id_3 = 2009, diff --git a/Resources/Scripts/Scene/20014/scene20014_group220014003.lua b/Resources/Scripts/Scene/20014/scene20014_group220014003.lua index c423e2f88..4e5368fb5 100644 --- a/Resources/Scripts/Scene/20014/scene20014_group220014003.lua +++ b/Resources/Scripts/Scene/20014/scene20014_group220014003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 2034, gadget_id_2 = 2026 } diff --git a/Resources/Scripts/Scene/20014/scene20014_group220014004.lua b/Resources/Scripts/Scene/20014/scene20014_group220014004.lua index a8848d0c0..1a4a127d0 100644 --- a/Resources/Scripts/Scene/20014/scene20014_group220014004.lua +++ b/Resources/Scripts/Scene/20014/scene20014_group220014004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 2035, gadget_id_2 = 220014002 } diff --git a/Resources/Scripts/Scene/20016/scene20016_group220016002.lua b/Resources/Scripts/Scene/20016/scene20016_group220016002.lua index 4d5a02196..18e78b1fc 100644 --- a/Resources/Scripts/Scene/20016/scene20016_group220016002.lua +++ b/Resources/Scripts/Scene/20016/scene20016_group220016002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 43, gadget_id_2 = 20, gadget_id_3 = 21, diff --git a/Resources/Scripts/Scene/20016/scene20016_group220016003.lua b/Resources/Scripts/Scene/20016/scene20016_group220016003.lua index 69590ba85..45285655d 100644 --- a/Resources/Scripts/Scene/20016/scene20016_group220016003.lua +++ b/Resources/Scripts/Scene/20016/scene20016_group220016003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 46306, gadget_id_2 = 1, gadget_id_3 = 3003 diff --git a/Resources/Scripts/Scene/20016/scene20016_group220016901.lua b/Resources/Scripts/Scene/20016/scene20016_group220016901.lua index cc6757cdd..c815a2d5f 100644 --- a/Resources/Scripts/Scene/20016/scene20016_group220016901.lua +++ b/Resources/Scripts/Scene/20016/scene20016_group220016901.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 4 } diff --git a/Resources/Scripts/Scene/2002/scene2002_group420020001.lua b/Resources/Scripts/Scene/2002/scene2002_group420020001.lua index 6ea0dbca9..3f7d7581e 100644 --- a/Resources/Scripts/Scene/2002/scene2002_group420020001.lua +++ b/Resources/Scripts/Scene/2002/scene2002_group420020001.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 家园Group物件 001 计时器 -defs = { +local defs = { GalleryID = 410001, StartConfig = 1001, EndConfig = 1002, diff --git a/Resources/Scripts/Scene/2002/scene2002_group420020002.lua b/Resources/Scripts/Scene/2002/scene2002_group420020002.lua index 6e38386e1..6ba6bd1da 100644 --- a/Resources/Scripts/Scene/2002/scene2002_group420020002.lua +++ b/Resources/Scripts/Scene/2002/scene2002_group420020002.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 家园Group物件 002 计分器 -defs = { +local defs = { ScoreCid = 2001, PedalCid = 2002, Operator = 2003, diff --git a/Resources/Scripts/Scene/2002/scene2002_group420020003.lua b/Resources/Scripts/Scene/2002/scene2002_group420020003.lua index 69f9f5dc4..49ac30216 100644 --- a/Resources/Scripts/Scene/2002/scene2002_group420020003.lua +++ b/Resources/Scripts/Scene/2002/scene2002_group420020003.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 家园Group物件 002 计分器 -defs = { +local defs = { ScoreCid = 3001, PedalCid = 3002, Operator = 3003, diff --git a/Resources/Scripts/Scene/2002/scene2002_group420020004.lua b/Resources/Scripts/Scene/2002/scene2002_group420020004.lua index 3a816d180..008b5ca78 100644 --- a/Resources/Scripts/Scene/2002/scene2002_group420020004.lua +++ b/Resources/Scripts/Scene/2002/scene2002_group420020004.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 家园Group物件 002 计分器 -defs = { +local defs = { ScoreCid = 4001, PedalCid = 4002, Operator = 4003, diff --git a/Resources/Scripts/Scene/2002/scene2002_group420020005.lua b/Resources/Scripts/Scene/2002/scene2002_group420020005.lua index 51bb874ed..39adc2118 100644 --- a/Resources/Scripts/Scene/2002/scene2002_group420020005.lua +++ b/Resources/Scripts/Scene/2002/scene2002_group420020005.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 家园Group物件 002 计分器 -defs = { +local defs = { ScoreCid = 5001, PedalCid = 5002, Operator = 5003, diff --git a/Resources/Scripts/Scene/2002/scene2002_group420020007.lua b/Resources/Scripts/Scene/2002/scene2002_group420020007.lua index 8d971e771..f6b2ae2fe 100644 --- a/Resources/Scripts/Scene/2002/scene2002_group420020007.lua +++ b/Resources/Scripts/Scene/2002/scene2002_group420020007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challengeTime = 2, delayTime = 5 } diff --git a/Resources/Scripts/Scene/2002/scene2002_group420020008.lua b/Resources/Scripts/Scene/2002/scene2002_group420020008.lua index 6abe630d8..973cb3087 100644 --- a/Resources/Scripts/Scene/2002/scene2002_group420020008.lua +++ b/Resources/Scripts/Scene/2002/scene2002_group420020008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { Game_Time = 150, Stage_Time = 30, Stage_Tubby_Count = 4, diff --git a/Resources/Scripts/Scene/2003/scene2003_group420030001.lua b/Resources/Scripts/Scene/2003/scene2003_group420030001.lua index e69de29bb..e9a4c8983 100644 --- a/Resources/Scripts/Scene/2003/scene2003_group420030001.lua +++ b/Resources/Scripts/Scene/2003/scene2003_group420030001.lua @@ -0,0 +1,171 @@ +-- 基础信息 +local base_info = { + group_id = 420030001 +} + +-- DEFS_MISCS +-- 家园Group物件 001 计时器 +local defs = { + GalleryID = 410001, + StartConfig = 1001, + EndConfig = 1002, + Operator = 1004, + EnterRegionConfig = 1005, + LeaveRegionConfig = 1006, +} + +function CheckUidNoExist(context,enterUid) + local uidList = ScriptLib.GetGalleryUidList(context,defs.GalleryID) + for i = 1,#uidList do + if enterUid == uidList[i] then + return false + end + end + return true +end + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 1001, gadget_id = 77307001, pos = { x = 495.479, y = 229.014, z = 615.282 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1002, gadget_id = 77307002, pos = { x = 477.178, y = 229.014, z = 615.118 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + -- 跟随1001的操作台 + { config_id = 1004, gadget_id = 70360001, pos = { x = 495.463, y = 229.014, z = 615.244 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true, follow_entity = 1001 } +} + +-- 区域 +regions = { + -- 当玩家进入时,触发结束。 + { config_id = 1005, shape = RegionShape.SPHERE, radius = 2, pos = { x = 477.178, y = 229.014, z = 615.118 }, follow_entity = 1002 }, + -- 当玩家离开时,触发切换Authority切换。 + { config_id = 1006, shape = RegionShape.SPHERE, radius = 40, pos = { x = 477.178, y = 229.014, z = 615.118 } } +} + +-- 触发器 +triggers = { + -- 当玩家进入时,触发结束。 + { config_id = 1001005, name = "ENTER_REGION_1005", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_EVENT_ENTER_REGION_1005", trigger_count = 0, forbid_guest = false, follow_entity = 1002 }, + -- 当玩家离开时,触发切换Authority切换。 + { config_id = 1001006, name = "LEAVE_REGION_1006", event = EventType.EVENT_LEAVE_REGION, source = "", condition = "", action = "action_EVENT_LEAVE_REGION_1006", trigger_count = 0, forbid_guest = false }, + { config_id = 1001007, name = "GADGET_CREATE_1007", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "", action = "action_EVENT_GADGET_CREATE_1007", trigger_count = 0 }, + { config_id = 1001008, name = "GALLERY_STOP_1008", event = EventType.EVENT_GALLERY_STOP, source = "", condition = "", action = "action_EVENT_GALLERY_STOP_1008", trigger_count = 0 }, + { config_id = 1001009, name = "SELECT_OPTION_1009", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_EVENT_SELECT_OPTION_1009", trigger_count = 0, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 1001, 1002, 1004 }, + regions = { 1005, 1006 }, + triggers = { "ENTER_REGION_1005", "LEAVE_REGION_1006", "GADGET_CREATE_1007", "GALLERY_STOP_1008", "SELECT_OPTION_1009" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发操作 +function action_EVENT_ENTER_REGION_1005(context, evt) + -- 增加检查玩家uid是否合法的逻辑 + local tempStart = ScriptLib.GetGroupTempValue(context, "TempStart",{}) + local enterUid = context.uid + + if evt.param1 ~= defs.EnterRegionConfig or 0 == tempStart or CheckUidNoExist(context,enterUid) then + return 0 + end + + ScriptLib.PrintContextLog(context, "## TD_玩法套装_计时器 : 完成玩法的玩家uid是 "..enterUid) + ScriptLib.UpdatePlayerGalleryScore(context, defs.GalleryID, {["uid"] = enterUid}) + ScriptLib.StopGallery(context, defs.GalleryID, false) + + return 0 +end + +-- 触发操作 +function action_EVENT_LEAVE_REGION_1006(context, evt) + if evt.param1 ~= defs.LeaveRegionConfig then + return 0 + end + + ScriptLib.PrintContextLog(context, "## TD_玩法套装_计时器 : 离开玩家的uid是 "..context.uid) + local ret = ScriptLib.TryReallocateEntityAuthority(context, context.uid, defs.EndConfig, evt.param1) + ScriptLib.PrintContextLog(context, "## TD_玩法套装_计时器 : 切换的玩家是 = "..ret) + + return 0 +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_1007(context, evt) + ScriptLib.PrintContextLog(context, "##TD Gadget".. evt.param2 .."ConfigID为".. evt.param1 .. "创生了") + if 70360001 == evt.param2 then + ScriptLib.PrintContextLog(context, "##TD Gadget 符合条件,Gadget创生了") + ScriptLib.SetWorktopOptionsByGroupId(context, 0, evt.param1, {325}) + ScriptLib.SetGroupTempValue(context, "TempStart", 0, {}) + end + return 0 +end + +-- 触发操作 +function action_EVENT_GALLERY_STOP_1008(context, evt) + ScriptLib.SetWorktopOptionsByGroupId(context, 0, defs.Operator, {325}) + ScriptLib.SetGroupTempValue(context, "TempStart", 0, {}) + ScriptLib.SetGadgetStateByConfigId(context, defs.EndConfig,0) + return 0 +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_1009(context, evt) + -- 将参与玩家录入到数据中 + local uidList=ScriptLib.GetSceneUidList(context) + if ScriptLib.StartHomeGallery(context, defs.GalleryID,context.uid) + ==-1 then + ScriptLib.SendServerMessageByLuaKey(context, "HOMEOWRLD_DUPLICATE_GALLERY", {context.uid}) + return 0 + end + ScriptLib.SetGroupTempValue(context, "TempStart", 1, {}) + ScriptLib.DelWorktopOption(context, evt.param2) + ScriptLib.SetGadgetStateByConfigId(context, defs.EndConfig,201) + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/2003/scene2003_group420030002.lua b/Resources/Scripts/Scene/2003/scene2003_group420030002.lua index bf70712b8..abd75d123 100644 --- a/Resources/Scripts/Scene/2003/scene2003_group420030002.lua +++ b/Resources/Scripts/Scene/2003/scene2003_group420030002.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 家园Group物件 002 计分器 -defs = { +local defs = { ScoreCid = 2001, PedalCid = 2002, Operator = 2003, diff --git a/Resources/Scripts/Scene/2003/scene2003_group420030003.lua b/Resources/Scripts/Scene/2003/scene2003_group420030003.lua index 13a779a39..7bbd9022c 100644 --- a/Resources/Scripts/Scene/2003/scene2003_group420030003.lua +++ b/Resources/Scripts/Scene/2003/scene2003_group420030003.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 家园Group物件 002 计分器 -defs = { +local defs = { ScoreCid = 3001, PedalCid = 3002, Operator = 3003, diff --git a/Resources/Scripts/Scene/2003/scene2003_group420030004.lua b/Resources/Scripts/Scene/2003/scene2003_group420030004.lua index e69de29bb..08ab3fd20 100644 --- a/Resources/Scripts/Scene/2003/scene2003_group420030004.lua +++ b/Resources/Scripts/Scene/2003/scene2003_group420030004.lua @@ -0,0 +1,129 @@ +-- 基础信息 +local base_info = { + group_id = 420030004 +} + +-- DEFS_MISCS +-- 家园Group物件 002 计分器 +local defs = { + ScoreCid = 4001, + PedalCid = 4002, + Operator = 4003, +} +local keyName = "SGV_ScoringShelf_01" + +function EnterField(context, evt) + -- 获取ScoreCid的计数 + local countNum = ScriptLib.GetGroupTempValue(context, keyName, {}) + + -- 使ScoreCid增加1个计数 + countNum = countNum + 1 + if countNum > 10 then + countNum = 10 + end + + -- 将计数传递给物件 + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, countNum) + -- 清空物件参数 + ScriptLib.SetGroupTempValue(context, keyName, countNum, {}) + + return 0 +end + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 4001, gadget_id = 77307006, pos = { x = 486.261, y = 229.014, z = 615.209 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, server_global_value_config = { ["SGV_ScoringShelf_01"]= 0} }, + { config_id = 4002, gadget_id = 77307010, pos = { x = 486.261, y = 229.014, z = 620.209 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 4003, gadget_id = 70360001, pos = { x = 476.227, y = 229.014, z = 612.742 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true, worktop_config = { init_options = { 326 } }, follow_entity = 4001 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1004004, name = "GADGET_CREATE_4004", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "", action = "action_EVENT_GADGET_CREATE_4004", trigger_count = 0 }, + { config_id = 1004005, name = "SELECT_OPTION_4005", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_EVENT_SELECT_OPTION_4005", trigger_count = 0, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 4001, 4002, 4003 }, + regions = { }, + triggers = { "GADGET_CREATE_4004", "SELECT_OPTION_4005" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发操作 +function action_EVENT_GADGET_CREATE_4004(context, evt) + if defs.ScoreCid ~= evt.param1 then + return 0 + end + + -- 归零 + ScriptLib.SetGroupTempValue(context, keyName, 0, {}) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, 0) + + return 0 +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_4005(context, evt) + -- 判断是gadgetid Operator option_id 326 + if defs.Operator ~= evt.param1 or 326 ~= evt.param2 then + return 0 + end + -- 归零 + ScriptLib.SetGroupTempValue(context, keyName, 0, {}) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, 0) + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/2003/scene2003_group420030005.lua b/Resources/Scripts/Scene/2003/scene2003_group420030005.lua index e69de29bb..517338e37 100644 --- a/Resources/Scripts/Scene/2003/scene2003_group420030005.lua +++ b/Resources/Scripts/Scene/2003/scene2003_group420030005.lua @@ -0,0 +1,129 @@ +-- 基础信息 +local base_info = { + group_id = 420030005 +} + +-- DEFS_MISCS +-- 家园Group物件 002 计分器 +local defs = { + ScoreCid = 5001, + PedalCid = 5002, + Operator = 5003, +} +local keyName = "SGV_ScoringShelf_01" + +function EnterField(context, evt) + -- 获取ScoreCid的计数 + local countNum = ScriptLib.GetGroupTempValue(context, keyName, {}) + + -- 使ScoreCid增加1个计数 + countNum = countNum + 1 + if countNum > 10 then + countNum = 10 + end + + -- 将计数传递给物件 + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, countNum) + -- 清空物件参数 + ScriptLib.SetGroupTempValue(context, keyName, countNum, {}) + + return 0 +end + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 5001, gadget_id = 77307007, pos = { x = 486.261, y = 229.014, z = 615.209 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, server_global_value_config = { ["SGV_ScoringShelf_01"]= 0} }, + { config_id = 5002, gadget_id = 77307011, pos = { x = 486.261, y = 229.014, z = 620.209 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 5003, gadget_id = 70360001, pos = { x = 485.965, y = 229.014, z = 612.743 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true, worktop_config = { init_options = { 326 } }, follow_entity = 5001 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1005004, name = "GADGET_CREATE_5004", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "", action = "action_EVENT_GADGET_CREATE_5004", trigger_count = 0 }, + { config_id = 1005005, name = "SELECT_OPTION_5005", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_EVENT_SELECT_OPTION_5005", trigger_count = 0, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 5001, 5002, 5003 }, + regions = { }, + triggers = { "GADGET_CREATE_5004", "SELECT_OPTION_5005" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发操作 +function action_EVENT_GADGET_CREATE_5004(context, evt) + if defs.ScoreCid ~= evt.param1 then + return 0 + end + + -- 归零 + ScriptLib.SetGroupTempValue(context, keyName, 0, {}) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, 0) + + return 0 +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_5005(context, evt) + -- 判断是gadgetid Operator option_id 326 + if defs.Operator ~= evt.param1 or 326 ~= evt.param2 then + return 0 + end + -- 归零 + ScriptLib.SetGroupTempValue(context, keyName, 0, {}) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, 0) + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/2003/scene2003_group420030007.lua b/Resources/Scripts/Scene/2003/scene2003_group420030007.lua index e69de29bb..577f2c892 100644 --- a/Resources/Scripts/Scene/2003/scene2003_group420030007.lua +++ b/Resources/Scripts/Scene/2003/scene2003_group420030007.lua @@ -0,0 +1,86 @@ +-- 基础信息 +local base_info = { + group_id = 420030007 +} + +-- Trigger变量 +local defs = { + challengeTime = 2, + delayTime = 5 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 7001, gadget_id = 77307017, pos = { x = 486.385, y = 229.014, z = 622.871 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 7002, gadget_id = 77307016, pos = { x = 480.837, y = 229.014, z = 618.967 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 7003, gadget_id = 77307016, pos = { x = 486.247, y = 229.014, z = 619.105 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 7004, gadget_id = 77307016, pos = { x = 492.152, y = 229.014, z = 618.843 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 7005, gadget_id = 77307016, pos = { x = 481.537, y = 229.014, z = 613.681 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 7006, gadget_id = 77307016, pos = { x = 486.285, y = 229.014, z = 613.851 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 7007, gadget_id = 77307016, pos = { x = 491.718, y = 229.014, z = 613.901 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 7001, 7002, 7003, 7004, 7005, 7006, 7007 }, + regions = { }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +require "V2_6/HM_WoodenStakeChallenge" \ No newline at end of file diff --git a/Resources/Scripts/Scene/2003/scene2003_group420030008.lua b/Resources/Scripts/Scene/2003/scene2003_group420030008.lua index e69de29bb..ab51341fc 100644 --- a/Resources/Scripts/Scene/2003/scene2003_group420030008.lua +++ b/Resources/Scripts/Scene/2003/scene2003_group420030008.lua @@ -0,0 +1,95 @@ +-- 基础信息 +local base_info = { + group_id = 420030008 +} + +-- Trigger变量 +local defs = { + Game_Time = 150, + Stage_Time = 30, + Stage_Tubby_Count = 4, + Tubby_Count = 12 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 8001, gadget_id = 77307018, pos = { x = 486.261, y = 229.014, z = 615.209 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 8002, gadget_id = 77307019, pos = { x = 488.261, y = 229.257, z = 615.209 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8003, gadget_id = 77307019, pos = { x = 490.261, y = 229.257, z = 615.209 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8004, gadget_id = 77307019, pos = { x = 484.261, y = 229.257, z = 615.209 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8005, gadget_id = 77307019, pos = { x = 482.261, y = 229.257, z = 615.209 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8006, gadget_id = 77307019, pos = { x = 484.261, y = 229.257, z = 613.209 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8007, gadget_id = 77307019, pos = { x = 486.261, y = 229.257, z = 613.209 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8008, gadget_id = 77307019, pos = { x = 488.261, y = 229.257, z = 613.209 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8009, gadget_id = 77307019, pos = { x = 486.261, y = 229.257, z = 611.209 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8010, gadget_id = 77307019, pos = { x = 488.261, y = 229.257, z = 617.209 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8011, gadget_id = 77307019, pos = { x = 486.261, y = 229.257, z = 617.209 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8012, gadget_id = 77307019, pos = { x = 484.261, y = 229.257, z = 617.209 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8013, gadget_id = 77307019, pos = { x = 486.261, y = 229.257, z = 619.209 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true } +} + +-- 区域 +regions = { + { config_id = 8014, shape = RegionShape.SPHERE, radius = 1000, pos = { x = 486.261, y = 229.014, z = 615.209 }, follow_entity = 8001, team_ability_group_list = { "HomeWorld_Find_Tubby_Reminder" } } +} + +-- 触发器 +triggers = { +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 8001 }, + regions = { 8014 }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +require "V2_7/HM_FindTubby" \ No newline at end of file diff --git a/Resources/Scripts/Scene/20032/scene20032_group220032006.lua b/Resources/Scripts/Scene/20032/scene20032_group220032006.lua index 38132401c..8ed375074 100644 --- a/Resources/Scripts/Scene/20032/scene20032_group220032006.lua +++ b/Resources/Scripts/Scene/20032/scene20032_group220032006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 10, group_id = 220032006, diff --git a/Resources/Scripts/Scene/2004/scene2004_group420040001.lua b/Resources/Scripts/Scene/2004/scene2004_group420040001.lua index e69de29bb..43bed6b1f 100644 --- a/Resources/Scripts/Scene/2004/scene2004_group420040001.lua +++ b/Resources/Scripts/Scene/2004/scene2004_group420040001.lua @@ -0,0 +1,171 @@ +-- 基础信息 +local base_info = { + group_id = 420040001 +} + +-- DEFS_MISCS +-- 家园Group物件 001 计时器 +local defs = { + GalleryID = 410001, + StartConfig = 1001, + EndConfig = 1002, + Operator = 1004, + EnterRegionConfig = 1005, + LeaveRegionConfig = 1006, +} + +function CheckUidNoExist(context,enterUid) + local uidList = ScriptLib.GetGalleryUidList(context,defs.GalleryID) + for i = 1,#uidList do + if enterUid == uidList[i] then + return false + end + end + return true +end + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 1001, gadget_id = 77307001, pos = { x = 338.219, y = 186.550, z = 517.274 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 1002, gadget_id = 77307002, pos = { x = 319.918, y = 186.550, z = 517.110 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + -- 跟随1001的操作台 + { config_id = 1004, gadget_id = 70360001, pos = { x = 338.203, y = 186.550, z = 517.236 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true, follow_entity = 1001 } +} + +-- 区域 +regions = { + -- 当玩家进入时,触发结束。 + { config_id = 1005, shape = RegionShape.SPHERE, radius = 2, pos = { x = 319.918, y = 186.550, z = 517.110 }, follow_entity = 1002 }, + -- 当玩家离开时,触发切换Authority切换。 + { config_id = 1006, shape = RegionShape.SPHERE, radius = 40, pos = { x = 319.918, y = 186.550, z = 517.110 } } +} + +-- 触发器 +triggers = { + -- 当玩家进入时,触发结束。 + { config_id = 1001005, name = "ENTER_REGION_1005", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_EVENT_ENTER_REGION_1005", trigger_count = 0, forbid_guest = false, follow_entity = 1002 }, + -- 当玩家离开时,触发切换Authority切换。 + { config_id = 1001006, name = "LEAVE_REGION_1006", event = EventType.EVENT_LEAVE_REGION, source = "", condition = "", action = "action_EVENT_LEAVE_REGION_1006", trigger_count = 0, forbid_guest = false }, + { config_id = 1001007, name = "GADGET_CREATE_1007", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "", action = "action_EVENT_GADGET_CREATE_1007", trigger_count = 0 }, + { config_id = 1001008, name = "GALLERY_STOP_1008", event = EventType.EVENT_GALLERY_STOP, source = "", condition = "", action = "action_EVENT_GALLERY_STOP_1008", trigger_count = 0 }, + { config_id = 1001009, name = "SELECT_OPTION_1009", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_EVENT_SELECT_OPTION_1009", trigger_count = 0, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 1001, 1002, 1004 }, + regions = { 1005, 1006 }, + triggers = { "ENTER_REGION_1005", "LEAVE_REGION_1006", "GADGET_CREATE_1007", "GALLERY_STOP_1008", "SELECT_OPTION_1009" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发操作 +function action_EVENT_ENTER_REGION_1005(context, evt) + -- 增加检查玩家uid是否合法的逻辑 + local tempStart = ScriptLib.GetGroupTempValue(context, "TempStart",{}) + local enterUid = context.uid + + if evt.param1 ~= defs.EnterRegionConfig or 0 == tempStart or CheckUidNoExist(context,enterUid) then + return 0 + end + + ScriptLib.PrintContextLog(context, "## TD_玩法套装_计时器 : 完成玩法的玩家uid是 "..enterUid) + ScriptLib.UpdatePlayerGalleryScore(context, defs.GalleryID, {["uid"] = enterUid}) + ScriptLib.StopGallery(context, defs.GalleryID, false) + + return 0 +end + +-- 触发操作 +function action_EVENT_LEAVE_REGION_1006(context, evt) + if evt.param1 ~= defs.LeaveRegionConfig then + return 0 + end + + ScriptLib.PrintContextLog(context, "## TD_玩法套装_计时器 : 离开玩家的uid是 "..context.uid) + local ret = ScriptLib.TryReallocateEntityAuthority(context, context.uid, defs.EndConfig, evt.param1) + ScriptLib.PrintContextLog(context, "## TD_玩法套装_计时器 : 切换的玩家是 = "..ret) + + return 0 +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_1007(context, evt) + ScriptLib.PrintContextLog(context, "##TD Gadget".. evt.param2 .."ConfigID为".. evt.param1 .. "创生了") + if 70360001 == evt.param2 then + ScriptLib.PrintContextLog(context, "##TD Gadget 符合条件,Gadget创生了") + ScriptLib.SetWorktopOptionsByGroupId(context, 0, evt.param1, {325}) + ScriptLib.SetGroupTempValue(context, "TempStart", 0, {}) + end + return 0 +end + +-- 触发操作 +function action_EVENT_GALLERY_STOP_1008(context, evt) + ScriptLib.SetWorktopOptionsByGroupId(context, 0, defs.Operator, {325}) + ScriptLib.SetGroupTempValue(context, "TempStart", 0, {}) + ScriptLib.SetGadgetStateByConfigId(context, defs.EndConfig,0) + return 0 +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_1009(context, evt) + -- 将参与玩家录入到数据中 + local uidList=ScriptLib.GetSceneUidList(context) + if ScriptLib.StartHomeGallery(context, defs.GalleryID,context.uid) + ==-1 then + ScriptLib.SendServerMessageByLuaKey(context, "HOMEOWRLD_DUPLICATE_GALLERY", {context.uid}) + return 0 + end + ScriptLib.SetGroupTempValue(context, "TempStart", 1, {}) + ScriptLib.DelWorktopOption(context, evt.param2) + ScriptLib.SetGadgetStateByConfigId(context, defs.EndConfig,201) + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/2004/scene2004_group420040002.lua b/Resources/Scripts/Scene/2004/scene2004_group420040002.lua index e69de29bb..0e130b03b 100644 --- a/Resources/Scripts/Scene/2004/scene2004_group420040002.lua +++ b/Resources/Scripts/Scene/2004/scene2004_group420040002.lua @@ -0,0 +1,129 @@ +-- 基础信息 +local base_info = { + group_id = 420040002 +} + +-- DEFS_MISCS +-- 家园Group物件 002 计分器 +local defs = { + ScoreCid = 2001, + PedalCid = 2002, + Operator = 2003, +} +local keyName = "SGV_ScoringShelf_01" + +function EnterField(context, evt) + -- 获取ScoreCid的计数 + local countNum = ScriptLib.GetGroupTempValue(context, keyName, {}) + + -- 使ScoreCid增加1个计数 + countNum = countNum + 1 + if countNum > 10 then + countNum = 10 + end + + -- 将计数传递给物件 + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, countNum) + -- 清空物件参数 + ScriptLib.SetGroupTempValue(context, keyName, countNum, {}) + + return 0 +end + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 2001, gadget_id = 77307004, pos = { x = 329.000, y = 186.550, z = 517.200 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, server_global_value_config = { ["SGV_ScoringShelf_01"]= 0} }, + { config_id = 2002, gadget_id = 77307008, pos = { x = 329.000, y = 186.550, z = 522.200 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 2003, gadget_id = 70360001, pos = { x = 331.785, y = 186.550, z = 518.746 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true, worktop_config = { init_options = { 326 } }, follow_entity = 2001 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1002004, name = "GADGET_CREATE_2004", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "", action = "action_EVENT_GADGET_CREATE_2004", trigger_count = 0 }, + { config_id = 1002005, name = "SELECT_OPTION_2005", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_EVENT_SELECT_OPTION_2005", trigger_count = 0, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 2001, 2002, 2003 }, + regions = { }, + triggers = { "GADGET_CREATE_2004", "SELECT_OPTION_2005" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发操作 +function action_EVENT_GADGET_CREATE_2004(context, evt) + if defs.ScoreCid ~= evt.param1 then + return 0 + end + + -- 归零 + ScriptLib.SetGroupTempValue(context, keyName, 0, {}) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, 0) + + return 0 +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_2005(context, evt) + -- 判断是gadgetid Operator option_id 326 + if defs.Operator ~= evt.param1 or 326 ~= evt.param2 then + return 0 + end + -- 归零 + ScriptLib.SetGroupTempValue(context, keyName, 0, {}) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, 0) + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/2004/scene2004_group420040003.lua b/Resources/Scripts/Scene/2004/scene2004_group420040003.lua index e69de29bb..34c1a8463 100644 --- a/Resources/Scripts/Scene/2004/scene2004_group420040003.lua +++ b/Resources/Scripts/Scene/2004/scene2004_group420040003.lua @@ -0,0 +1,129 @@ +-- 基础信息 +local base_info = { + group_id = 420040003 +} + +-- DEFS_MISCS +-- 家园Group物件 002 计分器 +local defs = { + ScoreCid = 3001, + PedalCid = 3002, + Operator = 3003, +} +local keyName = "SGV_ScoringShelf_01" + +function EnterField(context, evt) + -- 获取ScoreCid的计数 + local countNum = ScriptLib.GetGroupTempValue(context, keyName, {}) + + -- 使ScoreCid增加1个计数 + countNum = countNum + 1 + if countNum > 10 then + countNum = 10 + end + + -- 将计数传递给物件 + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, countNum) + -- 清空物件参数 + ScriptLib.SetGroupTempValue(context, keyName, countNum, {}) + + return 0 +end + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 3001, gadget_id = 77307005, pos = { x = 329.000, y = 186.550, z = 517.200 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, server_global_value_config = { ["SGV_ScoringShelf_01"]= 0} }, + { config_id = 3002, gadget_id = 77307009, pos = { x = 329.000, y = 186.550, z = 522.200 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 3003, gadget_id = 70360001, pos = { x = 330.576, y = 186.550, z = 514.909 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true, worktop_config = { init_options = { 326 } }, follow_entity = 3001 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1003004, name = "GADGET_CREATE_3004", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "", action = "action_EVENT_GADGET_CREATE_3004", trigger_count = 0 }, + { config_id = 1003005, name = "SELECT_OPTION_3005", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_EVENT_SELECT_OPTION_3005", trigger_count = 0, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 3001, 3002, 3003 }, + regions = { }, + triggers = { "GADGET_CREATE_3004", "SELECT_OPTION_3005" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发操作 +function action_EVENT_GADGET_CREATE_3004(context, evt) + if defs.ScoreCid ~= evt.param1 then + return 0 + end + + -- 归零 + ScriptLib.SetGroupTempValue(context, keyName, 0, {}) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, 0) + + return 0 +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_3005(context, evt) + -- 判断是gadgetid Operator option_id 326 + if defs.Operator ~= evt.param1 or 326 ~= evt.param2 then + return 0 + end + -- 归零 + ScriptLib.SetGroupTempValue(context, keyName, 0, {}) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, 0) + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/2004/scene2004_group420040004.lua b/Resources/Scripts/Scene/2004/scene2004_group420040004.lua index e69de29bb..d5a422f5c 100644 --- a/Resources/Scripts/Scene/2004/scene2004_group420040004.lua +++ b/Resources/Scripts/Scene/2004/scene2004_group420040004.lua @@ -0,0 +1,129 @@ +-- 基础信息 +local base_info = { + group_id = 420040004 +} + +-- DEFS_MISCS +-- 家园Group物件 002 计分器 +local defs = { + ScoreCid = 4001, + PedalCid = 4002, + Operator = 4003, +} +local keyName = "SGV_ScoringShelf_01" + +function EnterField(context, evt) + -- 获取ScoreCid的计数 + local countNum = ScriptLib.GetGroupTempValue(context, keyName, {}) + + -- 使ScoreCid增加1个计数 + countNum = countNum + 1 + if countNum > 10 then + countNum = 10 + end + + -- 将计数传递给物件 + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, countNum) + -- 清空物件参数 + ScriptLib.SetGroupTempValue(context, keyName, countNum, {}) + + return 0 +end + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 4001, gadget_id = 77307006, pos = { x = 329.000, y = 186.550, z = 517.200 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, server_global_value_config = { ["SGV_ScoringShelf_01"]= 0} }, + { config_id = 4002, gadget_id = 77307010, pos = { x = 329.000, y = 186.550, z = 522.200 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 4003, gadget_id = 70360001, pos = { x = 318.967, y = 186.550, z = 514.734 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true, worktop_config = { init_options = { 326 } }, follow_entity = 4001 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1004004, name = "GADGET_CREATE_4004", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "", action = "action_EVENT_GADGET_CREATE_4004", trigger_count = 0 }, + { config_id = 1004005, name = "SELECT_OPTION_4005", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_EVENT_SELECT_OPTION_4005", trigger_count = 0, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 4001, 4002, 4003 }, + regions = { }, + triggers = { "GADGET_CREATE_4004", "SELECT_OPTION_4005" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发操作 +function action_EVENT_GADGET_CREATE_4004(context, evt) + if defs.ScoreCid ~= evt.param1 then + return 0 + end + + -- 归零 + ScriptLib.SetGroupTempValue(context, keyName, 0, {}) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, 0) + + return 0 +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_4005(context, evt) + -- 判断是gadgetid Operator option_id 326 + if defs.Operator ~= evt.param1 or 326 ~= evt.param2 then + return 0 + end + -- 归零 + ScriptLib.SetGroupTempValue(context, keyName, 0, {}) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, 0) + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/2004/scene2004_group420040005.lua b/Resources/Scripts/Scene/2004/scene2004_group420040005.lua index 290d38c6c..1a44770b5 100644 --- a/Resources/Scripts/Scene/2004/scene2004_group420040005.lua +++ b/Resources/Scripts/Scene/2004/scene2004_group420040005.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 家园Group物件 002 计分器 -defs = { +local defs = { ScoreCid = 5001, PedalCid = 5002, Operator = 5003, diff --git a/Resources/Scripts/Scene/2004/scene2004_group420040007.lua b/Resources/Scripts/Scene/2004/scene2004_group420040007.lua index e69de29bb..58fcf6ddf 100644 --- a/Resources/Scripts/Scene/2004/scene2004_group420040007.lua +++ b/Resources/Scripts/Scene/2004/scene2004_group420040007.lua @@ -0,0 +1,86 @@ +-- 基础信息 +local base_info = { + group_id = 420040007 +} + +-- Trigger变量 +local defs = { + challengeTime = 2, + delayTime = 5 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 7001, gadget_id = 77307017, pos = { x = 329.124, y = 186.550, z = 524.862 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 7002, gadget_id = 77307016, pos = { x = 323.576, y = 186.550, z = 520.959 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 7003, gadget_id = 77307016, pos = { x = 328.987, y = 186.550, z = 521.096 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 7004, gadget_id = 77307016, pos = { x = 334.892, y = 186.550, z = 520.835 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 7005, gadget_id = 77307016, pos = { x = 324.277, y = 186.550, z = 515.672 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 7006, gadget_id = 77307016, pos = { x = 329.025, y = 186.550, z = 515.843 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 7007, gadget_id = 77307016, pos = { x = 334.458, y = 186.550, z = 515.893 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 7001, 7002, 7003, 7004, 7005, 7006, 7007 }, + regions = { }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +require "V2_6/HM_WoodenStakeChallenge" \ No newline at end of file diff --git a/Resources/Scripts/Scene/2004/scene2004_group420040008.lua b/Resources/Scripts/Scene/2004/scene2004_group420040008.lua index e69de29bb..f0cb22c2e 100644 --- a/Resources/Scripts/Scene/2004/scene2004_group420040008.lua +++ b/Resources/Scripts/Scene/2004/scene2004_group420040008.lua @@ -0,0 +1,95 @@ +-- 基础信息 +local base_info = { + group_id = 420040008 +} + +-- Trigger变量 +local defs = { + Game_Time = 150, + Stage_Time = 30, + Stage_Tubby_Count = 4, + Tubby_Count = 12 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 8001, gadget_id = 77307018, pos = { x = 329.000, y = 186.550, z = 517.200 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 8002, gadget_id = 77307019, pos = { x = 331.000, y = 186.793, z = 517.200 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8003, gadget_id = 77307019, pos = { x = 333.000, y = 186.793, z = 517.200 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8004, gadget_id = 77307019, pos = { x = 327.000, y = 186.793, z = 517.200 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8005, gadget_id = 77307019, pos = { x = 325.000, y = 186.793, z = 517.200 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8006, gadget_id = 77307019, pos = { x = 327.000, y = 186.793, z = 515.200 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8007, gadget_id = 77307019, pos = { x = 329.000, y = 186.793, z = 515.200 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8008, gadget_id = 77307019, pos = { x = 331.000, y = 186.793, z = 515.200 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8009, gadget_id = 77307019, pos = { x = 329.000, y = 186.793, z = 513.200 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8010, gadget_id = 77307019, pos = { x = 331.000, y = 186.793, z = 519.200 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8011, gadget_id = 77307019, pos = { x = 329.000, y = 186.793, z = 519.200 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8012, gadget_id = 77307019, pos = { x = 327.000, y = 186.793, z = 519.200 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }, + { config_id = 8013, gadget_id = 77307019, pos = { x = 329.000, y = 186.793, z = 521.200 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true } +} + +-- 区域 +regions = { + { config_id = 8014, shape = RegionShape.SPHERE, radius = 1000, pos = { x = 329.000, y = 186.550, z = 517.200 }, follow_entity = 8001, team_ability_group_list = { "HomeWorld_Find_Tubby_Reminder" } } +} + +-- 触发器 +triggers = { +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 8001 }, + regions = { 8014 }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +require "V2_7/HM_FindTubby" \ No newline at end of file diff --git a/Resources/Scripts/Scene/2005/scene2005_group420050001.lua b/Resources/Scripts/Scene/2005/scene2005_group420050001.lua index 8b22b4cb7..867b5e583 100644 --- a/Resources/Scripts/Scene/2005/scene2005_group420050001.lua +++ b/Resources/Scripts/Scene/2005/scene2005_group420050001.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 家园Group物件 001 计时器 -defs = { +local defs = { GalleryID = 410001, StartConfig = 1001, EndConfig = 1002, diff --git a/Resources/Scripts/Scene/2005/scene2005_group420050002.lua b/Resources/Scripts/Scene/2005/scene2005_group420050002.lua index 86de340a5..b39231aa3 100644 --- a/Resources/Scripts/Scene/2005/scene2005_group420050002.lua +++ b/Resources/Scripts/Scene/2005/scene2005_group420050002.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 家园Group物件 002 计分器 -defs = { +local defs = { ScoreCid = 2001, PedalCid = 2002, Operator = 2003, diff --git a/Resources/Scripts/Scene/2005/scene2005_group420050003.lua b/Resources/Scripts/Scene/2005/scene2005_group420050003.lua index b9a772408..a1d8ac8eb 100644 --- a/Resources/Scripts/Scene/2005/scene2005_group420050003.lua +++ b/Resources/Scripts/Scene/2005/scene2005_group420050003.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 家园Group物件 002 计分器 -defs = { +local defs = { ScoreCid = 3001, PedalCid = 3002, Operator = 3003, diff --git a/Resources/Scripts/Scene/2005/scene2005_group420050004.lua b/Resources/Scripts/Scene/2005/scene2005_group420050004.lua index 26a1358a3..f3a960887 100644 --- a/Resources/Scripts/Scene/2005/scene2005_group420050004.lua +++ b/Resources/Scripts/Scene/2005/scene2005_group420050004.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 家园Group物件 002 计分器 -defs = { +local defs = { ScoreCid = 4001, PedalCid = 4002, Operator = 4003, diff --git a/Resources/Scripts/Scene/2005/scene2005_group420050005.lua b/Resources/Scripts/Scene/2005/scene2005_group420050005.lua index e69de29bb..8ffec4b8a 100644 --- a/Resources/Scripts/Scene/2005/scene2005_group420050005.lua +++ b/Resources/Scripts/Scene/2005/scene2005_group420050005.lua @@ -0,0 +1,129 @@ +-- 基础信息 +local base_info = { + group_id = 420050005 +} + +-- DEFS_MISCS +-- 家园Group物件 002 计分器 +local defs = { + ScoreCid = 5001, + PedalCid = 5002, + Operator = 5003, +} +local keyName = "SGV_ScoringShelf_01" + +function EnterField(context, evt) + -- 获取ScoreCid的计数 + local countNum = ScriptLib.GetGroupTempValue(context, keyName, {}) + + -- 使ScoreCid增加1个计数 + countNum = countNum + 1 + if countNum > 10 then + countNum = 10 + end + + -- 将计数传递给物件 + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, countNum) + -- 清空物件参数 + ScriptLib.SetGroupTempValue(context, keyName, countNum, {}) + + return 0 +end + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 5001, gadget_id = 77307007, pos = { x = 554.400, y = 383.600, z = 215.900 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, server_global_value_config = { ["SGV_ScoringShelf_01"]= 0} }, + { config_id = 5002, gadget_id = 77307011, pos = { x = 554.400, y = 383.600, z = 220.900 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, + { config_id = 5003, gadget_id = 70360001, pos = { x = 554.105, y = 383.600, z = 213.435 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true, worktop_config = { init_options = { 326 } }, follow_entity = 5001 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1005004, name = "GADGET_CREATE_5004", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "", action = "action_EVENT_GADGET_CREATE_5004", trigger_count = 0 }, + { config_id = 1005005, name = "SELECT_OPTION_5005", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_EVENT_SELECT_OPTION_5005", trigger_count = 0, forbid_guest = false } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 5001, 5002, 5003 }, + regions = { }, + triggers = { "GADGET_CREATE_5004", "SELECT_OPTION_5005" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发操作 +function action_EVENT_GADGET_CREATE_5004(context, evt) + if defs.ScoreCid ~= evt.param1 then + return 0 + end + + -- 归零 + ScriptLib.SetGroupTempValue(context, keyName, 0, {}) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, 0) + + return 0 +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_5005(context, evt) + -- 判断是gadgetid Operator option_id 326 + if defs.Operator ~= evt.param1 or 326 ~= evt.param2 then + return 0 + end + -- 归零 + ScriptLib.SetGroupTempValue(context, keyName, 0, {}) + ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, 0) + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/2005/scene2005_group420050007.lua b/Resources/Scripts/Scene/2005/scene2005_group420050007.lua index a87beb95d..c3f6b144b 100644 --- a/Resources/Scripts/Scene/2005/scene2005_group420050007.lua +++ b/Resources/Scripts/Scene/2005/scene2005_group420050007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challengeTime = 2, delayTime = 5 } diff --git a/Resources/Scripts/Scene/2005/scene2005_group420050008.lua b/Resources/Scripts/Scene/2005/scene2005_group420050008.lua index eed0e9b6a..cdd99976f 100644 --- a/Resources/Scripts/Scene/2005/scene2005_group420050008.lua +++ b/Resources/Scripts/Scene/2005/scene2005_group420050008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { Game_Time = 150, Stage_Time = 30, Stage_Tubby_Count = 4, diff --git a/Resources/Scripts/Scene/20102/scene20102_group220102004.lua b/Resources/Scripts/Scene/20102/scene20102_group220102004.lua index e69de29bb..f63f52647 100644 --- a/Resources/Scripts/Scene/20102/scene20102_group220102004.lua +++ b/Resources/Scripts/Scene/20102/scene20102_group220102004.lua @@ -0,0 +1,376 @@ +-- 基础信息 +local base_info = { + group_id = 220102004 +} + +-- Trigger变量 +local defs = { + max_gear = 4, + timer = 10, + group_id = 220102004, + gadget_1 = 4001, + gadget_2 = 4002, + gadget_3 = 4003, + gadget_4 = 4005, + gadget_chest = 4004 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 4016, monster_id = 21010201, pos = { x = -37.181, y = 1.946, z = 86.620 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 9016 }, + { config_id = 4017, monster_id = 21010201, pos = { x = -54.896, y = 14.702, z = 20.298 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 9003 } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 4001, gadget_id = 70900009, pos = { x = -80.723, y = 4.390, z = 13.977 }, rot = { x = 0.000, y = 346.847, z = 0.000 }, level = 1, state = GadgetState.Action01, persistent = true }, + { config_id = 4002, gadget_id = 70900009, pos = { x = -72.300, y = 4.352, z = 26.902 }, rot = { x = 0.000, y = 345.047, z = 0.000 }, level = 1, state = GadgetState.Action01, persistent = true }, + { config_id = 4003, gadget_id = 70900009, pos = { x = -69.635, y = 4.348, z = 29.586 }, rot = { x = 0.000, y = 75.147, z = 0.000 }, level = 1, state = GadgetState.Action01, persistent = true }, + { config_id = 4005, gadget_id = 70900009, pos = { x = -77.894, y = 4.421, z = 11.302 }, rot = { x = 0.000, y = 16.047, z = 0.000 }, level = 1, state = GadgetState.Action01, persistent = true }, + { config_id = 4010, gadget_id = 70350025, pos = { x = -88.695, y = 12.591, z = 21.593 }, rot = { x = 0.000, y = 90.000, z = 180.000 }, level = 1 }, + { config_id = 4011, gadget_id = 70900201, pos = { x = -95.720, y = 8.322, z = 42.373 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 4012, gadget_id = 70211101, pos = { x = -120.837, y = 8.507, z = 50.613 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 11, drop_tag = "解谜低级璃月", isOneoff = true, persistent = true }, + { config_id = 4014, gadget_id = 70211101, pos = { x = -9.997, y = 1.931, z = 80.733 }, rot = { x = 0.000, y = 340.000, z = 0.000 }, level = 11, drop_tag = "解谜低级璃月", isOneoff = true, persistent = true }, + { config_id = 4015, gadget_id = 70900201, pos = { x = -77.768, y = 15.269, z = 83.528 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 4018, gadget_id = 70220014, pos = { x = -55.901, y = 14.697, z = 20.336 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 4019, gadget_id = 70360002, pos = { x = -74.461, y = 4.334, z = 21.460 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, state = GadgetState.GearStop }, + { config_id = 4020, gadget_id = 70220026, pos = { x = -57.130, y = 14.698, z = 20.639 }, rot = { x = 0.000, y = 60.000, z = 0.000 }, level = 1 }, + { config_id = 4022, gadget_id = 70900201, pos = { x = -76.054, y = 8.086, z = 51.694 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 4024, gadget_id = 70900201, pos = { x = -102.660, y = 8.513, z = 66.554 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { + { config_id = 4013, shape = RegionShape.CUBIC, size = { x = 5.000, y = 5.000, z = 10.000 }, pos = { x = -95.865, y = 9.119, z = 46.478 } }, + { config_id = 4023, shape = RegionShape.CUBIC, size = { x = 5.000, y = 5.000, z = 5.000 }, pos = { x = -76.531, y = 7.164, z = 51.744 } }, + { config_id = 4025, shape = RegionShape.CUBIC, size = { x = 5.000, y = 5.000, z = 5.000 }, pos = { x = -102.573, y = 8.332, z = 67.886 } } +} + +-- 触发器 +triggers = { + { config_id = 1004004, name = "GADGET_STATE_CHANGE_4004", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_4004", action = "action_EVENT_GADGET_STATE_CHANGE_4004" }, + { config_id = 1004006, name = "GADGET_STATE_CHANGE_4006", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_4006", action = "action_EVENT_GADGET_STATE_CHANGE_4006", trigger_count = 0 }, + { config_id = 1004007, name = "TIMER_EVENT_4007", event = EventType.EVENT_TIMER_EVENT, source = "", condition = "condition_EVENT_TIMER_EVENT_4007", action = "action_EVENT_TIMER_EVENT_4007", trigger_count = 0 }, + { config_id = 1004008, name = "VARIABLE_CHANGE_4008", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_4008", action = "action_EVENT_VARIABLE_CHANGE_4008", trigger_count = 0 }, + { config_id = 1004009, name = "GADGET_STATE_CHANGE_4009", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_4009", action = "action_EVENT_GADGET_STATE_CHANGE_4009" }, + { config_id = 1004013, name = "ENTER_REGION_4013", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_4013", action = "action_EVENT_ENTER_REGION_4013" }, + { config_id = 1004021, name = "SELECT_OPTION_4021", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_4021", action = "action_EVENT_SELECT_OPTION_4021" }, + { config_id = 1004023, name = "ENTER_REGION_4023", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_4023", action = "action_EVENT_ENTER_REGION_4023" }, + { config_id = 1004025, name = "ENTER_REGION_4025", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_4025", action = "action_EVENT_ENTER_REGION_4025" } +} + +-- 变量 +variables = { + { config_id = 1, name = "active_count", value = 0, no_refresh = false } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { 4016, 4017 }, + gadgets = { 4001, 4002, 4003, 4005, 4010, 4012, 4014, 4018, 4019, 4020 }, + regions = { 4013, 4023, 4025 }, + triggers = { "GADGET_STATE_CHANGE_4004", "GADGET_STATE_CHANGE_4006", "TIMER_EVENT_4007", "VARIABLE_CHANGE_4008", "ENTER_REGION_4013", "SELECT_OPTION_4021", "ENTER_REGION_4023", "ENTER_REGION_4025" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_4004(context, evt) + if 4019 ~= evt.param2 or GadgetState.ChestOpened ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_4004(context, evt) + -- 设置操作台选项 + if 0 ~= ScriptLib.SetWorktopOptions(context, {7}) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_4006(context, evt) + if defs.gadget_1 ~= evt.param2 and defs.gadget_2 ~= evt.param2 and defs.gadget_3 ~= evt.param2 and defs.gadget_4 ~= evt.param2 then + return false + end + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_4006(context, evt) + if 0 == ScriptLib.GetGroupVariableValue(context, "active_count") then + ScriptLib.MarkPlayerAction(context, 1001, 1, 1) + end + if evt.param1 == GadgetState.Action01 then + ScriptLib.ChangeGroupVariableValue(context, "active_count", -1) + elseif evt.param1 == GadgetState.Action02 then + ScriptLib.ChangeGroupVariableValue(context, "active_count", 1) + ScriptLib.CreateGroupTimerEvent(context, defs.group_id, tostring(evt.param2), defs.timer) + else + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_TIMER_EVENT_4007(context, evt) + if evt.source_name ~= tostring(defs.gadget_1) and evt.source_name ~= tostring(defs.gadget_2) and evt.source_name ~= tostring(defs.gadget_3) and evt.source_name ~= tostring(defs.gadget_4) then + return false + end + return true +end + +-- 触发操作 +function action_EVENT_TIMER_EVENT_4007(context, evt) + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, tonumber(evt.source_name), GadgetState.Action01) then + return -1 + end + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_4008(context, evt) + if evt.param1 == evt.param2 then return false end + + if evt.param1 == -1 then + ScriptLib.MarkPlayerAction(context, 1001, 4, 1) + end + if evt.param1 ~= defs.max_gear then + return false + end + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_4008(context, evt) + ScriptLib.CancelGroupTimerEvent(context, defs.group_id, tostring(defs.gadget_1)) + ScriptLib.CancelGroupTimerEvent(context, defs.group_id, tostring(defs.gadget_2)) + ScriptLib.CancelGroupTimerEvent(context, defs.group_id, tostring(defs.gadget_3)) + ScriptLib.CancelGroupTimerEvent(context, defs.group_id, tostring(defs.gadget_4)) + + if defs.gadget_1 ~= 0 then + ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_1, GadgetState.GearStart) + end + + if defs.gadget_2 ~= 0 then + ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_2, GadgetState.GearStart) + end + + if defs.gadget_3 ~=0 then + ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_3, GadgetState.GearStart) + end + + if defs.gadget_4 ~=0 then + ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_4, GadgetState.GearStart) + end + + -- 改变指定group组220102004中, configid为4019的gadget的state + if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220102004, 4019, GadgetState.ChestOpened) then + return -1 + end + + ScriptLib.MarkPlayerAction(context, 1001, 3, 1) + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_4009(context, evt) + if 4004 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_4009(context, evt) + -- 改变指定group组220102004中, configid为4010的gadget的state + if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220102004, 4010, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_4013(context, evt) + if evt.param1 ~= 4013 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_4013(context, evt) + -- 永久关闭CongfigId的Gadget,需要和Groups的RefreshWithBlock标签搭配 + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 4011 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId") + return -1 + end + + + -- 创建id为4022的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 4022 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_4021(context, evt) + -- 判断是gadgetid 4019 option_id 7 + if 4019 ~= evt.param1 then + return false + end + + if 7 ~= evt.param2 then + return false + end + + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_4021(context, evt) + -- 删除指定group: 220102004 ;指定config:4019;物件身上指定option:7; + if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 220102004, 4019, 7) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId") + return -1 + end + + -- 改变指定group组220102004中, configid为4010的gadget的state + if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220102004, 4010, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId") + return -1 + end + + -- 杀死Group内指定的monster和gadget + if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220102003, monsters = {}, gadgets = {3024} }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group") + return -1 + end + + -- 创建id为4011的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 4011 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + -- 将configid为 4019 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 4019, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_4023(context, evt) + if evt.param1 ~= 4023 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_4023(context, evt) + -- 杀死Group内指定的monster和gadget + if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220102004, monsters = {}, gadgets = {4022} }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group") + return -1 + end + + -- 创建id为4024的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 4024 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_4025(context, evt) + if evt.param1 ~= 4025 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_4025(context, evt) + -- 杀死Group内指定的monster和gadget + if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220102004, monsters = {}, gadgets = {4024} }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group") + return -1 + end + + -- 创建id为4015的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 4015 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20114/scene20114_group220114001.lua b/Resources/Scripts/Scene/20114/scene20114_group220114001.lua index 67db404e0..890cdc892 100644 --- a/Resources/Scripts/Scene/20114/scene20114_group220114001.lua +++ b/Resources/Scripts/Scene/20114/scene20114_group220114001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { groupID = 220114001, cutSceneID = 201901 } diff --git a/Resources/Scripts/Scene/20115/scene20115_group220115001.lua b/Resources/Scripts/Scene/20115/scene20115_group220115001.lua index 2d3cd5a87..af198eb8c 100644 --- a/Resources/Scripts/Scene/20115/scene20115_group220115001.lua +++ b/Resources/Scripts/Scene/20115/scene20115_group220115001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { groupID = 220115001, cutSceneID = 201902 } diff --git a/Resources/Scripts/Scene/20117/scene20117_group220117001.lua b/Resources/Scripts/Scene/20117/scene20117_group220117001.lua index e69de29bb..c8f308190 100644 --- a/Resources/Scripts/Scene/20117/scene20117_group220117001.lua +++ b/Resources/Scripts/Scene/20117/scene20117_group220117001.lua @@ -0,0 +1,185 @@ +-- 基础信息 +local base_info = { + group_id = 220117001 +} + +-- DEFS_MISCS +local defs = { + BossConfigID = 1002, + EnvConfigID = 1001, + GroupID = 220117001, +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + [1002] = { config_id = 1002, monster_id = 29060102, pos = { x = 492.258, y = 100.542, z = 488.200 }, rot = { x = 0.000, y = 30.000, z = 0.000 }, level = 1, title_id = 152, special_name_id = 9 } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + [1001] = { config_id = 1001, gadget_id = 70290109, pos = { x = 0.000, y = 0.000, z = 0.000 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1001003, name = "GADGET_STATE_CHANGE_1003", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_1003", action = "action_EVENT_GADGET_STATE_CHANGE_1003" }, + { config_id = 1001004, name = "GADGET_STATE_CHANGE_1004", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_1004", action = "action_EVENT_GADGET_STATE_CHANGE_1004" }, + { config_id = 1001005, name = "QUEST_START_1005", event = EventType.EVENT_QUEST_START, source = "202004", condition = "", action = "action_EVENT_QUEST_START_1005" }, + { config_id = 1001007, name = "TIMER_EVENT_1007", event = EventType.EVENT_TIMER_EVENT, source = "timer", condition = "", action = "action_EVENT_TIMER_EVENT_1007" }, + { config_id = 1001008, name = "VARIABLE_CHANGE_1008", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_1008", action = "action_EVENT_VARIABLE_CHANGE_1008" } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 1001 }, + regions = { }, + triggers = { "GADGET_STATE_CHANGE_1003", "GADGET_STATE_CHANGE_1004", "QUEST_START_1005", "TIMER_EVENT_1007", "VARIABLE_CHANGE_1008" }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = , + monsters = { 1002 }, + gadgets = { }, + regions = { }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_1003(context, evt) + -- 检测config_id为1001的gadget是否从GadgetState.Default变为GadgetState.GearStart + if 1001 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_1003(context, evt) + ScriptLib.SetWeatherAreaState(context,10060,0) + + ScriptLib.SetWeatherAreaState(context,10061,1) + + ScriptLib.PrintContextLog(context,"环境物件1001切到201,进入Weather10061") + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_STATE_CHANGE_1004(context, evt) + -- 检测config_id为1001的gadget是否从GadgetState.GearStart变为GadgetState.GearStop + if 1001 ~= evt.param2 or GadgetState.GearStop ~= evt.param1 or GadgetState.GearStart ~= evt.param3 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_STATE_CHANGE_1004(context, evt) + ScriptLib.SetWeatherAreaState(context,10061,0) + + ScriptLib.SetWeatherAreaState(context,10062,1) + + ScriptLib.PrintContextLog(context,"环境物件1001切到202,进入Weather10062") + + return 0 +end + +-- 触发操作 +function action_EVENT_QUEST_START_1005(context, evt) + -- 添加suite2的新内容 + ScriptLib.AddExtraGroupSuite(context, 220117001, 2) + + return 0 +end + +-- 触发操作 +function action_EVENT_TIMER_EVENT_1007(context, evt) + -- 移除指定monster + ScriptLib.RemoveEntityByConfigId(context, 220117001, EntityType.MONSTER, 1002) + + + + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_1008(context, evt) + if evt.param1 == evt.param2 then return false end + + -- 判断变量"PhaseStep"为3 + if ScriptLib.GetGroupVariableValue(context, "PhaseStep") ~= 3 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_1008(context, evt) + -- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1 + if 0 ~= ScriptLib.AddQuestProgress(context, "202011") then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress") + return -1 + end + + -- 延迟0.5秒后,向groupId为:220117001的对象,请求一次调用,并将string参数:"timer" 传递过去 + if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220117001, "timer", 0.5) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group") + return -1 + end + + return 0 +end + +require "V2_1/Boss_Shougun" \ No newline at end of file diff --git a/Resources/Scripts/Scene/20121/scene20121_group220121004.lua b/Resources/Scripts/Scene/20121/scene20121_group220121004.lua index 060fd7357..6169c09bb 100644 --- a/Resources/Scripts/Scene/20121/scene20121_group220121004.lua +++ b/Resources/Scripts/Scene/20121/scene20121_group220121004.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { box_gadget_id = 70290241, point_array_id = 1, option_id = 98, diff --git a/Resources/Scripts/Scene/20121/scene20121_group220121008.lua b/Resources/Scripts/Scene/20121/scene20121_group220121008.lua index 04272a809..34ca28575 100644 --- a/Resources/Scripts/Scene/20121/scene20121_group220121008.lua +++ b/Resources/Scripts/Scene/20121/scene20121_group220121008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 2, gadget_seelie = 8002 diff --git a/Resources/Scripts/Scene/20124/scene20124_group220124001.lua b/Resources/Scripts/Scene/20124/scene20124_group220124001.lua index 23b324501..2fef2e617 100644 --- a/Resources/Scripts/Scene/20124/scene20124_group220124001.lua +++ b/Resources/Scripts/Scene/20124/scene20124_group220124001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { round = 4, interval_time_1 = 10, interval_time_2 = 20, diff --git a/Resources/Scripts/Scene/20128/scene20128_group220128004.lua b/Resources/Scripts/Scene/20128/scene20128_group220128004.lua index eb2c17766..332fb62e4 100644 --- a/Resources/Scripts/Scene/20128/scene20128_group220128004.lua +++ b/Resources/Scripts/Scene/20128/scene20128_group220128004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { rotate_center_1 = 4009, rotate_center_2 = 4012 } diff --git a/Resources/Scripts/Scene/20129/scene20129_group220129016.lua b/Resources/Scripts/Scene/20129/scene20129_group220129016.lua index b42715073..613282f92 100644 --- a/Resources/Scripts/Scene/20129/scene20129_group220129016.lua +++ b/Resources/Scripts/Scene/20129/scene20129_group220129016.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray = 1, portal = 16003, pointer = 16001, diff --git a/Resources/Scripts/Scene/20129/scene20129_group220129017.lua b/Resources/Scripts/Scene/20129/scene20129_group220129017.lua index 6690d7d8a..1e10432ea 100644 --- a/Resources/Scripts/Scene/20129/scene20129_group220129017.lua +++ b/Resources/Scripts/Scene/20129/scene20129_group220129017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray = 2, portal = 17003, pointer = 17001, diff --git a/Resources/Scripts/Scene/20129/scene20129_group220129018.lua b/Resources/Scripts/Scene/20129/scene20129_group220129018.lua index 510d1a440..d01ffe2d8 100644 --- a/Resources/Scripts/Scene/20129/scene20129_group220129018.lua +++ b/Resources/Scripts/Scene/20129/scene20129_group220129018.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray = 3, portal = 18003, pointer = 18001, diff --git a/Resources/Scripts/Scene/20129/scene20129_group220129019.lua b/Resources/Scripts/Scene/20129/scene20129_group220129019.lua index 02f347b59..4cee77ff8 100644 --- a/Resources/Scripts/Scene/20129/scene20129_group220129019.lua +++ b/Resources/Scripts/Scene/20129/scene20129_group220129019.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray = 4, portal = 19003, pointer = 19001, diff --git a/Resources/Scripts/Scene/20129/scene20129_group220129020.lua b/Resources/Scripts/Scene/20129/scene20129_group220129020.lua index b4ee73b42..c6a0b41cb 100644 --- a/Resources/Scripts/Scene/20129/scene20129_group220129020.lua +++ b/Resources/Scripts/Scene/20129/scene20129_group220129020.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { portal = 0 } diff --git a/Resources/Scripts/Scene/20131/scene20131_group220131004.lua b/Resources/Scripts/Scene/20131/scene20131_group220131004.lua index 5f89e7fe6..ef4050b27 100644 --- a/Resources/Scripts/Scene/20131/scene20131_group220131004.lua +++ b/Resources/Scripts/Scene/20131/scene20131_group220131004.lua @@ -6,7 +6,7 @@ local base_info = { -- DEFS_MISCS --设置var: level_start为1以开启推箱子流程 --用var_change接source为"level_finish"即可响应箱子推完的结果 -defs = { +local defs = { box_gadget_id_1 = 70290378, box_gadget_id_2 = 70290377, config_suites = {1}, diff --git a/Resources/Scripts/Scene/20131/scene20131_group220131020.lua b/Resources/Scripts/Scene/20131/scene20131_group220131020.lua index a5f27e1ea..79f52a78a 100644 --- a/Resources/Scripts/Scene/20131/scene20131_group220131020.lua +++ b/Resources/Scripts/Scene/20131/scene20131_group220131020.lua @@ -6,7 +6,7 @@ local base_info = { -- DEFS_MISCS --设置var: level_start为1以开启推箱子流程 --用var_change接source为"level_finish"即可响应箱子推完的结果 -defs = { +local defs = { box_gadget_id_1 = 70290405, --box_gadget_id_2 = 70290377, config_suites = {1}, diff --git a/Resources/Scripts/Scene/20132/scene20132_group220132001.lua b/Resources/Scripts/Scene/20132/scene20132_group220132001.lua index 167da09aa..1271ac5a5 100644 --- a/Resources/Scripts/Scene/20132/scene20132_group220132001.lua +++ b/Resources/Scripts/Scene/20132/scene20132_group220132001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { target_x = 469.4, target_y = 61, target_z = 325.9, diff --git a/Resources/Scripts/Scene/20132/scene20132_group220132003.lua b/Resources/Scripts/Scene/20132/scene20132_group220132003.lua index e69de29bb..1c353b18e 100644 --- a/Resources/Scripts/Scene/20132/scene20132_group220132003.lua +++ b/Resources/Scripts/Scene/20132/scene20132_group220132003.lua @@ -0,0 +1,521 @@ +-- 基础信息 +local base_info = { + group_id = 220132003 +} + +-- Trigger变量 +local defs = { + groupID = 220132003, + gadget_teleport = 3004, + pointarray_move = 1 +} + +-- DEFS_MISCS +function TeleportAction(context,pointarray_id,routelist) +ScriptLib.MoveAvatarByPointArrayWithTemplate(context,context.uid,pointarray_id, routelist, 300 , {speed=10}) +end + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 3001, monster_id = 21020201, pos = { x = 424.354, y = 22.708, z = 601.507 }, rot = { x = 0.000, y = 105.000, z = 0.000 }, level = 1, pose_id = 401 }, + { config_id = 3002, monster_id = 21010101, pos = { x = 439.400, y = 22.773, z = 599.788 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, pose_id = 9015 }, + { config_id = 3003, monster_id = 21010201, pos = { x = 426.275, y = 22.808, z = 592.160 }, rot = { x = 0.000, y = 60.000, z = 0.000 }, level = 1 }, + { config_id = 3020, monster_id = 21011001, pos = { x = 435.009, y = 22.705, z = 603.708 }, rot = { x = 0.000, y = 30.000, z = 0.000 }, level = 1, pose_id = 32 }, + { config_id = 3035, monster_id = 21010101, pos = { x = 423.378, y = 22.419, z = 599.585 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, disableWander = true }, + { config_id = 3036, monster_id = 21010101, pos = { x = 425.146, y = 22.879, z = 595.126 }, rot = { x = 0.000, y = 60.000, z = 0.000 }, level = 1, disableWander = true }, + { config_id = 3038, monster_id = 21020201, pos = { x = 435.348, y = 22.661, z = 593.638 }, rot = { x = 0.000, y = 330.000, z = 0.000 }, level = 1, disableWander = true }, + { config_id = 3039, monster_id = 21011001, pos = { x = 436.751, y = 22.929, z = 604.601 }, rot = { x = 0.000, y = 225.000, z = 0.000 }, level = 1, disableWander = true }, + { config_id = 3040, monster_id = 21010901, pos = { x = 434.005, y = 22.759, z = 607.161 }, rot = { x = 0.000, y = 210.000, z = 0.000 }, level = 1, disableWander = true }, + { config_id = 3042, monster_id = 21030201, pos = { x = 430.456, y = 22.859, z = 599.215 }, rot = { x = 0.000, y = 145.000, z = 0.000 }, level = 1, pose_id = 9012 } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 3004, gadget_id = 70290486, pos = { x = 430.368, y = 23.983, z = 599.534 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 3006, gadget_id = 70290508, pos = { x = 379.325, y = 75.063, z = 503.612 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 }, + { config_id = 3009, gadget_id = 70290528, pos = { x = 422.590, y = 85.760, z = 484.240 }, rot = { x = 0.000, y = 92.586, z = 0.000 }, level = 1 }, + { config_id = 3010, gadget_id = 70290480, pos = { x = 429.341, y = 40.142, z = 492.065 }, rot = { x = 0.000, y = 45.000, z = 0.000 }, level = 1, route_id = 2 }, + { config_id = 3011, gadget_id = 70360001, pos = { x = 379.337, y = 75.620, z = 503.612 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 3013, gadget_id = 70290487, pos = { x = 379.551, y = 74.985, z = 498.926 }, rot = { x = 357.858, y = 69.904, z = 4.336 }, level = 1 }, + { config_id = 3014, gadget_id = 70290487, pos = { x = 383.075, y = 74.933, z = 503.332 }, rot = { x = 356.787, y = 10.240, z = 1.056 }, level = 1 }, + { config_id = 3017, gadget_id = 70220103, pos = { x = 409.728, y = 82.980, z = 488.152 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 3018, gadget_id = 70220013, pos = { x = 431.252, y = 22.552, z = 610.713 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 3019, gadget_id = 70220013, pos = { x = 429.316, y = 22.364, z = 613.052 }, rot = { x = 0.000, y = 30.000, z = 0.000 }, level = 1 }, + { config_id = 3021, gadget_id = 70310226, pos = { x = 433.899, y = 82.691, z = 596.756 }, rot = { x = 0.000, y = 205.000, z = 0.000 }, level = 1 }, + { config_id = 3022, gadget_id = 70220013, pos = { x = 424.213, y = 22.642, z = 610.620 }, rot = { x = 0.000, y = 60.000, z = 0.000 }, level = 1 }, + { config_id = 3023, gadget_id = 70220026, pos = { x = 424.561, y = 22.682, z = 608.124 }, rot = { x = 0.000, y = 30.000, z = 0.000 }, level = 1 }, + { config_id = 3024, gadget_id = 70220013, pos = { x = 442.757, y = 22.607, z = 600.229 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 3025, gadget_id = 70220026, pos = { x = 441.754, y = 22.631, z = 598.524 }, rot = { x = 0.000, y = 30.000, z = 0.000 }, level = 1 }, + { config_id = 3026, gadget_id = 70310226, pos = { x = 419.735, y = 120.000, z = 565.958 }, rot = { x = 0.000, y = 225.000, z = 0.000 }, level = 1 }, + { config_id = 3030, gadget_id = 70310226, pos = { x = 382.000, y = 123.000, z = 525.000 }, rot = { x = 0.000, y = 190.000, z = 0.000 }, level = 1 }, + { config_id = 3031, gadget_id = 70310226, pos = { x = 380.000, y = 122.000, z = 504.000 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 }, + { config_id = 3032, gadget_id = 70290577, pos = { x = 423.312, y = 42.828, z = 487.347 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 3034, gadget_id = 70211012, pos = { x = 427.558, y = 22.623, z = 609.567 }, rot = { x = 5.000, y = 0.000, z = 355.000 }, level = 1, drop_tag = "战斗中级须弥", state = GadgetState.ChestLocked, isOneoff = true, persistent = true }, + { config_id = 3037, gadget_id = 70310226, pos = { x = 372.265, y = 76.052, z = 502.684 }, rot = { x = 0.000, y = 80.000, z = 0.000 }, level = 1 }, + { config_id = 3043, gadget_id = 70300088, pos = { x = 437.728, y = 22.551, z = 607.017 }, rot = { x = 0.000, y = 135.000, z = 0.000 }, level = 1 }, + { config_id = 3044, gadget_id = 70220014, pos = { x = 424.601, y = 22.715, z = 590.468 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 3045, gadget_id = 70220014, pos = { x = 424.759, y = 22.627, z = 589.375 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { + { config_id = 3012, shape = RegionShape.SPHERE, radius = 2, pos = { x = 430.368, y = 23.983, z = 599.534 } }, + { config_id = 3016, shape = RegionShape.SPHERE, radius = 5, pos = { x = 373.808, y = 75.627, z = 502.614 } }, + { config_id = 3027, shape = RegionShape.SPHERE, radius = 5, pos = { x = 433.899, y = 82.691, z = 596.756 } }, + { config_id = 3028, shape = RegionShape.SPHERE, radius = 5, pos = { x = 419.735, y = 120.000, z = 565.958 } }, + { config_id = 3029, shape = RegionShape.SPHERE, radius = 5, pos = { x = 382.000, y = 123.000, z = 525.000 } }, + { config_id = 3033, shape = RegionShape.SPHERE, radius = 5, pos = { x = 380.000, y = 122.000, z = 504.000 } } +} + +-- 触发器 +triggers = { + { config_id = 1003005, name = "ANY_MONSTER_DIE_3005", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_3005", action = "action_EVENT_ANY_MONSTER_DIE_3005" }, + { config_id = 1003007, name = "GADGET_CREATE_3007", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_3007", action = "action_EVENT_GADGET_CREATE_3007" }, + { config_id = 1003008, name = "SELECT_OPTION_3008", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_3008", action = "action_EVENT_SELECT_OPTION_3008" }, + { config_id = 1003012, name = "ENTER_REGION_3012", event = EventType.EVENT_ENTER_REGION, source = "1", condition = "condition_EVENT_ENTER_REGION_3012", action = "action_EVENT_ENTER_REGION_3012", trigger_count = 0 }, + { config_id = 1003016, name = "ENTER_REGION_3016", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_3016", action = "action_EVENT_ENTER_REGION_3016", trigger_count = 0 }, + { config_id = 1003027, name = "ENTER_REGION_3027", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_3027", action = "action_EVENT_ENTER_REGION_3027", trigger_count = 0 }, + { config_id = 1003028, name = "ENTER_REGION_3028", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_3028", action = "action_EVENT_ENTER_REGION_3028", trigger_count = 0 }, + { config_id = 1003029, name = "ENTER_REGION_3029", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_3029", action = "action_EVENT_ENTER_REGION_3029", trigger_count = 0 }, + { config_id = 1003033, name = "ENTER_REGION_3033", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_3033", action = "action_EVENT_ENTER_REGION_3033", trigger_count = 0 }, + { config_id = 1003041, name = "ANY_MONSTER_DIE_3041", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_3041", action = "action_EVENT_ANY_MONSTER_DIE_3041" }, + { config_id = 1003046, name = "TIMER_EVENT_3046", event = EventType.EVENT_TIMER_EVENT, source = "1", condition = "", action = "action_EVENT_TIMER_EVENT_3046" } +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { 3001, 3002, 3003, 3020, 3042 }, + gadgets = { 3006, 3009, 3010, 3011, 3013, 3014, 3018, 3019, 3022, 3023, 3024, 3025, 3032, 3034, 3043, 3044, 3045 }, + regions = { 3016 }, + triggers = { "GADGET_CREATE_3007", "SELECT_OPTION_3008", "ENTER_REGION_3016", "ANY_MONSTER_DIE_3041" }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = , + monsters = { }, + gadgets = { 3004 }, + regions = { 3027, 3028, 3029, 3033 }, + triggers = { "ENTER_REGION_3027", "ENTER_REGION_3028", "ENTER_REGION_3029", "ENTER_REGION_3033" }, + rand_weight = 100 + }, + { + -- suite_id = 3, + -- description = , + monsters = { }, + gadgets = { 3017 }, + regions = { }, + triggers = { }, + rand_weight = 100 + }, + { + -- suite_id = 4, + -- description = , + monsters = { 3035, 3036, 3038, 3039, 3040 }, + gadgets = { }, + regions = { }, + triggers = { "ANY_MONSTER_DIE_3005", "TIMER_EVENT_3046" }, + rand_weight = 100 + }, + { + -- suite_id = 5, + -- description = , + monsters = { }, + gadgets = { }, + regions = { 3012 }, + triggers = { "ENTER_REGION_3012" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_ANY_MONSTER_DIE_3005(context, evt) + -- 判断剩余怪物数量是否是0 + if ScriptLib.GetGroupMonsterCount(context) ~= 0 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ANY_MONSTER_DIE_3005(context, evt) + -- 延迟2秒后,向groupId为:220132003的对象,请求一次调用,并将string参数:"1" 传递过去 + if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220132003, "1", 2) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group") + return -1 + end + + -- 添加suite2的新内容 + ScriptLib.AddExtraGroupSuite(context, 220132003, 2) + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220132009, suite = 2 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + -- 将configid为 3034 的物件更改为状态 GadgetState.Default + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3034, GadgetState.Default) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_3007(context, evt) + if 3011 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_3007(context, evt) + -- 设置操作台选项 + if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 220132003, 3011, {68}) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_SELECT_OPTION_3008(context, evt) + -- 判断是gadgetid 3011 option_id 68 + if 3011 ~= evt.param1 then + return false + end + + if 68 ~= evt.param2 then + return false + end + + + return true +end + +-- 触发操作 +function action_EVENT_SELECT_OPTION_3008(context, evt) + -- 将configid为 3006 的物件更改为状态 GadgetState.GearStop + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3006, GadgetState.GearStop) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 3009 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3009, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 删除指定group: 220132003 ;指定config:3011;物件身上指定option:68; + if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 220132003, 3011, 68) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId") + return -1 + end + + -- 添加suite3的新内容 + ScriptLib.AddExtraGroupSuite(context, 220132003, 3) + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220132009, suite = 4 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + -- 将本组内变量名为 "KeyFlower" 的变量设置为 1 + if 0 ~= ScriptLib.SetGroupVariableValueByGroup(context, "KeyFlower", 1, 220132011) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable_by_group") + return -1 + end + + -- 针对当前group内变量名为 "KeyCount" 的变量,进行修改,变化值为 1 + if 0 ~= ScriptLib.ChangeGroupVariableValueByGroup(context, "KeyCount", 1, 220132011) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable_by_group") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_3012(context, evt) + if evt.param1 ~= 3012 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_3012(context, evt) + -- 将configid为 3004 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3004, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + TeleportAction(context,defs.pointarray_move,{1,2,3,4,5,6}) + + -- 创建id为3021的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 3021 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220132002, suite = 1 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_3016(context, evt) + if evt.param1 ~= 3016 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_3016(context, evt) + -- 将configid为 3013 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3013, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 将configid为 3014 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3014, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + + -- 将configid为 3004 的物件更改为状态 GadgetState.Default + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3004, GadgetState.Default) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + -- 卸载指定gadget + if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220132003, EntityType.GADGET, 3037 ) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_3027(context, evt) + if evt.param1 ~= 3027 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_3027(context, evt) + -- 创建id为3026的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 3026 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + -- 触发镜头注目,注目位置为坐标(391.4243,75.18393,505.376),持续时间为16秒,并且为强制注目形式,不广播其他玩家 + local pos = {x=391.4243, y=75.18393, z=505.376} + local pos_follow = {x=0.05, y=-0.65, z=-5} + if 0 ~= ScriptLib.BeginCameraSceneLook(context, { look_pos = pos, is_allow_input = false, duration = 16, is_force = true, is_broadcast = false, is_recover_keep_current = true, delay = 0, + is_set_follow_pos = true, follow_pos = pos_follow, is_force_walk = false, is_change_play_mode = false, + is_set_screen_XY = false, screen_x = 0, screen_y = 0 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_cameraLook_Begin") + return -1 + end + + -- 卸载指定gadget + if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220132003, EntityType.GADGET, 3021 ) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_3028(context, evt) + if evt.param1 ~= 3028 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_3028(context, evt) + -- 创建id为3030的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 3030 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + -- 卸载指定gadget + if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220132003, EntityType.GADGET, 3026 ) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_3029(context, evt) + if evt.param1 ~= 3029 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_3029(context, evt) + -- 创建id为3031的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 3031 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + -- 卸载指定gadget + if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220132003, EntityType.GADGET, 3030 ) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_3033(context, evt) + if evt.param1 ~= 3033 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_3033(context, evt) + -- 创建id为3037的gadget + if 0 ~= ScriptLib.CreateGadget(context, { config_id = 3037 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget") + return -1 + end + + -- 卸载指定gadget + if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220132003, EntityType.GADGET, 3031 ) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ANY_MONSTER_DIE_3041(context, evt) + -- 判断剩余怪物数量是否是0 + if ScriptLib.GetGroupMonsterCount(context) ~= 0 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ANY_MONSTER_DIE_3041(context, evt) + -- 添加suite4的新内容 + ScriptLib.AddExtraGroupSuite(context, 220132003, 4) + + -- 调用提示id为 400070 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 + if 0 ~= ScriptLib.ShowReminder(context, 400070) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_TIMER_EVENT_3046(context, evt) + -- 添加suite5的新内容 + ScriptLib.AddExtraGroupSuite(context, 220132003, 5) + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20133/scene20133_group220133026.lua b/Resources/Scripts/Scene/20133/scene20133_group220133026.lua index 1dabc04f2..a30ba6384 100644 --- a/Resources/Scripts/Scene/20133/scene20133_group220133026.lua +++ b/Resources/Scripts/Scene/20133/scene20133_group220133026.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { guide_region = 26034, --玩法完成时 这个gadget如果为GearStop则会被设为Default diff --git a/Resources/Scripts/Scene/20133/scene20133_group220133027.lua b/Resources/Scripts/Scene/20133/scene20133_group220133027.lua index 43a35904f..a8dc7370d 100644 --- a/Resources/Scripts/Scene/20133/scene20133_group220133027.lua +++ b/Resources/Scripts/Scene/20133/scene20133_group220133027.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 27001, pointarray_ID = 5, maxPointCount = 9, diff --git a/Resources/Scripts/Scene/20133/scene20133_group220133032.lua b/Resources/Scripts/Scene/20133/scene20133_group220133032.lua index 3bd105bef..109ee3894 100644 --- a/Resources/Scripts/Scene/20133/scene20133_group220133032.lua +++ b/Resources/Scripts/Scene/20133/scene20133_group220133032.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 32001, pointarray_ID = 6, maxPointCount = 11, diff --git a/Resources/Scripts/Scene/20133/scene20133_group220133033.lua b/Resources/Scripts/Scene/20133/scene20133_group220133033.lua index e2b6e6e80..58c15bffd 100644 --- a/Resources/Scripts/Scene/20133/scene20133_group220133033.lua +++ b/Resources/Scripts/Scene/20133/scene20133_group220133033.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 33001, pointarray_ID = 7, maxPointCount = 12, diff --git a/Resources/Scripts/Scene/20133/scene20133_group220133034.lua b/Resources/Scripts/Scene/20133/scene20133_group220133034.lua index a75a4c1d3..42210519a 100644 --- a/Resources/Scripts/Scene/20133/scene20133_group220133034.lua +++ b/Resources/Scripts/Scene/20133/scene20133_group220133034.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 35, group_id = 220133034 } diff --git a/Resources/Scripts/Scene/20133/scene20133_group220133035.lua b/Resources/Scripts/Scene/20133/scene20133_group220133035.lua index aefbb79e4..93d562778 100644 --- a/Resources/Scripts/Scene/20133/scene20133_group220133035.lua +++ b/Resources/Scripts/Scene/20133/scene20133_group220133035.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 35001, pointarray_ID = 8, maxPointCount = 16, diff --git a/Resources/Scripts/Scene/20133/scene20133_group220133065.lua b/Resources/Scripts/Scene/20133/scene20133_group220133065.lua index f14ad3d2b..2023a98f6 100644 --- a/Resources/Scripts/Scene/20133/scene20133_group220133065.lua +++ b/Resources/Scripts/Scene/20133/scene20133_group220133065.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 23, group_id = 220133065 } diff --git a/Resources/Scripts/Scene/20133/scene20133_group220133066.lua b/Resources/Scripts/Scene/20133/scene20133_group220133066.lua index d383ef41c..ce56a3c17 100644 --- a/Resources/Scripts/Scene/20133/scene20133_group220133066.lua +++ b/Resources/Scripts/Scene/20133/scene20133_group220133066.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 66001, pointarray_ID = 4, maxPointCount = 8, diff --git a/Resources/Scripts/Scene/20133/scene20133_group220133067.lua b/Resources/Scripts/Scene/20133/scene20133_group220133067.lua index 7072781cc..87fe0865d 100644 --- a/Resources/Scripts/Scene/20133/scene20133_group220133067.lua +++ b/Resources/Scripts/Scene/20133/scene20133_group220133067.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {67001,67004,67003,67002}, diff --git a/Resources/Scripts/Scene/20133/scene20133_group220133071.lua b/Resources/Scripts/Scene/20133/scene20133_group220133071.lua index 91e85f327..2db827544 100644 --- a/Resources/Scripts/Scene/20133/scene20133_group220133071.lua +++ b/Resources/Scripts/Scene/20133/scene20133_group220133071.lua @@ -4,14 +4,13 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { lines= { [71020] = 71019, [71009] = 71027, - } -, + } , --玩法完成时 这个gadget如果为GearStop则会被设为Default finish_gadget = 71010, --起点格configid diff --git a/Resources/Scripts/Scene/20133/scene20133_group220133078.lua b/Resources/Scripts/Scene/20133/scene20133_group220133078.lua index 3a13c3917..dc9251602 100644 --- a/Resources/Scripts/Scene/20133/scene20133_group220133078.lua +++ b/Resources/Scripts/Scene/20133/scene20133_group220133078.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { --玩法完成时 这个gadget如果为GearStop则会被设为Default finish_gadget = 78010, diff --git a/Resources/Scripts/Scene/20133/scene20133_group220133079.lua b/Resources/Scripts/Scene/20133/scene20133_group220133079.lua index 7609a3e0f..e4f86cc11 100644 --- a/Resources/Scripts/Scene/20133/scene20133_group220133079.lua +++ b/Resources/Scripts/Scene/20133/scene20133_group220133079.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { --玩法完成时 这个gadget如果为GearStop则会被设为Default finish_gadget = 79010, @@ -51,8 +51,7 @@ defs = --移动格的目标位置 movable_pos = {--[移动格子configID] = new_pos: 两位数字的矩阵坐标,x是十位,y是个位 - - [79030] = { new_pos = 53 }, + [79030] = { new_pos = 53 }, } } diff --git a/Resources/Scripts/Scene/20133/scene20133_group220133087.lua b/Resources/Scripts/Scene/20133/scene20133_group220133087.lua index aaa5094b7..2a8235212 100644 --- a/Resources/Scripts/Scene/20133/scene20133_group220133087.lua +++ b/Resources/Scripts/Scene/20133/scene20133_group220133087.lua @@ -4,14 +4,13 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { lines= { [87014] = 87013, [87007] = 87020, - } -, + } , --玩法完成时 这个gadget如果为GearStop则会被设为Default finish_gadget = 87008, --起点格configid diff --git a/Resources/Scripts/Scene/20134/scene20134_group220134001.lua b/Resources/Scripts/Scene/20134/scene20134_group220134001.lua index 882a467df..647c50f1c 100644 --- a/Resources/Scripts/Scene/20134/scene20134_group220134001.lua +++ b/Resources/Scripts/Scene/20134/scene20134_group220134001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --控制星空灯 control = { group_id = 220134042, config_id = 42001, light_index = 1, giving_gadget = 1001,} } diff --git a/Resources/Scripts/Scene/20134/scene20134_group220134008.lua b/Resources/Scripts/Scene/20134/scene20134_group220134008.lua index e69de29bb..d1a4f7596 100644 --- a/Resources/Scripts/Scene/20134/scene20134_group220134008.lua +++ b/Resources/Scripts/Scene/20134/scene20134_group220134008.lua @@ -0,0 +1,383 @@ +-- 基础信息 +local base_info = { + group_id = 220134008 +} + +-- DEFS_MISCS +local defs = { + --控制星空灯 + control = { group_id = 220134042, config_id = 42001, light_index = 2, giving_gadget = 8001,} +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 8001, gadget_id = 70310252, pos = { x = 492.203, y = 612.254, z = -1598.556 }, rot = { x = 0.000, y = 225.969, z = 0.000 }, level = 1, persistent = true } +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { + { config_id = 1008002, name = "GROUP_LOAD_8002", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_EVENT_GROUP_LOAD_8002", trigger_count = 0 }, + { config_id = 1008003, name = "VARIABLE_CHANGE_8003", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_8003", action = "action_EVENT_VARIABLE_CHANGE_8003", trigger_count = 0 }, + { config_id = 1008004, name = "VARIABLE_CHANGE_8004", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_8004", action = "action_EVENT_VARIABLE_CHANGE_8004", trigger_count = 0 }, + { config_id = 1008005, name = "VARIABLE_CHANGE_8005", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_8005", action = "action_EVENT_VARIABLE_CHANGE_8005", trigger_count = 0 }, + { config_id = 1008006, name = "VARIABLE_CHANGE_8006", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_8006", action = "action_EVENT_VARIABLE_CHANGE_8006", trigger_count = 0 }, + { config_id = 1008007, name = "VARIABLE_CHANGE_8007", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_8007", action = "action_EVENT_VARIABLE_CHANGE_8007", trigger_count = 0 }, + { config_id = 1008008, name = "VARIABLE_CHANGE_8008", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_8008", action = "action_EVENT_VARIABLE_CHANGE_8008", trigger_count = 0 }, + { config_id = 1008009, name = "VARIABLE_CHANGE_8009", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_8009", action = "action_EVENT_VARIABLE_CHANGE_8009", trigger_count = 0 }, + { config_id = 1008010, name = "VARIABLE_CHANGE_8010", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_8010", action = "action_EVENT_VARIABLE_CHANGE_8010", trigger_count = 0 }, + { config_id = 1008011, name = "VARIABLE_CHANGE_8011", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_8011", action = "action_EVENT_VARIABLE_CHANGE_8011", trigger_count = 0 }, + { config_id = 1008012, name = "VARIABLE_CHANGE_8012", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_8012", action = "action_EVENT_VARIABLE_CHANGE_8012", trigger_count = 0 }, + -- 镜头 + { config_id = 1008013, name = "VARIABLE_CHANGE_8013", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_8013", action = "action_EVENT_VARIABLE_CHANGE_8013", trigger_count = 0 } +} + +-- 变量 +variables = { + { config_id = 1, name = "camera", value = 0, no_refresh = true } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 8001 }, + regions = { }, + triggers = { "GROUP_LOAD_8002", "VARIABLE_CHANGE_8003", "VARIABLE_CHANGE_8004", "VARIABLE_CHANGE_8005", "VARIABLE_CHANGE_8006", "VARIABLE_CHANGE_8007", "VARIABLE_CHANGE_8008", "VARIABLE_CHANGE_8009", "VARIABLE_CHANGE_8010", "VARIABLE_CHANGE_8011", "VARIABLE_CHANGE_8012", "VARIABLE_CHANGE_8013" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发操作 +function action_EVENT_GROUP_LOAD_8002(context, evt) + ScriptLib.ActiveGadgetItemGiving(context, 10000102, 220134008, 8001) + + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_8003(context, evt) + if evt.param1 == evt.param2 then return false end + + -- 判断变量"given_item"为101801 + if ScriptLib.GetGroupVariableValue(context, "given_item") ~= 101801 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_8003(context, evt) + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220134026, suite = 1 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_8004(context, evt) + if evt.param1 == evt.param2 then return false end + + -- 判断变量"given_item"为101802 + if ScriptLib.GetGroupVariableValue(context, "given_item") ~= 101802 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_8004(context, evt) + ScriptLib.RefreshGroup(context, { group_id = 220134026, suite = 2 }) + + if ScriptLib.GetGroupVariableValueByGroup(context, "given_item", 220134001) == 101801 then + + ScriptLib.RefreshGroup(context, { group_id = 220134005, suite = 2 }) + + ScriptLib.AddQuestProgress(context, "door1complete") + ScriptLib.SetGroupVariableValueByGroup(context, "door1", 1, 220134033) + + + else + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_8005(context, evt) + if evt.param1 == evt.param2 then return false end + + -- 判断变量"given_item"为101803 + if ScriptLib.GetGroupVariableValue(context, "given_item") ~= 101803 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_8005(context, evt) + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220134026, suite = 3 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_8006(context, evt) + if evt.param1 == evt.param2 then return false end + + -- 判断变量"given_item"为101804 + if ScriptLib.GetGroupVariableValue(context, "given_item") ~= 101804 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_8006(context, evt) + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220134026, suite = 4 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_8007(context, evt) + if evt.param1 == evt.param2 then return false end + + -- 判断变量"given_item"为101805 + if ScriptLib.GetGroupVariableValue(context, "given_item") ~= 101805 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_8007(context, evt) + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220134026, suite = 5 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_8008(context, evt) + if evt.param1 == evt.param2 then return false end + + -- 判断变量"given_item"为101806 + if ScriptLib.GetGroupVariableValue(context, "given_item") ~= 101806 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_8008(context, evt) + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220134026, suite = 6 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_8009(context, evt) + if evt.param1 == evt.param2 then return false end + + -- 判断变量"given_item"为101807 + if ScriptLib.GetGroupVariableValue(context, "given_item") ~= 101807 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_8009(context, evt) + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220134026, suite = 7 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_8010(context, evt) + if evt.param1 == evt.param2 then return false end + + -- 判断变量"given_item"为101808 + if ScriptLib.GetGroupVariableValue(context, "given_item") ~= 101808 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_8010(context, evt) + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220134026, suite = 8 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_8011(context, evt) + if evt.param1 == evt.param2 then return false end + + -- 判断变量"given_item"为0 + if ScriptLib.GetGroupVariableValue(context, "given_item") ~= 0 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_8011(context, evt) + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220134026, suite = 10 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220134005, suite = 1 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + -- 将本组内变量名为 "door1" 的变量设置为 0 + if 0 ~= ScriptLib.SetGroupVariableValueByGroup(context, "door1", 0, 220134033) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable_by_group") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_8012(context, evt) + if evt.param1 == evt.param2 then return false end + + -- 判断变量"given_item"为101834 + if ScriptLib.GetGroupVariableValue(context, "given_item") ~= 101834 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_8012(context, evt) + -- 重新生成指定group,指定suite + if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220134026, suite = 9 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_VARIABLE_CHANGE_8013(context, evt) + if evt.param1 == evt.param2 then return false end + + -- 判断变量"camera"为0 + if ScriptLib.GetGroupVariableValue(context, "camera") ~= 0 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_VARIABLE_CHANGE_8013(context, evt) + -- 触发镜头注目,注目位置为坐标(469,634,-1607),持续时间为2秒,并且为强制注目形式,不广播其他玩家 + local pos = {x=469, y=634, z=-1607} + local pos_follow = {x=0, y=0, z=0} + if 0 ~= ScriptLib.BeginCameraSceneLook(context, { look_pos = pos, is_allow_input = false, duration = 2, is_force = true, is_broadcast = false, is_recover_keep_current = true, delay = 0, + is_set_follow_pos = false, follow_pos = pos_follow, is_force_walk = false, is_change_play_mode = false, + is_set_screen_XY = false, screen_x = 0, screen_y = 0 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_cameraLook_Begin") + return -1 + end + + -- 将本组内变量名为 "camera" 的变量设置为 1 + if 0 ~= ScriptLib.SetGroupVariableValue(context, "camera", 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable") + return -1 + end + + return 0 +end + +require "V2_8/HandleGivingResult" \ No newline at end of file diff --git a/Resources/Scripts/Scene/20134/scene20134_group220134015.lua b/Resources/Scripts/Scene/20134/scene20134_group220134015.lua index e69de29bb..77774d5ff 100644 --- a/Resources/Scripts/Scene/20134/scene20134_group220134015.lua +++ b/Resources/Scripts/Scene/20134/scene20134_group220134015.lua @@ -0,0 +1,258 @@ +-- 基础信息 +local base_info = { + group_id = 220134015 +} + +-- Trigger变量 +local defs = { + point_sum = 12, + route_2 = 1, + gadget_seelie = 15002 +} + +-- DEFS_MISCS +defs.final_point = defs.point_sum - 1 + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 15002, gadget_id = 70310244, pos = { x = 388.114, y = 612.962, z = -1648.154 }, rot = { x = 0.000, y = 67.165, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { + { config_id = 15007, shape = RegionShape.SPHERE, radius = 5, pos = { x = 388.896, y = 613.406, z = -1648.215 } } +} + +-- 触发器 +triggers = { + { config_id = 1015001, name = "GADGET_CREATE_15001", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_15001", action = "action_EVENT_GADGET_CREATE_15001", trigger_count = 0 }, + { config_id = 1015003, name = "GROUP_LOAD_15003", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_EVENT_GROUP_LOAD_15003", trigger_count = 0 }, + { config_id = 1015005, name = "PLATFORM_REACH_POINT_15005", event = EventType.EVENT_PLATFORM_REACH_POINT, source = "", condition = "condition_EVENT_PLATFORM_REACH_POINT_15005", action = "action_EVENT_PLATFORM_REACH_POINT_15005", trigger_count = 0 }, + { config_id = 1015006, name = "AVATAR_NEAR_PLATFORM_15006", event = EventType.EVENT_AVATAR_NEAR_PLATFORM, source = "", condition = "condition_EVENT_AVATAR_NEAR_PLATFORM_15006", action = "action_EVENT_AVATAR_NEAR_PLATFORM_15006", trigger_count = 0 }, + { config_id = 1015007, name = "ENTER_REGION_15007", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_15007", action = "action_EVENT_ENTER_REGION_15007", trigger_count = 0 } +} + +-- 变量 +variables = { + { config_id = 1, name = "reach", value = 0, no_refresh = true } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 2, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { }, + gadgets = { }, + regions = { 15007 }, + triggers = { "GADGET_CREATE_15001", "GROUP_LOAD_15003", "PLATFORM_REACH_POINT_15005", "AVATAR_NEAR_PLATFORM_15006", "ENTER_REGION_15007" }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = suite_2, + monsters = { }, + gadgets = { 15002 }, + regions = { 15007 }, + triggers = { "GADGET_CREATE_15001", "GROUP_LOAD_15003", "PLATFORM_REACH_POINT_15005", "AVATAR_NEAR_PLATFORM_15006", "ENTER_REGION_15007" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_15001(context, evt) + if 15002 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_15001(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 15002, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 15002) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 2005, 1, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_GROUP_LOAD_15003(context, evt) + if ScriptLib.GetHostQuestState(context,4007417)==2 or ScriptLib.GetHostQuestState(context,4007406)==2 then + ScriptLib.RefreshGroup(context, { group_id = 220134015, suite = 2 }) + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_PLATFORM_REACH_POINT_15005(context, evt) + if defs.gadget_seelie ~= evt.param1 then + return false + end + + if defs.route_2 ~= evt.param2 then + return false + end + + if defs.final_point ~= evt.param3 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_PLATFORM_REACH_POINT_15005(context, evt) + -- 停止移动平台 + if 0 ~= ScriptLib.StopPlatform(context, 15002) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : stop_platform") + return -1 + end + + -- 永久关闭CongfigId的Gadget,需要和Groups的RefreshWithBlock标签搭配 + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 15002 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId") + return -1 + end + + + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 2005, 3, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + -- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1 + if 0 ~= ScriptLib.AddQuestProgress(context, "monaroute1complete") then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress") + return -1 + end + + -- 将本组内变量名为 "reach" 的变量设置为 1 + if 0 ~= ScriptLib.SetGroupVariableValue(context, "reach", 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_AVATAR_NEAR_PLATFORM_15006(context, evt) + if defs.gadget_seelie ~= evt.param1 then + return false + end + + if defs.route_2 ~= evt.param2 then + return false + end + + if defs.final_point == evt.param3 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_AVATAR_NEAR_PLATFORM_15006(context, evt) + if 0 ~= ScriptLib.StartPlatform(context, 15002) then + return -1 + end + + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= evt.param3 then + ScriptLib.MarkPlayerAction(context, 2005, 2, evt.param3 + 1) + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_15007(context, evt) + if evt.param1 ~= 15007 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_15007(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 15002, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 15002) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 2005, 1, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20134/scene20134_group220134016.lua b/Resources/Scripts/Scene/20134/scene20134_group220134016.lua index 1e52e18be..8ed3c7877 100644 --- a/Resources/Scripts/Scene/20134/scene20134_group220134016.lua +++ b/Resources/Scripts/Scene/20134/scene20134_group220134016.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 27, route_2 = 2, gadget_seelie = 16001 diff --git a/Resources/Scripts/Scene/20134/scene20134_group220134017.lua b/Resources/Scripts/Scene/20134/scene20134_group220134017.lua index b17e65eb0..cd02c8489 100644 --- a/Resources/Scripts/Scene/20134/scene20134_group220134017.lua +++ b/Resources/Scripts/Scene/20134/scene20134_group220134017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 35, route_2 = 3, gadget_seelie = 17001 diff --git a/Resources/Scripts/Scene/20134/scene20134_group220134018.lua b/Resources/Scripts/Scene/20134/scene20134_group220134018.lua index e69de29bb..856271df5 100644 --- a/Resources/Scripts/Scene/20134/scene20134_group220134018.lua +++ b/Resources/Scripts/Scene/20134/scene20134_group220134018.lua @@ -0,0 +1,351 @@ +-- 基础信息 +local base_info = { + group_id = 220134018 +} + +-- Trigger变量 +local defs = { + point_sum = 46, + route_2 = 4, + gadget_seelie = 18001 +} + +-- DEFS_MISCS +defs.final_point = defs.point_sum - 1 + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 18001, gadget_id = 70310244, pos = { x = 410.585, y = 612.426, z = -1531.172 }, rot = { x = 0.000, y = 297.679, z = 0.000 }, level = 1, persistent = true } +} + +-- 区域 +regions = { + { config_id = 18005, shape = RegionShape.SPHERE, radius = 5, pos = { x = 410.408, y = 612.426, z = -1531.509 } } +} + +-- 触发器 +triggers = { + { config_id = 1018002, name = "GADGET_CREATE_18002", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_18002", action = "action_EVENT_GADGET_CREATE_18002", trigger_count = 0 }, + { config_id = 1018003, name = "PLATFORM_REACH_POINT_18003", event = EventType.EVENT_PLATFORM_REACH_POINT, source = "", condition = "condition_EVENT_PLATFORM_REACH_POINT_18003", action = "action_EVENT_PLATFORM_REACH_POINT_18003", trigger_count = 0 }, + { config_id = 1018004, name = "AVATAR_NEAR_PLATFORM_18004", event = EventType.EVENT_AVATAR_NEAR_PLATFORM, source = "", condition = "condition_EVENT_AVATAR_NEAR_PLATFORM_18004", action = "action_EVENT_AVATAR_NEAR_PLATFORM_18004", trigger_count = 0 }, + { config_id = 1018005, name = "ENTER_REGION_18005", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_18005", action = "action_EVENT_ENTER_REGION_18005", trigger_count = 0 }, + { config_id = 1018006, name = "PLATFORM_REACH_POINT_18006", event = EventType.EVENT_PLATFORM_REACH_POINT, source = "", condition = "condition_EVENT_PLATFORM_REACH_POINT_18006", action = "action_EVENT_PLATFORM_REACH_POINT_18006", trigger_count = 0 }, + { config_id = 1018007, name = "PLATFORM_REACH_POINT_18007", event = EventType.EVENT_PLATFORM_REACH_POINT, source = "", condition = "condition_EVENT_PLATFORM_REACH_POINT_18007", action = "action_EVENT_PLATFORM_REACH_POINT_18007", trigger_count = 0 }, + { config_id = 1018008, name = "GROUP_LOAD_18008", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_EVENT_GROUP_LOAD_18008", trigger_count = 0 }, + { config_id = 1018009, name = "QUEST_START_18009", event = EventType.EVENT_QUEST_START, source = "", condition = "condition_EVENT_QUEST_START_18009", action = "action_EVENT_QUEST_START_18009", trigger_count = 0 } +} + +-- 变量 +variables = { + { config_id = 1, name = "finish", value = 0, no_refresh = true }, + { config_id = 2, name = "reach", value = 0, no_refresh = true } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 2, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = suite_1, + monsters = { }, + gadgets = { }, + regions = { 18005 }, + triggers = { "GADGET_CREATE_18002", "PLATFORM_REACH_POINT_18003", "AVATAR_NEAR_PLATFORM_18004", "ENTER_REGION_18005", "PLATFORM_REACH_POINT_18006", "PLATFORM_REACH_POINT_18007", "GROUP_LOAD_18008", "QUEST_START_18009" }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = suite_2, + monsters = { }, + gadgets = { 18001 }, + regions = { 18005 }, + triggers = { "GADGET_CREATE_18002", "PLATFORM_REACH_POINT_18003", "AVATAR_NEAR_PLATFORM_18004", "ENTER_REGION_18005", "PLATFORM_REACH_POINT_18006", "PLATFORM_REACH_POINT_18007", "QUEST_START_18009" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_GADGET_CREATE_18002(context, evt) + if 18001 ~= evt.param1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_GADGET_CREATE_18002(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 18001, 4) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 18001) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 2005, 1, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_PLATFORM_REACH_POINT_18003(context, evt) + if defs.gadget_seelie ~= evt.param1 then + return false + end + + if defs.route_2 ~= evt.param2 then + return false + end + + if defs.final_point ~= evt.param3 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_PLATFORM_REACH_POINT_18003(context, evt) + -- 停止移动平台 + if 0 ~= ScriptLib.StopPlatform(context, 18001) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : stop_platform") + return -1 + end + + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 2005, 3, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + -- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1 + if 0 ~= ScriptLib.AddQuestProgress(context, "monaroute4complete") then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress") + return -1 + end + + -- 将本组内变量名为 "finish" 的变量设置为 1 + if 0 ~= ScriptLib.SetGroupVariableValue(context, "finish", 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable") + return -1 + end + + -- 将本组内变量名为 "reach" 的变量设置为 1 + if 0 ~= ScriptLib.SetGroupVariableValue(context, "reach", 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_AVATAR_NEAR_PLATFORM_18004(context, evt) + if defs.gadget_seelie ~= evt.param1 then + return false + end + + if defs.route_2 ~= evt.param2 then + return false + end + + if defs.final_point == evt.param3 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_AVATAR_NEAR_PLATFORM_18004(context, evt) + if 0 ~= ScriptLib.StartPlatform(context, 18001) then + return -1 + end + + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= evt.param3 then + ScriptLib.MarkPlayerAction(context, 2005, 2, evt.param3 + 1) + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_18005(context, evt) + if evt.param1 ~= 18005 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_18005(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 18001, 4) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 18001) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= ScriptLib.MarkPlayerAction(context, 2005, 1, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_PLATFORM_REACH_POINT_18006(context, evt) + -- 判断是gadgetid 为 18001的移动平台,是否到达了4 的路线中的 27 点 + + if 18001 ~= evt.param1 then + return false + end + + if 4 ~= evt.param2 then + return false + end + + if 27 ~= evt.param3 then + return false + end + + + return true +end + +-- 触发操作 +function action_EVENT_PLATFORM_REACH_POINT_18006(context, evt) + -- 将本组内变量名为 "reach2" 的变量设置为 1 + if 0 ~= ScriptLib.SetGroupVariableValueByGroup(context, "reach2", 1, 220134017) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable_by_group") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_PLATFORM_REACH_POINT_18007(context, evt) + -- 判断是gadgetid 为 18001的移动平台,是否到达了4 的路线中的 45 点 + + if 18001 ~= evt.param1 then + return false + end + + if 4 ~= evt.param2 then + return false + end + + if 45 ~= evt.param3 then + return false + end + + + return true +end + +-- 触发操作 +function action_EVENT_PLATFORM_REACH_POINT_18007(context, evt) + -- 将本组内变量名为 "starreach" 的变量设置为 1 + if 0 ~= ScriptLib.SetGroupVariableValueByGroup(context, "starreach", 1, 220134033) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable_by_group") + return -1 + end + + -- group调整group进度,只对非randSuite有效 + if 0 ~= ScriptLib.GoToGroupSuite(context, 220134018, 1) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : goto_groupSuite") + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_GROUP_LOAD_18008(context, evt) + -- 添加suite2的新内容 + if ScriptLib.GetHostQuestState(context,4007607)==2 then + ScriptLib.AddExtraGroupSuite(context, 220134018, 2) + + end + return 0 +end + +-- 触发条件 +function condition_EVENT_QUEST_START_18009(context, evt) + -- 判断变量"finish"为1 + if ScriptLib.GetGroupVariableValue(context, "finish") ~= 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_QUEST_START_18009(context, evt) + -- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1 + if 0 ~= ScriptLib.AddQuestProgress(context, "monaroute4complete") then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress") + return -1 + end + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20134/scene20134_group220134034.lua b/Resources/Scripts/Scene/20134/scene20134_group220134034.lua index 7f48412f8..6a6b61175 100644 --- a/Resources/Scripts/Scene/20134/scene20134_group220134034.lua +++ b/Resources/Scripts/Scene/20134/scene20134_group220134034.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --控制星空灯 control = { group_id = 220134042, config_id = 42001, light_index = 3, giving_gadget = 34001,} } diff --git a/Resources/Scripts/Scene/20134/scene20134_group220134035.lua b/Resources/Scripts/Scene/20134/scene20134_group220134035.lua index 407e47e95..89f2cab4a 100644 --- a/Resources/Scripts/Scene/20134/scene20134_group220134035.lua +++ b/Resources/Scripts/Scene/20134/scene20134_group220134035.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --控制星空灯 control = { group_id = 220134042, config_id = 42001, light_index = 4, giving_gadget = 35001,} } diff --git a/Resources/Scripts/Scene/20134/scene20134_group220134036.lua b/Resources/Scripts/Scene/20134/scene20134_group220134036.lua index d6afc1a43..bd6f1604e 100644 --- a/Resources/Scripts/Scene/20134/scene20134_group220134036.lua +++ b/Resources/Scripts/Scene/20134/scene20134_group220134036.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --控制星空灯 control = { group_id = 220134042, config_id = 42001, light_index = 5, giving_gadget = 36001,} } diff --git a/Resources/Scripts/Scene/20134/scene20134_group220134037.lua b/Resources/Scripts/Scene/20134/scene20134_group220134037.lua index 779022af0..b9d1adf8e 100644 --- a/Resources/Scripts/Scene/20134/scene20134_group220134037.lua +++ b/Resources/Scripts/Scene/20134/scene20134_group220134037.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --控制星空灯 control = { group_id = 220134042, config_id = 42001, light_index = 6, giving_gadget = 37001,} } diff --git a/Resources/Scripts/Scene/20134/scene20134_group220134038.lua b/Resources/Scripts/Scene/20134/scene20134_group220134038.lua index 43fe75ed9..25d660184 100644 --- a/Resources/Scripts/Scene/20134/scene20134_group220134038.lua +++ b/Resources/Scripts/Scene/20134/scene20134_group220134038.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --控制星空灯 control = { group_id = 220134042, config_id = 42001, light_index = 7, giving_gadget = 38001,} } diff --git a/Resources/Scripts/Scene/20134/scene20134_group220134039.lua b/Resources/Scripts/Scene/20134/scene20134_group220134039.lua index e987ee1e5..12869242d 100644 --- a/Resources/Scripts/Scene/20134/scene20134_group220134039.lua +++ b/Resources/Scripts/Scene/20134/scene20134_group220134039.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --控制星空灯 control = { group_id = 220134042, config_id = 42001, light_index = 8, giving_gadget = 39001,} } diff --git a/Resources/Scripts/Scene/20134/scene20134_group220134041.lua b/Resources/Scripts/Scene/20134/scene20134_group220134041.lua index 160b555b7..f3d1f6010 100644 --- a/Resources/Scripts/Scene/20134/scene20134_group220134041.lua +++ b/Resources/Scripts/Scene/20134/scene20134_group220134041.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupid = 220134041 } @@ -19,12 +19,9 @@ local defs = { [4] = { config_id=41004 , connect = {41008, 41009, 41005}, point_array_id = 37}, [5] = { config_id= 41005 , connect = {41007, 41009}, point_array_id = 38 }, [6] = { config_id=41006 , connect = {41005, 41007, 41008}, point_array_id = 39 }, - - [7] = { config_id=41007 , connect = {41008,41008}, point_array_id = 103 }, - -[8] = { config_id=41008 , connect = {41009,41007}, point_array_id = 104 }, - -[9] = { config_id=41009 , connect = {41008,41008}, point_array_id = 105}, + [7] = { config_id=41007 , connect = {41008,41008}, point_array_id = 103 }, + [8] = { config_id=41008 , connect = {41009,41007}, point_array_id = 104 }, + [9] = { config_id=41009 , connect = {41008,41008}, point_array_id = 105}, }, diff --git a/Resources/Scripts/Scene/20134/scene20134_group220134044.lua b/Resources/Scripts/Scene/20134/scene20134_group220134044.lua index 41e356bae..38d00fba1 100644 --- a/Resources/Scripts/Scene/20134/scene20134_group220134044.lua +++ b/Resources/Scripts/Scene/20134/scene20134_group220134044.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 10, group_id = 220134044, diff --git a/Resources/Scripts/Scene/20134/scene20134_group220134068.lua b/Resources/Scripts/Scene/20134/scene20134_group220134068.lua index a317cb861..b9618228b 100644 --- a/Resources/Scripts/Scene/20134/scene20134_group220134068.lua +++ b/Resources/Scripts/Scene/20134/scene20134_group220134068.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 6, route_2 = 8, gadget_seelie = 68001 diff --git a/Resources/Scripts/Scene/20134/scene20134_group220134072.lua b/Resources/Scripts/Scene/20134/scene20134_group220134072.lua index f37772bd2..baa06c1d8 100644 --- a/Resources/Scripts/Scene/20134/scene20134_group220134072.lua +++ b/Resources/Scripts/Scene/20134/scene20134_group220134072.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 7, gadget_seelie = 72001 diff --git a/Resources/Scripts/Scene/20136/scene20136_group220136001.lua b/Resources/Scripts/Scene/20136/scene20136_group220136001.lua index 58db7d596..40be5c35b 100644 --- a/Resources/Scripts/Scene/20136/scene20136_group220136001.lua +++ b/Resources/Scripts/Scene/20136/scene20136_group220136001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 99, gadget_seelie = 1106 diff --git a/Resources/Scripts/Scene/20136/scene20136_group220136002.lua b/Resources/Scripts/Scene/20136/scene20136_group220136002.lua index e69de29bb..5708c5c64 100644 --- a/Resources/Scripts/Scene/20136/scene20136_group220136002.lua +++ b/Resources/Scripts/Scene/20136/scene20136_group220136002.lua @@ -0,0 +1,1781 @@ +-- 基础信息 +local base_info = { + group_id = 220136002 +} + +-- Trigger变量 +local defs = { + point_sum = 43, + route_2 = 121, + gadget_seelie = 2081 +} + +-- DEFS_MISCS +defs.final_point = defs.point_sum - 1 + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { + { config_id = 2001, gadget_id = 70380301, pos = { x = 796.628, y = 67.261, z = 923.778 }, rot = { x = 0.000, y = 0.050, z = 0.000 }, level = 1, start_route = false }, + { config_id = 2002, gadget_id = 70380301, pos = { x = 816.266, y = 61.500, z = 905.901 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 整体移动 + { config_id = 2003, gadget_id = 70380301, pos = { x = 826.417, y = 61.500, z = 894.960 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 整体移动 + { config_id = 2004, gadget_id = 70380302, pos = { x = 826.414, y = 61.500, z = 884.625 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, is_use_point_array = true }, + -- 整体移动 + { config_id = 2005, gadget_id = 70380301, pos = { x = 826.387, y = 61.500, z = 874.381 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 整体移动 + { config_id = 2006, gadget_id = 70380301, pos = { x = 805.668, y = 61.500, z = 905.884 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 整体移动 + { config_id = 2007, gadget_id = 70380301, pos = { x = 805.647, y = 61.500, z = 895.584 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 整体移动 + { config_id = 2008, gadget_id = 70380301, pos = { x = 805.852, y = 61.500, z = 885.329 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 整体移动 + { config_id = 2009, gadget_id = 70380301, pos = { x = 805.040, y = 61.500, z = 875.625 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 从下往上 + { config_id = 2010, gadget_id = 70380301, pos = { x = 806.484, y = 40.357, z = 875.514 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true }, + -- 临时占位 + { config_id = 2011, gadget_id = 70380301, pos = { x = 796.747, y = 69.536, z = 845.112 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 整体移动 + { config_id = 2012, gadget_id = 70380302, pos = { x = 807.190, y = 69.614, z = 845.300 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, is_use_point_array = true }, + -- 整体移动1 + { config_id = 2013, gadget_id = 70380301, pos = { x = 796.815, y = 69.549, z = 865.086 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 往下 + { config_id = 2015, gadget_id = 70380301, pos = { x = 775.760, y = 69.464, z = 865.489 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + { config_id = 2016, gadget_id = 70380301, pos = { x = 740.796, y = 62.603, z = 854.402 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 向上开门 + { config_id = 2017, gadget_id = 70380301, pos = { x = 757.158, y = 63.608, z = 845.474 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 向上开门 + { config_id = 2018, gadget_id = 70380301, pos = { x = 756.916, y = 63.752, z = 835.173 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 向上开门 + { config_id = 2019, gadget_id = 70380301, pos = { x = 757.368, y = 63.758, z = 824.585 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 开门 + { config_id = 2020, gadget_id = 70380301, pos = { x = 766.903, y = 66.127, z = 804.893 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 开门 + { config_id = 2021, gadget_id = 70380301, pos = { x = 782.305, y = 45.704, z = 804.426 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false, is_use_point_array = true }, + -- 开门 + { config_id = 2022, gadget_id = 70380301, pos = { x = 793.763, y = 57.950, z = 804.342 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, start_route = false, is_use_point_array = true }, + -- 开门 + { config_id = 2023, gadget_id = 70380301, pos = { x = 793.550, y = 63.000, z = 792.968 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, start_route = false, is_use_point_array = true }, + -- 开门 + { config_id = 2024, gadget_id = 70380301, pos = { x = 776.277, y = 92.082, z = 785.829 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false, is_use_point_array = true }, + -- 缩进 + { config_id = 2025, gadget_id = 70380301, pos = { x = 759.197, y = 90.000, z = 741.842 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 缩进 + { config_id = 2026, gadget_id = 70380301, pos = { x = 789.954, y = 90.000, z = 741.841 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 缩进 + { config_id = 2027, gadget_id = 70380301, pos = { x = 759.206, y = 90.000, z = 731.775 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 缩进 + { config_id = 2028, gadget_id = 70380301, pos = { x = 789.962, y = 90.000, z = 731.775 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 缩进 + { config_id = 2029, gadget_id = 70380301, pos = { x = 759.376, y = 90.000, z = 721.490 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 缩进 + { config_id = 2030, gadget_id = 70380301, pos = { x = 789.894, y = 90.000, z = 721.421 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 缩进 + { config_id = 2031, gadget_id = 70380301, pos = { x = 789.805, y = 90.000, z = 711.487 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 缩进 + { config_id = 2032, gadget_id = 70380301, pos = { x = 759.104, y = 90.000, z = 711.487 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 缩低 + { config_id = 2033, gadget_id = 70380301, pos = { x = 780.046, y = 110.049, z = 741.853 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false, vision_level = VisionLevelType.VISION_LEVEL_REMOTE }, + -- 缩低 + { config_id = 2034, gadget_id = 70380301, pos = { x = 769.574, y = 110.049, z = 741.777 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false, vision_level = VisionLevelType.VISION_LEVEL_REMOTE }, + -- 缩低 + { config_id = 2035, gadget_id = 70380301, pos = { x = 769.772, y = 110.436, z = 731.825 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false, vision_level = VisionLevelType.VISION_LEVEL_REMOTE }, + -- 缩低 + { config_id = 2036, gadget_id = 70380301, pos = { x = 780.272, y = 110.436, z = 731.906 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false, vision_level = VisionLevelType.VISION_LEVEL_REMOTE }, + -- 缩低 + { config_id = 2037, gadget_id = 70380301, pos = { x = 775.064, y = 109.140, z = 721.904 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false, vision_level = VisionLevelType.VISION_LEVEL_REMOTE }, + -- 缩低 + { config_id = 2038, gadget_id = 70380301, pos = { x = 775.033, y = 109.869, z = 710.107 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false, vision_level = VisionLevelType.VISION_LEVEL_REMOTE }, + -- 开门 + { config_id = 2039, gadget_id = 70380301, pos = { x = 775.201, y = 90.016, z = 701.142 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + -- 掉落 + { config_id = 2040, gadget_id = 70380301, pos = { x = 780.952, y = 64.592, z = 682.746 }, rot = { x = 0.000, y = 359.651, z = 0.000 }, level = 1, start_route = false }, + -- 掉落 + { config_id = 2041, gadget_id = 70380301, pos = { x = 769.630, y = 64.592, z = 682.683 }, rot = { x = 0.000, y = 359.651, z = 0.000 }, level = 1, start_route = false }, + -- 掉落 + { config_id = 2042, gadget_id = 70380301, pos = { x = 781.007, y = 64.592, z = 671.423 }, rot = { x = 0.000, y = 359.651, z = 0.000 }, level = 1, start_route = false }, + -- 掉落 + { config_id = 2043, gadget_id = 70380301, pos = { x = 769.697, y = 64.592, z = 671.354 }, rot = { x = 0.000, y = 359.651, z = 0.000 }, level = 1, start_route = false }, + { config_id = 2048, gadget_id = 70380301, pos = { x = 766.885, y = 63.666, z = 855.446 }, rot = { x = 0.000, y = 359.651, z = 0.000 }, level = 1, start_route = false }, + -- 抬高 + { config_id = 2066, gadget_id = 70380301, pos = { x = 793.667, y = 66.800, z = 781.692 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false, is_use_point_array = true }, + { config_id = 2067, gadget_id = 70380301, pos = { x = 757.304, y = 63.837, z = 865.035 }, rot = { x = 0.000, y = 359.651, z = 0.000 }, level = 1, start_route = false }, + -- 墙面推进 + { config_id = 2071, gadget_id = 70380301, pos = { x = 739.864, y = 66.176, z = 809.311 }, rot = { x = 0.000, y = 359.651, z = 0.000 }, level = 1, start_route = false }, + -- 墙面推进 + { config_id = 2072, gadget_id = 70380301, pos = { x = 739.947, y = 66.186, z = 799.008 }, rot = { x = 0.000, y = 359.651, z = 0.000 }, level = 1, start_route = false }, + -- 墙面推进 + { config_id = 2073, gadget_id = 70380301, pos = { x = 740.021, y = 66.197, z = 788.687 }, rot = { x = 0.000, y = 359.651, z = 0.000 }, level = 1, start_route = false }, + -- 缩进 + { config_id = 2075, gadget_id = 70380301, pos = { x = 759.197, y = 90.000, z = 752.038 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + { config_id = 2079, gadget_id = 70950157, pos = { x = 793.132, y = 70.431, z = 798.728 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 2081, gadget_id = 70310244, pos = { x = 775.270, y = 58.456, z = 923.598 }, rot = { x = 0.000, y = 90.505, z = 0.000 }, level = 1 }, + { config_id = 2083, gadget_id = 70950157, pos = { x = 793.132, y = 74.099, z = 787.268 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1 }, + -- 缩进 + { config_id = 2084, gadget_id = 70380301, pos = { x = 789.954, y = 90.000, z = 752.128 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, + { config_id = 2085, gadget_id = 70950157, pos = { x = 789.158, y = 76.289, z = 784.821 }, rot = { x = 0.000, y = 180.000, z = 90.000 }, level = 1 }, + { config_id = 2086, gadget_id = 70950157, pos = { x = 789.158, y = 76.289, z = 789.233 }, rot = { x = 0.000, y = 180.000, z = 90.000 }, level = 1 }, + { config_id = 2087, gadget_id = 70950157, pos = { x = 804.542, y = 62.071, z = 860.540 }, rot = { x = 270.680, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 2088, gadget_id = 70950157, pos = { x = 792.583, y = 62.071, z = 860.508 }, rot = { x = 270.680, y = 0.000, z = 0.000 }, level = 1 }, + -- 掉落 + { config_id = 2089, gadget_id = 70950157, pos = { x = 772.107, y = 4.937, z = 666.344 }, rot = { x = 272.808, y = 180.000, z = 180.000 }, level = 1 }, + { config_id = 2090, gadget_id = 70950157, pos = { x = 784.081, y = 4.937, z = 666.344 }, rot = { x = 272.808, y = 180.000, z = 180.000 }, level = 1 }, + { config_id = 2091, gadget_id = 70950157, pos = { x = 786.166, y = 5.286, z = 673.461 }, rot = { x = 272.807, y = 90.000, z = 180.000 }, level = 1 }, + { config_id = 2092, gadget_id = 70950157, pos = { x = 786.166, y = 5.286, z = 685.398 }, rot = { x = 272.807, y = 90.000, z = 180.000 }, level = 1 }, + { config_id = 2102, gadget_id = 70950157, pos = { x = 778.703, y = 5.907, z = 686.113 }, rot = { x = 272.808, y = 180.000, z = 180.000 }, level = 1 }, + { config_id = 2103, gadget_id = 70950157, pos = { x = 766.616, y = 5.907, z = 686.113 }, rot = { x = 272.808, y = 180.000, z = 180.000 }, level = 1 }, + { config_id = 2104, gadget_id = 70950157, pos = { x = 765.462, y = 6.301, z = 679.018 }, rot = { x = 272.807, y = 90.000, z = 180.000 }, level = 1 }, + { config_id = 2105, gadget_id = 70950157, pos = { x = 765.462, y = 6.301, z = 667.005 }, rot = { x = 272.807, y = 90.000, z = 180.000 }, level = 1 }, + -- 掉落 + { config_id = 2106, gadget_id = 70950157, pos = { x = 772.107, y = 46.096, z = 666.344 }, rot = { x = 272.808, y = 180.000, z = 180.000 }, level = 1 }, + { config_id = 2107, gadget_id = 70950157, pos = { x = 784.081, y = 46.096, z = 666.344 }, rot = { x = 272.808, y = 180.000, z = 180.000 }, level = 1 }, + { config_id = 2108, gadget_id = 70950157, pos = { x = 786.166, y = 46.445, z = 673.461 }, rot = { x = 272.807, y = 90.000, z = 180.000 }, level = 1 }, + { config_id = 2109, gadget_id = 70950157, pos = { x = 786.166, y = 46.445, z = 685.398 }, rot = { x = 272.807, y = 90.000, z = 180.000 }, level = 1 }, + { config_id = 2110, gadget_id = 70950157, pos = { x = 778.703, y = 47.065, z = 686.113 }, rot = { x = 272.808, y = 180.000, z = 180.000 }, level = 1 }, + { config_id = 2111, gadget_id = 70950157, pos = { x = 766.616, y = 47.065, z = 686.113 }, rot = { x = 272.808, y = 180.000, z = 180.000 }, level = 1 }, + { config_id = 2112, gadget_id = 70950157, pos = { x = 765.462, y = 47.460, z = 679.018 }, rot = { x = 272.807, y = 90.000, z = 180.000 }, level = 1 }, + { config_id = 2113, gadget_id = 70950157, pos = { x = 765.462, y = 47.460, z = 667.005 }, rot = { x = 272.807, y = 90.000, z = 180.000 }, level = 1 }, + -- 掉落 + { config_id = 2114, gadget_id = 70950157, pos = { x = 772.107, y = 40.133, z = 667.281 }, rot = { x = 284.863, y = 180.000, z = 180.000 }, level = 1 }, + { config_id = 2115, gadget_id = 70950157, pos = { x = 784.081, y = 40.110, z = 667.652 }, rot = { x = 285.924, y = 180.000, z = 180.000 }, level = 1 }, + { config_id = 2116, gadget_id = 70950157, pos = { x = 784.786, y = 40.336, z = 673.461 }, rot = { x = 290.471, y = 90.000, z = 180.000 }, level = 1 }, + { config_id = 2117, gadget_id = 70950157, pos = { x = 784.786, y = 40.336, z = 685.398 }, rot = { x = 290.471, y = 90.000, z = 180.000 }, level = 1 }, + { config_id = 2118, gadget_id = 70950157, pos = { x = 778.703, y = 41.044, z = 686.270 }, rot = { x = 281.765, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 2119, gadget_id = 70950157, pos = { x = 766.616, y = 41.044, z = 686.270 }, rot = { x = 281.765, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 2120, gadget_id = 70950157, pos = { x = 764.754, y = 41.335, z = 679.018 }, rot = { x = 285.348, y = 270.000, z = 0.000 }, level = 1 }, + { config_id = 2121, gadget_id = 70950157, pos = { x = 764.754, y = 41.335, z = 667.005 }, rot = { x = 285.348, y = 270.000, z = 0.000 }, level = 1 }, + -- 掉落 + { config_id = 2122, gadget_id = 70950157, pos = { x = 772.107, y = 34.372, z = 668.512 }, rot = { x = 284.863, y = 180.000, z = 180.000 }, level = 1 }, + { config_id = 2123, gadget_id = 70950157, pos = { x = 784.081, y = 34.372, z = 668.989 }, rot = { x = 285.924, y = 180.000, z = 180.000 }, level = 1 }, + { config_id = 2124, gadget_id = 70950157, pos = { x = 782.998, y = 34.722, z = 673.461 }, rot = { x = 290.471, y = 90.000, z = 180.000 }, level = 1 }, + { config_id = 2125, gadget_id = 70950157, pos = { x = 782.998, y = 34.722, z = 685.398 }, rot = { x = 290.471, y = 90.000, z = 180.000 }, level = 1 }, + { config_id = 2126, gadget_id = 70950157, pos = { x = 778.703, y = 35.342, z = 684.788 }, rot = { x = 281.765, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 2127, gadget_id = 70950157, pos = { x = 766.616, y = 35.342, z = 684.788 }, rot = { x = 281.765, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 2128, gadget_id = 70950157, pos = { x = 766.590, y = 35.737, z = 679.018 }, rot = { x = 285.348, y = 270.000, z = 0.000 }, level = 1 }, + { config_id = 2129, gadget_id = 70950157, pos = { x = 766.590, y = 35.737, z = 667.005 }, rot = { x = 285.348, y = 270.000, z = 0.000 }, level = 1 }, + -- 掉落 + { config_id = 2130, gadget_id = 70950157, pos = { x = 772.107, y = 28.744, z = 669.713 }, rot = { x = 284.863, y = 180.000, z = 180.000 }, level = 1 }, + { config_id = 2131, gadget_id = 70950157, pos = { x = 784.081, y = 28.767, z = 670.295 }, rot = { x = 285.924, y = 180.000, z = 180.000 }, level = 1 }, + { config_id = 2132, gadget_id = 70950157, pos = { x = 781.252, y = 29.239, z = 673.461 }, rot = { x = 290.471, y = 90.000, z = 180.000 }, level = 1 }, + { config_id = 2133, gadget_id = 70950157, pos = { x = 781.252, y = 29.239, z = 685.398 }, rot = { x = 290.471, y = 90.000, z = 180.000 }, level = 1 }, + { config_id = 2134, gadget_id = 70950157, pos = { x = 778.703, y = 29.772, z = 683.340 }, rot = { x = 281.765, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 2135, gadget_id = 70950157, pos = { x = 766.616, y = 29.772, z = 683.340 }, rot = { x = 281.765, y = 0.000, z = 0.000 }, level = 1 }, + { config_id = 2136, gadget_id = 70950157, pos = { x = 768.383, y = 30.269, z = 679.018 }, rot = { x = 285.348, y = 270.000, z = 0.000 }, level = 1 }, + { config_id = 2137, gadget_id = 70950157, pos = { x = 768.383, y = 30.269, z = 667.005 }, rot = { x = 285.348, y = 270.000, z = 0.000 }, level = 1 }, + { config_id = 2138, gadget_id = 70950157, pos = { x = 788.070, y = 59.687, z = 804.146 }, rot = { x = 90.000, y = 270.156, z = 0.000 }, level = 1 }, + { config_id = 2139, gadget_id = 70950157, pos = { x = 788.070, y = 65.465, z = 804.146 }, rot = { x = 90.000, y = 270.156, z = 0.000 }, level = 1 } +} + +-- 区域 +regions = { + { config_id = 2014, shape = RegionShape.SPHERE, radius = 8, pos = { x = 775.833, y = 56.690, z = 923.533 } }, + { config_id = 2045, shape = RegionShape.SPHERE, radius = 8, pos = { x = 817.110, y = 53.840, z = 909.948 } }, + -- 整体移动 + { config_id = 2046, shape = RegionShape.SPHERE, radius = 8, pos = { x = 816.541, y = 53.840, z = 900.074 } }, + -- 抬高 + { config_id = 2047, shape = RegionShape.SPHERE, radius = 5, pos = { x = 806.267, y = 51.538, z = 873.165 } }, + { config_id = 2049, shape = RegionShape.SPHERE, radius = 5, pos = { x = 806.348, y = 59.040, z = 864.052 } }, + { config_id = 2050, shape = RegionShape.SPHERE, radius = 6, pos = { x = 786.324, y = 59.144, z = 865.163 } }, + { config_id = 2051, shape = RegionShape.SPHERE, radius = 6, pos = { x = 757.622, y = 53.200, z = 853.907 } }, + { config_id = 2052, shape = RegionShape.SPHERE, radius = 6, pos = { x = 757.622, y = 53.200, z = 844.343 } }, + { config_id = 2053, shape = RegionShape.SPHERE, radius = 6, pos = { x = 757.622, y = 53.200, z = 834.588 } }, + { config_id = 2054, shape = RegionShape.SPHERE, radius = 8, pos = { x = 766.906, y = 55.670, z = 801.806 } }, + -- 调高 + { config_id = 2055, shape = RegionShape.SPHERE, radius = 5, pos = { x = 784.845, y = 56.895, z = 805.108 } }, + -- 抬高 + { config_id = 2056, shape = RegionShape.SPHERE, radius = 7, pos = { x = 795.121, y = 66.500, z = 802.893 } }, + -- 抬高 + { config_id = 2057, shape = RegionShape.SPHERE, radius = 6, pos = { x = 794.058, y = 73.410, z = 791.977 } }, + { config_id = 2058, shape = RegionShape.SPHERE, radius = 5, pos = { x = 787.280, y = 82.300, z = 786.852 } }, + { config_id = 2059, shape = RegionShape.SPHERE, radius = 8, pos = { x = 774.692, y = 80.358, z = 756.163 } }, + -- 语音——别开玩笑了 + { config_id = 2060, shape = RegionShape.SPHERE, radius = 8, pos = { x = 774.692, y = 80.846, z = 744.842 } }, + { config_id = 2061, shape = RegionShape.SPHERE, radius = 8, pos = { x = 774.692, y = 80.846, z = 734.983 } }, + { config_id = 2062, shape = RegionShape.SPHERE, radius = 8, pos = { x = 774.692, y = 80.846, z = 721.053 } }, + { config_id = 2063, shape = RegionShape.SPHERE, radius = 8, pos = { x = 774.794, y = 79.830, z = 701.892 } }, + -- 裂开下坠 + { config_id = 2064, shape = RegionShape.SPHERE, radius = 5, pos = { x = 775.132, y = 75.224, z = 675.616 } }, + -- 到达底部 + { config_id = 2065, shape = RegionShape.SPHERE, radius = 7, pos = { x = 775.473, y = -1.185, z = 676.840 } }, + { config_id = 2069, shape = RegionShape.SPHERE, radius = 6, pos = { x = 767.145, y = 53.200, z = 863.044 } }, + -- 抬高 + { config_id = 2070, shape = RegionShape.SPHERE, radius = 6, pos = { x = 789.999, y = 78.468, z = 781.252 } }, + -- 墙面推进 + { config_id = 2074, shape = RegionShape.SPHERE, radius = 8, pos = { x = 748.736, y = 55.670, z = 807.811 } }, + -- 掉落保底 + { config_id = 2077, shape = RegionShape.CUBIC, size = { x = 40.000, y = 20.000, z = 40.000 }, pos = { x = 761.486, y = 39.820, z = 923.276 } }, + -- 空中切scenetag + { config_id = 2078, shape = RegionShape.CUBIC, size = { x = 50.000, y = 10.000, z = 50.000 }, pos = { x = 775.473, y = 31.293, z = 676.840 } }, + -- 保底1 + { config_id = 2080, shape = RegionShape.SPHERE, radius = 5, pos = { x = 806.591, y = 51.400, z = 885.962 } }, + -- 保底2 + { config_id = 2093, shape = RegionShape.SPHERE, radius = 5, pos = { x = 774.103, y = 56.660, z = 804.235 } }, + -- 保底3 + { config_id = 2094, shape = RegionShape.SPHERE, radius = 5, pos = { x = 783.290, y = 68.558, z = 804.177 } }, + -- 保底4 + { config_id = 2095, shape = RegionShape.SPHERE, radius = 5, pos = { x = 793.613, y = 71.760, z = 803.881 } }, + -- 保底5 + { config_id = 2096, shape = RegionShape.SPHERE, radius = 5, pos = { x = 793.608, y = 71.238, z = 803.492 } } +} + +-- 触发器 +triggers = { + { config_id = 1002014, name = "ENTER_REGION_2014", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2014", action = "action_EVENT_ENTER_REGION_2014", trigger_count = 0 }, + -- 第5个抬高保底 + { config_id = 1002044, name = "PLATFORM_REACH_POINT_2044", event = EventType.EVENT_PLATFORM_REACH_POINT, source = "", condition = "condition_EVENT_PLATFORM_REACH_POINT_2044", action = "action_EVENT_PLATFORM_REACH_POINT_2044", trigger_count = 0 }, + { config_id = 1002045, name = "ENTER_REGION_2045", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2045", action = "action_EVENT_ENTER_REGION_2045", trigger_count = 0 }, + -- 整体移动 + { config_id = 1002046, name = "ENTER_REGION_2046", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2046", action = "action_EVENT_ENTER_REGION_2046", trigger_count = 0 }, + -- 抬高 + { config_id = 1002047, name = "ENTER_REGION_2047", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2047", action = "action_EVENT_ENTER_REGION_2047", trigger_count = 0 }, + { config_id = 1002049, name = "ENTER_REGION_2049", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2049", action = "action_EVENT_ENTER_REGION_2049", trigger_count = 0 }, + { config_id = 1002050, name = "ENTER_REGION_2050", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2050", action = "action_EVENT_ENTER_REGION_2050", trigger_count = 0 }, + { config_id = 1002051, name = "ENTER_REGION_2051", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2051", action = "action_EVENT_ENTER_REGION_2051", trigger_count = 0 }, + { config_id = 1002052, name = "ENTER_REGION_2052", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2052", action = "action_EVENT_ENTER_REGION_2052", trigger_count = 0 }, + { config_id = 1002053, name = "ENTER_REGION_2053", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2053", action = "action_EVENT_ENTER_REGION_2053", trigger_count = 0 }, + { config_id = 1002054, name = "ENTER_REGION_2054", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2054", action = "action_EVENT_ENTER_REGION_2054", trigger_count = 0 }, + -- 调高 + { config_id = 1002055, name = "ENTER_REGION_2055", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2055", action = "action_EVENT_ENTER_REGION_2055", trigger_count = 0 }, + -- 抬高 + { config_id = 1002056, name = "ENTER_REGION_2056", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2056", action = "action_EVENT_ENTER_REGION_2056", trigger_count = 0 }, + -- 抬高 + { config_id = 1002057, name = "ENTER_REGION_2057", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2057", action = "action_EVENT_ENTER_REGION_2057", trigger_count = 0 }, + { config_id = 1002058, name = "ENTER_REGION_2058", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2058", action = "action_EVENT_ENTER_REGION_2058", trigger_count = 0 }, + { config_id = 1002059, name = "ENTER_REGION_2059", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2059", action = "action_EVENT_ENTER_REGION_2059", trigger_count = 0 }, + -- 语音——别开玩笑了 + { config_id = 1002060, name = "ENTER_REGION_2060", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2060", action = "action_EVENT_ENTER_REGION_2060", trigger_count = 0 }, + { config_id = 1002061, name = "ENTER_REGION_2061", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2061", action = "action_EVENT_ENTER_REGION_2061", trigger_count = 0 }, + { config_id = 1002062, name = "ENTER_REGION_2062", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2062", action = "action_EVENT_ENTER_REGION_2062", trigger_count = 0 }, + { config_id = 1002063, name = "ENTER_REGION_2063", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2063", action = "action_EVENT_ENTER_REGION_2063", trigger_count = 0 }, + -- 裂开下坠 + { config_id = 1002064, name = "ENTER_REGION_2064", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2064", action = "action_EVENT_ENTER_REGION_2064", trigger_count = 0 }, + -- 到达底部 + { config_id = 1002065, name = "ENTER_REGION_2065", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2065", action = "action_EVENT_ENTER_REGION_2065", trigger_count = 0 }, + { config_id = 1002069, name = "ENTER_REGION_2069", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2069", action = "action_EVENT_ENTER_REGION_2069", trigger_count = 0 }, + -- 抬高 + { config_id = 1002070, name = "ENTER_REGION_2070", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2070", action = "action_EVENT_ENTER_REGION_2070", trigger_count = 0 }, + -- 墙面推进 + { config_id = 1002074, name = "ENTER_REGION_2074", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2074", action = "action_EVENT_ENTER_REGION_2074", trigger_count = 0 }, + -- 加载scenetag和天气 + { config_id = 1002076, name = "GROUP_LOAD_2076", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_EVENT_GROUP_LOAD_2076", trigger_count = 0 }, + -- 掉落保底 + { config_id = 1002077, name = "ENTER_REGION_2077", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2077", action = "action_EVENT_ENTER_REGION_2077", trigger_count = 0 }, + -- 空中切scenetag + { config_id = 1002078, name = "ENTER_REGION_2078", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2078", action = "action_EVENT_ENTER_REGION_2078", trigger_count = 0 }, + -- 保底1 + { config_id = 1002080, name = "ENTER_REGION_2080", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2080", action = "action_EVENT_ENTER_REGION_2080", trigger_count = 0 }, + -- 仙灵 + { config_id = 1002082, name = "AVATAR_NEAR_PLATFORM_2082", event = EventType.EVENT_AVATAR_NEAR_PLATFORM, source = "", condition = "condition_EVENT_AVATAR_NEAR_PLATFORM_2082", action = "action_EVENT_AVATAR_NEAR_PLATFORM_2082", trigger_count = 0 }, + -- 保底2 + { config_id = 1002093, name = "ENTER_REGION_2093", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2093", action = "action_EVENT_ENTER_REGION_2093", trigger_count = 0 }, + -- 保底3 + { config_id = 1002094, name = "ENTER_REGION_2094", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2094", action = "action_EVENT_ENTER_REGION_2094", trigger_count = 0 }, + -- 保底4 + { config_id = 1002095, name = "ENTER_REGION_2095", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2095", action = "action_EVENT_ENTER_REGION_2095", trigger_count = 0 }, + -- 保底5 + { config_id = 1002096, name = "ENTER_REGION_2096", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2096", action = "action_EVENT_ENTER_REGION_2096", trigger_count = 0 }, + -- 第一个抬高保底 + { config_id = 1002097, name = "PLATFORM_REACH_POINT_2097", event = EventType.EVENT_PLATFORM_REACH_POINT, source = "", condition = "condition_EVENT_PLATFORM_REACH_POINT_2097", action = "action_EVENT_PLATFORM_REACH_POINT_2097", trigger_count = 0 }, + -- 第2个抬高保底 + { config_id = 1002098, name = "PLATFORM_REACH_POINT_2098", event = EventType.EVENT_PLATFORM_REACH_POINT, source = "", condition = "condition_EVENT_PLATFORM_REACH_POINT_2098", action = "action_EVENT_PLATFORM_REACH_POINT_2098", trigger_count = 0 }, + -- 第3个抬高保底 + { config_id = 1002099, name = "PLATFORM_REACH_POINT_2099", event = EventType.EVENT_PLATFORM_REACH_POINT, source = "", condition = "condition_EVENT_PLATFORM_REACH_POINT_2099", action = "action_EVENT_PLATFORM_REACH_POINT_2099", trigger_count = 0 }, + -- 第4个抬高保底 + { config_id = 1002100, name = "PLATFORM_REACH_POINT_2100", event = EventType.EVENT_PLATFORM_REACH_POINT, source = "", condition = "condition_EVENT_PLATFORM_REACH_POINT_2100", action = "action_EVENT_PLATFORM_REACH_POINT_2100", trigger_count = 0 }, + -- 第5个抬高保底 + { config_id = 1002101, name = "PLATFORM_REACH_POINT_2101", event = EventType.EVENT_PLATFORM_REACH_POINT, source = "", condition = "condition_EVENT_PLATFORM_REACH_POINT_2101", action = "action_EVENT_PLATFORM_REACH_POINT_2101", trigger_count = 0 } +} + +-- 变量 +variables = { +} + +-- 废弃数据 +garbages = { + gadgets = { + { config_id = 2068, gadget_id = 70380301, pos = { x = 757.503, y = 63.666, z = 855.389 }, rot = { x = 0.000, y = 359.651, z = 0.000 }, level = 1, start_route = false } + } +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 2, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { }, + gadgets = { 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2048, 2066, 2067, 2071, 2072, 2073, 2075, 2079, 2081, 2083, 2084, 2085, 2086, 2087, 2088, 2089, 2090, 2091, 2092, 2102, 2103, 2104, 2105, 2106, 2107, 2108, 2109, 2110, 2111, 2112, 2113, 2114, 2115, 2116, 2117, 2118, 2119, 2120, 2121, 2122, 2123, 2124, 2125, 2126, 2127, 2128, 2129, 2130, 2131, 2132, 2133, 2134, 2135, 2136, 2137, 2138, 2139 }, + regions = { 2014, 2045, 2046, 2047, 2049, 2050, 2051, 2052, 2053, 2054, 2055, 2056, 2057, 2058, 2059, 2060, 2061, 2062, 2063, 2064, 2065, 2069, 2070, 2074, 2077, 2078 }, + triggers = { "ENTER_REGION_2014", "PLATFORM_REACH_POINT_2044", "ENTER_REGION_2045", "ENTER_REGION_2046", "ENTER_REGION_2047", "ENTER_REGION_2049", "ENTER_REGION_2050", "ENTER_REGION_2051", "ENTER_REGION_2052", "ENTER_REGION_2053", "ENTER_REGION_2054", "ENTER_REGION_2055", "ENTER_REGION_2056", "ENTER_REGION_2057", "ENTER_REGION_2058", "ENTER_REGION_2059", "ENTER_REGION_2060", "ENTER_REGION_2061", "ENTER_REGION_2062", "ENTER_REGION_2063", "ENTER_REGION_2064", "ENTER_REGION_2065", "ENTER_REGION_2069", "ENTER_REGION_2070", "ENTER_REGION_2074", "GROUP_LOAD_2076", "ENTER_REGION_2077", "ENTER_REGION_2078", "AVATAR_NEAR_PLATFORM_2082", "PLATFORM_REACH_POINT_2097", "PLATFORM_REACH_POINT_2098", "PLATFORM_REACH_POINT_2099", "PLATFORM_REACH_POINT_2100", "PLATFORM_REACH_POINT_2101" }, + rand_weight = 100 + }, + { + -- suite_id = 2, + -- description = , + monsters = { }, + gadgets = { }, + regions = { }, + triggers = { "GROUP_LOAD_2076" }, + rand_weight = 100 + }, + { + -- suite_id = 3, + -- description = , + monsters = { }, + gadgets = { }, + regions = { 2080 }, + triggers = { "ENTER_REGION_2080" }, + rand_weight = 100 + }, + { + -- suite_id = 4, + -- description = , + monsters = { }, + gadgets = { }, + regions = { 2093 }, + triggers = { "ENTER_REGION_2093" }, + rand_weight = 100 + }, + { + -- suite_id = 5, + -- description = , + monsters = { }, + gadgets = { }, + regions = { 2094 }, + triggers = { "ENTER_REGION_2094" }, + rand_weight = 100 + }, + { + -- suite_id = 6, + -- description = , + monsters = { }, + gadgets = { }, + regions = { 2095 }, + triggers = { "ENTER_REGION_2095" }, + rand_weight = 100 + }, + { + -- suite_id = 7, + -- description = , + monsters = { }, + gadgets = { }, + regions = { 2096 }, + triggers = { "ENTER_REGION_2096" }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2014(context, evt) + if evt.param1 ~= 2014 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2014(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2001, 25) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2001) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2081, 121) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2081) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_PLATFORM_REACH_POINT_2044(context, evt) + -- 判断是gadgetid 为 2081的移动平台,是否到达了121 的路线中的 0 点 + + if 2081 ~= evt.param1 then + return false + end + + if 121 ~= evt.param2 then + return false + end + + if 0 ~= evt.param3 then + return false + end + + + return true +end + +-- 触发操作 +function action_EVENT_PLATFORM_REACH_POINT_2044(context, evt) + -- 永久关闭CongfigId的Gadget,需要和Groups的RefreshWithBlock标签搭配 + if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 2081 }) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId") + return -1 + end + + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2045(context, evt) + if evt.param1 ~= 2045 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2045(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2002, 26) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2002) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2046(context, evt) + if evt.param1 ~= 2046 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2046(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2007, 95) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2007) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2008, 28) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2008) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2005, 29) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2005) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2009, 30) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2009) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2006, 33) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2006) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 将configid为 2004 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2004, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2047(context, evt) + if evt.param1 ~= 2047 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2047(context, evt) + -- 设置移动平台点阵,点阵id为point_array_id + -- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环] + -- turn_mode = true/false 开启/关闭 + local tempParam = {route_type = 0, turn_mode = false} + if 0 ~= ScriptLib.SetPlatformPointArray(context, 2010, 16, {2}, tempParam) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2049(context, evt) + if evt.param1 ~= 2049 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2049(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2013, 35) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2013) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 将configid为 2012 的物件更改为状态 GadgetState.GearStart + if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2012, GadgetState.GearStart) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2050(context, evt) + if evt.param1 ~= 2050 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2050(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2015, 36) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2015) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2051(context, evt) + if evt.param1 ~= 2051 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2051(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2017, 37) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2017) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2052(context, evt) + if evt.param1 ~= 2052 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2052(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2018, 38) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2018) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2053(context, evt) + if evt.param1 ~= 2053 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2053(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2019, 39) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2019) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2054(context, evt) + if evt.param1 ~= 2054 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2054(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2020, 40) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2020) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2055(context, evt) + if evt.param1 ~= 2055 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2055(context, evt) + -- 设置移动平台点阵,点阵id为point_array_id + -- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环] + -- turn_mode = true/false 开启/关闭 + local tempParam = {route_type = 0, turn_mode = false} + if 0 ~= ScriptLib.SetPlatformPointArray(context, 2021, 18, {1}, tempParam) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray") + return -1 + end + + -- 添加suite4的新内容 + ScriptLib.AddExtraGroupSuite(context, 220136002, 4) + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2056(context, evt) + if evt.param1 ~= 2056 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2056(context, evt) + -- 设置移动平台点阵,点阵id为point_array_id + -- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环] + -- turn_mode = true/false 开启/关闭 + local tempParam = {route_type = 0, turn_mode = false} + if 0 ~= ScriptLib.SetPlatformPointArray(context, 2022, 18, {2}, tempParam) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray") + return -1 + end + + -- 设置移动平台点阵,点阵id为point_array_id + -- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环] + -- turn_mode = true/false 开启/关闭 + local tempParam = {route_type = 0, turn_mode = false} + if 0 ~= ScriptLib.SetPlatformPointArray(context, 2023, 17, {3}, tempParam) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray") + return -1 + end + + -- 添加suite5的新内容 + ScriptLib.AddExtraGroupSuite(context, 220136002, 5) + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2057(context, evt) + if evt.param1 ~= 2057 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2057(context, evt) + -- 设置移动平台点阵,点阵id为point_array_id + -- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环] + -- turn_mode = true/false 开启/关闭 + local tempParam = {route_type = 0, turn_mode = false} + if 0 ~= ScriptLib.SetPlatformPointArray(context, 2023, 18, {3}, tempParam) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray") + return -1 + end + + -- 添加suite6的新内容 + ScriptLib.AddExtraGroupSuite(context, 220136002, 6) + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2058(context, evt) + if evt.param1 ~= 2058 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2058(context, evt) + -- 设置移动平台点阵,点阵id为point_array_id + -- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环] + -- turn_mode = true/false 开启/关闭 + local tempParam = {route_type = 0, turn_mode = false} + if 0 ~= ScriptLib.SetPlatformPointArray(context, 2024, 18, {4}, tempParam) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2059(context, evt) + if evt.param1 ~= 2059 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2059(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2025, 45) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2025) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2026, 46) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2026) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2033, 54) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2033) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2034, 55) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2034) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2060(context, evt) + if evt.param1 ~= 2060 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2060(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2027, 47) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2027) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2028, 48) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2028) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2035, 56) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2035) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2036, 57) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2036) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2061(context, evt) + if evt.param1 ~= 2061 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2061(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2029, 49) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2029) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2030, 50) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2030) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2037, 58) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2037) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2062(context, evt) + if evt.param1 ~= 2062 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2062(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2031, 51) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2031) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2032, 52) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2032) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2038, 59) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2038) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2063(context, evt) + if evt.param1 ~= 2063 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2063(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2039, 53) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2039) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2064(context, evt) + if evt.param1 ~= 2064 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2064(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2040, 60) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2040) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2041, 61) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2041) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2042, 62) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2042) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2043, 63) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2043) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2081) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 添加suite6的新内容 + ScriptLib.AddExtraGroupSuite(context, 220136004, 6) + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2065(context, evt) + if evt.param1 ~= 2065 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2065(context, evt) + ScriptLib.RefreshGroup(context, { group_id = 220136002, suite = 2 }) + + ScriptLib.DelSceneTag(context,20136,1065) + + -- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1 + if 0 ~= ScriptLib.AddQuestProgress(context, "monamaze1complete") then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2069(context, evt) + if evt.param1 ~= 2069 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2069(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2067, 93) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2067) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2070(context, evt) + if evt.param1 ~= 2070 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2070(context, evt) + -- 设置移动平台点阵,点阵id为point_array_id + -- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环] + -- turn_mode = true/false 开启/关闭 + local tempParam = {route_type = 0, turn_mode = false} + if 0 ~= ScriptLib.SetPlatformPointArray(context, 2066, 18, {5}, tempParam) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray") + return -1 + end + + -- 设置移动平台点阵,点阵id为point_array_id + -- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环] + -- turn_mode = true/false 开启/关闭 + local tempParam = {route_type = 0, turn_mode = false} + if 0 ~= ScriptLib.SetPlatformPointArray(context, 2023, 18, {6}, tempParam) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray") + return -1 + end + + -- 添加suite7的新内容 + ScriptLib.AddExtraGroupSuite(context, 220136002, 7) + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2074(context, evt) + if evt.param1 ~= 2074 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2074(context, evt) + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2071, 96) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2072, 97) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 设置移动平台路径 + if 0 ~= ScriptLib.SetPlatformRouteId(context, 2073, 98) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2071) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2072) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + -- 启动移动平台 + if 0 ~= ScriptLib.StartPlatform(context, 2073) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") + return -1 + end + + return 0 +end + +-- 触发操作 +function action_EVENT_GROUP_LOAD_2076(context, evt) + if ScriptLib.GetHostQuestState(context,4007415)==2 or ScriptLib.GetHostQuestState(context,4007408)==2 + or ScriptLib.GetHostQuestState(context,4007413)==2 then + ScriptLib.RefreshGroup(context, { group_id = 220136002, suite = 1 }) + + ScriptLib.AddSceneTag(context,20136,1065) + ScriptLib.SetWeatherAreaState(context, 10090, 1) + end + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2077(context, evt) + if evt.param1 ~= 2077 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2077(context, evt) + -- 将使用操作台的玩家传送至目标点 + if evt.uid ~= nil then + local t_pos = {x=755, y=57, z=923} + if 0 ~= ScriptLib.TransPlayerToPos(context, {uid_list = {evt.uid}, pos = t_pos, rot = {x=0, y=90, z=0}}) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : trans_player_byOption") + return -1 + end + else + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : trans_player_byOption") + return -1 + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2078(context, evt) + if evt.param1 ~= 2078 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2078(context, evt) + + ScriptLib.DelSceneTag(context,20136,1065) + + ScriptLib.AddSceneTag(context,20136,1066) + ScriptLib.RefreshGroup(context, { group_id = 220136002, suite = 2 }) + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2080(context, evt) + if evt.param1 ~= 2080 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2080(context, evt) + -- 设置移动平台点阵,点阵id为point_array_id + -- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环] + -- turn_mode = true/false 开启/关闭 + local tempParam = {route_type = 0, turn_mode = false} + if 0 ~= ScriptLib.SetPlatformPointArray(context, 2010, 16, {1}, tempParam) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray") + return -1 + end + + -- 删除suite3的所有内容 + ScriptLib.RemoveExtraGroupSuite(context, 220136002, 3) + + return 0 +end + +-- 触发条件 +function condition_EVENT_AVATAR_NEAR_PLATFORM_2082(context, evt) + if defs.gadget_seelie ~= evt.param1 then + return false + end + + if defs.route_2 ~= evt.param2 then + return false + end + + if defs.final_point == evt.param3 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_AVATAR_NEAR_PLATFORM_2082(context, evt) + if 0 ~= ScriptLib.StartPlatform(context, 2081) then + return -1 + end + + -- 运营数据埋点,匹配LD定义的规则使用 + if 0 ~= evt.param3 then + ScriptLib.MarkPlayerAction(context, 2005, 2, evt.param3 + 1) + end + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2093(context, evt) + if evt.param1 ~= 2093 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2093(context, evt) + -- 设置移动平台点阵,点阵id为point_array_id + -- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环] + -- turn_mode = true/false 开启/关闭 + local tempParam = {route_type = 0, turn_mode = false} + if 0 ~= ScriptLib.SetPlatformPointArray(context, 2021, 17, {1}, tempParam) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray") + return -1 + end + + -- 删除suite4的所有内容 + ScriptLib.RemoveExtraGroupSuite(context, 220136002, 4) + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2094(context, evt) + if evt.param1 ~= 2094 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2094(context, evt) + -- 设置移动平台点阵,点阵id为point_array_id + -- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环] + -- turn_mode = true/false 开启/关闭 + local tempParam = {route_type = 0, turn_mode = false} + if 0 ~= ScriptLib.SetPlatformPointArray(context, 2022, 17, {2}, tempParam) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray") + return -1 + end + + -- 删除suite5的所有内容 + ScriptLib.RemoveExtraGroupSuite(context, 220136002, 5) + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2095(context, evt) + if evt.param1 ~= 2095 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2095(context, evt) + -- 设置移动平台点阵,点阵id为point_array_id + -- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环] + -- turn_mode = true/false 开启/关闭 + local tempParam = {route_type = 0, turn_mode = false} + if 0 ~= ScriptLib.SetPlatformPointArray(context, 2023, 17, {3}, tempParam) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray") + return -1 + end + + -- 删除suite6的所有内容 + ScriptLib.RemoveExtraGroupSuite(context, 220136002, 6) + + return 0 +end + +-- 触发条件 +function condition_EVENT_ENTER_REGION_2096(context, evt) + if evt.param1 ~= 2096 then return false end + + -- 判断角色数量不少于1 + if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then + return false + end + + return true +end + +-- 触发操作 +function action_EVENT_ENTER_REGION_2096(context, evt) + -- 设置移动平台点阵,点阵id为point_array_id + -- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环] + -- turn_mode = true/false 开启/关闭 + local tempParam = {route_type = 0, turn_mode = false} + if 0 ~= ScriptLib.SetPlatformPointArray(context, 2066, 17, {4}, tempParam) then + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray") + return -1 + end + + -- 删除suite7的所有内容 + ScriptLib.RemoveExtraGroupSuite(context, 220136002, 7) + + return 0 +end + +-- 触发条件 +function condition_EVENT_PLATFORM_REACH_POINT_2097(context, evt) + -- 判断是gadgetid 为 2010的移动平台,是否到达了16 的点集中的 2 点 + + if 2010 ~= evt.param1 then + return false + end + + if 16 ~= evt.param2 then + return false + end + + if 2 ~= evt.param3 then + return false + end + + + return true +end + +-- 触发操作 +function action_EVENT_PLATFORM_REACH_POINT_2097(context, evt) + -- 添加suite3的新内容 + ScriptLib.AddExtraGroupSuite(context, 220136002, 3) + + return 0 +end + +-- 触发条件 +function condition_EVENT_PLATFORM_REACH_POINT_2098(context, evt) + -- 判断是gadgetid 为 2021的移动平台,是否到达了18 的点集中的 1 点 + + if 2021 ~= evt.param1 then + return false + end + + if 18 ~= evt.param2 then + return false + end + + if 1 ~= evt.param3 then + return false + end + + + return true +end + +-- 触发操作 +function action_EVENT_PLATFORM_REACH_POINT_2098(context, evt) + -- 添加suite4的新内容 + ScriptLib.AddExtraGroupSuite(context, 220136002, 4) + + return 0 +end + +-- 触发条件 +function condition_EVENT_PLATFORM_REACH_POINT_2099(context, evt) + -- 判断是gadgetid 为 2022的移动平台,是否到达了18 的点集中的 2 点 + + if 2022 ~= evt.param1 then + return false + end + + if 18 ~= evt.param2 then + return false + end + + if 2 ~= evt.param3 then + return false + end + + + return true +end + +-- 触发操作 +function action_EVENT_PLATFORM_REACH_POINT_2099(context, evt) + -- 添加suite5的新内容 + ScriptLib.AddExtraGroupSuite(context, 220136002, 5) + + return 0 +end + +-- 触发条件 +function condition_EVENT_PLATFORM_REACH_POINT_2100(context, evt) + -- 判断是gadgetid 为 2023的移动平台,是否到达了18 的点集中的 3 点 + + if 2023 ~= evt.param1 then + return false + end + + if 18 ~= evt.param2 then + return false + end + + if 3 ~= evt.param3 then + return false + end + + + return true +end + +-- 触发操作 +function action_EVENT_PLATFORM_REACH_POINT_2100(context, evt) + -- 添加suite6的新内容 + ScriptLib.AddExtraGroupSuite(context, 220136002, 6) + + return 0 +end + +-- 触发条件 +function condition_EVENT_PLATFORM_REACH_POINT_2101(context, evt) + -- 判断是gadgetid 为 2066的移动平台,是否到达了18 的点集中的 5 点 + + if 2066 ~= evt.param1 then + return false + end + + if 18 ~= evt.param2 then + return false + end + + if 5 ~= evt.param3 then + return false + end + + + return true +end + +-- 触发操作 +function action_EVENT_PLATFORM_REACH_POINT_2101(context, evt) + -- 添加suite7的新内容 + ScriptLib.AddExtraGroupSuite(context, 220136002, 7) + + return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20136/scene20136_group220136003.lua b/Resources/Scripts/Scene/20136/scene20136_group220136003.lua index cdc599cbd..43f2d105f 100644 --- a/Resources/Scripts/Scene/20136/scene20136_group220136003.lua +++ b/Resources/Scripts/Scene/20136/scene20136_group220136003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 20, route_2 = 65, gadget_seelie = 3033 diff --git a/Resources/Scripts/Scene/20136/scene20136_group220136004.lua b/Resources/Scripts/Scene/20136/scene20136_group220136004.lua index c9a52b7b3..efc143385 100644 --- a/Resources/Scripts/Scene/20136/scene20136_group220136004.lua +++ b/Resources/Scripts/Scene/20136/scene20136_group220136004.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { queue = { [1] = { config_id = 4010, bullet_type = 3, duration = 5, shoot_time = 6, shoot_interval = 0.6, point_array = 2, point_id = {1,2},route_type = 1}, diff --git a/Resources/Scripts/Scene/20136/scene20136_group220136007.lua b/Resources/Scripts/Scene/20136/scene20136_group220136007.lua index c07964610..8d2867d1d 100644 --- a/Resources/Scripts/Scene/20136/scene20136_group220136007.lua +++ b/Resources/Scripts/Scene/20136/scene20136_group220136007.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { queue = { [1] = { config_id = 7006, bullet_type = 3, duration = 5, shoot_time = 8, shoot_interval = 0.75, point_array = 3, point_id = {1,2},turn_mode = true,route_type = 1}, --右转 diff --git a/Resources/Scripts/Scene/20138/scene20138_group220138015.lua b/Resources/Scripts/Scene/20138/scene20138_group220138015.lua index 6488e9fd0..0954394d9 100644 --- a/Resources/Scripts/Scene/20138/scene20138_group220138015.lua +++ b/Resources/Scripts/Scene/20138/scene20138_group220138015.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { rotate_queue = {1,2,3,2} } diff --git a/Resources/Scripts/Scene/20145/scene20145_group220145015.lua b/Resources/Scripts/Scene/20145/scene20145_group220145015.lua index 9b46f188e..f5341af0b 100644 --- a/Resources/Scripts/Scene/20145/scene20145_group220145015.lua +++ b/Resources/Scripts/Scene/20145/scene20145_group220145015.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 15003 } diff --git a/Resources/Scripts/Scene/20147/scene20147_group220147005.lua b/Resources/Scripts/Scene/20147/scene20147_group220147005.lua index 977d9e063..dfb185719 100644 --- a/Resources/Scripts/Scene/20147/scene20147_group220147005.lua +++ b/Resources/Scripts/Scene/20147/scene20147_group220147005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 5002 } diff --git a/Resources/Scripts/Scene/20147/scene20147_group220147009.lua b/Resources/Scripts/Scene/20147/scene20147_group220147009.lua index ab10bc0c6..9a6c31631 100644 --- a/Resources/Scripts/Scene/20147/scene20147_group220147009.lua +++ b/Resources/Scripts/Scene/20147/scene20147_group220147009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {9002,9003,9004}, diff --git a/Resources/Scripts/Scene/20149/scene20149_group220149019.lua b/Resources/Scripts/Scene/20149/scene20149_group220149019.lua index 6288c0c6b..6217dcc5c 100644 --- a/Resources/Scripts/Scene/20149/scene20149_group220149019.lua +++ b/Resources/Scripts/Scene/20149/scene20149_group220149019.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 19003 } diff --git a/Resources/Scripts/Scene/20151/scene20151_group220151002.lua b/Resources/Scripts/Scene/20151/scene20151_group220151002.lua index 0e27b00ff..f8d04c6d2 100644 --- a/Resources/Scripts/Scene/20151/scene20151_group220151002.lua +++ b/Resources/Scripts/Scene/20151/scene20151_group220151002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 1, elevatorOptionID = 24, gadget_elevatorID = 2008 @@ -20,12 +20,9 @@ defs.gadget_2 = 2002 defs.gadget_3 = 2003 --方尖碑初始旋转角 -defs.rotation_1 - = 120 -defs.rotation_2 - = 0 -defs.rotation_3 - = 240 +defs.rotation_1 = 120 +defs.rotation_2 = 0 +defs.rotation_3 = 240 --重力压板对应的控制的方尖碑 defs.boardControlList={ diff --git a/Resources/Scripts/Scene/20151/scene20151_group220151003.lua b/Resources/Scripts/Scene/20151/scene20151_group220151003.lua index ea6b50624..2318ec04f 100644 --- a/Resources/Scripts/Scene/20151/scene20151_group220151003.lua +++ b/Resources/Scripts/Scene/20151/scene20151_group220151003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { option_id = 494, pointarray_ID = 2, elevatorOptionID = 24, @@ -18,12 +18,9 @@ defs.gadget_2 = 3002 defs.gadget_3 = 3003 --方尖碑初始旋转角 -defs.rotation_1 - = 120 -defs.rotation_2 - = 0 -defs.rotation_3 - = 240 +defs.rotation_1 = 120 +defs.rotation_2 = 0 +defs.rotation_3 = 240 --方尖碑旋转影响的configID表 defs.gadget_connect1= { 3002,3003} diff --git a/Resources/Scripts/Scene/20151/scene20151_group220151004.lua b/Resources/Scripts/Scene/20151/scene20151_group220151004.lua index 649b61f68..d040311f0 100644 --- a/Resources/Scripts/Scene/20151/scene20151_group220151004.lua +++ b/Resources/Scripts/Scene/20151/scene20151_group220151004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { elevatorOptionID = 491, gadget_elevatorID = 4001, finalMovePoints = {1,2,3,4,5,6} diff --git a/Resources/Scripts/Scene/20151/scene20151_group220151005.lua b/Resources/Scripts/Scene/20151/scene20151_group220151005.lua index 60606d4eb..27c686f1f 100644 --- a/Resources/Scripts/Scene/20151/scene20151_group220151005.lua +++ b/Resources/Scripts/Scene/20151/scene20151_group220151005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { elevatorOptionID = 491, gadget_elevatorID = 5001, finalMovePoints = {1,2,3,4,5,6,7,8} diff --git a/Resources/Scripts/Scene/20154/scene20154_group220154001.lua b/Resources/Scripts/Scene/20154/scene20154_group220154001.lua index 45acaadc2..c0a0be7e5 100644 --- a/Resources/Scripts/Scene/20154/scene20154_group220154001.lua +++ b/Resources/Scripts/Scene/20154/scene20154_group220154001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { transTarget = 1004, phaseOneBoss = 1001, phaseTwoBoss = 1002, diff --git a/Resources/Scripts/Scene/20159/scene20159_group220159001.lua b/Resources/Scripts/Scene/20159/scene20159_group220159001.lua index ad89349e0..a7c9053c1 100644 --- a/Resources/Scripts/Scene/20159/scene20159_group220159001.lua +++ b/Resources/Scripts/Scene/20159/scene20159_group220159001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 220159001, collectable_sum = 14 diff --git a/Resources/Scripts/Scene/20159/scene20159_group220159006.lua b/Resources/Scripts/Scene/20159/scene20159_group220159006.lua index 897aac064..fff74c8a4 100644 --- a/Resources/Scripts/Scene/20159/scene20159_group220159006.lua +++ b/Resources/Scripts/Scene/20159/scene20159_group220159006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 6003 } diff --git a/Resources/Scripts/Scene/20163/scene20163_group220163002.lua b/Resources/Scripts/Scene/20163/scene20163_group220163002.lua index a21d49da7..9bf56aae7 100644 --- a/Resources/Scripts/Scene/20163/scene20163_group220163002.lua +++ b/Resources/Scripts/Scene/20163/scene20163_group220163002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 2024, gadget_lookEntity = 2025, look_duration = 6 diff --git a/Resources/Scripts/Scene/20163/scene20163_group220163008.lua b/Resources/Scripts/Scene/20163/scene20163_group220163008.lua index a28867ef6..91d886994 100644 --- a/Resources/Scripts/Scene/20163/scene20163_group220163008.lua +++ b/Resources/Scripts/Scene/20163/scene20163_group220163008.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { option_turn = 613, option_start = 7, diff --git a/Resources/Scripts/Scene/20163/scene20163_group220163009.lua b/Resources/Scripts/Scene/20163/scene20163_group220163009.lua index 7710697e3..5ad696e49 100644 --- a/Resources/Scripts/Scene/20163/scene20163_group220163009.lua +++ b/Resources/Scripts/Scene/20163/scene20163_group220163009.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { option_turn = 613, option_start = 7, diff --git a/Resources/Scripts/Scene/20163/scene20163_group220163010.lua b/Resources/Scripts/Scene/20163/scene20163_group220163010.lua index eb0aac789..b41c9a476 100644 --- a/Resources/Scripts/Scene/20163/scene20163_group220163010.lua +++ b/Resources/Scripts/Scene/20163/scene20163_group220163010.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { option_turn = 613, option_start = 7, diff --git a/Resources/Scripts/Scene/20165/scene20165_group220165003.lua b/Resources/Scripts/Scene/20165/scene20165_group220165003.lua index a370c7398..5dd9f0b26 100644 --- a/Resources/Scripts/Scene/20165/scene20165_group220165003.lua +++ b/Resources/Scripts/Scene/20165/scene20165_group220165003.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --传送起点 hot_spots = { diff --git a/Resources/Scripts/Scene/20168/scene20168_group220168001.lua b/Resources/Scripts/Scene/20168/scene20168_group220168001.lua index a540f66ab..1284d625e 100644 --- a/Resources/Scripts/Scene/20168/scene20168_group220168001.lua +++ b/Resources/Scripts/Scene/20168/scene20168_group220168001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { phaseOneBoss = 1001, phaseTwoBoss = 1002, questBossAppear = 302808, diff --git a/Resources/Scripts/Scene/3/scene3_group131061695.lua b/Resources/Scripts/Scene/3/scene3_group131061695.lua index ef9fec2f2..c92d83bc9 100644 --- a/Resources/Scripts/Scene/3/scene3_group131061695.lua +++ b/Resources/Scripts/Scene/3/scene3_group131061695.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310600152, gadget_seelie = 1695002 diff --git a/Resources/Scripts/Scene/3/scene3_group133001004.lua b/Resources/Scripts/Scene/3/scene3_group133001004.lua index 0940796a3..1d4bceb05 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001004.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300100377, gadget_seelie = 4002 diff --git a/Resources/Scripts/Scene/3/scene3_group133001043.lua b/Resources/Scripts/Scene/3/scene3_group133001043.lua index ffd0fde4f..798b79dc5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001043.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001043.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { GroupID = 133001043, AGRegionConfigID = 43055, AGName = "ActivityAbility_ToMoon_FoodChallenge_Part1", diff --git a/Resources/Scripts/Scene/3/scene3_group133001047.lua b/Resources/Scripts/Scene/3/scene3_group133001047.lua index 539c0b429..af1b326cf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001047.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001047.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { GroupID = 133001047, AGRegionConfigID = 47049, AGName = "ActivityAbility_ToMoon_FoodChallenge_Part1", diff --git a/Resources/Scripts/Scene/3/scene3_group133001049.lua b/Resources/Scripts/Scene/3/scene3_group133001049.lua index a88a1fc8d..2b9d0f1ae 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001049.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001049.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { GroupID = 133001049, AGRegionConfigID = 49046, AGName = "ActivityAbility_ToMoon_FoodChallenge_Part1", diff --git a/Resources/Scripts/Scene/3/scene3_group133001050.lua b/Resources/Scripts/Scene/3/scene3_group133001050.lua index e39602c85..5337de325 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001050.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001050.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --对应GalleryID gallery_id = 11003, diff --git a/Resources/Scripts/Scene/3/scene3_group133001051.lua b/Resources/Scripts/Scene/3/scene3_group133001051.lua index 9c081f14f..e3770d535 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001051.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001051.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { ButtonLeftConfig = 51001, ButtonRightConfig = 51002, StoveConfig = 51003, diff --git a/Resources/Scripts/Scene/3/scene3_group133001058.lua b/Resources/Scripts/Scene/3/scene3_group133001058.lua index 14248e2f5..b0dd19c3c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001058.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001058.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133001058, challenge_id = 255, region_id = 58014, diff --git a/Resources/Scripts/Scene/3/scene3_group133001059.lua b/Resources/Scripts/Scene/3/scene3_group133001059.lua index a29cbdfd9..d468bc550 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001059.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001059.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { guide_regionID = 59005 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001060.lua b/Resources/Scripts/Scene/3/scene3_group133001060.lua index ddf4e485a..9fc4c8faf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001060.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001060.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --按想要的解谜顺序, 填子装置的config_id branch_gadgets = {60002, 60003, 60004}, --主装置的config_id,可填一个或多个 @@ -24,8 +24,7 @@ defs = { --目标点 target_point = 60035, --挑战时间 - time = 210 -, + time = 210 , --教学Region guide_regionID = 60018, --Reminder提示用region diff --git a/Resources/Scripts/Scene/3/scene3_group133001061.lua b/Resources/Scripts/Scene/3/scene3_group133001061.lua index 35b0fa328..84a8126ab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001061.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001061.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133001061, challenge_id = 255, region_id = 61014, diff --git a/Resources/Scripts/Scene/3/scene3_group133001062.lua b/Resources/Scripts/Scene/3/scene3_group133001062.lua index 9ba27db79..fe95011fb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001062.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001062.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133001062, challenge_id = 255, region_id = 62014, diff --git a/Resources/Scripts/Scene/3/scene3_group133001063.lua b/Resources/Scripts/Scene/3/scene3_group133001063.lua index f1259599b..f0bc08e5b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001063.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001063.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133001063, challenge_id = 255, region_id = 63014, diff --git a/Resources/Scripts/Scene/3/scene3_group133001064.lua b/Resources/Scripts/Scene/3/scene3_group133001064.lua index 5065aa4ef..2b166802c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001064.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001064.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133001064, challenge_id = 255, region_id = 64014, diff --git a/Resources/Scripts/Scene/3/scene3_group133001065.lua b/Resources/Scripts/Scene/3/scene3_group133001065.lua index 77e73181f..2f9f48420 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001065.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001065.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133001065, challenge_id = 255, region_id = 65014, diff --git a/Resources/Scripts/Scene/3/scene3_group133001078.lua b/Resources/Scripts/Scene/3/scene3_group133001078.lua index 5aef8e7dc..08706661c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001078.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001078.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 78001, gallery_id = 18002, region_id = 78002, diff --git a/Resources/Scripts/Scene/3/scene3_group133001079.lua b/Resources/Scripts/Scene/3/scene3_group133001079.lua index 486ac050b..4063d9c41 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001079.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001079.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_sync = 79001, sync_element = 1 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001080.lua b/Resources/Scripts/Scene/3/scene3_group133001080.lua index 4c839abe2..4f1c33982 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001080.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001080.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { gallery_id = 24001, challenge_time = 300, diff --git a/Resources/Scripts/Scene/3/scene3_group133001082.lua b/Resources/Scripts/Scene/3/scene3_group133001082.lua index 30320c56b..fc77242fb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001082.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001082.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300100218, gadget_seelie = 82002 diff --git a/Resources/Scripts/Scene/3/scene3_group133001083.lua b/Resources/Scripts/Scene/3/scene3_group133001083.lua index f033c9c4d..91bd716af 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001083.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001083.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300100220, gadget_seelie = 83002 diff --git a/Resources/Scripts/Scene/3/scene3_group133001084.lua b/Resources/Scripts/Scene/3/scene3_group133001084.lua index 71c951ff7..58549e686 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001084.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001084.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { gallery_id = 111, --开启机关交互后,加载哪个/些suit diff --git a/Resources/Scripts/Scene/3/scene3_group133001087.lua b/Resources/Scripts/Scene/3/scene3_group133001087.lua index 26304b5b5..7c882f6c7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001087.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001087.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 6, gallery_id = 21001, father_challenge_id = 2010034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001090.lua b/Resources/Scripts/Scene/3/scene3_group133001090.lua index ec80f3400..2b97fe854 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001090.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001090.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 1717 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001106.lua b/Resources/Scripts/Scene/3/scene3_group133001106.lua index 4a21196ec..aa59fc472 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001106.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001106.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 3022, gadget_id_2 = 3033, gadget_id_3 = 3034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001111.lua b/Resources/Scripts/Scene/3/scene3_group133001111.lua index 967a8b35f..210d9d4cf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001111.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001111.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 6, gallery_id = 21002, father_challenge_id = 2010034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001115.lua b/Resources/Scripts/Scene/3/scene3_group133001115.lua index 3d5a387c7..d26cdad3a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001115.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001115.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 6, gallery_id = 21003, father_challenge_id = 2010034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001116.lua b/Resources/Scripts/Scene/3/scene3_group133001116.lua index efa765cb6..6242704b9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001116.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001116.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 6, gallery_id = 21004, father_challenge_id = 2010034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001118.lua b/Resources/Scripts/Scene/3/scene3_group133001118.lua index e1ee87550..b714fd418 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001118.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001118.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 25, route_2 = 300100224, gadget_seelie = 118002 diff --git a/Resources/Scripts/Scene/3/scene3_group133001121.lua b/Resources/Scripts/Scene/3/scene3_group133001121.lua index 1977d01db..e533fb5c6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001121.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001121.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 20, gallery_id = 21009, father_challenge_id = 2010034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001122.lua b/Resources/Scripts/Scene/3/scene3_group133001122.lua index f06d3bc57..2696de404 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001122.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001122.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 20, gallery_id = 21010, father_challenge_id = 2010034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001123.lua b/Resources/Scripts/Scene/3/scene3_group133001123.lua index 27302132f..a63c49451 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001123.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001123.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 20, gallery_id = 21011, father_challenge_id = 2010034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001124.lua b/Resources/Scripts/Scene/3/scene3_group133001124.lua index 09c372423..438fa6240 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001124.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001124.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 20, gallery_id = 21012, father_challenge_id = 2010034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001127.lua b/Resources/Scripts/Scene/3/scene3_group133001127.lua index 9f4346d7e..1167fd71b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001127.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001127.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 12, gallery_id = 21005, father_challenge_id = 2010034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001129.lua b/Resources/Scripts/Scene/3/scene3_group133001129.lua index c359ae934..aae65a026 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001129.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001129.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300100230, gadget_seelie = 129002 diff --git a/Resources/Scripts/Scene/3/scene3_group133001130.lua b/Resources/Scripts/Scene/3/scene3_group133001130.lua index 9726f7d0c..28326458c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001130.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001130.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 12, gallery_id = 21006, father_challenge_id = 2010034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001131.lua b/Resources/Scripts/Scene/3/scene3_group133001131.lua index c84df4722..89862832d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001131.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001131.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 12, gallery_id = 21007, father_challenge_id = 2010034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001132.lua b/Resources/Scripts/Scene/3/scene3_group133001132.lua index 10adf2500..afc5e2b00 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001132.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001132.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 12, gallery_id = 21008, father_challenge_id = 2010034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001133.lua b/Resources/Scripts/Scene/3/scene3_group133001133.lua index b247b0cf7..715338fb5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001133.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001133.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 15, gallery_id = 21013, father_challenge_id = 2010034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001134.lua b/Resources/Scripts/Scene/3/scene3_group133001134.lua index 8fe8a68e0..59b513355 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001134.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001134.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 15, gallery_id = 21014, father_challenge_id = 2010034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001135.lua b/Resources/Scripts/Scene/3/scene3_group133001135.lua index 0330d13ae..ce4e4d6b0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001135.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001135.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 15, gallery_id = 21015, father_challenge_id = 2010034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001136.lua b/Resources/Scripts/Scene/3/scene3_group133001136.lua index 69f3d552e..dd7ef923a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001136.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001136.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 15, gallery_id = 21016, father_challenge_id = 2010034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001137.lua b/Resources/Scripts/Scene/3/scene3_group133001137.lua index 65da5c786..aec642df8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001137.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001137.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 15, gallery_id = 21017, father_challenge_id = 2010034, @@ -32,8 +32,7 @@ local monster_tide_config = local elite_list = { - [1] = {137001,137002, -137022} + [1] = {137001,137002, 137022} } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133001138.lua b/Resources/Scripts/Scene/3/scene3_group133001138.lua index 73e4d5f81..b7bdf31fb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001138.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001138.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 15, gallery_id = 21018, father_challenge_id = 2010034, @@ -32,8 +32,7 @@ local monster_tide_config = local elite_list = { - [1] = {138001,138002, -138022} + [1] = {138001,138002, 138022} } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133001139.lua b/Resources/Scripts/Scene/3/scene3_group133001139.lua index ab4401459..b02ba7d25 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001139.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001139.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 15, gallery_id = 21019, father_challenge_id = 2010034, @@ -32,8 +32,7 @@ local monster_tide_config = local elite_list = { - [1] = {139001,139002, -139022} + [1] = {139001,139002, 139022} } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133001140.lua b/Resources/Scripts/Scene/3/scene3_group133001140.lua index 6bd1b3ae6..b72211476 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001140.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001140.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 15, gallery_id = 21020, father_challenge_id = 2010034, @@ -32,15 +32,9 @@ local monster_tide_config = local elite_list = { - [1] = { -140022,140027 -}, - [2] = { -140028,140029 -}, - [3] = {140001, -140023 -} + [1] = { 140022,140027 }, + [2] = { 140028,140029 }, + [3] = {140001, 140023 } } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133001141.lua b/Resources/Scripts/Scene/3/scene3_group133001141.lua index bb1d42577..5734a9ead 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001141.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001141.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 20, gallery_id = 21021, father_challenge_id = 2010034, @@ -32,8 +32,7 @@ local monster_tide_config = local elite_list = { - [1] = {141001,141002, -141022} + [1] = {141001,141002, 141022} } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133001146.lua b/Resources/Scripts/Scene/3/scene3_group133001146.lua index 50bba3198..afecad0be 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001146.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001146.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 146004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001148.lua b/Resources/Scripts/Scene/3/scene3_group133001148.lua index 041445d03..dccad3167 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001148.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001148.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 20, gallery_id = 21022, father_challenge_id = 2010034, @@ -32,8 +32,7 @@ local monster_tide_config = local elite_list = { - [1] = {148001,148002, -148022} + [1] = {148001,148002, 148022} } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133001149.lua b/Resources/Scripts/Scene/3/scene3_group133001149.lua index dc4ff51da..60cd33447 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001149.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001149.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 20, gallery_id = 21023, father_challenge_id = 2010034, @@ -32,8 +32,7 @@ local monster_tide_config = local elite_list = { - [1] = {149001,149002, -149022} + [1] = {149001,149002, 149022} } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133001150.lua b/Resources/Scripts/Scene/3/scene3_group133001150.lua index 408df2495..55f8675f4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001150.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001150.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 20, gallery_id = 21024, father_challenge_id = 2010034, @@ -32,12 +32,9 @@ local monster_tide_config = local elite_list = { - [1] = {150002, -150026}, - [2] = {150027, -150028}, - [3] = {150001, -150022} + [1] = {150002, 150026}, + [2] = {150027, 150028}, + [3] = {150001, 150022} } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133001151.lua b/Resources/Scripts/Scene/3/scene3_group133001151.lua index 64d1d440c..64b66d047 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001151.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001151.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 15, gallery_id = 21025, father_challenge_id = 2010034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001159.lua b/Resources/Scripts/Scene/3/scene3_group133001159.lua index dd66b0c95..a69b238fd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001159.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001159.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300100232, gadget_seelie = 159002 diff --git a/Resources/Scripts/Scene/3/scene3_group133001163.lua b/Resources/Scripts/Scene/3/scene3_group133001163.lua index 93bb9e2fb..9e132748c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001163.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001163.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 15, gallery_id = 21026, father_challenge_id = 2010034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001164.lua b/Resources/Scripts/Scene/3/scene3_group133001164.lua index 421e5e210..795a238d8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001164.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001164.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 15, gallery_id = 21027, father_challenge_id = 2010034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001166.lua b/Resources/Scripts/Scene/3/scene3_group133001166.lua index ff5927334..2c0bd8f04 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001166.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001166.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 209 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001167.lua b/Resources/Scripts/Scene/3/scene3_group133001167.lua index 886938f84..37fdababc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001167.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001167.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { state_change_condition_num = 15, gallery_id = 21028, father_challenge_id = 2010034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001168.lua b/Resources/Scripts/Scene/3/scene3_group133001168.lua index 2162c300a..edd82edb6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001168.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001168.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { father_challenge_id = 2010034, worktop_id = 101001, elite_interval = 5, diff --git a/Resources/Scripts/Scene/3/scene3_group133001178.lua b/Resources/Scripts/Scene/3/scene3_group133001178.lua index 17875c606..9a0a880c7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001178.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001178.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_id = 2010063, enter_region = 178027, leave_region = 178031, diff --git a/Resources/Scripts/Scene/3/scene3_group133001184.lua b/Resources/Scripts/Scene/3/scene3_group133001184.lua index 0f34c22d8..52e2a0860 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001184.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001184.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_id = 2010070, enter_region = 184026, leave_region = 184027, diff --git a/Resources/Scripts/Scene/3/scene3_group133001187.lua b/Resources/Scripts/Scene/3/scene3_group133001187.lua index 2cd395577..3f0f8e8f8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001187.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001187.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_id = 2010070, enter_region = 187032, leave_region = 187034, diff --git a/Resources/Scripts/Scene/3/scene3_group133001189.lua b/Resources/Scripts/Scene/3/scene3_group133001189.lua index dba1df166..e20947305 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001189.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001189.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_id = 2010063, enter_region = 189018, leave_region = 189024, diff --git a/Resources/Scripts/Scene/3/scene3_group133001190.lua b/Resources/Scripts/Scene/3/scene3_group133001190.lua index 157f5aaaf..5700995e2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001190.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001190.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_id = 2010063, enter_region = 190029, leave_region = 190032, diff --git a/Resources/Scripts/Scene/3/scene3_group133001191.lua b/Resources/Scripts/Scene/3/scene3_group133001191.lua index c04cfd361..0de23d47a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001191.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001191.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_id = 2010063, enter_region = 191020, leave_region = 191024, diff --git a/Resources/Scripts/Scene/3/scene3_group133001192.lua b/Resources/Scripts/Scene/3/scene3_group133001192.lua index 4481d8e09..728f9a3ff 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001192.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001192.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_id = 2010070, enter_region = 192038, leave_region = 192040, diff --git a/Resources/Scripts/Scene/3/scene3_group133001195.lua b/Resources/Scripts/Scene/3/scene3_group133001195.lua index 28a0a127a..c746f053e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001195.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001195.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_id = 2010070, enter_region = 195031, leave_region = 195033, diff --git a/Resources/Scripts/Scene/3/scene3_group133001196.lua b/Resources/Scripts/Scene/3/scene3_group133001196.lua index 16197572d..4d840c299 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001196.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001196.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_id = 2010062, enter_region = 196015, leave_region = 196019, @@ -13,7 +13,7 @@ defs = { -- DEFS_MISCS local Phase ={ - [1] = {4,5,7}, + [1] = {4,5,7}, } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133001220.lua b/Resources/Scripts/Scene/3/scene3_group133001220.lua index 3836c6ea1..da80f6da8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001220.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001220.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_id = 2010061, enter_region = 220025, leave_region = 220028, @@ -13,7 +13,7 @@ defs = { -- DEFS_MISCS local Phase ={ - [1] = {3,6}, + [1] = {3,6}, } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133001225.lua b/Resources/Scripts/Scene/3/scene3_group133001225.lua index 9b65baa8a..cb724d8ed 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001225.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001225.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 225003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001256.lua b/Resources/Scripts/Scene/3/scene3_group133001256.lua index b722957dc..d62a36ff5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001256.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001256.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300100234, gadget_seelie = 256002 diff --git a/Resources/Scripts/Scene/3/scene3_group133001258.lua b/Resources/Scripts/Scene/3/scene3_group133001258.lua index e244d6549..4b730c140 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001258.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001258.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 10, group_id = 133001258, diff --git a/Resources/Scripts/Scene/3/scene3_group133001275.lua b/Resources/Scripts/Scene/3/scene3_group133001275.lua index 366e50092..fa36f6b29 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001275.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001275.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { monster_id_1 = 520, monster_id_2 = 522, monster_id_3 = 521 diff --git a/Resources/Scripts/Scene/3/scene3_group133001299.lua b/Resources/Scripts/Scene/3/scene3_group133001299.lua index e74a5b494..3980c9ac2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001299.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001299.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300100237, gadget_seelie = 299002 diff --git a/Resources/Scripts/Scene/3/scene3_group133001341.lua b/Resources/Scripts/Scene/3/scene3_group133001341.lua index ddf42de9d..2325e1d69 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001341.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001341.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300100222, gadget_seelie = 341002 diff --git a/Resources/Scripts/Scene/3/scene3_group133001344.lua b/Resources/Scripts/Scene/3/scene3_group133001344.lua index 522ca5b8e..324577e2d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001344.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001344.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300100226, gadget_seelie = 344002 diff --git a/Resources/Scripts/Scene/3/scene3_group133001345.lua b/Resources/Scripts/Scene/3/scene3_group133001345.lua index b4627a03a..8f16b00b3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001345.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001345.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300100228, gadget_seelie = 345002 diff --git a/Resources/Scripts/Scene/3/scene3_group133001347.lua b/Resources/Scripts/Scene/3/scene3_group133001347.lua index c60bd6863..f8a9bf3c3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001347.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001347.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300100239, gadget_seelie = 347002 diff --git a/Resources/Scripts/Scene/3/scene3_group133001348.lua b/Resources/Scripts/Scene/3/scene3_group133001348.lua index b23c9587d..2a1c322ef 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001348.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001348.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300100241, gadget_seelie = 348002 diff --git a/Resources/Scripts/Scene/3/scene3_group133001349.lua b/Resources/Scripts/Scene/3/scene3_group133001349.lua index e2fea8fbc..ad8ac59ff 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001349.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001349.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300100243, gadget_seelie = 349002 diff --git a/Resources/Scripts/Scene/3/scene3_group133001355.lua b/Resources/Scripts/Scene/3/scene3_group133001355.lua index 74b2a9093..8b209a14c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001355.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001355.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 6, group_id = 133001355, diff --git a/Resources/Scripts/Scene/3/scene3_group133001360.lua b/Resources/Scripts/Scene/3/scene3_group133001360.lua index 07b00fc6f..83593ed45 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001360.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001360.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 360004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001410.lua b/Resources/Scripts/Scene/3/scene3_group133001410.lua index 86db49f2e..eec412844 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001410.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001410.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { radius = 10, group_id = 133001410, gadget_id = 410011, diff --git a/Resources/Scripts/Scene/3/scene3_group133001411.lua b/Resources/Scripts/Scene/3/scene3_group133001411.lua index a66c511ca..115e6cdf3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001411.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001411.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { radius = 10, group_id = 133001411, gadget_id = 411011, diff --git a/Resources/Scripts/Scene/3/scene3_group133001412.lua b/Resources/Scripts/Scene/3/scene3_group133001412.lua index d624f3b1d..e3094fe08 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001412.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001412.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { radius = 10, group_id = 133001412, gadget_id = 412011, diff --git a/Resources/Scripts/Scene/3/scene3_group133001413.lua b/Resources/Scripts/Scene/3/scene3_group133001413.lua index 4a878d0f1..99eedbb68 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001413.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001413.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_aster = 413001, gadget_reward = 413124, group_id = 133001413, diff --git a/Resources/Scripts/Scene/3/scene3_group133001426.lua b/Resources/Scripts/Scene/3/scene3_group133001426.lua index 62929adf8..a02ffa492 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001426.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001426.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { aster_timer = {60,180,300,420,540}, clear_delay = 30, group_id = 133001426 diff --git a/Resources/Scripts/Scene/3/scene3_group133001427.lua b/Resources/Scripts/Scene/3/scene3_group133001427.lua index bdddfeafe..358e1f9f5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001427.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001427.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133001427 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001500.lua b/Resources/Scripts/Scene/3/scene3_group133001500.lua index 4b3541f95..8f7d69c14 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001500.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001500.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300100267, gadget_seelie = 500002 diff --git a/Resources/Scripts/Scene/3/scene3_group133001503.lua b/Resources/Scripts/Scene/3/scene3_group133001503.lua index af4538f8d..caad12216 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001503.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001503.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 503004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001565.lua b/Resources/Scripts/Scene/3/scene3_group133001565.lua index 78dfe6241..8e1afa1be 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001565.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001565.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 15, group_id = 133001565, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133001572.lua b/Resources/Scripts/Scene/3/scene3_group133001572.lua index 0ed48d708..fd32cd677 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001572.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001572.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator = 572009, blossom_chest = 572010, platform = 572012, diff --git a/Resources/Scripts/Scene/3/scene3_group133001573.lua b/Resources/Scripts/Scene/3/scene3_group133001573.lua index 973462d4f..748e21789 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001573.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001573.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator = 573008, blossom_chest = 573009, platform = 573011, diff --git a/Resources/Scripts/Scene/3/scene3_group133001575.lua b/Resources/Scripts/Scene/3/scene3_group133001575.lua index ea096e47d..3cf440750 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001575.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001575.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { RegionID = 575001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001576.lua b/Resources/Scripts/Scene/3/scene3_group133001576.lua index 607732d79..5ed059f9f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001576.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001576.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { RegionID = 576039 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001577.lua b/Resources/Scripts/Scene/3/scene3_group133001577.lua index 562266db3..f4c6f8942 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001577.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001577.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { RegionID = 577029 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001578.lua b/Resources/Scripts/Scene/3/scene3_group133001578.lua index 565bfb2ec..d9bb1d639 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001578.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001578.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { RegionID = 578033 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001579.lua b/Resources/Scripts/Scene/3/scene3_group133001579.lua index 69858484b..6221ea6d0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001579.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001579.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { RegionID = 579013 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001580.lua b/Resources/Scripts/Scene/3/scene3_group133001580.lua index 54cdc8f2c..a1d82e385 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001580.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001580.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { RegionID = 580013 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001581.lua b/Resources/Scripts/Scene/3/scene3_group133001581.lua index bd8b47a3b..0f47a274f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001581.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001581.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { RegionID = 581029 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001582.lua b/Resources/Scripts/Scene/3/scene3_group133001582.lua index dd73bb339..f3a6b17a6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001582.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001582.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { RegionID = 582043 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001583.lua b/Resources/Scripts/Scene/3/scene3_group133001583.lua index 02f35cc28..90bb2b1fe 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001583.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001583.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { RegionID = 583049 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001584.lua b/Resources/Scripts/Scene/3/scene3_group133001584.lua index 270e32a2d..15b38f732 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001584.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001584.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { RegionID = 584001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001585.lua b/Resources/Scripts/Scene/3/scene3_group133001585.lua index f16998b3b..48b10d532 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001585.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001585.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { option_1 = 7, option_2 = 2905, gadget_final = 585003, diff --git a/Resources/Scripts/Scene/3/scene3_group133001591.lua b/Resources/Scripts/Scene/3/scene3_group133001591.lua index 73d8fe779..5092952ab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001591.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001591.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { option_1 = 7, option_2 = 2905, gadget_final = 591003, diff --git a/Resources/Scripts/Scene/3/scene3_group133001603.lua b/Resources/Scripts/Scene/3/scene3_group133001603.lua index 5f7c1e367..f7158b19b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001603.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001603.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer_region = 603011, challenge_region = 603003, monster_hilichurl = 603001, diff --git a/Resources/Scripts/Scene/3/scene3_group133001604.lua b/Resources/Scripts/Scene/3/scene3_group133001604.lua index 89389f922..6cbb60259 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001604.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001604.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer_region = 604010, challenge_region = 604002, monster_hilichurl = 604001, diff --git a/Resources/Scripts/Scene/3/scene3_group133001901.lua b/Resources/Scripts/Scene/3/scene3_group133001901.lua index 93d68f713..ff080f774 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001901.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001901.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 162, gadget_id_2 = 163, gadget_id_3 = 420 diff --git a/Resources/Scripts/Scene/3/scene3_group133001902.lua b/Resources/Scripts/Scene/3/scene3_group133001902.lua index f5b38119b..a7ba7eedf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001902.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001902.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 186, gadget_id_2 = 217 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001903.lua b/Resources/Scripts/Scene/3/scene3_group133001903.lua index 05c98fd3f..2cc6ef1d8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001903.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001903.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 239 } diff --git a/Resources/Scripts/Scene/3/scene3_group133001905.lua b/Resources/Scripts/Scene/3/scene3_group133001905.lua index 8efa22446..d7826a80d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133001905.lua +++ b/Resources/Scripts/Scene/3/scene3_group133001905.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 471, gadget_id_2 = 485, gadget_id_3 = 466, diff --git a/Resources/Scripts/Scene/3/scene3_group133002066.lua b/Resources/Scripts/Scene/3/scene3_group133002066.lua index dfc4aa4c1..6488195ae 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002066.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002066.lua @@ -4,19 +4,17 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --战斗开始加载suit(空气墙等) add_onStart = {2}, --开启流程的操作台configID - gadget_starter = 66007 -, + gadget_starter = 66007 , --领奖台configID - gadget_reward = 66003, + gadget_reward = 66003, --Boss的ConfigID boss_id = 66005, --暖源的IDlist - heat_id = -{66009,66010,66011}, + heat_id = {66009,66010,66011}, --点位configID point_list = {66012,66013,66014}, diff --git a/Resources/Scripts/Scene/3/scene3_group133002068.lua b/Resources/Scripts/Scene/3/scene3_group133002068.lua index fb0d0dab5..e0d2b7fe7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002068.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002068.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { target_group = 133002145, Active_Trap_Time = 30 } diff --git a/Resources/Scripts/Scene/3/scene3_group133002075.lua b/Resources/Scripts/Scene/3/scene3_group133002075.lua index f9e5ea955..e402f3305 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002075.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002075.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { target_group = 133002146, monster_max_1 = 20, monster_max_2 = 4, diff --git a/Resources/Scripts/Scene/3/scene3_group133002079.lua b/Resources/Scripts/Scene/3/scene3_group133002079.lua index 30e6b423d..caa35e543 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002079.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002079.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { monster_id_1 = 163 } diff --git a/Resources/Scripts/Scene/3/scene3_group133002081.lua b/Resources/Scripts/Scene/3/scene3_group133002081.lua index 4d767e725..9edbe0de8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002081.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002081.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { target_group = 133002100, circle_region = 81016 } diff --git a/Resources/Scripts/Scene/3/scene3_group133002082.lua b/Resources/Scripts/Scene/3/scene3_group133002082.lua index 5d060834b..85f1a73b3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002082.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002082.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { target_group = 133002100, circle_region = 82025 } diff --git a/Resources/Scripts/Scene/3/scene3_group133002083.lua b/Resources/Scripts/Scene/3/scene3_group133002083.lua index fca51623a..71e01bfdb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002083.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002083.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --按想要的解谜顺序, 填子装置的config_id branch_gadgets = {83012, 83013, 83014}, --主装置的config_id,可填一个或多个 diff --git a/Resources/Scripts/Scene/3/scene3_group133002085.lua b/Resources/Scripts/Scene/3/scene3_group133002085.lua index 3c55b2bbc..0481c8dfa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002085.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002085.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { monster_id_1 = 192, monster_id_2 = 190 } diff --git a/Resources/Scripts/Scene/3/scene3_group133002088.lua b/Resources/Scripts/Scene/3/scene3_group133002088.lua index 75dd576dd..f1af9a93d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002088.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002088.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --按想要的解谜顺序, 填子装置的config_id branch_gadgets = {88012, 88013, 88014}, --主装置的config_id,可填一个或多个 diff --git a/Resources/Scripts/Scene/3/scene3_group133002097.lua b/Resources/Scripts/Scene/3/scene3_group133002097.lua index 885ab5e0c..c4969290f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002097.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002097.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133002097, gadget_prison_list = {97001}, gadget_guide = {97052,97059,97060}, diff --git a/Resources/Scripts/Scene/3/scene3_group133002099.lua b/Resources/Scripts/Scene/3/scene3_group133002099.lua index 2850447cc..5ce87ff2a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002099.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002099.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { target_group = 133002100, circle_region = 99025 } diff --git a/Resources/Scripts/Scene/3/scene3_group133002100.lua b/Resources/Scripts/Scene/3/scene3_group133002100.lua index 87744aa72..f91f819ab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002100.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002100.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gallery_id = 27002, region = 100009, stage_2_goal = 15 diff --git a/Resources/Scripts/Scene/3/scene3_group133002108.lua b/Resources/Scripts/Scene/3/scene3_group133002108.lua index de1f130c1..dd8d744e4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002108.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002108.lua @@ -4,14 +4,13 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --战斗开始加载suit(空气墙等) add_onStart = {2}, --开启流程的操作台configID boss_id = 108001, --暖源的IDlist - heat_id = -{108011,108012,108013}, + heat_id = {108011,108012,108013}, --点位configID point_list = {108014,108015,108030}, diff --git a/Resources/Scripts/Scene/3/scene3_group133002118.lua b/Resources/Scripts/Scene/3/scene3_group133002118.lua index fa03c4246..7fced938c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002118.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002118.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_prison = 118001, duration = 210, rampage_time = 40, diff --git a/Resources/Scripts/Scene/3/scene3_group133002121.lua b/Resources/Scripts/Scene/3/scene3_group133002121.lua index c7152b755..e281eafb4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002121.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002121.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_prison = 121001, duration = 210, rampage_time = 40, diff --git a/Resources/Scripts/Scene/3/scene3_group133002135.lua b/Resources/Scripts/Scene/3/scene3_group133002135.lua index 21c637a63..4285ccd81 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002135.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002135.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 135001, gallery_id = 18005, region_id = 135002, diff --git a/Resources/Scripts/Scene/3/scene3_group133002145.lua b/Resources/Scripts/Scene/3/scene3_group133002145.lua index 90e347626..4dba1986e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002145.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002145.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gallery_id = 27003, region = 145002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133002146.lua b/Resources/Scripts/Scene/3/scene3_group133002146.lua index b19b274c9..35073f747 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002146.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002146.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gallery_id = 27001, region = 146002, leave_region = 146005 diff --git a/Resources/Scripts/Scene/3/scene3_group133002161.lua b/Resources/Scripts/Scene/3/scene3_group133002161.lua index f6fa0a21c..3d57cef64 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002161.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002161.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300200215, gadget_seelie = 161002 diff --git a/Resources/Scripts/Scene/3/scene3_group133002164.lua b/Resources/Scripts/Scene/3/scene3_group133002164.lua index 5bb917da0..61760878f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002164.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002164.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300200217, gadget_seelie = 164002 diff --git a/Resources/Scripts/Scene/3/scene3_group133002203.lua b/Resources/Scripts/Scene/3/scene3_group133002203.lua index 26631c6f2..5efd88f19 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002203.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002203.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300200219, gadget_seelie = 203002 diff --git a/Resources/Scripts/Scene/3/scene3_group133002210.lua b/Resources/Scripts/Scene/3/scene3_group133002210.lua index 0521e5913..2b4e021aa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002210.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002210.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300200225, gadget_seelie = 210002 diff --git a/Resources/Scripts/Scene/3/scene3_group133002227.lua b/Resources/Scripts/Scene/3/scene3_group133002227.lua index 40f7e78e2..45820b67b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002227.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002227.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 1941, gadget_id_2 = 1965, gadget_id_3 = 1966 diff --git a/Resources/Scripts/Scene/3/scene3_group133002242.lua b/Resources/Scripts/Scene/3/scene3_group133002242.lua index acb4a89e1..f478b644a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002242.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002242.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { monster_id_1 = 806, monster_id_2 = 807 } diff --git a/Resources/Scripts/Scene/3/scene3_group133002322.lua b/Resources/Scripts/Scene/3/scene3_group133002322.lua index 7889d6784..9d4490ac1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002322.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002322.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300200221, gadget_seelie = 322002 diff --git a/Resources/Scripts/Scene/3/scene3_group133002324.lua b/Resources/Scripts/Scene/3/scene3_group133002324.lua index 6383cb666..5a83245fb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002324.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002324.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300200227, gadget_seelie = 324002 diff --git a/Resources/Scripts/Scene/3/scene3_group133002325.lua b/Resources/Scripts/Scene/3/scene3_group133002325.lua index 3d801ff5e..c8f20b7e7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002325.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002325.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300200229, gadget_seelie = 325002 diff --git a/Resources/Scripts/Scene/3/scene3_group133002330.lua b/Resources/Scripts/Scene/3/scene3_group133002330.lua index 685d50abd..7dfe0302f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002330.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002330.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133002330, gadget_riddle_hint = 330001, gadget_riddle_1 = 330002, diff --git a/Resources/Scripts/Scene/3/scene3_group133002338.lua b/Resources/Scripts/Scene/3/scene3_group133002338.lua index 164ce0031..d7050b496 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002338.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002338.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133002338, gadget_target_1S = 338002, gadget_target_1E = 338005, diff --git a/Resources/Scripts/Scene/3/scene3_group133002344.lua b/Resources/Scripts/Scene/3/scene3_group133002344.lua index d892d963b..e3c9dcf18 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002344.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002344.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 60, group_id = 133002344, diff --git a/Resources/Scripts/Scene/3/scene3_group133002348.lua b/Resources/Scripts/Scene/3/scene3_group133002348.lua index a5423c4e9..58ff35d8c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002348.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002348.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133002348 } diff --git a/Resources/Scripts/Scene/3/scene3_group133002359.lua b/Resources/Scripts/Scene/3/scene3_group133002359.lua index 51ad7f087..50330ac62 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002359.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002359.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133002359 } diff --git a/Resources/Scripts/Scene/3/scene3_group133002383.lua b/Resources/Scripts/Scene/3/scene3_group133002383.lua index 022b9c63b..492e090d8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002383.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002383.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 3, group_id = 133002383, diff --git a/Resources/Scripts/Scene/3/scene3_group133002393.lua b/Resources/Scripts/Scene/3/scene3_group133002393.lua index 92b5b438b..b0ef22c8f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002393.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002393.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133002393 } diff --git a/Resources/Scripts/Scene/3/scene3_group133002394.lua b/Resources/Scripts/Scene/3/scene3_group133002394.lua index e5aa48e15..18a5bf504 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002394.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002394.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133002394 } diff --git a/Resources/Scripts/Scene/3/scene3_group133002399.lua b/Resources/Scripts/Scene/3/scene3_group133002399.lua index 58a5ef596..5164d979a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002399.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002399.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 3, group_id = 133002399, diff --git a/Resources/Scripts/Scene/3/scene3_group133002406.lua b/Resources/Scripts/Scene/3/scene3_group133002406.lua index 8ca638f80..dcacdf2c8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002406.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002406.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { bornPoints = {{gadget_id=406003,monster_id=406001},{gadget_id=406004,monster_id=406008},{gadget_id=406005,monster_id=406009},{gadget_id=406006,monster_id=406010},{gadget_id=406007,monster_id=406011},{gadget_id=406021,monster_id=406012},{gadget_id=406022,monster_id=406013},{gadget_id=406023,monster_id=406014},{gadget_id=406024,monster_id=406015},{gadget_id=406025,monster_id=406016},{gadget_id=406026,monster_id=406017},{gadget_id=406027,monster_id=406018},{gadget_id=406028,monster_id=406019},{gadget_id=406029,monster_id=406020}}, groupRefreshTime = 43200 } diff --git a/Resources/Scripts/Scene/3/scene3_group133002415.lua b/Resources/Scripts/Scene/3/scene3_group133002415.lua index 379d01cb5..821c54555 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002415.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002415.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { randomPositions = {415042,415043,415044}, groupId = 133002415, specialice1 = 415012, diff --git a/Resources/Scripts/Scene/3/scene3_group133002418.lua b/Resources/Scripts/Scene/3/scene3_group133002418.lua index 60bd1aacd..858f5454e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002418.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002418.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { randomPositions = {418014,418021,418022}, groupId = 133002418, specialice1 = 418009, diff --git a/Resources/Scripts/Scene/3/scene3_group133002429.lua b/Resources/Scripts/Scene/3/scene3_group133002429.lua index 5ff3ee959..112ca8016 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002429.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002429.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 10, group_id = 133002429, diff --git a/Resources/Scripts/Scene/3/scene3_group133002434.lua b/Resources/Scripts/Scene/3/scene3_group133002434.lua index 7693759cf..3d53cc548 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002434.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002434.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300200273, gadget_seelie = 434002 diff --git a/Resources/Scripts/Scene/3/scene3_group133002473.lua b/Resources/Scripts/Scene/3/scene3_group133002473.lua index 08619f773..18bd6bbb9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002473.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002473.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator = 473005, blossom_chest = 473006, platform = 473008, diff --git a/Resources/Scripts/Scene/3/scene3_group133002474.lua b/Resources/Scripts/Scene/3/scene3_group133002474.lua index 53716399d..d34638b71 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002474.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002474.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator = 474008, blossom_chest = 474009, platform = 474011, diff --git a/Resources/Scripts/Scene/3/scene3_group133002475.lua b/Resources/Scripts/Scene/3/scene3_group133002475.lua index 3f612eac5..6d898c2b1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002475.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002475.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator = 475007, blossom_chest = 475008, platform = 475010, diff --git a/Resources/Scripts/Scene/3/scene3_group133002479.lua b/Resources/Scripts/Scene/3/scene3_group133002479.lua index 319ddc2c1..ecea40a05 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002479.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002479.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS --1.4风花节射气球活动-清泉镇分会场 -defs = { +local defs = { gallery_id = 1004, gadget_entry = 479002, balloon_clear_state = 201, diff --git a/Resources/Scripts/Scene/3/scene3_group133002901.lua b/Resources/Scripts/Scene/3/scene3_group133002901.lua index e3cdf7f61..c6a30a2d8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133002901.lua +++ b/Resources/Scripts/Scene/3/scene3_group133002901.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 66, gadget_id_2 = 67, gadget_id_3 = 68, diff --git a/Resources/Scripts/Scene/3/scene3_group133003041.lua b/Resources/Scripts/Scene/3/scene3_group133003041.lua index 42b2859ea..de5c729d1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003041.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003041.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { GroupID = 133003041, AGRegionConfigID = 41042, AGName = "ActivityAbility_ToMoon_FoodChallenge_Part1", diff --git a/Resources/Scripts/Scene/3/scene3_group133003042.lua b/Resources/Scripts/Scene/3/scene3_group133003042.lua index d41bc0328..5e57e013b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003042.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003042.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { GroupID = 133003042, AGRegionConfigID = 42049, AGName = "ActivityAbility_ToMoon_FoodChallenge_Part1", diff --git a/Resources/Scripts/Scene/3/scene3_group133003046.lua b/Resources/Scripts/Scene/3/scene3_group133003046.lua index 391bbf811..0f7a1c328 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003046.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003046.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133003046, gadget_prison_list = {46001}, gadget_guide = {46057,46058, 46059}, diff --git a/Resources/Scripts/Scene/3/scene3_group133003048.lua b/Resources/Scripts/Scene/3/scene3_group133003048.lua index 432cfdf2b..3a62fd100 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003048.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003048.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { GroupID = 133003048, AGRegionConfigID = 48041, AGName = "ActivityAbility_ToMoon_FoodChallenge_Part1", diff --git a/Resources/Scripts/Scene/3/scene3_group133003050.lua b/Resources/Scripts/Scene/3/scene3_group133003050.lua index 243a44198..911d4f031 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003050.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003050.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_id = 2010064, enter_region = 50026, leave_region = 50027, diff --git a/Resources/Scripts/Scene/3/scene3_group133003054.lua b/Resources/Scripts/Scene/3/scene3_group133003054.lua index 950f5e4e2..55b6ff5f8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003054.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003054.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_id = 2010064, enter_region = 54026, leave_region = 54027, diff --git a/Resources/Scripts/Scene/3/scene3_group133003057.lua b/Resources/Scripts/Scene/3/scene3_group133003057.lua index c0ec73f83..0c1e62bfb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003057.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003057.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_id = 2010064, enter_region = 57026, leave_region = 57027, diff --git a/Resources/Scripts/Scene/3/scene3_group133003075.lua b/Resources/Scripts/Scene/3/scene3_group133003075.lua index bd418faa3..dfcedcb48 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003075.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003075.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133003075, gadget_riddle_hint = 75001, gadget_riddle_1 = 75002, diff --git a/Resources/Scripts/Scene/3/scene3_group133003082.lua b/Resources/Scripts/Scene/3/scene3_group133003082.lua index 26de6599a..2c6c94667 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003082.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003082.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_id = 2010064, enter_region = 82026, leave_region = 82027, diff --git a/Resources/Scripts/Scene/3/scene3_group133003085.lua b/Resources/Scripts/Scene/3/scene3_group133003085.lua index f1014e8fc..daae20abe 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003085.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003085.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_id = 2010060, enter_region = 85026, leave_region = 85027, diff --git a/Resources/Scripts/Scene/3/scene3_group133003098.lua b/Resources/Scripts/Scene/3/scene3_group133003098.lua index 99f9823bc..8bc418521 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003098.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003098.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 2432, gadget_id_2 = 2519, monster_id_1 = 568, diff --git a/Resources/Scripts/Scene/3/scene3_group133003101.lua b/Resources/Scripts/Scene/3/scene3_group133003101.lua index 83991514c..cb54bf802 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003101.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003101.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 101001, gallery_id = 29011, region_id = 101005, diff --git a/Resources/Scripts/Scene/3/scene3_group133003112.lua b/Resources/Scripts/Scene/3/scene3_group133003112.lua index 119c9798c..07ed3127e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003112.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003112.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300300286, gadget_seelie = 112002 diff --git a/Resources/Scripts/Scene/3/scene3_group133003127.lua b/Resources/Scripts/Scene/3/scene3_group133003127.lua index 6a96c175b..6b937c1de 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003127.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003127.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 25, route_2 = 300300284, gadget_seelie = 127002 diff --git a/Resources/Scripts/Scene/3/scene3_group133003130.lua b/Resources/Scripts/Scene/3/scene3_group133003130.lua index d9ad99653..52933c824 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003130.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003130.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 2609 } diff --git a/Resources/Scripts/Scene/3/scene3_group133003174.lua b/Resources/Scripts/Scene/3/scene3_group133003174.lua index 66f720696..a3c9c58bc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003174.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003174.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 300300282, gadget_seelie = 174002 diff --git a/Resources/Scripts/Scene/3/scene3_group133003225.lua b/Resources/Scripts/Scene/3/scene3_group133003225.lua index 2e76d5a75..bdd279d5c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003225.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003225.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 3279 } diff --git a/Resources/Scripts/Scene/3/scene3_group133003280.lua b/Resources/Scripts/Scene/3/scene3_group133003280.lua index ab5df1e0c..de165c90e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003280.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003280.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 300300280, gadget_seelie = 280002 diff --git a/Resources/Scripts/Scene/3/scene3_group133003300.lua b/Resources/Scripts/Scene/3/scene3_group133003300.lua index 5e09a0d71..e190e0f4f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003300.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003300.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 980, gadget_id_2 = 981, gadget_id_3 = 982, diff --git a/Resources/Scripts/Scene/3/scene3_group133003336.lua b/Resources/Scripts/Scene/3/scene3_group133003336.lua index d984f3fba..9284ee364 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003336.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003336.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 23, route_2 = 300300274, gadget_seelie = 336002 diff --git a/Resources/Scripts/Scene/3/scene3_group133003381.lua b/Resources/Scripts/Scene/3/scene3_group133003381.lua index fd3b04b0f..d9143ed42 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003381.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003381.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 33, route_2 = 300300268, gadget_seelie = 381002 diff --git a/Resources/Scripts/Scene/3/scene3_group133003396.lua b/Resources/Scripts/Scene/3/scene3_group133003396.lua index 539805b88..55af55a42 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003396.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003396.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 300300272, gadget_seelie = 396002 diff --git a/Resources/Scripts/Scene/3/scene3_group133003402.lua b/Resources/Scripts/Scene/3/scene3_group133003402.lua index a505d6dd8..8ddd7e486 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003402.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003402.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 23, route_2 = 300300276, gadget_seelie = 402002 diff --git a/Resources/Scripts/Scene/3/scene3_group133003411.lua b/Resources/Scripts/Scene/3/scene3_group133003411.lua index f6cf2b7c3..b5cfe7b35 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003411.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003411.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 21, route_2 = 300300278, gadget_seelie = 411002 diff --git a/Resources/Scripts/Scene/3/scene3_group133003501.lua b/Resources/Scripts/Scene/3/scene3_group133003501.lua index 82786a767..f7b83ece5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003501.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003501.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 12, group_id = 133003501, diff --git a/Resources/Scripts/Scene/3/scene3_group133003506.lua b/Resources/Scripts/Scene/3/scene3_group133003506.lua index 19a895941..9e81c9f5f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003506.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003506.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 506004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133003511.lua b/Resources/Scripts/Scene/3/scene3_group133003511.lua index 25b32e118..8e8e32bcf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003511.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003511.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133003511, gadget_riddle_hint = 511001, gadget_riddle_1 = 511002, diff --git a/Resources/Scripts/Scene/3/scene3_group133003513.lua b/Resources/Scripts/Scene/3/scene3_group133003513.lua index d89557707..f77cdc640 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003513.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003513.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 513004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133003518.lua b/Resources/Scripts/Scene/3/scene3_group133003518.lua index c5ba2d31a..7cec254b2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003518.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003518.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 518002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133003548.lua b/Resources/Scripts/Scene/3/scene3_group133003548.lua index 6f2bb197f..011e3c529 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003548.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003548.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { crucible_timer = {45,165,285,405,525,650,775}, crucible_timer_prepare = 2, gadget_crucible = 548001, diff --git a/Resources/Scripts/Scene/3/scene3_group133003549.lua b/Resources/Scripts/Scene/3/scene3_group133003549.lua index 734b90b40..07b453e5b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003549.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003549.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { head_group = 305001001, stage_sum = {20,30} } diff --git a/Resources/Scripts/Scene/3/scene3_group133003554.lua b/Resources/Scripts/Scene/3/scene3_group133003554.lua index 076d9d7f4..689a291ef 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003554.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003554.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { elem = "Water", head_group = 305001001, gadget_crucible = 1001 diff --git a/Resources/Scripts/Scene/3/scene3_group133003555.lua b/Resources/Scripts/Scene/3/scene3_group133003555.lua index 8d3fa09fc..add56e3ff 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003555.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003555.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { elem = "Fire", head_group = 305001001, gadget_crucible = 1001 diff --git a/Resources/Scripts/Scene/3/scene3_group133003556.lua b/Resources/Scripts/Scene/3/scene3_group133003556.lua index f4702010e..77abee270 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003556.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003556.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { elem = "Electric", head_group = 305001001, gadget_crucible = 1001 diff --git a/Resources/Scripts/Scene/3/scene3_group133003557.lua b/Resources/Scripts/Scene/3/scene3_group133003557.lua index fbd3ea00d..04174c953 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003557.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003557.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { elem = "Ice", head_group = 305001001, gadget_crucible = 1001 diff --git a/Resources/Scripts/Scene/3/scene3_group133003568.lua b/Resources/Scripts/Scene/3/scene3_group133003568.lua index 9daad0af2..55fb3a865 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003568.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003568.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { sum = 30 } diff --git a/Resources/Scripts/Scene/3/scene3_group133003590.lua b/Resources/Scripts/Scene/3/scene3_group133003590.lua index be2baf21e..911675e98 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003590.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003590.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133003590 } diff --git a/Resources/Scripts/Scene/3/scene3_group133003591.lua b/Resources/Scripts/Scene/3/scene3_group133003591.lua index 7c00bc097..cb7b8e1c3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003591.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003591.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133003591 } diff --git a/Resources/Scripts/Scene/3/scene3_group133003592.lua b/Resources/Scripts/Scene/3/scene3_group133003592.lua index ada4f4766..65a1fa97a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003592.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003592.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 20, group_id = 133003592, gadget_sum = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133003593.lua b/Resources/Scripts/Scene/3/scene3_group133003593.lua index 22a49387d..552728686 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003593.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003593.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 4, group_id = 133003593, diff --git a/Resources/Scripts/Scene/3/scene3_group133003594.lua b/Resources/Scripts/Scene/3/scene3_group133003594.lua index 58e4cee16..8dbf1fb8a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003594.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003594.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133003594 } diff --git a/Resources/Scripts/Scene/3/scene3_group133003595.lua b/Resources/Scripts/Scene/3/scene3_group133003595.lua index a95a274c5..9eefbd236 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003595.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003595.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133003595, gadget_sum = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133003596.lua b/Resources/Scripts/Scene/3/scene3_group133003596.lua index ae00120b4..5710674b6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003596.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003596.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133003596, gadget_id_1 = 596001 diff --git a/Resources/Scripts/Scene/3/scene3_group133003788.lua b/Resources/Scripts/Scene/3/scene3_group133003788.lua index d16c1d8ba..f07d04024 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003788.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003788.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS --1.4风花节射气球活动-望风山地分会场 -defs = { +local defs = { gallery_id = 1001, gadget_entry = 788007, balloon_clear_state = 201, diff --git a/Resources/Scripts/Scene/3/scene3_group133003789.lua b/Resources/Scripts/Scene/3/scene3_group133003789.lua index 8941a0607..8b03c6b1a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003789.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003789.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS --1.4风花节射气球活动-千风神殿分会场 -defs = { +local defs = { gallery_id = 1003, gadget_entry = 789002, balloon_clear_state = 201, diff --git a/Resources/Scripts/Scene/3/scene3_group133003797.lua b/Resources/Scripts/Scene/3/scene3_group133003797.lua index 61f1cb388..7218d3000 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003797.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003797.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer_region = 797010, challenge_region = 797004, monster_hilichurl = 797001, diff --git a/Resources/Scripts/Scene/3/scene3_group133003901.lua b/Resources/Scripts/Scene/3/scene3_group133003901.lua index aa02a86ae..50bcef704 100644 --- a/Resources/Scripts/Scene/3/scene3_group133003901.lua +++ b/Resources/Scripts/Scene/3/scene3_group133003901.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 24, gadget_id_2 = 27, gadget_id_3 = 35, diff --git a/Resources/Scripts/Scene/3/scene3_group133004001.lua b/Resources/Scripts/Scene/3/scene3_group133004001.lua index 52546c2cb..37b85c60f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004001.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 8 } diff --git a/Resources/Scripts/Scene/3/scene3_group133004002.lua b/Resources/Scripts/Scene/3/scene3_group133004002.lua index fee91a472..964c99dd5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004002.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004002.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133004002, gadget_prison_list = {2002}, gadget_guide = {2074,2003,2004}, diff --git a/Resources/Scripts/Scene/3/scene3_group133004004.lua b/Resources/Scripts/Scene/3/scene3_group133004004.lua index a1e9f4146..b0cc05eec 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004004.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004004.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133004004, gadget_prison_list = {4002}, gadget_guide = {4069,4079,4080}, diff --git a/Resources/Scripts/Scene/3/scene3_group133004005.lua b/Resources/Scripts/Scene/3/scene3_group133004005.lua index 7e58a4369..1df05bf76 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004005.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004005.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133004005, gadget_prison_list = {5002}, gadget_guide = {5074,5003,5004}, diff --git a/Resources/Scripts/Scene/3/scene3_group133004006.lua b/Resources/Scripts/Scene/3/scene3_group133004006.lua index 2b23bbd15..979506943 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004006.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 31, gadget_id_2 = 32, gadget_id_3 = 33, diff --git a/Resources/Scripts/Scene/3/scene3_group133004009.lua b/Resources/Scripts/Scene/3/scene3_group133004009.lua index 017cd7511..75dffa65c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004009.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004009.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133004009, gadget_prison_list = {9002}, gadget_guide = {9068,9096,9097}, diff --git a/Resources/Scripts/Scene/3/scene3_group133004061.lua b/Resources/Scripts/Scene/3/scene3_group133004061.lua index 79783492b..1e425ed24 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004061.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004061.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 7, route_2 = 300400613, gadget_seelie = 61002 diff --git a/Resources/Scripts/Scene/3/scene3_group133004066.lua b/Resources/Scripts/Scene/3/scene3_group133004066.lua index 28ee72a2b..34d3fdc81 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004066.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004066.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 66001, gallery_id = 18001, region_id = 66002, diff --git a/Resources/Scripts/Scene/3/scene3_group133004067.lua b/Resources/Scripts/Scene/3/scene3_group133004067.lua index c24c9f6fd..cc2b0448c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004067.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004067.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { hintTime = 30, coinTime = 20, maxRegion = 67004, @@ -13,7 +13,7 @@ defs = { } -- DEFS_MISCS -defs_miscs = { +local defs_miscs = { specialCoinTable = { -- 每项格式如下 [67041] = {67031,67032,67033,67034,67035,67036,67037,67038,67039,67040,67042,67043,67044}, diff --git a/Resources/Scripts/Scene/3/scene3_group133004088.lua b/Resources/Scripts/Scene/3/scene3_group133004088.lua index e5626b5fd..ab42f4331 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004088.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004088.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 342 } diff --git a/Resources/Scripts/Scene/3/scene3_group133004089.lua b/Resources/Scripts/Scene/3/scene3_group133004089.lua index c8fa54b51..ca02ee031 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004089.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004089.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300400623, gadget_seelie = 89002 diff --git a/Resources/Scripts/Scene/3/scene3_group133004090.lua b/Resources/Scripts/Scene/3/scene3_group133004090.lua index 1c48b7c03..75553d8cb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004090.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004090.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 5, route_2 = 300400619, gadget_seelie = 90002 diff --git a/Resources/Scripts/Scene/3/scene3_group133004091.lua b/Resources/Scripts/Scene/3/scene3_group133004091.lua index 00f26a9c7..0cdad9c43 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004091.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004091.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 5, route_2 = 300400625, gadget_seelie = 91002 diff --git a/Resources/Scripts/Scene/3/scene3_group133004098.lua b/Resources/Scripts/Scene/3/scene3_group133004098.lua index b008f92e2..124b1f503 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004098.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004098.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 3, route_2 = 300400621, gadget_seelie = 98002 diff --git a/Resources/Scripts/Scene/3/scene3_group133004107.lua b/Resources/Scripts/Scene/3/scene3_group133004107.lua index 5e7d42614..07c826cc9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004107.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004107.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300400615, gadget_seelie = 107002 diff --git a/Resources/Scripts/Scene/3/scene3_group133004128.lua b/Resources/Scripts/Scene/3/scene3_group133004128.lua index 788c1a6f0..53b2cd223 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004128.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004128.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 791 } diff --git a/Resources/Scripts/Scene/3/scene3_group133004191.lua b/Resources/Scripts/Scene/3/scene3_group133004191.lua index cd2e4ea1c..7d1cc9ba3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004191.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004191.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 21, route_2 = 300400601, gadget_seelie = 191002 diff --git a/Resources/Scripts/Scene/3/scene3_group133004196.lua b/Resources/Scripts/Scene/3/scene3_group133004196.lua index 245475c25..c542a933b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004196.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004196.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 7, route_2 = 300400599, gadget_seelie = 196002 diff --git a/Resources/Scripts/Scene/3/scene3_group133004233.lua b/Resources/Scripts/Scene/3/scene3_group133004233.lua index 9639a9307..6f517144d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004233.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004233.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 1369 } diff --git a/Resources/Scripts/Scene/3/scene3_group133004238.lua b/Resources/Scripts/Scene/3/scene3_group133004238.lua index 2e170e086..adc70aa84 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004238.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004238.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300400603, gadget_seelie = 238002 diff --git a/Resources/Scripts/Scene/3/scene3_group133004245.lua b/Resources/Scripts/Scene/3/scene3_group133004245.lua index 5e2df41f7..b8c17e03f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004245.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004245.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 5, route_2 = 300400617, gadget_seelie = 245002 diff --git a/Resources/Scripts/Scene/3/scene3_group133004275.lua b/Resources/Scripts/Scene/3/scene3_group133004275.lua index 35f4b38f0..e82ec1e88 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004275.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004275.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_1_duration = 300, group_id = 133004275, father_quest = 20058, @@ -15,7 +15,7 @@ defs = { -- DEFS_MISCS defs.quest_1_id = defs.father_quest.."03" - + defs.quest_1_success = defs.group_id.."01" diff --git a/Resources/Scripts/Scene/3/scene3_group133004276.lua b/Resources/Scripts/Scene/3/scene3_group133004276.lua index 98e6fb704..00ff5ffb0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004276.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004276.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 276004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133004283.lua b/Resources/Scripts/Scene/3/scene3_group133004283.lua index 07ede9cf2..da8b829cf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004283.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004283.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300400605, gadget_seelie = 283002 diff --git a/Resources/Scripts/Scene/3/scene3_group133004284.lua b/Resources/Scripts/Scene/3/scene3_group133004284.lua index 6a0120d5a..4f62f701e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004284.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004284.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300400607, gadget_seelie = 284002 diff --git a/Resources/Scripts/Scene/3/scene3_group133004285.lua b/Resources/Scripts/Scene/3/scene3_group133004285.lua index 06e54227e..864c88a13 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004285.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004285.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 7, route_2 = 300400609, gadget_seelie = 285002 diff --git a/Resources/Scripts/Scene/3/scene3_group133004286.lua b/Resources/Scripts/Scene/3/scene3_group133004286.lua index bf074e7ff..a1b69e286 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004286.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004286.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 7, route_2 = 300400611, gadget_seelie = 286002 diff --git a/Resources/Scripts/Scene/3/scene3_group133004295.lua b/Resources/Scripts/Scene/3/scene3_group133004295.lua index a7d8e2b49..6569684ab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004295.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004295.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 20, group_id = 133004295 } diff --git a/Resources/Scripts/Scene/3/scene3_group133004298.lua b/Resources/Scripts/Scene/3/scene3_group133004298.lua index a9e03919f..901dcbb1a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004298.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004298.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 20, kill_sum = 3, group_id = 133004298, diff --git a/Resources/Scripts/Scene/3/scene3_group133004310.lua b/Resources/Scripts/Scene/3/scene3_group133004310.lua index 0696b0ce1..2e7c08587 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004310.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004310.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 310004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133004335.lua b/Resources/Scripts/Scene/3/scene3_group133004335.lua index e660c5864..f22fa0173 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004335.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004335.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 335004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133004361.lua b/Resources/Scripts/Scene/3/scene3_group133004361.lua index 2bca4a498..9e5b5bb65 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004361.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004361.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 20, group_id = 133004361 } diff --git a/Resources/Scripts/Scene/3/scene3_group133004436.lua b/Resources/Scripts/Scene/3/scene3_group133004436.lua index 6c769f9ed..cc10f2239 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004436.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004436.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_1_duration = 300, group_id = 133004436, father_quest = 20058, @@ -15,7 +15,7 @@ defs = { -- DEFS_MISCS defs.quest_1_id = defs.father_quest.."03" - + defs.quest_1_success = defs.group_id.."01" diff --git a/Resources/Scripts/Scene/3/scene3_group133004441.lua b/Resources/Scripts/Scene/3/scene3_group133004441.lua index 9b89c19d6..0ea8067c0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004441.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004441.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 2, group_id = 133004441, diff --git a/Resources/Scripts/Scene/3/scene3_group133004453.lua b/Resources/Scripts/Scene/3/scene3_group133004453.lua index dc7ccb123..c496d5b55 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004453.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004453.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { option_1 = 7, option_2 = 2905, gadget_final = 453012, diff --git a/Resources/Scripts/Scene/3/scene3_group133004460.lua b/Resources/Scripts/Scene/3/scene3_group133004460.lua index 39d6ac375..0228b8982 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004460.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004460.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS --1.4风花节射气球活动-野猪林分会场 -defs = { +local defs = { gallery_id = 1005, gadget_entry = 460002, balloon_clear_state = 201, diff --git a/Resources/Scripts/Scene/3/scene3_group133004465.lua b/Resources/Scripts/Scene/3/scene3_group133004465.lua index 05aecbeda..85ccc9626 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004465.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004465.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { option_1 = 7, option_2 = 2905, gadget_final = 465003, diff --git a/Resources/Scripts/Scene/3/scene3_group133004471.lua b/Resources/Scripts/Scene/3/scene3_group133004471.lua index 6713dedec..1fa54338d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004471.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004471.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133004471, gadget_prison_list = {471003}, gadget_guide = {471074,471004,471005}, diff --git a/Resources/Scripts/Scene/3/scene3_group133004901.lua b/Resources/Scripts/Scene/3/scene3_group133004901.lua index 84f65cb35..a401062de 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004901.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004901.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 2, gadget_id_2 = 3, gadget_id_3 = 4, diff --git a/Resources/Scripts/Scene/3/scene3_group133004911.lua b/Resources/Scripts/Scene/3/scene3_group133004911.lua index 01410305f..b37ab4c98 100644 --- a/Resources/Scripts/Scene/3/scene3_group133004911.lua +++ b/Resources/Scripts/Scene/3/scene3_group133004911.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 911001, gadget_2 = 911002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133005001.lua b/Resources/Scripts/Scene/3/scene3_group133005001.lua index 41a143252..577a6c51f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133005001.lua +++ b/Resources/Scripts/Scene/3/scene3_group133005001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { radius = 10, group_id = 133005001, gadget_id = 1001, diff --git a/Resources/Scripts/Scene/3/scene3_group133005027.lua b/Resources/Scripts/Scene/3/scene3_group133005027.lua index 1f835eaf6..66957148e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133005027.lua +++ b/Resources/Scripts/Scene/3/scene3_group133005027.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 2, group_id = 133005027, diff --git a/Resources/Scripts/Scene/3/scene3_group133007052.lua b/Resources/Scripts/Scene/3/scene3_group133007052.lua index bc47644d7..e44b1f251 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007052.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007052.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { seal_light = 599, seal_hint_1 = 194, seal_hint_2 = 193, diff --git a/Resources/Scripts/Scene/3/scene3_group133007073.lua b/Resources/Scripts/Scene/3/scene3_group133007073.lua index 3510334cf..b196ca68f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007073.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007073.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 73001, gallery_id = 29008, region_id = 73005, diff --git a/Resources/Scripts/Scene/3/scene3_group133007082.lua b/Resources/Scripts/Scene/3/scene3_group133007082.lua index ade3f8829..34851499e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007082.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007082.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { order = {82006,82007,82008,82009}, region = 82013, region_Enter = 82013, diff --git a/Resources/Scripts/Scene/3/scene3_group133007088.lua b/Resources/Scripts/Scene/3/scene3_group133007088.lua index 46ba15bb1..c207ecb4d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007088.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007088.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_Enter = 88008, region_Leave = 88009, group_id = 133007088, diff --git a/Resources/Scripts/Scene/3/scene3_group133007122.lua b/Resources/Scripts/Scene/3/scene3_group133007122.lua index d2088d063..80fe36701 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007122.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007122.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 300700130, gadget_seelie = 122002 diff --git a/Resources/Scripts/Scene/3/scene3_group133007128.lua b/Resources/Scripts/Scene/3/scene3_group133007128.lua index c5b72e3a6..fce1c27e7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007128.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007128.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300700124, gadget_seelie = 128002 diff --git a/Resources/Scripts/Scene/3/scene3_group133007129.lua b/Resources/Scripts/Scene/3/scene3_group133007129.lua index ee1cece32..f3d9fc59b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007129.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007129.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 300700122, gadget_seelie = 129002 diff --git a/Resources/Scripts/Scene/3/scene3_group133007130.lua b/Resources/Scripts/Scene/3/scene3_group133007130.lua index fb803ce33..79182df35 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007130.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007130.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300700120, gadget_seelie = 130002 diff --git a/Resources/Scripts/Scene/3/scene3_group133007131.lua b/Resources/Scripts/Scene/3/scene3_group133007131.lua index 42a170258..495178f9a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007131.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007131.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 300700116, gadget_seelie = 131002 diff --git a/Resources/Scripts/Scene/3/scene3_group133007174.lua b/Resources/Scripts/Scene/3/scene3_group133007174.lua index fc8fdf34e..2753e4412 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007174.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007174.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 3, group_id = 133007174, diff --git a/Resources/Scripts/Scene/3/scene3_group133007176.lua b/Resources/Scripts/Scene/3/scene3_group133007176.lua index ccc4221e7..141fa6345 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007176.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007176.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 3, group_id = 133007176, diff --git a/Resources/Scripts/Scene/3/scene3_group133007187.lua b/Resources/Scripts/Scene/3/scene3_group133007187.lua index d556e7e03..27c3f25a3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007187.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007187.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300700126, gadget_seelie = 187002 diff --git a/Resources/Scripts/Scene/3/scene3_group133007190.lua b/Resources/Scripts/Scene/3/scene3_group133007190.lua index 52840bc93..2876b3151 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007190.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007190.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 300700128, gadget_seelie = 190002 diff --git a/Resources/Scripts/Scene/3/scene3_group133007203.lua b/Resources/Scripts/Scene/3/scene3_group133007203.lua index f7fcea46e..40bc70560 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007203.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007203.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 300700118, gadget_seelie = 203002 diff --git a/Resources/Scripts/Scene/3/scene3_group133007217.lua b/Resources/Scripts/Scene/3/scene3_group133007217.lua index 9f954e812..a434225e6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007217.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007217.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 3, group_id = 133007217, diff --git a/Resources/Scripts/Scene/3/scene3_group133007227.lua b/Resources/Scripts/Scene/3/scene3_group133007227.lua index ac3cc4886..abcc01629 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007227.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007227.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { seal_id = 974, light_1 = 964, group_id = 133007227, diff --git a/Resources/Scripts/Scene/3/scene3_group133007228.lua b/Resources/Scripts/Scene/3/scene3_group133007228.lua index af5994163..2aff6a79e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007228.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007228.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { seal_id = 980, light_1 = 966, light_2 = 967, diff --git a/Resources/Scripts/Scene/3/scene3_group133007229.lua b/Resources/Scripts/Scene/3/scene3_group133007229.lua index 351e14fa2..0908e2c03 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007229.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007229.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { seal_id = 975, light_1 = 970, light_2 = 971, diff --git a/Resources/Scripts/Scene/3/scene3_group133007230.lua b/Resources/Scripts/Scene/3/scene3_group133007230.lua index 771994235..e468f06e9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007230.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007230.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133007230, battle_radius = 15, battle_time = 120, diff --git a/Resources/Scripts/Scene/3/scene3_group133007261.lua b/Resources/Scripts/Scene/3/scene3_group133007261.lua index 51f0a7135..f78d424ba 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007261.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007261.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, group_id = 133007261 } diff --git a/Resources/Scripts/Scene/3/scene3_group133007263.lua b/Resources/Scripts/Scene/3/scene3_group133007263.lua index ab3cf3d8a..f88d21099 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007263.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007263.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, group_id = 133007263, gadget_sum = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133007292.lua b/Resources/Scripts/Scene/3/scene3_group133007292.lua index 2cb3b5def..de8c58746 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007292.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007292.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 3, group_id = 133007292, diff --git a/Resources/Scripts/Scene/3/scene3_group133007293.lua b/Resources/Scripts/Scene/3/scene3_group133007293.lua index dca7d2b50..5347da548 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007293.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007293.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {293014,293015,293016,293017}, diff --git a/Resources/Scripts/Scene/3/scene3_group133007294.lua b/Resources/Scripts/Scene/3/scene3_group133007294.lua index 20c1640a2..cfa58e4c0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007294.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007294.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {294001,294002,294003}, diff --git a/Resources/Scripts/Scene/3/scene3_group133007901.lua b/Resources/Scripts/Scene/3/scene3_group133007901.lua index 5542ef4f8..41e299622 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007901.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007901.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 19, gadget_id_2 = 20, gadget_id_3 = 21, diff --git a/Resources/Scripts/Scene/3/scene3_group133007902.lua b/Resources/Scripts/Scene/3/scene3_group133007902.lua index 82f95c69a..3c906968a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133007902.lua +++ b/Resources/Scripts/Scene/3/scene3_group133007902.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 902005, gadget_2 = 902009, gadget_3 = 902013 diff --git a/Resources/Scripts/Scene/3/scene3_group133008052.lua b/Resources/Scripts/Scene/3/scene3_group133008052.lua index 28883c344..da346e033 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008052.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008052.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133008052, gadget_riddle_hint = 52011, gadget_riddle_1 = 52012, diff --git a/Resources/Scripts/Scene/3/scene3_group133008077.lua b/Resources/Scripts/Scene/3/scene3_group133008077.lua index 5bb80778a..132a4f9a0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008077.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008077.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 300800011, gadget_seelie = 77002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008087.lua b/Resources/Scripts/Scene/3/scene3_group133008087.lua index 50e3e6ce8..851ba88d3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008087.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008087.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133008087 } diff --git a/Resources/Scripts/Scene/3/scene3_group133008091.lua b/Resources/Scripts/Scene/3/scene3_group133008091.lua index 7cd7cb095..b30816222 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008091.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008091.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300800013, gadget_seelie = 91002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008103.lua b/Resources/Scripts/Scene/3/scene3_group133008103.lua index 6a99f6078..c5ca92c53 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008103.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008103.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 21, route_2 = 300800020, gadget_seelie = 103002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008109.lua b/Resources/Scripts/Scene/3/scene3_group133008109.lua index a8f09b2ea..738a7a5f5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008109.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008109.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 27, route_2 = 300800025, gadget_seelie = 109002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008116.lua b/Resources/Scripts/Scene/3/scene3_group133008116.lua index 362f2a609..10f24dad6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008116.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008116.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 23, route_2 = 300800027, gadget_seelie = 116002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008117.lua b/Resources/Scripts/Scene/3/scene3_group133008117.lua index cc0329efb..2c00d5100 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008117.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008117.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --按想要的解谜顺序, 填子装置的config_id branch_gadgets = {117012, 117013, 117014}, --主装置的config_id,可填一个或多个 diff --git a/Resources/Scripts/Scene/3/scene3_group133008129.lua b/Resources/Scripts/Scene/3/scene3_group133008129.lua index 5769ddd0e..b3f88ba6f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008129.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008129.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 7, route_2 = 300800029, gadget_seelie = 129002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008159.lua b/Resources/Scripts/Scene/3/scene3_group133008159.lua index 5a2ae36e0..c44827d15 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008159.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008159.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 300800037, gadget_seelie = 159002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008162.lua b/Resources/Scripts/Scene/3/scene3_group133008162.lua index 6d51228b6..ea419b2a7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008162.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008162.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133008162 } diff --git a/Resources/Scripts/Scene/3/scene3_group133008163.lua b/Resources/Scripts/Scene/3/scene3_group133008163.lua index 47b3f326f..7c3c7a3d1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008163.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008163.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_list_1 = {163009,163013,163017,163018}, gadget_list_2 = {163010,163014,163015,163016}, reflect_table = {{gear=163008,result=163009},{gear=163003,result=163013},{gear=163002,result=163017},{gear=163005,result=163018},{gear=163007,result=163010},{gear=163001,result=163014},{gear=163004,result=163015},{gear=163006,result=163016}} diff --git a/Resources/Scripts/Scene/3/scene3_group133008168.lua b/Resources/Scripts/Scene/3/scene3_group133008168.lua index 18eee7276..16d321d7f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008168.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008168.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300800039, gadget_seelie = 168002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008193.lua b/Resources/Scripts/Scene/3/scene3_group133008193.lua index 47d1bfbae..b8c96654b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008193.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008193.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300800041, gadget_seelie = 193002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008195.lua b/Resources/Scripts/Scene/3/scene3_group133008195.lua index a8635e6dd..0b954e42a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008195.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008195.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 25, route_2 = 300800043, gadget_seelie = 195002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008207.lua b/Resources/Scripts/Scene/3/scene3_group133008207.lua index 2465004be..d10ad7c4a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008207.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008207.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300800046, gadget_seelie = 207002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008210.lua b/Resources/Scripts/Scene/3/scene3_group133008210.lua index f20bc9ff7..2b29a24fc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008210.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008210.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { GroupID = 133008210, AGRegionConfigID = 210019, AGName = "ActivityAbility_ToMoon_FoodChallenge_Part2", diff --git a/Resources/Scripts/Scene/3/scene3_group133008219.lua b/Resources/Scripts/Scene/3/scene3_group133008219.lua index 8260e4088..3c9ad15b8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008219.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008219.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300800050, gadget_seelie = 219002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008238.lua b/Resources/Scripts/Scene/3/scene3_group133008238.lua index 2970deb92..a7310e7a8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008238.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008238.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 300800054, gadget_seelie = 238002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008245.lua b/Resources/Scripts/Scene/3/scene3_group133008245.lua index 8cb187ffb..51c66f7e7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008245.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008245.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 25, route_2 = 300800056, gadget_seelie = 245002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008259.lua b/Resources/Scripts/Scene/3/scene3_group133008259.lua index c459efe30..c173db81e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008259.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008259.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133008259, gadget_sum = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133008314.lua b/Resources/Scripts/Scene/3/scene3_group133008314.lua index 6cc43a40f..66e78c123 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008314.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008314.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300800077, gadget_seelie = 314002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008318.lua b/Resources/Scripts/Scene/3/scene3_group133008318.lua index 4eb1e30ef..f3e82e421 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008318.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008318.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 16, group_id = 133008318 } diff --git a/Resources/Scripts/Scene/3/scene3_group133008345.lua b/Resources/Scripts/Scene/3/scene3_group133008345.lua index f6a3871bb..8acc3992c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008345.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008345.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 180, kill_sum = 6, group_id = 133008345, diff --git a/Resources/Scripts/Scene/3/scene3_group133008350.lua b/Resources/Scripts/Scene/3/scene3_group133008350.lua index 2d4fd3372..ac6c5fa5b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008350.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008350.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300800082, gadget_seelie = 350002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008380.lua b/Resources/Scripts/Scene/3/scene3_group133008380.lua index 77d39bda7..d0b4afa94 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008380.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008380.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {380001,380002,380003,380004,380005}, diff --git a/Resources/Scripts/Scene/3/scene3_group133008386.lua b/Resources/Scripts/Scene/3/scene3_group133008386.lua index 82f68e75e..db5f64777 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008386.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008386.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 386004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133008417.lua b/Resources/Scripts/Scene/3/scene3_group133008417.lua index 999c2d3b7..01e2c3c1a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008417.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008417.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133008417 } diff --git a/Resources/Scripts/Scene/3/scene3_group133008418.lua b/Resources/Scripts/Scene/3/scene3_group133008418.lua index c2fca3b13..27ac77f6e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008418.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008418.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator = 418009, blossom_chest = 418010, ice_storm = 418011, diff --git a/Resources/Scripts/Scene/3/scene3_group133008419.lua b/Resources/Scripts/Scene/3/scene3_group133008419.lua index fa09d77e5..5e4a74c95 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008419.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008419.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator = 419009, blossom_chest = 419010, ice_storm = 419011, diff --git a/Resources/Scripts/Scene/3/scene3_group133008420.lua b/Resources/Scripts/Scene/3/scene3_group133008420.lua index cdc5bb137..5fe0ef952 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008420.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008420.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator = 420009, blossom_chest = 420010, ice_storm = 420011, diff --git a/Resources/Scripts/Scene/3/scene3_group133008421.lua b/Resources/Scripts/Scene/3/scene3_group133008421.lua index 695ddd443..1abaca446 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008421.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008421.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator = 421009, blossom_chest = 421010, ice_storm = 421011, diff --git a/Resources/Scripts/Scene/3/scene3_group133008422.lua b/Resources/Scripts/Scene/3/scene3_group133008422.lua index 417d064b3..a243f18d6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008422.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008422.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator = 422010, blossom_chest = 422011, platform = 422013, diff --git a/Resources/Scripts/Scene/3/scene3_group133008429.lua b/Resources/Scripts/Scene/3/scene3_group133008429.lua index 7d55f3008..abee8ca21 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008429.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008429.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator = 429010, blossom_chest = 429011, platform = 429013, diff --git a/Resources/Scripts/Scene/3/scene3_group133008431.lua b/Resources/Scripts/Scene/3/scene3_group133008431.lua index 0095653fe..b8bc65d1d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008431.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008431.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator = 431009, blossom_chest = 431010, ice_storm = 431011, diff --git a/Resources/Scripts/Scene/3/scene3_group133008432.lua b/Resources/Scripts/Scene/3/scene3_group133008432.lua index 9bf9d2033..806e73993 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008432.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008432.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator = 432009, blossom_chest = 432010, ice_storm = 432011, diff --git a/Resources/Scripts/Scene/3/scene3_group133008433.lua b/Resources/Scripts/Scene/3/scene3_group133008433.lua index 951558a01..6351abe7a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008433.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008433.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator = 433009, blossom_chest = 433010, ice_storm = 433011, diff --git a/Resources/Scripts/Scene/3/scene3_group133008434.lua b/Resources/Scripts/Scene/3/scene3_group133008434.lua index 49961418d..e908762ea 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008434.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008434.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator = 434009, blossom_chest = 434010, ice_storm = 434011, diff --git a/Resources/Scripts/Scene/3/scene3_group133008462.lua b/Resources/Scripts/Scene/3/scene3_group133008462.lua index 7fd2e34e1..0a2e843b8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008462.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008462.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133008462 } diff --git a/Resources/Scripts/Scene/3/scene3_group133008463.lua b/Resources/Scripts/Scene/3/scene3_group133008463.lua index 206d4d3d8..84cdca07b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008463.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008463.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133008463, gadget_sum = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133008468.lua b/Resources/Scripts/Scene/3/scene3_group133008468.lua index 4be051bb5..f71dd2af3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008468.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008468.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 2, group_id = 133008468, diff --git a/Resources/Scripts/Scene/3/scene3_group133008474.lua b/Resources/Scripts/Scene/3/scene3_group133008474.lua index da060ef5a..8031a44b3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008474.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008474.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300800123, gadget_seelie = 474002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008475.lua b/Resources/Scripts/Scene/3/scene3_group133008475.lua index 673ddadb0..0819e25bf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008475.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008475.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300800125, gadget_seelie = 475002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008476.lua b/Resources/Scripts/Scene/3/scene3_group133008476.lua index 59694ce7a..4c152e681 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008476.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008476.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133008476 } diff --git a/Resources/Scripts/Scene/3/scene3_group133008477.lua b/Resources/Scripts/Scene/3/scene3_group133008477.lua index e38459e08..69dcafa75 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008477.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008477.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300800127, gadget_seelie = 477002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008478.lua b/Resources/Scripts/Scene/3/scene3_group133008478.lua index affde1493..b1eeee106 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008478.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008478.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133008478, gadget_sum = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133008479.lua b/Resources/Scripts/Scene/3/scene3_group133008479.lua index 8addd20e0..886228f84 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008479.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008479.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 180, kill_sum = 14, group_id = 133008479, diff --git a/Resources/Scripts/Scene/3/scene3_group133008483.lua b/Resources/Scripts/Scene/3/scene3_group133008483.lua index 04475a9a0..a27f808da 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008483.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008483.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300800129, gadget_seelie = 483002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008489.lua b/Resources/Scripts/Scene/3/scene3_group133008489.lua index 1f9cb3ea2..d237f4860 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008489.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008489.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133008489 } diff --git a/Resources/Scripts/Scene/3/scene3_group133008498.lua b/Resources/Scripts/Scene/3/scene3_group133008498.lua index d59bf4e90..664fb5329 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008498.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008498.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 29, route_2 = 300800135, gadget_seelie = 498002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008503.lua b/Resources/Scripts/Scene/3/scene3_group133008503.lua index 0dfd094f7..863fd33bc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008503.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008503.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, group_id = 133008503, gadget_sum = 5 diff --git a/Resources/Scripts/Scene/3/scene3_group133008504.lua b/Resources/Scripts/Scene/3/scene3_group133008504.lua index c9a00fc24..1f037ae2b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008504.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008504.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133008504, gadget_sum = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133008510.lua b/Resources/Scripts/Scene/3/scene3_group133008510.lua index c841d5275..e584d327b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008510.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008510.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300800137, gadget_seelie = 510002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008519.lua b/Resources/Scripts/Scene/3/scene3_group133008519.lua index 1019db37c..8183fad71 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008519.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008519.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133008519 } diff --git a/Resources/Scripts/Scene/3/scene3_group133008531.lua b/Resources/Scripts/Scene/3/scene3_group133008531.lua index 6dc3ee030..aaa523fdc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008531.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008531.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 300800148, gadget_seelie = 531002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008532.lua b/Resources/Scripts/Scene/3/scene3_group133008532.lua index 17d5a6ab5..0481dd09f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008532.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008532.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133008532 } diff --git a/Resources/Scripts/Scene/3/scene3_group133008534.lua b/Resources/Scripts/Scene/3/scene3_group133008534.lua index abd3ce55d..638088608 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008534.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008534.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 300800150, gadget_seelie = 534002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008535.lua b/Resources/Scripts/Scene/3/scene3_group133008535.lua index 43f0b12ba..c86961624 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008535.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008535.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133008535, gadget_sum = 5 diff --git a/Resources/Scripts/Scene/3/scene3_group133008557.lua b/Resources/Scripts/Scene/3/scene3_group133008557.lua index 533304fda..1ba11a6e4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008557.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008557.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 557004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133008558.lua b/Resources/Scripts/Scene/3/scene3_group133008558.lua index bae47a419..4f9b6c57c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008558.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008558.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, group_id = 133008558 } diff --git a/Resources/Scripts/Scene/3/scene3_group133008567.lua b/Resources/Scripts/Scene/3/scene3_group133008567.lua index ada6d4759..66e2429d1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008567.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008567.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, group_id = 133008567 } diff --git a/Resources/Scripts/Scene/3/scene3_group133008574.lua b/Resources/Scripts/Scene/3/scene3_group133008574.lua index bec76f568..77adacf57 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008574.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008574.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, group_id = 133008574 } diff --git a/Resources/Scripts/Scene/3/scene3_group133008577.lua b/Resources/Scripts/Scene/3/scene3_group133008577.lua index 00965bc0e..2d5b89c14 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008577.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008577.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 300800161, gadget_seelie = 577002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008578.lua b/Resources/Scripts/Scene/3/scene3_group133008578.lua index 01774a894..ef8334ab9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008578.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008578.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { GroupID = 133008578, AGRegionConfigID = 578022, AGName = "ActivityAbility_ToMoon_FoodChallenge_Part2", diff --git a/Resources/Scripts/Scene/3/scene3_group133008583.lua b/Resources/Scripts/Scene/3/scene3_group133008583.lua index 3ba82b3a8..155784fe8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008583.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008583.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300800163, gadget_seelie = 583002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008585.lua b/Resources/Scripts/Scene/3/scene3_group133008585.lua index 931eb5d33..fc8a0190e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008585.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008585.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133008585, gadget_sum = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133008586.lua b/Resources/Scripts/Scene/3/scene3_group133008586.lua index 0d69aace0..52a8dbe28 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008586.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008586.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { GroupID = 133008586, AGRegionConfigID = 586022, AGName = "ActivityAbility_ToMoon_FoodChallenge_Part2", diff --git a/Resources/Scripts/Scene/3/scene3_group133008588.lua b/Resources/Scripts/Scene/3/scene3_group133008588.lua index 94ca01c3c..28c114fe8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008588.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008588.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133008588, gadget_sum = 2 diff --git a/Resources/Scripts/Scene/3/scene3_group133008589.lua b/Resources/Scripts/Scene/3/scene3_group133008589.lua index badd4ef6a..5b888b5a5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008589.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008589.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133008589, gadget_sum = 2 diff --git a/Resources/Scripts/Scene/3/scene3_group133008591.lua b/Resources/Scripts/Scene/3/scene3_group133008591.lua index 3155c29f5..77a28e51d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008591.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008591.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133008591 } diff --git a/Resources/Scripts/Scene/3/scene3_group133008623.lua b/Resources/Scripts/Scene/3/scene3_group133008623.lua index fde503fef..b1740eb8a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008623.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008623.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 300800172, gadget_seelie = 623002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008630.lua b/Resources/Scripts/Scene/3/scene3_group133008630.lua index 7a8a099d4..213c499a2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008630.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008630.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133008630 } diff --git a/Resources/Scripts/Scene/3/scene3_group133008634.lua b/Resources/Scripts/Scene/3/scene3_group133008634.lua index 365e40086..5755e22c9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008634.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008634.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 300800190, gadget_seelie = 634002 diff --git a/Resources/Scripts/Scene/3/scene3_group133008654.lua b/Resources/Scripts/Scene/3/scene3_group133008654.lua index e443dc70f..7ad91c87b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008654.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008654.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { GroupID = 133008654, AGRegionConfigID = 654022, AGName = "ActivityAbility_ToMoon_FoodChallenge_Part2", diff --git a/Resources/Scripts/Scene/3/scene3_group133008659.lua b/Resources/Scripts/Scene/3/scene3_group133008659.lua index 08058495c..40fe088ed 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008659.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008659.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { GroupID = 133008659, AGRegionConfigID = 659022, AGName = "ActivityAbility_ToMoon_FoodChallenge_Part2", diff --git a/Resources/Scripts/Scene/3/scene3_group133008660.lua b/Resources/Scripts/Scene/3/scene3_group133008660.lua index ac3b1afea..8cab8fd60 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008660.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008660.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { GroupID = 133008660, AGRegionConfigID = 660022, AGName = "ActivityAbility_ToMoon_FoodChallenge_Part2", diff --git a/Resources/Scripts/Scene/3/scene3_group133008668.lua b/Resources/Scripts/Scene/3/scene3_group133008668.lua index 39a2e0261..51202e2a9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008668.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008668.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { order = {668006}, region = 668013, region_Enter = 668013, diff --git a/Resources/Scripts/Scene/3/scene3_group133008669.lua b/Resources/Scripts/Scene/3/scene3_group133008669.lua index d9b8dcf51..f409262a8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008669.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008669.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_Enter = 669008, region_Leave = 669009, group_id = 133008669, diff --git a/Resources/Scripts/Scene/3/scene3_group133008670.lua b/Resources/Scripts/Scene/3/scene3_group133008670.lua index ae53b23ab..c81bbda10 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008670.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008670.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { gallery_id = 13004 , group_id = 133008670, @@ -16,8 +16,7 @@ defs = { end_region = 670047, --玩法RegionID,进入此圈开启性能优化 - optimiz_region = {670141,670142,670143,670144} -, + optimiz_region = {670141,670142,670143,670144} , --全程终点在哪个suit,如果这个group非终点,则配0 ending_suit = 6, @@ -26,11 +25,7 @@ defs = { --金币和冰柱的对应关系 --[冰柱config_id]={金币config_id1,金币config_id2...} - coin_ice = { -[670005]={670012}, -[670115]={670011}, -[670119]={670025}, -[670126]={670023} + coin_ice = { [670005]={670012}, [670115]={670011}, [670119]={670025}, [670126]={670023} }, end_gadget = 670022, diff --git a/Resources/Scripts/Scene/3/scene3_group133008671.lua b/Resources/Scripts/Scene/3/scene3_group133008671.lua index f896766f0..033701d2e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008671.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008671.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133008671, --开启机关的configID,SelectOption为175,如果这个group非起点,则配0 load_on_start = {2,7}, diff --git a/Resources/Scripts/Scene/3/scene3_group133008672.lua b/Resources/Scripts/Scene/3/scene3_group133008672.lua index cfcba8858..1f5731e99 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008672.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008672.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133008672, --开启机关的configID,SelectOption为175,如果这个group非起点,则配0 load_on_start = {2,7}, diff --git a/Resources/Scripts/Scene/3/scene3_group133008673.lua b/Resources/Scripts/Scene/3/scene3_group133008673.lua index fb43d73aa..7aa7f5131 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008673.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008673.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { end_gadget = 673016, look_pos = {x=1177, y=408, z=-1028}, duration = 2, diff --git a/Resources/Scripts/Scene/3/scene3_group133008674.lua b/Resources/Scripts/Scene/3/scene3_group133008674.lua index bb917d2b9..20296c504 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008674.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008674.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --按想要的解谜顺序, 填子装置的config_id branch_gadgets = {674012, 674013, 674014}, --主装置的config_id,可填一个或多个 diff --git a/Resources/Scripts/Scene/3/scene3_group133008675.lua b/Resources/Scripts/Scene/3/scene3_group133008675.lua index 25716ed96..c57d21029 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008675.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008675.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --按想要的解谜顺序, 填子装置的config_id branch_gadgets = {675012, 675013, 675014}, --主装置的config_id,可填一个或多个 diff --git a/Resources/Scripts/Scene/3/scene3_group133008676.lua b/Resources/Scripts/Scene/3/scene3_group133008676.lua index 12004dde8..dd0f49784 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008676.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008676.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --按想要的解谜顺序, 填子装置的config_id branch_gadgets = {676012, 676013, 676014}, --主装置的config_id,可填一个或多个 diff --git a/Resources/Scripts/Scene/3/scene3_group133008677.lua b/Resources/Scripts/Scene/3/scene3_group133008677.lua index 0c69370fb..04b37c02d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008677.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008677.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133008677, challenge_id = 255, region_id = 677014, diff --git a/Resources/Scripts/Scene/3/scene3_group133008678.lua b/Resources/Scripts/Scene/3/scene3_group133008678.lua index 60a2b77c4..b0bae3533 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008678.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008678.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133008678, challenge_id = 255, region_id = 678014, diff --git a/Resources/Scripts/Scene/3/scene3_group133008679.lua b/Resources/Scripts/Scene/3/scene3_group133008679.lua index ab7d8a757..b4297bd78 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008679.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008679.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133008679, challenge_id = 255, region_id = 679014, diff --git a/Resources/Scripts/Scene/3/scene3_group133008680.lua b/Resources/Scripts/Scene/3/scene3_group133008680.lua index f5f7ed5d8..ffe01e645 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008680.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008680.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133008680, challenge_id = 255, region_id = 680014, diff --git a/Resources/Scripts/Scene/3/scene3_group133008681.lua b/Resources/Scripts/Scene/3/scene3_group133008681.lua index 80355ed7a..3e88dce6a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008681.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008681.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133008681, challenge_id = 255, region_id = 681014, diff --git a/Resources/Scripts/Scene/3/scene3_group133008682.lua b/Resources/Scripts/Scene/3/scene3_group133008682.lua index ab5881506..c0550c4a6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133008682.lua +++ b/Resources/Scripts/Scene/3/scene3_group133008682.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133008682, challenge_id = 255, region_id = 682014, diff --git a/Resources/Scripts/Scene/3/scene3_group133101019.lua b/Resources/Scripts/Scene/3/scene3_group133101019.lua index 0cf21469a..9867ecefd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133101019.lua +++ b/Resources/Scripts/Scene/3/scene3_group133101019.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 19001, gallery_id = 18010, region_id = 19002, diff --git a/Resources/Scripts/Scene/3/scene3_group133101046.lua b/Resources/Scripts/Scene/3/scene3_group133101046.lua index b3f77212c..344684bc9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133101046.lua +++ b/Resources/Scripts/Scene/3/scene3_group133101046.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133101046, gadget_riddle_hint = 46001, gadget_riddle_1 = 46002, diff --git a/Resources/Scripts/Scene/3/scene3_group133101050.lua b/Resources/Scripts/Scene/3/scene3_group133101050.lua index 0f444d4f4..5a7c949a4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133101050.lua +++ b/Resources/Scripts/Scene/3/scene3_group133101050.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310100065, gadget_seelie = 50002 diff --git a/Resources/Scripts/Scene/3/scene3_group133101062.lua b/Resources/Scripts/Scene/3/scene3_group133101062.lua index d15fba684..d7a98e724 100644 --- a/Resources/Scripts/Scene/3/scene3_group133101062.lua +++ b/Resources/Scripts/Scene/3/scene3_group133101062.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_1_duration = 40, challenge_2_duration = 55, challenge_3_duration = 45, diff --git a/Resources/Scripts/Scene/3/scene3_group133101085.lua b/Resources/Scripts/Scene/3/scene3_group133101085.lua index 175359404..ac54da7db 100644 --- a/Resources/Scripts/Scene/3/scene3_group133101085.lua +++ b/Resources/Scripts/Scene/3/scene3_group133101085.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133101085, gadget_target_1 = 85003, monster_mole_1 = 85001, diff --git a/Resources/Scripts/Scene/3/scene3_group133101106.lua b/Resources/Scripts/Scene/3/scene3_group133101106.lua index a4d6b6d28..69595dc7d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133101106.lua +++ b/Resources/Scripts/Scene/3/scene3_group133101106.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 180, kill_sum = 5, group_id = 133101106, diff --git a/Resources/Scripts/Scene/3/scene3_group133101107.lua b/Resources/Scripts/Scene/3/scene3_group133101107.lua index 4bbb93ae9..06db163cd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133101107.lua +++ b/Resources/Scripts/Scene/3/scene3_group133101107.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 200, kill_sum = 6, group_id = 133101107, diff --git a/Resources/Scripts/Scene/3/scene3_group133101119.lua b/Resources/Scripts/Scene/3/scene3_group133101119.lua index aaa48ef50..7185aa963 100644 --- a/Resources/Scripts/Scene/3/scene3_group133101119.lua +++ b/Resources/Scripts/Scene/3/scene3_group133101119.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133101119, gadget_target_1 = 119003, monster_mole_1 = 119001, diff --git a/Resources/Scripts/Scene/3/scene3_group133101120.lua b/Resources/Scripts/Scene/3/scene3_group133101120.lua index ff54a5ee5..96da50af3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133101120.lua +++ b/Resources/Scripts/Scene/3/scene3_group133101120.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133101120, gadget_target_1 = 120003, monster_mole_1 = 120001, diff --git a/Resources/Scripts/Scene/3/scene3_group133101125.lua b/Resources/Scripts/Scene/3/scene3_group133101125.lua index ab2d7111e..f5cece054 100644 --- a/Resources/Scripts/Scene/3/scene3_group133101125.lua +++ b/Resources/Scripts/Scene/3/scene3_group133101125.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133101125, gadget_target_1S = 125002, gadget_target_1E = 125005, diff --git a/Resources/Scripts/Scene/3/scene3_group133101133.lua b/Resources/Scripts/Scene/3/scene3_group133101133.lua index 5da5da210..3fe420f5c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133101133.lua +++ b/Resources/Scripts/Scene/3/scene3_group133101133.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 310100098, gadget_seelie = 133002 diff --git a/Resources/Scripts/Scene/3/scene3_group133101141.lua b/Resources/Scripts/Scene/3/scene3_group133101141.lua index 53603189e..ea343ab8f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133101141.lua +++ b/Resources/Scripts/Scene/3/scene3_group133101141.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 310100107, gadget_seelie = 141002 diff --git a/Resources/Scripts/Scene/3/scene3_group133101142.lua b/Resources/Scripts/Scene/3/scene3_group133101142.lua index c6233d144..9f687582e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133101142.lua +++ b/Resources/Scripts/Scene/3/scene3_group133101142.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 310100109, gadget_seelie = 142002 diff --git a/Resources/Scripts/Scene/3/scene3_group133101144.lua b/Resources/Scripts/Scene/3/scene3_group133101144.lua index f40122f5c..775147fe0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133101144.lua +++ b/Resources/Scripts/Scene/3/scene3_group133101144.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 5, group_id = 133101144, diff --git a/Resources/Scripts/Scene/3/scene3_group133101154.lua b/Resources/Scripts/Scene/3/scene3_group133101154.lua index 5c8da0a83..47d17b3ab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133101154.lua +++ b/Resources/Scripts/Scene/3/scene3_group133101154.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133101154, gadget_target_1S = 154002, gadget_target_1E = 154005, diff --git a/Resources/Scripts/Scene/3/scene3_group133101187.lua b/Resources/Scripts/Scene/3/scene3_group133101187.lua index 1747f9cf6..b26881611 100644 --- a/Resources/Scripts/Scene/3/scene3_group133101187.lua +++ b/Resources/Scripts/Scene/3/scene3_group133101187.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, group_id = 133101187 } diff --git a/Resources/Scripts/Scene/3/scene3_group133101205.lua b/Resources/Scripts/Scene/3/scene3_group133101205.lua index f893e2d2e..6dc473497 100644 --- a/Resources/Scripts/Scene/3/scene3_group133101205.lua +++ b/Resources/Scripts/Scene/3/scene3_group133101205.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 1, group_id = 133101205, diff --git a/Resources/Scripts/Scene/3/scene3_group133101251.lua b/Resources/Scripts/Scene/3/scene3_group133101251.lua index 2c9b7c87c..202cfd018 100644 --- a/Resources/Scripts/Scene/3/scene3_group133101251.lua +++ b/Resources/Scripts/Scene/3/scene3_group133101251.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 251011, gadget_2 = 251012, gadget_3 = 251013 diff --git a/Resources/Scripts/Scene/3/scene3_group133102002.lua b/Resources/Scripts/Scene/3/scene3_group133102002.lua index da30417dd..048500940 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102002.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { quest_1_fail = "2500040440102", quest_1_success = "2500040440101", quest_2_fail = "2500040440202", diff --git a/Resources/Scripts/Scene/3/scene3_group133102077.lua b/Resources/Scripts/Scene/3/scene3_group133102077.lua index 354ebdf87..25d6ea0b4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102077.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102077.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133102077, gadget_riddle_hint = 305, gadget_riddle_1 = 306, diff --git a/Resources/Scripts/Scene/3/scene3_group133102104.lua b/Resources/Scripts/Scene/3/scene3_group133102104.lua index bf0a2a1a9..fdf921c20 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102104.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102104.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 104011, gadget_2 = 104012, gadget_3 = 104013 diff --git a/Resources/Scripts/Scene/3/scene3_group133102112.lua b/Resources/Scripts/Scene/3/scene3_group133102112.lua index bf536869d..ff01d35bc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102112.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102112.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_operator_list = {112001,112002,112003,112004,112010,112016,112017,112018,112019}, gadget_operator = 112012, summon_interval = 15, diff --git a/Resources/Scripts/Scene/3/scene3_group133102120.lua b/Resources/Scripts/Scene/3/scene3_group133102120.lua index ec834b0ff..23a1d5e82 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102120.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102120.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer_region = 120010, challenge_region = 120002, monster_hilichurl = 120001, diff --git a/Resources/Scripts/Scene/3/scene3_group133102125.lua b/Resources/Scripts/Scene/3/scene3_group133102125.lua index 5dd493f21..129b4691c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102125.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102125.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { switchPad = 460, treasureBox = 457 } diff --git a/Resources/Scripts/Scene/3/scene3_group133102171.lua b/Resources/Scripts/Scene/3/scene3_group133102171.lua index 404d64fa6..cd5d85e3a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102171.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102171.lua @@ -4,16 +4,14 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133102171, gadget_prison_list = {171001}, gadget_guide = {171057,171058,171059}, bait_list = { [1] = {171053,171054,171055}, - [2] = {171060,171061,171062 -}, - [3] = {171063,171064,171065 -}, + [2] = {171060,171061,171062 }, + [3] = {171063,171064,171065 }, }, duration = 210, rampage_time = 40, diff --git a/Resources/Scripts/Scene/3/scene3_group133102172.lua b/Resources/Scripts/Scene/3/scene3_group133102172.lua index 3344e53f0..e6acaa92b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102172.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102172.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133102172, gadget_target_1S = 172002, gadget_target_1E = 172005, diff --git a/Resources/Scripts/Scene/3/scene3_group133102173.lua b/Resources/Scripts/Scene/3/scene3_group133102173.lua index d508ee99b..98bca77e6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102173.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102173.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133102173, gadget_target_1S = 173002, gadget_target_1E = 173005, diff --git a/Resources/Scripts/Scene/3/scene3_group133102216.lua b/Resources/Scripts/Scene/3/scene3_group133102216.lua index af127d51e..645c16bc2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102216.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102216.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_prison = 216001, duration = 210, rampage_time = 40, diff --git a/Resources/Scripts/Scene/3/scene3_group133102221.lua b/Resources/Scripts/Scene/3/scene3_group133102221.lua index 337559430..cd56995d3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102221.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102221.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 221001, gallery_id = 18006, region_id = 221002, diff --git a/Resources/Scripts/Scene/3/scene3_group133102223.lua b/Resources/Scripts/Scene/3/scene3_group133102223.lua index 3d3605db6..f37a8505a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102223.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102223.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_prison = 223001, duration = 210, rampage_time = 40, diff --git a/Resources/Scripts/Scene/3/scene3_group133102269.lua b/Resources/Scripts/Scene/3/scene3_group133102269.lua index ef359c053..b045f5049 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102269.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102269.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { box_1 = 1037, box_2 = 1038, box_3 = 1039, diff --git a/Resources/Scripts/Scene/3/scene3_group133102270.lua b/Resources/Scripts/Scene/3/scene3_group133102270.lua index 826e4c9f7..d0d26cfb9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102270.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102270.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 5, route_2 = 310200108, gadget_seelie = 270002 diff --git a/Resources/Scripts/Scene/3/scene3_group133102271.lua b/Resources/Scripts/Scene/3/scene3_group133102271.lua index 49a21d5c8..00a174443 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102271.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102271.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 5, route_2 = 310200110, gadget_seelie = 271002 diff --git a/Resources/Scripts/Scene/3/scene3_group133102294.lua b/Resources/Scripts/Scene/3/scene3_group133102294.lua index b264aa6d3..a3a2b5557 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102294.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102294.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { switchPad = 460, treasureBox = 457 } diff --git a/Resources/Scripts/Scene/3/scene3_group133102296.lua b/Resources/Scripts/Scene/3/scene3_group133102296.lua index d83a0b2e7..aa4ac17d9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102296.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102296.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, kill_sum = 6, group_id = 133102296, diff --git a/Resources/Scripts/Scene/3/scene3_group133102326.lua b/Resources/Scripts/Scene/3/scene3_group133102326.lua index 9e44d7232..a0bc882b0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102326.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102326.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133102326, gadget_target_1S = 326002, gadget_target_1E = 326005, diff --git a/Resources/Scripts/Scene/3/scene3_group133102330.lua b/Resources/Scripts/Scene/3/scene3_group133102330.lua index 98ae887c7..473cc5867 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102330.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102330.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 310200123, gadget_seelie = 330002 diff --git a/Resources/Scripts/Scene/3/scene3_group133102345.lua b/Resources/Scripts/Scene/3/scene3_group133102345.lua index 0a395e249..0f26385ad 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102345.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102345.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 310200130, gadget_seelie = 345002 diff --git a/Resources/Scripts/Scene/3/scene3_group133102363.lua b/Resources/Scripts/Scene/3/scene3_group133102363.lua index eaeab78bf..2912396f2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102363.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102363.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { box_1 = 375002, box_2 = 375003, box_3 = 375005, diff --git a/Resources/Scripts/Scene/3/scene3_group133102375.lua b/Resources/Scripts/Scene/3/scene3_group133102375.lua index 52c774641..97eec9974 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102375.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102375.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { box_1 = 375002, box_2 = 375003, box_3 = 375005, diff --git a/Resources/Scripts/Scene/3/scene3_group133102377.lua b/Resources/Scripts/Scene/3/scene3_group133102377.lua index abd47d5fb..dff5f4295 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102377.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102377.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310200134, gadget_seelie = 377002 diff --git a/Resources/Scripts/Scene/3/scene3_group133102388.lua b/Resources/Scripts/Scene/3/scene3_group133102388.lua index 3ce99b80c..3ee6b0fa0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102388.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102388.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310200137, gadget_seelie = 388002 diff --git a/Resources/Scripts/Scene/3/scene3_group133102401.lua b/Resources/Scripts/Scene/3/scene3_group133102401.lua index 7247a6e20..8c6c6f81d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102401.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102401.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133102401, gadget_riddle_hint = 401001, gadget_riddle_1 = 401002, diff --git a/Resources/Scripts/Scene/3/scene3_group133102416.lua b/Resources/Scripts/Scene/3/scene3_group133102416.lua index d5ce2d5ab..35562b8ab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102416.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102416.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 6, route_2 = 310200145, gadget_seelie = 416002 diff --git a/Resources/Scripts/Scene/3/scene3_group133102417.lua b/Resources/Scripts/Scene/3/scene3_group133102417.lua index b2a378f29..98f3dd964 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102417.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102417.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133102417, gadget_target_1 = 417003, monster_mole_1 = 417001, diff --git a/Resources/Scripts/Scene/3/scene3_group133102422.lua b/Resources/Scripts/Scene/3/scene3_group133102422.lua index 543b2b373..e2dbca0e9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102422.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102422.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 6, route_2 = 310200147, gadget_seelie = 422002 diff --git a/Resources/Scripts/Scene/3/scene3_group133102430.lua b/Resources/Scripts/Scene/3/scene3_group133102430.lua index 856fe9b28..36515bdb9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102430.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102430.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133102430, gadget_target_1 = 430003, monster_mole_1 = 430001, diff --git a/Resources/Scripts/Scene/3/scene3_group133102432.lua b/Resources/Scripts/Scene/3/scene3_group133102432.lua index c708590c5..4fa7605c4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102432.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102432.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133102432, gadget_target_1 = 432003, monster_mole_1 = 432001, diff --git a/Resources/Scripts/Scene/3/scene3_group133102433.lua b/Resources/Scripts/Scene/3/scene3_group133102433.lua index c7db2a92a..04cd1c54e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102433.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102433.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133102433, gadget_target_1 = 433003, monster_mole_1 = 433001, diff --git a/Resources/Scripts/Scene/3/scene3_group133102447.lua b/Resources/Scripts/Scene/3/scene3_group133102447.lua index 1b10daf8c..4c8347522 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102447.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102447.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133102447, gadget_target_1 = 447003, monster_mole_1 = 447001, diff --git a/Resources/Scripts/Scene/3/scene3_group133102495.lua b/Resources/Scripts/Scene/3/scene3_group133102495.lua index 8d55b87b2..114c44f3a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102495.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102495.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 23, route_2 = 310200164, gadget_seelie = 495002 diff --git a/Resources/Scripts/Scene/3/scene3_group133102501.lua b/Resources/Scripts/Scene/3/scene3_group133102501.lua index 5a44f9cf4..b54ba8028 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102501.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102501.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310200166, gadget_seelie = 501002 diff --git a/Resources/Scripts/Scene/3/scene3_group133102513.lua b/Resources/Scripts/Scene/3/scene3_group133102513.lua index ca7f2cef6..7f840fd55 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102513.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102513.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 2, timer = 10, group_id = 133102513, diff --git a/Resources/Scripts/Scene/3/scene3_group133102515.lua b/Resources/Scripts/Scene/3/scene3_group133102515.lua index 78654e2d5..b856ee480 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102515.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102515.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 515004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133102521.lua b/Resources/Scripts/Scene/3/scene3_group133102521.lua index 49c94f096..774972a83 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102521.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102521.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310200172, gadget_seelie = 521002 diff --git a/Resources/Scripts/Scene/3/scene3_group133102525.lua b/Resources/Scripts/Scene/3/scene3_group133102525.lua index cffca40a4..37a98bee0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102525.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102525.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 4, group_id = 133102525, diff --git a/Resources/Scripts/Scene/3/scene3_group133102539.lua b/Resources/Scripts/Scene/3/scene3_group133102539.lua index bce537f93..87747a3fc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102539.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102539.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133102539, gadget_target_1 = 539003, monster_mole_1 = 539001, diff --git a/Resources/Scripts/Scene/3/scene3_group133102548.lua b/Resources/Scripts/Scene/3/scene3_group133102548.lua index 39b275561..2b6cc5fad 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102548.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102548.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 180, kill_sum = 6, group_id = 133102548, diff --git a/Resources/Scripts/Scene/3/scene3_group133102560.lua b/Resources/Scripts/Scene/3/scene3_group133102560.lua index 57e4f1137..2d16b1a10 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102560.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102560.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133102560, gadget_target_1 = 560003, monster_mole_1 = 560001, diff --git a/Resources/Scripts/Scene/3/scene3_group133102563.lua b/Resources/Scripts/Scene/3/scene3_group133102563.lua index 3c2fafd17..cb1bc9a8a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102563.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102563.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 6, group_id = 133102563 diff --git a/Resources/Scripts/Scene/3/scene3_group133102572.lua b/Resources/Scripts/Scene/3/scene3_group133102572.lua index cf672a7b4..1bca8c715 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102572.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102572.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 572004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133102574.lua b/Resources/Scripts/Scene/3/scene3_group133102574.lua index dd180b669..c4719eb08 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102574.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102574.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310200176, gadget_seelie = 574002 diff --git a/Resources/Scripts/Scene/3/scene3_group133102576.lua b/Resources/Scripts/Scene/3/scene3_group133102576.lua index 1c5d1abd4..1897c9caa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102576.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102576.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133102576, gadget_target_1S = 576002, gadget_target_1E = 576005, diff --git a/Resources/Scripts/Scene/3/scene3_group133102599.lua b/Resources/Scripts/Scene/3/scene3_group133102599.lua index a0ad622be..45bec7eab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102599.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102599.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 6, group_id = 133102599, diff --git a/Resources/Scripts/Scene/3/scene3_group133102604.lua b/Resources/Scripts/Scene/3/scene3_group133102604.lua index 8edad78a1..c16ab3899 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102604.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102604.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310200181, gadget_seelie = 604002 diff --git a/Resources/Scripts/Scene/3/scene3_group133102606.lua b/Resources/Scripts/Scene/3/scene3_group133102606.lua index f53d1b2ca..997755d52 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102606.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102606.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 4, group_id = 133102606, diff --git a/Resources/Scripts/Scene/3/scene3_group133102628.lua b/Resources/Scripts/Scene/3/scene3_group133102628.lua index 50699f940..fb824fe05 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102628.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102628.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 310200196, gadget_seelie = 628002 diff --git a/Resources/Scripts/Scene/3/scene3_group133102630.lua b/Resources/Scripts/Scene/3/scene3_group133102630.lua index d6abb44a4..20ec91350 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102630.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102630.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310200201, gadget_seelie = 630002 diff --git a/Resources/Scripts/Scene/3/scene3_group133102648.lua b/Resources/Scripts/Scene/3/scene3_group133102648.lua index 438631321..6c91ec45e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102648.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102648.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310200207, gadget_seelie = 648002 diff --git a/Resources/Scripts/Scene/3/scene3_group133102671.lua b/Resources/Scripts/Scene/3/scene3_group133102671.lua index b54633e60..b2c6f1afb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102671.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102671.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310200223, gadget_seelie = 671002 diff --git a/Resources/Scripts/Scene/3/scene3_group133102686.lua b/Resources/Scripts/Scene/3/scene3_group133102686.lua index e07bcff33..39254629f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102686.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102686.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 60, group_id = 133102686, diff --git a/Resources/Scripts/Scene/3/scene3_group133102697.lua b/Resources/Scripts/Scene/3/scene3_group133102697.lua index 4b2651c52..85aedcc49 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102697.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102697.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 3, group_id = 133102697, diff --git a/Resources/Scripts/Scene/3/scene3_group133102720.lua b/Resources/Scripts/Scene/3/scene3_group133102720.lua index cd896e6cc..ef84dea01 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102720.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102720.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {720011,720017,720020,720021,720022}, diff --git a/Resources/Scripts/Scene/3/scene3_group133102728.lua b/Resources/Scripts/Scene/3/scene3_group133102728.lua index dd6befc2f..d03c5ae65 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102728.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102728.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310200232, gadget_seelie = 728002 diff --git a/Resources/Scripts/Scene/3/scene3_group133102730.lua b/Resources/Scripts/Scene/3/scene3_group133102730.lua index ca30e5d27..c8ab5dc79 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102730.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102730.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 21, route_2 = 310200234, gadget_seelie = 730002 diff --git a/Resources/Scripts/Scene/3/scene3_group133102758.lua b/Resources/Scripts/Scene/3/scene3_group133102758.lua index 687462645..0873fd0d6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102758.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102758.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133102758, gadget_riddle_hint = 758001, gadget_riddle_1 = 758002, diff --git a/Resources/Scripts/Scene/3/scene3_group133102769.lua b/Resources/Scripts/Scene/3/scene3_group133102769.lua index 57eb1e891..45c67a0a7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102769.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102769.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { born_radius = 6, gadget_hp_checker = 769010, gadget_boss_operator = 769011, diff --git a/Resources/Scripts/Scene/3/scene3_group133102777.lua b/Resources/Scripts/Scene/3/scene3_group133102777.lua index c32357f6b..cd154c3cf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102777.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102777.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 777004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133102791.lua b/Resources/Scripts/Scene/3/scene3_group133102791.lua index cffdf4420..96487943d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102791.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102791.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133102791, gadget_sum = 5 diff --git a/Resources/Scripts/Scene/3/scene3_group133102792.lua b/Resources/Scripts/Scene/3/scene3_group133102792.lua index dee72788b..e3d06cf97 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102792.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102792.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 15, group_id = 133102792, gadget_sum = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133102793.lua b/Resources/Scripts/Scene/3/scene3_group133102793.lua index 59227fe22..6ea4a0504 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102793.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102793.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 3, group_id = 133102793, diff --git a/Resources/Scripts/Scene/3/scene3_group133102794.lua b/Resources/Scripts/Scene/3/scene3_group133102794.lua index e37e062c4..53462d3df 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102794.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102794.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133102794, gadget_sum = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133102795.lua b/Resources/Scripts/Scene/3/scene3_group133102795.lua index 0d1a73665..78cc568e1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102795.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102795.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {795001,795002,795003,795004}, diff --git a/Resources/Scripts/Scene/3/scene3_group133102901.lua b/Resources/Scripts/Scene/3/scene3_group133102901.lua index 7004a6f1f..12029ed1b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102901.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102901.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 1, gadget_2 = 2 } diff --git a/Resources/Scripts/Scene/3/scene3_group133102904.lua b/Resources/Scripts/Scene/3/scene3_group133102904.lua index 086704cde..fa2f4612c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133102904.lua +++ b/Resources/Scripts/Scene/3/scene3_group133102904.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 904010 } diff --git a/Resources/Scripts/Scene/3/scene3_group133103080.lua b/Resources/Scripts/Scene/3/scene3_group133103080.lua index 3e049a7f3..6b8b644d1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103080.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103080.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103080, gadget_target_1S = 80002, gadget_target_1E = 80005, diff --git a/Resources/Scripts/Scene/3/scene3_group133103095.lua b/Resources/Scripts/Scene/3/scene3_group133103095.lua index 6814790c7..5c688d820 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103095.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103095.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { ButtonLeftConfig = 95001, ButtonRightConfig = 95002, StoveConfig = 95003, diff --git a/Resources/Scripts/Scene/3/scene3_group133103098.lua b/Resources/Scripts/Scene/3/scene3_group133103098.lua index 5b76c546b..d2550e9f8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103098.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103098.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103098, gadget_riddle_hint = 314, gadget_riddle_1 = 315, diff --git a/Resources/Scripts/Scene/3/scene3_group133103101.lua b/Resources/Scripts/Scene/3/scene3_group133103101.lua index 25a9a2104..11f23bfc2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103101.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103101.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, kill_sum = 1, group_id = 133103101, diff --git a/Resources/Scripts/Scene/3/scene3_group133103108.lua b/Resources/Scripts/Scene/3/scene3_group133103108.lua index 53b35b9b3..7c32db54f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103108.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103108.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 70, group_id = 133103108, gadget_sum = 1 diff --git a/Resources/Scripts/Scene/3/scene3_group133103109.lua b/Resources/Scripts/Scene/3/scene3_group133103109.lua index ad6980771..dac68c56a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103109.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103109.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 10, group_id = 133103109, diff --git a/Resources/Scripts/Scene/3/scene3_group133103110.lua b/Resources/Scripts/Scene/3/scene3_group133103110.lua index c803cdcfc..21f6970cc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103110.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103110.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 1, group_id = 133103110, diff --git a/Resources/Scripts/Scene/3/scene3_group133103112.lua b/Resources/Scripts/Scene/3/scene3_group133103112.lua index 9b2d671e1..450c018b6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103112.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103112.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 5, route_2 = 310300026, gadget_seelie = 112002 diff --git a/Resources/Scripts/Scene/3/scene3_group133103114.lua b/Resources/Scripts/Scene/3/scene3_group133103114.lua index 723b16ece..9b3d282a1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103114.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103114.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310300028, gadget_seelie = 114002 diff --git a/Resources/Scripts/Scene/3/scene3_group133103116.lua b/Resources/Scripts/Scene/3/scene3_group133103116.lua index 15a526560..2fb89d925 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103116.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103116.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103116, gadget_target_1S = 116002, gadget_target_1E = 116005, diff --git a/Resources/Scripts/Scene/3/scene3_group133103117.lua b/Resources/Scripts/Scene/3/scene3_group133103117.lua index 144a5ee9b..6855a3ac9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103117.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103117.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 4, group_id = 133103117, diff --git a/Resources/Scripts/Scene/3/scene3_group133103118.lua b/Resources/Scripts/Scene/3/scene3_group133103118.lua index a80bb2ea6..cfe25b126 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103118.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103118.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 310300033, gadget_seelie = 118002 diff --git a/Resources/Scripts/Scene/3/scene3_group133103119.lua b/Resources/Scripts/Scene/3/scene3_group133103119.lua index 8c68f657f..00833b23c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103119.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103119.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 10, group_id = 133103119, diff --git a/Resources/Scripts/Scene/3/scene3_group133103138.lua b/Resources/Scripts/Scene/3/scene3_group133103138.lua index 68886b54b..c0385147b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103138.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103138.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310300035, gadget_seelie = 138002 diff --git a/Resources/Scripts/Scene/3/scene3_group133103146.lua b/Resources/Scripts/Scene/3/scene3_group133103146.lua index ef46a8409..1d4c996a7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103146.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103146.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 2, group_id = 133103146, diff --git a/Resources/Scripts/Scene/3/scene3_group133103150.lua b/Resources/Scripts/Scene/3/scene3_group133103150.lua index 85ebff59c..cae03ccc2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103150.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103150.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103150, gadget_target_1S = 150002, gadget_target_1E = 150005, diff --git a/Resources/Scripts/Scene/3/scene3_group133103154.lua b/Resources/Scripts/Scene/3/scene3_group133103154.lua index 861787182..efe091037 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103154.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103154.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 310300040, gadget_seelie = 154002 diff --git a/Resources/Scripts/Scene/3/scene3_group133103156.lua b/Resources/Scripts/Scene/3/scene3_group133103156.lua index ab7d89157..729183276 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103156.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103156.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310300042, gadget_seelie = 156002 diff --git a/Resources/Scripts/Scene/3/scene3_group133103157.lua b/Resources/Scripts/Scene/3/scene3_group133103157.lua index e463a5024..e304370c7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103157.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103157.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 10, group_id = 133103157, diff --git a/Resources/Scripts/Scene/3/scene3_group133103159.lua b/Resources/Scripts/Scene/3/scene3_group133103159.lua index f2e0aa0d8..90cf222b8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103159.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103159.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 2, group_id = 133103159, diff --git a/Resources/Scripts/Scene/3/scene3_group133103160.lua b/Resources/Scripts/Scene/3/scene3_group133103160.lua index 5058f46e4..34aacd074 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103160.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103160.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310300044, gadget_seelie = 160002 diff --git a/Resources/Scripts/Scene/3/scene3_group133103162.lua b/Resources/Scripts/Scene/3/scene3_group133103162.lua index aeeb988ec..03d7014f3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103162.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103162.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103162, gadget_target_1S = 162002, gadget_target_1E = 162005, diff --git a/Resources/Scripts/Scene/3/scene3_group133103171.lua b/Resources/Scripts/Scene/3/scene3_group133103171.lua index 45aa640b8..12b986349 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103171.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103171.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103171, gadget_target_1S = 171002, gadget_target_1E = 171005, diff --git a/Resources/Scripts/Scene/3/scene3_group133103176.lua b/Resources/Scripts/Scene/3/scene3_group133103176.lua index 8cb674147..ed43a91b1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103176.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103176.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310300054, gadget_seelie = 176002 diff --git a/Resources/Scripts/Scene/3/scene3_group133103184.lua b/Resources/Scripts/Scene/3/scene3_group133103184.lua index 6e80662db..d6ec74892 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103184.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103184.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, kill_sum = 3, group_id = 133103184, diff --git a/Resources/Scripts/Scene/3/scene3_group133103185.lua b/Resources/Scripts/Scene/3/scene3_group133103185.lua index 8062a699d..a56efa4fa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103185.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103185.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103185, gadget_target_1S = 185002, gadget_target_1E = 185005, diff --git a/Resources/Scripts/Scene/3/scene3_group133103186.lua b/Resources/Scripts/Scene/3/scene3_group133103186.lua index c293893d8..192aa0b61 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103186.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103186.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, kill_sum = 3, group_id = 133103186, diff --git a/Resources/Scripts/Scene/3/scene3_group133103189.lua b/Resources/Scripts/Scene/3/scene3_group133103189.lua index bdfbc0520..6506f6725 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103189.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103189.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103189, gadget_target_1S = 189002, gadget_target_1E = 189005, diff --git a/Resources/Scripts/Scene/3/scene3_group133103190.lua b/Resources/Scripts/Scene/3/scene3_group133103190.lua index 35e21a181..7b56636e7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103190.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103190.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310300062, gadget_seelie = 190002 diff --git a/Resources/Scripts/Scene/3/scene3_group133103191.lua b/Resources/Scripts/Scene/3/scene3_group133103191.lua index d4ae6123e..8014a3911 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103191.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103191.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, kill_sum = 2, group_id = 133103191, diff --git a/Resources/Scripts/Scene/3/scene3_group133103193.lua b/Resources/Scripts/Scene/3/scene3_group133103193.lua index 73db101a1..e81f6ce05 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103193.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103193.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103193, gadget_target_1S = 193002, gadget_target_1E = 193005, diff --git a/Resources/Scripts/Scene/3/scene3_group133103196.lua b/Resources/Scripts/Scene/3/scene3_group133103196.lua index 6f961b620..f24ca0f2f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103196.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103196.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103196, gadget_target_1S = 196002, gadget_target_1E = 196005, diff --git a/Resources/Scripts/Scene/3/scene3_group133103202.lua b/Resources/Scripts/Scene/3/scene3_group133103202.lua index 30745fecb..759c48cca 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103202.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103202.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103202, gadget_riddle_hint = 202001, gadget_riddle_1 = 202002, diff --git a/Resources/Scripts/Scene/3/scene3_group133103209.lua b/Resources/Scripts/Scene/3/scene3_group133103209.lua index 53dbac0a3..179ed5740 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103209.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103209.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103209, gadget_target_1S = 209002, gadget_target_1E = 209005, diff --git a/Resources/Scripts/Scene/3/scene3_group133103213.lua b/Resources/Scripts/Scene/3/scene3_group133103213.lua index 300b8525b..2cbf524de 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103213.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103213.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, kill_sum = 2, group_id = 133103213, diff --git a/Resources/Scripts/Scene/3/scene3_group133103220.lua b/Resources/Scripts/Scene/3/scene3_group133103220.lua index 549370f56..3c125ec75 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103220.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103220.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103220, gadget_target_1S = 220002, gadget_target_1E = 220005, diff --git a/Resources/Scripts/Scene/3/scene3_group133103227.lua b/Resources/Scripts/Scene/3/scene3_group133103227.lua index c01f6bd84..306deabb7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103227.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103227.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310300075, gadget_seelie = 227002 diff --git a/Resources/Scripts/Scene/3/scene3_group133103234.lua b/Resources/Scripts/Scene/3/scene3_group133103234.lua index 87e607564..557dbe041 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103234.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103234.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 1, group_id = 133103234, diff --git a/Resources/Scripts/Scene/3/scene3_group133103235.lua b/Resources/Scripts/Scene/3/scene3_group133103235.lua index 8a1d5edf0..78e7bfa02 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103235.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103235.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103235, gadget_target_1 = 235003, monster_mole_1 = 235001, diff --git a/Resources/Scripts/Scene/3/scene3_group133103246.lua b/Resources/Scripts/Scene/3/scene3_group133103246.lua index 0506c2595..0b69589b1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103246.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103246.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310300077, gadget_seelie = 246002 diff --git a/Resources/Scripts/Scene/3/scene3_group133103252.lua b/Resources/Scripts/Scene/3/scene3_group133103252.lua index 3274c98d7..933d25df8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103252.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103252.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 1, group_id = 133103252, diff --git a/Resources/Scripts/Scene/3/scene3_group133103271.lua b/Resources/Scripts/Scene/3/scene3_group133103271.lua index 9754d70ac..4532ecc53 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103271.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103271.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 180, kill_sum = 5, group_id = 133103271, diff --git a/Resources/Scripts/Scene/3/scene3_group133103276.lua b/Resources/Scripts/Scene/3/scene3_group133103276.lua index 81ca763c7..dd43082b6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103276.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103276.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103276, gadget_target_1S = 276002, gadget_target_1E = 276005, diff --git a/Resources/Scripts/Scene/3/scene3_group133103277.lua b/Resources/Scripts/Scene/3/scene3_group133103277.lua index 00cd1ce19..1ee786a41 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103277.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103277.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103277, gadget_target_1 = 277003, monster_mole_1 = 277001, diff --git a/Resources/Scripts/Scene/3/scene3_group133103278.lua b/Resources/Scripts/Scene/3/scene3_group133103278.lua index 303bf0ae7..b7ed22acf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103278.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103278.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 10, group_id = 133103278, diff --git a/Resources/Scripts/Scene/3/scene3_group133103279.lua b/Resources/Scripts/Scene/3/scene3_group133103279.lua index 6f6bb6964..b164efcb6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103279.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103279.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103279, gadget_target_1 = 279003, monster_mole_1 = 279001, diff --git a/Resources/Scripts/Scene/3/scene3_group133103281.lua b/Resources/Scripts/Scene/3/scene3_group133103281.lua index ed6084672..b6ca2d372 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103281.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103281.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103281, gadget_target_1S = 281002, gadget_target_1E = 281005, diff --git a/Resources/Scripts/Scene/3/scene3_group133103284.lua b/Resources/Scripts/Scene/3/scene3_group133103284.lua index 1fab14be7..2843a292a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103284.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103284.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103284, gadget_riddle_hint = 284001, gadget_riddle_1 = 284002, diff --git a/Resources/Scripts/Scene/3/scene3_group133103287.lua b/Resources/Scripts/Scene/3/scene3_group133103287.lua index 66bf156e2..2f900ec7a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103287.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103287.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103287, gadget_target_1S = 287002, gadget_target_1E = 287005, diff --git a/Resources/Scripts/Scene/3/scene3_group133103293.lua b/Resources/Scripts/Scene/3/scene3_group133103293.lua index 3c9a262df..6f49bf3ab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103293.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103293.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133103293, } diff --git a/Resources/Scripts/Scene/3/scene3_group133103294.lua b/Resources/Scripts/Scene/3/scene3_group133103294.lua index 319c4c814..7f3186dd1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103294.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103294.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133103294, } diff --git a/Resources/Scripts/Scene/3/scene3_group133103316.lua b/Resources/Scripts/Scene/3/scene3_group133103316.lua index a04cc2557..e5337943a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103316.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103316.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103316, gadget_target_1 = 316003, monster_mole_1 = 316001, diff --git a/Resources/Scripts/Scene/3/scene3_group133103320.lua b/Resources/Scripts/Scene/3/scene3_group133103320.lua index ca45ba912..20bf53145 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103320.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103320.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103320, gadget_target_1 = 320003, monster_mole_1 = 320001, diff --git a/Resources/Scripts/Scene/3/scene3_group133103321.lua b/Resources/Scripts/Scene/3/scene3_group133103321.lua index 2b958c7da..053381bc6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103321.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103321.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103321, gadget_target_1 = 321003, monster_mole_1 = 321001, diff --git a/Resources/Scripts/Scene/3/scene3_group133103322.lua b/Resources/Scripts/Scene/3/scene3_group133103322.lua index 7a20ae397..f58c3c94c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103322.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103322.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103322, gadget_target_1 = 322003, monster_mole_1 = 322001, diff --git a/Resources/Scripts/Scene/3/scene3_group133103323.lua b/Resources/Scripts/Scene/3/scene3_group133103323.lua index 6f479cf01..1db4d6cc8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103323.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103323.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103323, gadget_target_1 = 323003, monster_mole_1 = 323001, diff --git a/Resources/Scripts/Scene/3/scene3_group133103324.lua b/Resources/Scripts/Scene/3/scene3_group133103324.lua index 4a0f5a7e7..a6bd96300 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103324.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103324.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103324, gadget_target_1 = 324003, monster_mole_1 = 324001, diff --git a/Resources/Scripts/Scene/3/scene3_group133103339.lua b/Resources/Scripts/Scene/3/scene3_group133103339.lua index 47a0d81c1..d87ad1e75 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103339.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103339.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103339, gadget_target_1 = 339003, monster_mole_1 = 339001, diff --git a/Resources/Scripts/Scene/3/scene3_group133103340.lua b/Resources/Scripts/Scene/3/scene3_group133103340.lua index 18ca9f49d..6a609f1f2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103340.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103340.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133103340, } diff --git a/Resources/Scripts/Scene/3/scene3_group133103343.lua b/Resources/Scripts/Scene/3/scene3_group133103343.lua index 6b33708ac..10decef1e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103343.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103343.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 10, group_id = 133103343, diff --git a/Resources/Scripts/Scene/3/scene3_group133103356.lua b/Resources/Scripts/Scene/3/scene3_group133103356.lua index dfe397b2a..32b8376b9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103356.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103356.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310300121, gadget_seelie = 356002 diff --git a/Resources/Scripts/Scene/3/scene3_group133103357.lua b/Resources/Scripts/Scene/3/scene3_group133103357.lua index d70d7386d..3d072bf95 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103357.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103357.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310300123, gadget_seelie = 357002 diff --git a/Resources/Scripts/Scene/3/scene3_group133103360.lua b/Resources/Scripts/Scene/3/scene3_group133103360.lua index 885e301a6..8dc845a0f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103360.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103360.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 360001, gallery_id = 18009, region_id = 360002, diff --git a/Resources/Scripts/Scene/3/scene3_group133103368.lua b/Resources/Scripts/Scene/3/scene3_group133103368.lua index 0163b72a8..bcfdeb2fc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103368.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103368.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103368, gadget_target_1S = 368002, gadget_target_1E = 368005, diff --git a/Resources/Scripts/Scene/3/scene3_group133103375.lua b/Resources/Scripts/Scene/3/scene3_group133103375.lua index 1ed79535b..b423710fa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103375.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103375.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103375, gadget_riddle_hint = 375001, gadget_riddle_1 = 375002, diff --git a/Resources/Scripts/Scene/3/scene3_group133103377.lua b/Resources/Scripts/Scene/3/scene3_group133103377.lua index 557bb0f81..23983f14e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103377.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103377.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 0 } diff --git a/Resources/Scripts/Scene/3/scene3_group133103385.lua b/Resources/Scripts/Scene/3/scene3_group133103385.lua index 3e80dc82a..a90a6505e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103385.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103385.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 385004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133103391.lua b/Resources/Scripts/Scene/3/scene3_group133103391.lua index abc4bb594..e6885e569 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103391.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103391.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133103391, gadget_sum = 5 diff --git a/Resources/Scripts/Scene/3/scene3_group133103398.lua b/Resources/Scripts/Scene/3/scene3_group133103398.lua index 463335e44..7ea16a3c5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103398.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103398.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103398, gadget_target_1 = 398003, monster_mole_1 = 398001, diff --git a/Resources/Scripts/Scene/3/scene3_group133103400.lua b/Resources/Scripts/Scene/3/scene3_group133103400.lua index d4d203877..22fb3b5bd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103400.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103400.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103400, gadget_target_1S = 400002, gadget_target_1E = 400005, diff --git a/Resources/Scripts/Scene/3/scene3_group133103404.lua b/Resources/Scripts/Scene/3/scene3_group133103404.lua index 744f74c27..27bbb8eeb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103404.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103404.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310300153, gadget_seelie = 404002 diff --git a/Resources/Scripts/Scene/3/scene3_group133103420.lua b/Resources/Scripts/Scene/3/scene3_group133103420.lua index 61e22b847..9781f56c4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103420.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103420.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103420, gadget_target_1 = 420003, monster_mole_1 = 420001, diff --git a/Resources/Scripts/Scene/3/scene3_group133103430.lua b/Resources/Scripts/Scene/3/scene3_group133103430.lua index f38ff481a..d58780d0c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103430.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103430.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310300257, gadget_seelie = 430002 diff --git a/Resources/Scripts/Scene/3/scene3_group133103431.lua b/Resources/Scripts/Scene/3/scene3_group133103431.lua index 1cdcc5194..c3fd6d1df 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103431.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103431.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103431, gadget_target_1 = 431003, monster_mole_1 = 431001, diff --git a/Resources/Scripts/Scene/3/scene3_group133103433.lua b/Resources/Scripts/Scene/3/scene3_group133103433.lua index 2864e80ef..9e3ab9ed3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103433.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103433.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 310300259, gadget_seelie = 433002 diff --git a/Resources/Scripts/Scene/3/scene3_group133103449.lua b/Resources/Scripts/Scene/3/scene3_group133103449.lua index 326eb4e7f..074d2b2e0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103449.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103449.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103449, gadget_target_1 = 449003, monster_mole_1 = 449001, diff --git a/Resources/Scripts/Scene/3/scene3_group133103461.lua b/Resources/Scripts/Scene/3/scene3_group133103461.lua index a86882fb8..28da75dd3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103461.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103461.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_riddle_1 = 461001, gadget_riddle_2 = 461002, gadget_riddle_3 = 461003, diff --git a/Resources/Scripts/Scene/3/scene3_group133103462.lua b/Resources/Scripts/Scene/3/scene3_group133103462.lua index 09c9d9b33..0c97c538b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103462.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103462.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { seal_id = 462005, light_1 = 462006, light_2 = 462007, diff --git a/Resources/Scripts/Scene/3/scene3_group133103463.lua b/Resources/Scripts/Scene/3/scene3_group133103463.lua index 9c557da6f..64724ce20 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103463.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103463.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, kill_sum = 3, group_id = 133103463, diff --git a/Resources/Scripts/Scene/3/scene3_group133103467.lua b/Resources/Scripts/Scene/3/scene3_group133103467.lua index ebcf007c3..454292a44 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103467.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103467.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, kill_sum = 2, group_id = 133103467, diff --git a/Resources/Scripts/Scene/3/scene3_group133103472.lua b/Resources/Scripts/Scene/3/scene3_group133103472.lua index d3304e52a..f4f7f8a7e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103472.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103472.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 15, group_id = 133103472 } diff --git a/Resources/Scripts/Scene/3/scene3_group133103475.lua b/Resources/Scripts/Scene/3/scene3_group133103475.lua index 84520b642..061cf6f4b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103475.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103475.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_riddle_1 = 475001, gadget_riddle_2 = 475002, gadget_riddle_3 = 475003, diff --git a/Resources/Scripts/Scene/3/scene3_group133103476.lua b/Resources/Scripts/Scene/3/scene3_group133103476.lua index 88afd8900..fe00ce72c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103476.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103476.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103476, gadget_target_1S = 476002, gadget_target_1E = 476005, diff --git a/Resources/Scripts/Scene/3/scene3_group133103477.lua b/Resources/Scripts/Scene/3/scene3_group133103477.lua index ab1420110..a32f5606a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103477.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103477.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103477, gadget_target_1 = 477003, monster_mole_1 = 477001, diff --git a/Resources/Scripts/Scene/3/scene3_group133103486.lua b/Resources/Scripts/Scene/3/scene3_group133103486.lua index 359baaa26..607bfdd47 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103486.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103486.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 486004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133103498.lua b/Resources/Scripts/Scene/3/scene3_group133103498.lua index a01b5db8e..4bd902e2b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103498.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103498.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, kill_sum = 4, group_id = 133103498, diff --git a/Resources/Scripts/Scene/3/scene3_group133103499.lua b/Resources/Scripts/Scene/3/scene3_group133103499.lua index 454c19cdd..a2e4fd0a0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103499.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103499.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 5, group_id = 133103499, diff --git a/Resources/Scripts/Scene/3/scene3_group133103500.lua b/Resources/Scripts/Scene/3/scene3_group133103500.lua index 9179a3900..370393e5a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103500.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103500.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 5, group_id = 133103500, diff --git a/Resources/Scripts/Scene/3/scene3_group133103501.lua b/Resources/Scripts/Scene/3/scene3_group133103501.lua index 39b5cb427..3b328a8c8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103501.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103501.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_riddle_1 = 501001, gadget_riddle_2 = 501002, gadget_riddle_3 = 501003, diff --git a/Resources/Scripts/Scene/3/scene3_group133103526.lua b/Resources/Scripts/Scene/3/scene3_group133103526.lua index d0a7acf6f..aae81f3aa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103526.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103526.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 526003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133103528.lua b/Resources/Scripts/Scene/3/scene3_group133103528.lua index 7517e48e3..bc993bfd9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103528.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103528.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 528004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133103529.lua b/Resources/Scripts/Scene/3/scene3_group133103529.lua index fb15ce5c4..38db96951 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103529.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103529.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 529002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133103540.lua b/Resources/Scripts/Scene/3/scene3_group133103540.lua index 78a7b0a72..2bd074fd3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103540.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103540.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_seal_id = 540005, gadget_light_1 = 540002, gadget_light_2 = 540003, diff --git a/Resources/Scripts/Scene/3/scene3_group133103545.lua b/Resources/Scripts/Scene/3/scene3_group133103545.lua index 2a80edc83..41f90b93d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103545.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103545.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 3, group_id = 133103545, diff --git a/Resources/Scripts/Scene/3/scene3_group133103549.lua b/Resources/Scripts/Scene/3/scene3_group133103549.lua index a58064cb4..ee5c9b812 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103549.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103549.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103549, gadget_target_1S = 549002, gadget_target_1E = 549005, diff --git a/Resources/Scripts/Scene/3/scene3_group133103551.lua b/Resources/Scripts/Scene/3/scene3_group133103551.lua index a1af02c6f..31a763935 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103551.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103551.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 15, group_id = 133103551 } diff --git a/Resources/Scripts/Scene/3/scene3_group133103552.lua b/Resources/Scripts/Scene/3/scene3_group133103552.lua index 0a89f9f76..d6cd7ba6c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103552.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103552.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 38, group_id = 133103552 } diff --git a/Resources/Scripts/Scene/3/scene3_group133103554.lua b/Resources/Scripts/Scene/3/scene3_group133103554.lua index 6ce5092de..546213303 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103554.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103554.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 18, group_id = 133103554 } diff --git a/Resources/Scripts/Scene/3/scene3_group133103557.lua b/Resources/Scripts/Scene/3/scene3_group133103557.lua index 004609490..62bf0d83e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103557.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103557.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 10, group_id = 133103557 } diff --git a/Resources/Scripts/Scene/3/scene3_group133103566.lua b/Resources/Scripts/Scene/3/scene3_group133103566.lua index 3370d673e..d9d17684f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103566.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103566.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133103566, gadget_target_1S = 566002, gadget_target_1E = 566005, diff --git a/Resources/Scripts/Scene/3/scene3_group133103567.lua b/Resources/Scripts/Scene/3/scene3_group133103567.lua index 0f01f07f2..cef0eb9cf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103567.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103567.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 15, group_id = 133103567, diff --git a/Resources/Scripts/Scene/3/scene3_group133103644.lua b/Resources/Scripts/Scene/3/scene3_group133103644.lua index 3bd4d37fd..903cac51b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103644.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103644.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 20, group_id = 133103644, gadget_sum = 15 diff --git a/Resources/Scripts/Scene/3/scene3_group133103654.lua b/Resources/Scripts/Scene/3/scene3_group133103654.lua index 7129727a8..1ea761224 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103654.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103654.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer_region = 654010, challenge_region = 654002, monster_hilichurl = 654001, diff --git a/Resources/Scripts/Scene/3/scene3_group133103916.lua b/Resources/Scripts/Scene/3/scene3_group133103916.lua index 1aecae0d4..55c049287 100644 --- a/Resources/Scripts/Scene/3/scene3_group133103916.lua +++ b/Resources/Scripts/Scene/3/scene3_group133103916.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 916004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133104053.lua b/Resources/Scripts/Scene/3/scene3_group133104053.lua index fc4288a10..887308f1e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104053.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104053.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { ClueFire = 108, ClueWater = 109, ClueWind = 110, diff --git a/Resources/Scripts/Scene/3/scene3_group133104068.lua b/Resources/Scripts/Scene/3/scene3_group133104068.lua index 09e80403d..c4ea23040 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104068.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104068.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104068, gadget_target_1S = 68002, gadget_target_1E = 68005, diff --git a/Resources/Scripts/Scene/3/scene3_group133104079.lua b/Resources/Scripts/Scene/3/scene3_group133104079.lua index b58d01502..c1b969367 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104079.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104079.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, kill_sum = 4, group_id = 133104079, diff --git a/Resources/Scripts/Scene/3/scene3_group133104121.lua b/Resources/Scripts/Scene/3/scene3_group133104121.lua index d57f8ea33..8358dd700 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104121.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104121.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 15, group_id = 133104121, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133104122.lua b/Resources/Scripts/Scene/3/scene3_group133104122.lua index 6db71199c..62247a116 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104122.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104122.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 1, timer = 10, group_id = 133104122, diff --git a/Resources/Scripts/Scene/3/scene3_group133104128.lua b/Resources/Scripts/Scene/3/scene3_group133104128.lua index 0156e5bab..16515a2eb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104128.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104128.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 7, route_2 = 310400285, gadget_seelie = 128002 diff --git a/Resources/Scripts/Scene/3/scene3_group133104130.lua b/Resources/Scripts/Scene/3/scene3_group133104130.lua index 95cf79c2c..10ff7ba21 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104130.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104130.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 310400058, gadget_seelie = 410 diff --git a/Resources/Scripts/Scene/3/scene3_group133104132.lua b/Resources/Scripts/Scene/3/scene3_group133104132.lua index 94c8c56d0..7801b5236 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104132.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104132.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310400287, gadget_seelie = 132002 diff --git a/Resources/Scripts/Scene/3/scene3_group133104134.lua b/Resources/Scripts/Scene/3/scene3_group133104134.lua index 80c0f70e2..ded69517e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104134.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104134.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310400289, gadget_seelie = 134002 diff --git a/Resources/Scripts/Scene/3/scene3_group133104138.lua b/Resources/Scripts/Scene/3/scene3_group133104138.lua index 638ac5200..12e1a808d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104138.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104138.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_1_duration = 130, challenge_2_duration = 110, challenge_3_duration = 100, diff --git a/Resources/Scripts/Scene/3/scene3_group133104146.lua b/Resources/Scripts/Scene/3/scene3_group133104146.lua index 849ec2791..f6ffaeb0f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104146.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104146.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 146011, gadget_2 = 146012, gadget_3 = 146013 diff --git a/Resources/Scripts/Scene/3/scene3_group133104147.lua b/Resources/Scripts/Scene/3/scene3_group133104147.lua index c26294b27..838a607b8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104147.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104147.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { Target_1 = 498, Target_2 = 499, Target_3 = 500, diff --git a/Resources/Scripts/Scene/3/scene3_group133104173.lua b/Resources/Scripts/Scene/3/scene3_group133104173.lua index 8f8d3000b..f6bf1b623 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104173.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104173.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer_region = 173010, challenge_region = 173002, monster_hilichurl = 173001, diff --git a/Resources/Scripts/Scene/3/scene3_group133104187.lua b/Resources/Scripts/Scene/3/scene3_group133104187.lua index 12e9ee64e..3f7f8072b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104187.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104187.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_lift = 709, route_down = 310400076, route_up = 310400077, diff --git a/Resources/Scripts/Scene/3/scene3_group133104204.lua b/Resources/Scripts/Scene/3/scene3_group133104204.lua index 1966603ce..93e19e2ac 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104204.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104204.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 310400086, gadget_seelie = 204002 diff --git a/Resources/Scripts/Scene/3/scene3_group133104215.lua b/Resources/Scripts/Scene/3/scene3_group133104215.lua index 49f702ebc..33faf41d9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104215.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104215.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 310400088, gadget_seelie = 215002 diff --git a/Resources/Scripts/Scene/3/scene3_group133104227.lua b/Resources/Scripts/Scene/3/scene3_group133104227.lua index aaedf2b32..ccb8cd880 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104227.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104227.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310400092, gadget_seelie = 227002 diff --git a/Resources/Scripts/Scene/3/scene3_group133104264.lua b/Resources/Scripts/Scene/3/scene3_group133104264.lua index 7f629f5e7..c86515234 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104264.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104264.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310400102, gadget_seelie = 264002 diff --git a/Resources/Scripts/Scene/3/scene3_group133104269.lua b/Resources/Scripts/Scene/3/scene3_group133104269.lua index 64c29deb0..dd5bd4437 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104269.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104269.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --对应GalleryID gallery_id = 11001, diff --git a/Resources/Scripts/Scene/3/scene3_group133104270.lua b/Resources/Scripts/Scene/3/scene3_group133104270.lua index 3657081c7..8d003051f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104270.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104270.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 3, group_id = 133104270, diff --git a/Resources/Scripts/Scene/3/scene3_group133104271.lua b/Resources/Scripts/Scene/3/scene3_group133104271.lua index 456c37032..d1480b5fe 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104271.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104271.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 310400107, gadget_seelie = 271002 diff --git a/Resources/Scripts/Scene/3/scene3_group133104272.lua b/Resources/Scripts/Scene/3/scene3_group133104272.lua index d818b2898..e7ccfbd1a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104272.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104272.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104272, gadget_target_1S = 272002, gadget_target_1E = 272005, diff --git a/Resources/Scripts/Scene/3/scene3_group133104278.lua b/Resources/Scripts/Scene/3/scene3_group133104278.lua index 6e75c087c..ee7b88eb5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104278.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104278.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 278001, gallery_id = 29014, region_id = 278005, diff --git a/Resources/Scripts/Scene/3/scene3_group133104286.lua b/Resources/Scripts/Scene/3/scene3_group133104286.lua index 68b10b146..94ea1dc68 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104286.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104286.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104286, gadget_target_1S = 286002, gadget_target_1E = 286005, diff --git a/Resources/Scripts/Scene/3/scene3_group133104288.lua b/Resources/Scripts/Scene/3/scene3_group133104288.lua index e5ed39b3a..c10e5a9f7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104288.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104288.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { GroupID = 133104288, AGRegionConfigID = 288022, AGName = "ActivityAbility_ToMoon_FoodChallenge_Part3", diff --git a/Resources/Scripts/Scene/3/scene3_group133104291.lua b/Resources/Scripts/Scene/3/scene3_group133104291.lua index 531ea3d44..0ab5eaef0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104291.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104291.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 291001, gallery_id = 29002, region_id = 291005, diff --git a/Resources/Scripts/Scene/3/scene3_group133104295.lua b/Resources/Scripts/Scene/3/scene3_group133104295.lua index 6e69b6165..c7fdfaed3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104295.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104295.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { GroupID = 133104295, AGRegionConfigID = 295011, AGName = "ActivityAbility_ToMoon_FoodChallenge_Part3", diff --git a/Resources/Scripts/Scene/3/scene3_group133104296.lua b/Resources/Scripts/Scene/3/scene3_group133104296.lua index 490a64966..b264eb046 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104296.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104296.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { GroupID = 133104296, AGRegionConfigID = 296011, AGName = "ActivityAbility_ToMoon_FoodChallenge_Part3", diff --git a/Resources/Scripts/Scene/3/scene3_group133104298.lua b/Resources/Scripts/Scene/3/scene3_group133104298.lua index e52afe54c..8da376b10 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104298.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104298.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 7, route_2 = 310400125, gadget_seelie = 298002 diff --git a/Resources/Scripts/Scene/3/scene3_group133104302.lua b/Resources/Scripts/Scene/3/scene3_group133104302.lua index 565ca042d..70ecc7024 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104302.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104302.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 310400130, gadget_seelie = 302002 diff --git a/Resources/Scripts/Scene/3/scene3_group133104313.lua b/Resources/Scripts/Scene/3/scene3_group133104313.lua index 67d8df1d5..b863444b2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104313.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104313.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_trigger_01 = 313005, gadget_trigger_02 = 313008, gadget_trigger_03 = 313009, diff --git a/Resources/Scripts/Scene/3/scene3_group133104315.lua b/Resources/Scripts/Scene/3/scene3_group133104315.lua index eddc722bb..4dbb232bb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104315.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104315.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 310400135, gadget_seelie = 315002 diff --git a/Resources/Scripts/Scene/3/scene3_group133104324.lua b/Resources/Scripts/Scene/3/scene3_group133104324.lua index 6253456c2..395477646 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104324.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104324.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 10, group_id = 133104324, diff --git a/Resources/Scripts/Scene/3/scene3_group133104350.lua b/Resources/Scripts/Scene/3/scene3_group133104350.lua index 2192bb2ce..5c05e049a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104350.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104350.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 310400149, gadget_seelie = 350002 diff --git a/Resources/Scripts/Scene/3/scene3_group133104356.lua b/Resources/Scripts/Scene/3/scene3_group133104356.lua index 65a0e72cb..ffc8acf39 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104356.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104356.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104356, gadget_target_1S = 356002, gadget_target_1E = 356005, diff --git a/Resources/Scripts/Scene/3/scene3_group133104358.lua b/Resources/Scripts/Scene/3/scene3_group133104358.lua index b063d4cda..016374ca9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104358.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104358.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104358, gadget_target_1 = 358003, monster_mole_1 = 358001, diff --git a/Resources/Scripts/Scene/3/scene3_group133104359.lua b/Resources/Scripts/Scene/3/scene3_group133104359.lua index 3067349e8..7dfa4e134 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104359.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104359.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 359004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133104367.lua b/Resources/Scripts/Scene/3/scene3_group133104367.lua index 43ae9a064..5a017f7ac 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104367.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104367.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104367, gadget_target_1 = 367003, monster_mole_1 = 367001, diff --git a/Resources/Scripts/Scene/3/scene3_group133104368.lua b/Resources/Scripts/Scene/3/scene3_group133104368.lua index 3ce4c3b63..e2d463498 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104368.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104368.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104368, gadget_target_1 = 368003, monster_mole_1 = 368001, diff --git a/Resources/Scripts/Scene/3/scene3_group133104369.lua b/Resources/Scripts/Scene/3/scene3_group133104369.lua index 963c237f9..db9b0967e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104369.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104369.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104369, gadget_target_1 = 369003, monster_mole_1 = 369001, diff --git a/Resources/Scripts/Scene/3/scene3_group133104370.lua b/Resources/Scripts/Scene/3/scene3_group133104370.lua index 3186e8691..6d3150e5d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104370.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104370.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104370, gadget_target_1 = 370003, monster_mole_1 = 370001, diff --git a/Resources/Scripts/Scene/3/scene3_group133104371.lua b/Resources/Scripts/Scene/3/scene3_group133104371.lua index ae0d95911..2ad33e8e6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104371.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104371.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_prison = 371001, duration = 210, rampage_time = 40, diff --git a/Resources/Scripts/Scene/3/scene3_group133104395.lua b/Resources/Scripts/Scene/3/scene3_group133104395.lua index 95443eb4e..6d197e977 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104395.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104395.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Trigger1 = 395001, gadget_Trigger2 = 395002, gadget_Trigger3 = 395003, diff --git a/Resources/Scripts/Scene/3/scene3_group133104414.lua b/Resources/Scripts/Scene/3/scene3_group133104414.lua index 1b35315ad..46eda596c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104414.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104414.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 310400166, gadget_seelie = 414002 diff --git a/Resources/Scripts/Scene/3/scene3_group133104415.lua b/Resources/Scripts/Scene/3/scene3_group133104415.lua index 9b3b311d9..d36feb73c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104415.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104415.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104415, gadget_target_1S = 415002, gadget_target_1E = 415005, diff --git a/Resources/Scripts/Scene/3/scene3_group133104419.lua b/Resources/Scripts/Scene/3/scene3_group133104419.lua index 471c5c8a2..efc39c588 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104419.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104419.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104419, gadget_riddle_hint = 419001, gadget_riddle_1 = 419002, diff --git a/Resources/Scripts/Scene/3/scene3_group133104423.lua b/Resources/Scripts/Scene/3/scene3_group133104423.lua index 2d7c26581..361625b30 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104423.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104423.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 200, kill_sum = 6, group_id = 133104423, diff --git a/Resources/Scripts/Scene/3/scene3_group133104428.lua b/Resources/Scripts/Scene/3/scene3_group133104428.lua index a2fc615f7..6fa4667ee 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104428.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104428.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104428, gadget_target_1 = 428003, monster_mole_1 = 428001, diff --git a/Resources/Scripts/Scene/3/scene3_group133104453.lua b/Resources/Scripts/Scene/3/scene3_group133104453.lua index 3cb533eda..796c3e0c7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104453.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104453.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104453, gadget_target_1 = 453003, monster_mole_1 = 453001, diff --git a/Resources/Scripts/Scene/3/scene3_group133104465.lua b/Resources/Scripts/Scene/3/scene3_group133104465.lua index 27d3ad076..91fa038ab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104465.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104465.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104465, gadget_target_1S = 465002, gadget_target_1E = 465005, diff --git a/Resources/Scripts/Scene/3/scene3_group133104476.lua b/Resources/Scripts/Scene/3/scene3_group133104476.lua index 42b947d18..29029d9e4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104476.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104476.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 10, group_id = 133104476, diff --git a/Resources/Scripts/Scene/3/scene3_group133104481.lua b/Resources/Scripts/Scene/3/scene3_group133104481.lua index 24169b622..335ab0b5a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104481.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104481.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 2, timer = 10, group_id = 133104481, diff --git a/Resources/Scripts/Scene/3/scene3_group133104488.lua b/Resources/Scripts/Scene/3/scene3_group133104488.lua index f5dda9ade..ab6c34f60 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104488.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104488.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 488006, gadget_2 = 488007, gadget_3 = 488008, diff --git a/Resources/Scripts/Scene/3/scene3_group133104500.lua b/Resources/Scripts/Scene/3/scene3_group133104500.lua index ae6bdfdc5..c10c0440b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104500.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104500.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310400201, gadget_seelie = 500002 diff --git a/Resources/Scripts/Scene/3/scene3_group133104501.lua b/Resources/Scripts/Scene/3/scene3_group133104501.lua index a6bcd8646..f64961741 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104501.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104501.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104501, gadget_riddle_hint = 501001, gadget_riddle_1 = 501002, diff --git a/Resources/Scripts/Scene/3/scene3_group133104513.lua b/Resources/Scripts/Scene/3/scene3_group133104513.lua index d4dd33293..25221260a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104513.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104513.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104513, gadget_riddle_hint = 513001, gadget_riddle_1 = 513002, diff --git a/Resources/Scripts/Scene/3/scene3_group133104520.lua b/Resources/Scripts/Scene/3/scene3_group133104520.lua index 527acb6de..89412ff0c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104520.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104520.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { gallery_id = 111, --开启机关交互后,加载哪个/些suit diff --git a/Resources/Scripts/Scene/3/scene3_group133104530.lua b/Resources/Scripts/Scene/3/scene3_group133104530.lua index 313c39ecf..52396fec1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104530.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104530.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 20, group_id = 133104530, diff --git a/Resources/Scripts/Scene/3/scene3_group133104537.lua b/Resources/Scripts/Scene/3/scene3_group133104537.lua index 9d4301416..64e64e84e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104537.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104537.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104537, gadget_target_1 = 537003, monster_mole_1 = 537001, diff --git a/Resources/Scripts/Scene/3/scene3_group133104538.lua b/Resources/Scripts/Scene/3/scene3_group133104538.lua index 26174e408..961f67038 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104538.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104538.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104538, gadget_target_1 = 538003, monster_mole_1 = 538001, diff --git a/Resources/Scripts/Scene/3/scene3_group133104539.lua b/Resources/Scripts/Scene/3/scene3_group133104539.lua index d034c45ac..c70c88ed9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104539.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104539.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104539, gadget_riddle_hint = 539001, gadget_riddle_1 = 539002, diff --git a/Resources/Scripts/Scene/3/scene3_group133104541.lua b/Resources/Scripts/Scene/3/scene3_group133104541.lua index e7fc44b8d..3cf1e1ecb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104541.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104541.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 2, group_id = 133104541, diff --git a/Resources/Scripts/Scene/3/scene3_group133104544.lua b/Resources/Scripts/Scene/3/scene3_group133104544.lua index a9d2e6d37..b9aafaddb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104544.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104544.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 310400237, gadget_seelie = 544002 diff --git a/Resources/Scripts/Scene/3/scene3_group133104547.lua b/Resources/Scripts/Scene/3/scene3_group133104547.lua index dbad06c45..cfdbf9071 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104547.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104547.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 310400239, gadget_seelie = 547002 diff --git a/Resources/Scripts/Scene/3/scene3_group133104554.lua b/Resources/Scripts/Scene/3/scene3_group133104554.lua index c7b5fe0a1..04c864a93 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104554.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104554.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 2, timer = 8, group_id = 133104554, diff --git a/Resources/Scripts/Scene/3/scene3_group133104566.lua b/Resources/Scripts/Scene/3/scene3_group133104566.lua index e5cfa85f6..11586aa5b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104566.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104566.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 566004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133104567.lua b/Resources/Scripts/Scene/3/scene3_group133104567.lua index 5b6fcb425..144a21945 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104567.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104567.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 567004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133104584.lua b/Resources/Scripts/Scene/3/scene3_group133104584.lua index 4c4845e1d..2df370985 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104584.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104584.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { option_1 = 201, option_2 = 202, option_3 = 203, diff --git a/Resources/Scripts/Scene/3/scene3_group133104585.lua b/Resources/Scripts/Scene/3/scene3_group133104585.lua index a9f8d4759..659100059 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104585.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104585.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_seal_id = 585005, gadget_light_1 = 585002, gadget_light_2 = 585003, diff --git a/Resources/Scripts/Scene/3/scene3_group133104618.lua b/Resources/Scripts/Scene/3/scene3_group133104618.lua index 7aa0c4ece..84ebc67c2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104618.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104618.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104618, gadget_target_1S = 618002, gadget_target_1E = 618005, diff --git a/Resources/Scripts/Scene/3/scene3_group133104633.lua b/Resources/Scripts/Scene/3/scene3_group133104633.lua index 164a71a85..5293f707c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104633.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104633.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 633004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133104654.lua b/Resources/Scripts/Scene/3/scene3_group133104654.lua index 30d9849fa..fb2c34556 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104654.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104654.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 2, group_id = 133104654, diff --git a/Resources/Scripts/Scene/3/scene3_group133104657.lua b/Resources/Scripts/Scene/3/scene3_group133104657.lua index 1eb3ec745..f5b91fa7d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104657.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104657.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133104657, gadget_prison_list = {657001}, gadget_guide = {657057,657058, 657059}, diff --git a/Resources/Scripts/Scene/3/scene3_group133104658.lua b/Resources/Scripts/Scene/3/scene3_group133104658.lua index e914e9034..8e437f4b2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104658.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104658.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 310400269, gadget_seelie = 658002 diff --git a/Resources/Scripts/Scene/3/scene3_group133104666.lua b/Resources/Scripts/Scene/3/scene3_group133104666.lua index 7b4ea3027..e42c5d889 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104666.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104666.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 666004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133104668.lua b/Resources/Scripts/Scene/3/scene3_group133104668.lua index 622d60658..03282459b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104668.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104668.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133104668, } diff --git a/Resources/Scripts/Scene/3/scene3_group133104671.lua b/Resources/Scripts/Scene/3/scene3_group133104671.lua index d9c65c7ea..c900e0218 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104671.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104671.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133104671, gadget_target_1S = 671002, gadget_target_1E = 671005, diff --git a/Resources/Scripts/Scene/3/scene3_group133104674.lua b/Resources/Scripts/Scene/3/scene3_group133104674.lua index 9335e5ee5..d936af7de 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104674.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104674.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133104674, } diff --git a/Resources/Scripts/Scene/3/scene3_group133104676.lua b/Resources/Scripts/Scene/3/scene3_group133104676.lua index c5e94aa01..a4b5c44b3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104676.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104676.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 15, group_id = 133104676, gadget_sum = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133104686.lua b/Resources/Scripts/Scene/3/scene3_group133104686.lua index 5db5048cc..98e4c6dd3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104686.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104686.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 686004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133104689.lua b/Resources/Scripts/Scene/3/scene3_group133104689.lua index 0ce831224..dfabac0a2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104689.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104689.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133104689, } diff --git a/Resources/Scripts/Scene/3/scene3_group133104823.lua b/Resources/Scripts/Scene/3/scene3_group133104823.lua index 4fae7ea7e..e8a58a382 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104823.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104823.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 823001, gallery_id = 18003, region_id = 823002, diff --git a/Resources/Scripts/Scene/3/scene3_group133104824.lua b/Resources/Scripts/Scene/3/scene3_group133104824.lua index aa4a2b6d1..f3a68c9e2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104824.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104824.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 824001, gallery_id = 18004, region_id = 824002, diff --git a/Resources/Scripts/Scene/3/scene3_group133104913.lua b/Resources/Scripts/Scene/3/scene3_group133104913.lua index e5656cdc5..c94df338d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104913.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104913.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 913006 } diff --git a/Resources/Scripts/Scene/3/scene3_group133104916.lua b/Resources/Scripts/Scene/3/scene3_group133104916.lua index c710251f8..39d7c2792 100644 --- a/Resources/Scripts/Scene/3/scene3_group133104916.lua +++ b/Resources/Scripts/Scene/3/scene3_group133104916.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 916021, gadget_2 = 916022, gadget_3 = 916023 diff --git a/Resources/Scripts/Scene/3/scene3_group133105041.lua b/Resources/Scripts/Scene/3/scene3_group133105041.lua index c25d3b82f..c2eee1ecc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105041.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105041.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { ButtonLeftConfig = 41001, ButtonRightConfig = 41002, StoveConfig = 41003, diff --git a/Resources/Scripts/Scene/3/scene3_group133105044.lua b/Resources/Scripts/Scene/3/scene3_group133105044.lua index b49c84440..b12c6471c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105044.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105044.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --对应GalleryID gallery_id = 11002, diff --git a/Resources/Scripts/Scene/3/scene3_group133105048.lua b/Resources/Scripts/Scene/3/scene3_group133105048.lua index 4883a9f34..8dc28766f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105048.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105048.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { order = {48006,48008,48007,48009}, region = 48013, region_Enter = 48013, diff --git a/Resources/Scripts/Scene/3/scene3_group133105052.lua b/Resources/Scripts/Scene/3/scene3_group133105052.lua index 66e05f7a1..91bff9d7c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105052.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105052.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_Enter = 52008, region_Leave = 52009, group_id = 133105052, diff --git a/Resources/Scripts/Scene/3/scene3_group133105060.lua b/Resources/Scripts/Scene/3/scene3_group133105060.lua index efe6431e2..095834471 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105060.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105060.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --按想要的解谜顺序, 填子装置的config_id branch_gadgets = {60012, 60013, 60014}, --主装置的config_id,可填一个或多个 diff --git a/Resources/Scripts/Scene/3/scene3_group133105066.lua b/Resources/Scripts/Scene/3/scene3_group133105066.lua index a2bd0a1cc..22f293068 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105066.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105066.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133105066, } diff --git a/Resources/Scripts/Scene/3/scene3_group133105067.lua b/Resources/Scripts/Scene/3/scene3_group133105067.lua index 48eb7c5a2..73a782cf7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105067.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105067.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133105067, } diff --git a/Resources/Scripts/Scene/3/scene3_group133105068.lua b/Resources/Scripts/Scene/3/scene3_group133105068.lua index b920fdb77..fe1d5174e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105068.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105068.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133105068, } diff --git a/Resources/Scripts/Scene/3/scene3_group133105077.lua b/Resources/Scripts/Scene/3/scene3_group133105077.lua index 41bf99261..915771378 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105077.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105077.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_sync = 77007, sync_element = 2 } diff --git a/Resources/Scripts/Scene/3/scene3_group133105159.lua b/Resources/Scripts/Scene/3/scene3_group133105159.lua index 207c40d38..989da7363 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105159.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105159.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 10, group_id = 133105159, diff --git a/Resources/Scripts/Scene/3/scene3_group133105161.lua b/Resources/Scripts/Scene/3/scene3_group133105161.lua index b0fd3c65b..8561dc78c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105161.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105161.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 2, group_id = 133105161, diff --git a/Resources/Scripts/Scene/3/scene3_group133105162.lua b/Resources/Scripts/Scene/3/scene3_group133105162.lua index d5772bf4e..39ed7cca0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105162.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105162.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 2, group_id = 133105162, diff --git a/Resources/Scripts/Scene/3/scene3_group133105187.lua b/Resources/Scripts/Scene/3/scene3_group133105187.lua index fb036cdd3..cdcd74857 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105187.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105187.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 2, group_id = 133105187, diff --git a/Resources/Scripts/Scene/3/scene3_group133105189.lua b/Resources/Scripts/Scene/3/scene3_group133105189.lua index 612e3c9c1..8028cbe2b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105189.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105189.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 310500046, gadget_seelie = 189002 diff --git a/Resources/Scripts/Scene/3/scene3_group133105190.lua b/Resources/Scripts/Scene/3/scene3_group133105190.lua index 4c4791d32..3de25f863 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105190.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105190.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 310500048, gadget_seelie = 190002 diff --git a/Resources/Scripts/Scene/3/scene3_group133105191.lua b/Resources/Scripts/Scene/3/scene3_group133105191.lua index 2ff106978..4a7a96daf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105191.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105191.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 27, route_2 = 310500050, gadget_seelie = 191002 diff --git a/Resources/Scripts/Scene/3/scene3_group133105192.lua b/Resources/Scripts/Scene/3/scene3_group133105192.lua index 20f34c339..5b61c22c0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105192.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105192.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 310500052, gadget_seelie = 192002 diff --git a/Resources/Scripts/Scene/3/scene3_group133105193.lua b/Resources/Scripts/Scene/3/scene3_group133105193.lua index e60166856..e1b67c434 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105193.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105193.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 27, route_2 = 310500054, gadget_seelie = 193002 diff --git a/Resources/Scripts/Scene/3/scene3_group133105194.lua b/Resources/Scripts/Scene/3/scene3_group133105194.lua index 895ea4e12..dc5cc9fb7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105194.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105194.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 25, route_2 = 310500056, gadget_seelie = 194002 diff --git a/Resources/Scripts/Scene/3/scene3_group133105206.lua b/Resources/Scripts/Scene/3/scene3_group133105206.lua index 419414c99..68cf084b1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105206.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105206.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133105206, gadget_target_1S = 206002, gadget_target_1E = 206005, diff --git a/Resources/Scripts/Scene/3/scene3_group133105207.lua b/Resources/Scripts/Scene/3/scene3_group133105207.lua index 9e20006ba..e163ac7f9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105207.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105207.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133105207, gadget_target_1S = 207002, gadget_target_1E = 207005, diff --git a/Resources/Scripts/Scene/3/scene3_group133105208.lua b/Resources/Scripts/Scene/3/scene3_group133105208.lua index df7c2c6ea..b58354ad5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105208.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105208.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133105208, gadget_target_1S = 208002, gadget_target_1E = 208005, diff --git a/Resources/Scripts/Scene/3/scene3_group133105216.lua b/Resources/Scripts/Scene/3/scene3_group133105216.lua index 5690143af..e5b2ef14b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105216.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105216.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133105216, gadget_target_1S = 216002, gadget_target_1E = 216005, diff --git a/Resources/Scripts/Scene/3/scene3_group133105220.lua b/Resources/Scripts/Scene/3/scene3_group133105220.lua index 1e86b9674..2a5dd8e36 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105220.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105220.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_1_duration = 31, challenge_2_duration = 26, challenge_3_duration = 23, diff --git a/Resources/Scripts/Scene/3/scene3_group133105230.lua b/Resources/Scripts/Scene/3/scene3_group133105230.lua index 41b76340b..717bf56d7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105230.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105230.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133105230, gadget_target_1 = 230003, monster_mole_1 = 230001, diff --git a/Resources/Scripts/Scene/3/scene3_group133105231.lua b/Resources/Scripts/Scene/3/scene3_group133105231.lua index bf5b0b4aa..b46b2f884 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105231.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105231.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133105231, gadget_target_1 = 231003, monster_mole_1 = 231001, diff --git a/Resources/Scripts/Scene/3/scene3_group133105235.lua b/Resources/Scripts/Scene/3/scene3_group133105235.lua index ccca4217b..59f6d114f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105235.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105235.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 235004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133105237.lua b/Resources/Scripts/Scene/3/scene3_group133105237.lua index 75d2edc76..946543077 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105237.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105237.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133105237, gadget_riddle_hint = 237001, gadget_riddle_1 = 237002, diff --git a/Resources/Scripts/Scene/3/scene3_group133105263.lua b/Resources/Scripts/Scene/3/scene3_group133105263.lua index 89aefbfff..c21616191 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105263.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105263.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133105263, gadget_target_1 = 263003, monster_mole_1 = 263001, diff --git a/Resources/Scripts/Scene/3/scene3_group133105267.lua b/Resources/Scripts/Scene/3/scene3_group133105267.lua index b8a761adf..cb10b512a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105267.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105267.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133105267, gadget_target_1 = 267003, monster_mole_1 = 267001, diff --git a/Resources/Scripts/Scene/3/scene3_group133105280.lua b/Resources/Scripts/Scene/3/scene3_group133105280.lua index 494463d94..2f5c097c1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105280.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105280.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 280004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133105282.lua b/Resources/Scripts/Scene/3/scene3_group133105282.lua index fc6560728..38419ffaf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105282.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105282.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 25, group_id = 133105282, gadget_sum = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133105285.lua b/Resources/Scripts/Scene/3/scene3_group133105285.lua index 71f97ae18..f3056f8f6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105285.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105285.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 20, group_id = 133105285 } diff --git a/Resources/Scripts/Scene/3/scene3_group133105299.lua b/Resources/Scripts/Scene/3/scene3_group133105299.lua index 83f341c6a..9dea23e40 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105299.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105299.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 15, group_id = 133105299, diff --git a/Resources/Scripts/Scene/3/scene3_group133105300.lua b/Resources/Scripts/Scene/3/scene3_group133105300.lua index d4b42f305..74cb140bc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105300.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105300.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310500088, gadget_seelie = 300002 diff --git a/Resources/Scripts/Scene/3/scene3_group133105301.lua b/Resources/Scripts/Scene/3/scene3_group133105301.lua index d3db4f9b1..ecbf08e74 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105301.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105301.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310500090, gadget_seelie = 301002 diff --git a/Resources/Scripts/Scene/3/scene3_group133105326.lua b/Resources/Scripts/Scene/3/scene3_group133105326.lua index 009c84c02..ae6ad9887 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105326.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105326.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310500094, gadget_seelie = 326002 diff --git a/Resources/Scripts/Scene/3/scene3_group133105333.lua b/Resources/Scripts/Scene/3/scene3_group133105333.lua index e8a8246ae..10d1cc009 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105333.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105333.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310500096, gadget_seelie = 333002 diff --git a/Resources/Scripts/Scene/3/scene3_group133105334.lua b/Resources/Scripts/Scene/3/scene3_group133105334.lua index 1d6393a3b..69277e724 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105334.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105334.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 3, group_id = 133105334, diff --git a/Resources/Scripts/Scene/3/scene3_group133105336.lua b/Resources/Scripts/Scene/3/scene3_group133105336.lua index cd3d7b3af..b9c13783a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105336.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105336.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator = 336009, blossom_chest = 336010, platform = 336012, diff --git a/Resources/Scripts/Scene/3/scene3_group133105337.lua b/Resources/Scripts/Scene/3/scene3_group133105337.lua index e7e56da8a..976c36a57 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105337.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105337.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator = 337008, blossom_chest = 337009, platform = 337011, diff --git a/Resources/Scripts/Scene/3/scene3_group133105342.lua b/Resources/Scripts/Scene/3/scene3_group133105342.lua index cdc506886..821477c2a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105342.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105342.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 342011, gadget_2 = 342012, gadget_3 = 342013 diff --git a/Resources/Scripts/Scene/3/scene3_group133105903.lua b/Resources/Scripts/Scene/3/scene3_group133105903.lua index bffed09bc..c92bca621 100644 --- a/Resources/Scripts/Scene/3/scene3_group133105903.lua +++ b/Resources/Scripts/Scene/3/scene3_group133105903.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 70, group_id = 133105903 } diff --git a/Resources/Scripts/Scene/3/scene3_group133106025.lua b/Resources/Scripts/Scene/3/scene3_group133106025.lua index abefe67a1..75019f639 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106025.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106025.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_prison = 25001, duration = 210, rampage_time = 40, diff --git a/Resources/Scripts/Scene/3/scene3_group133106026.lua b/Resources/Scripts/Scene/3/scene3_group133106026.lua index e413f099e..845e148d1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106026.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106026.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 26009, gadget_lookEntity = 26001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133106028.lua b/Resources/Scripts/Scene/3/scene3_group133106028.lua index afdc0be7b..026b867ff 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106028.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106028.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { order = {28008,28007,28006,28009}, region = 28013, region_Enter = 28013, diff --git a/Resources/Scripts/Scene/3/scene3_group133106029.lua b/Resources/Scripts/Scene/3/scene3_group133106029.lua index 85db992e9..d467739ab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106029.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106029.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_Enter = 29008, region_Leave = 29009, group_id = 133106029, diff --git a/Resources/Scripts/Scene/3/scene3_group133106047.lua b/Resources/Scripts/Scene/3/scene3_group133106047.lua index e349e2823..ce2d1255e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106047.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106047.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 6, route_2 = 310600012, gadget_seelie = 47002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106066.lua b/Resources/Scripts/Scene/3/scene3_group133106066.lua index 11ab645bb..1f4ba3344 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106066.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106066.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310600022, gadget_seelie = 66002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106069.lua b/Resources/Scripts/Scene/3/scene3_group133106069.lua index def3d3894..343725381 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106069.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106069.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106069, gadget_riddle_hint = 69001, gadget_riddle_1 = 69002, diff --git a/Resources/Scripts/Scene/3/scene3_group133106070.lua b/Resources/Scripts/Scene/3/scene3_group133106070.lua index e63528215..1d5eff820 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106070.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106070.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106070, gadget_target_1S = 70002, gadget_target_1E = 70005, diff --git a/Resources/Scripts/Scene/3/scene3_group133106071.lua b/Resources/Scripts/Scene/3/scene3_group133106071.lua index 738346bb5..7f9874501 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106071.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106071.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106071, gadget_target_1 = 71003, monster_mole_1 = 71001, diff --git a/Resources/Scripts/Scene/3/scene3_group133106073.lua b/Resources/Scripts/Scene/3/scene3_group133106073.lua index 1460e8439..7d43cdd83 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106073.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106073.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310600027, gadget_seelie = 73002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106083.lua b/Resources/Scripts/Scene/3/scene3_group133106083.lua index 419212ba1..8a893a833 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106083.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106083.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106083, gadget_riddle_hint = 83001, gadget_riddle_1 = 83002, diff --git a/Resources/Scripts/Scene/3/scene3_group133106085.lua b/Resources/Scripts/Scene/3/scene3_group133106085.lua index cbfd72ebf..61e725be2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106085.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106085.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310600029, gadget_seelie = 85002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106091.lua b/Resources/Scripts/Scene/3/scene3_group133106091.lua index ff9525ec5..15cf3c87d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106091.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106091.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106091, gadget_target_1 = 91003, monster_mole_1 = 91001, diff --git a/Resources/Scripts/Scene/3/scene3_group133106092.lua b/Resources/Scripts/Scene/3/scene3_group133106092.lua index 26f6b12c4..1f5fe92b6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106092.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106092.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 2, group_id = 133106092, diff --git a/Resources/Scripts/Scene/3/scene3_group133106119.lua b/Resources/Scripts/Scene/3/scene3_group133106119.lua index 943339008..6fbda55b8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106119.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106119.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106119, gadget_target_1S = 119002, gadget_target_1E = 119005, diff --git a/Resources/Scripts/Scene/3/scene3_group133106123.lua b/Resources/Scripts/Scene/3/scene3_group133106123.lua index 38de117fe..77eb7d50e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106123.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106123.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 310600044, gadget_seelie = 123002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106126.lua b/Resources/Scripts/Scene/3/scene3_group133106126.lua index 5d07e0860..3867598df 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106126.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106126.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 126004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133106134.lua b/Resources/Scripts/Scene/3/scene3_group133106134.lua index 67dc82d59..0babc8f5c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106134.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106134.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { steps = 3, config_id = 134011, routes = { [1]={route=310600001,points={1,2,3}}, [2]={route=310600001,points={3,4,5}}, [3]={route=310600001,points={5,6,7}}, }, diff --git a/Resources/Scripts/Scene/3/scene3_group133106136.lua b/Resources/Scripts/Scene/3/scene3_group133106136.lua index dfcfeb064..8af23e469 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106136.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106136.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106136, gadget_target_1S = 136002, gadget_target_1E = 136005, diff --git a/Resources/Scripts/Scene/3/scene3_group133106149.lua b/Resources/Scripts/Scene/3/scene3_group133106149.lua index 7981ea038..262eddcc4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106149.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106149.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106149, gadget_target_1S = 149002, gadget_target_1E = 149005, diff --git a/Resources/Scripts/Scene/3/scene3_group133106150.lua b/Resources/Scripts/Scene/3/scene3_group133106150.lua index ca0711356..a553ec0ec 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106150.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106150.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106150, gadget_target_1S = 150002, gadget_target_1E = 150005, diff --git a/Resources/Scripts/Scene/3/scene3_group133106151.lua b/Resources/Scripts/Scene/3/scene3_group133106151.lua index b1aa6fcdb..1033dd42d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106151.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106151.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106151, gadget_target_1S = 151002, gadget_target_1E = 151005, diff --git a/Resources/Scripts/Scene/3/scene3_group133106152.lua b/Resources/Scripts/Scene/3/scene3_group133106152.lua index 126e8fa70..ac3786b28 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106152.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106152.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106152, gadget_target_1S = 152002, gadget_target_1E = 152005, diff --git a/Resources/Scripts/Scene/3/scene3_group133106153.lua b/Resources/Scripts/Scene/3/scene3_group133106153.lua index c6d2f1ff7..f0dbe9c2e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106153.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106153.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106153, gadget_target_1S = 153002, gadget_target_1E = 153005, diff --git a/Resources/Scripts/Scene/3/scene3_group133106154.lua b/Resources/Scripts/Scene/3/scene3_group133106154.lua index 80d0995ab..ea0f7f82f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106154.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106154.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106154, gadget_target_1S = 154002, gadget_target_1E = 154005, diff --git a/Resources/Scripts/Scene/3/scene3_group133106155.lua b/Resources/Scripts/Scene/3/scene3_group133106155.lua index d380283e3..bda646e0d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106155.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106155.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106155, gadget_target_1S = 155002, gadget_target_1E = 155005, diff --git a/Resources/Scripts/Scene/3/scene3_group133106156.lua b/Resources/Scripts/Scene/3/scene3_group133106156.lua index 665428148..8d4888a80 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106156.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106156.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106156, gadget_target_1 = 156003, monster_mole_1 = 156001, diff --git a/Resources/Scripts/Scene/3/scene3_group133106157.lua b/Resources/Scripts/Scene/3/scene3_group133106157.lua index 7caf23025..53529fc29 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106157.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106157.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106157, gadget_target_1 = 157003, monster_mole_1 = 157001, diff --git a/Resources/Scripts/Scene/3/scene3_group133106158.lua b/Resources/Scripts/Scene/3/scene3_group133106158.lua index baa92d7a1..d3ad25e6e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106158.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106158.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106158, gadget_target_1 = 158003, monster_mole_1 = 158001, diff --git a/Resources/Scripts/Scene/3/scene3_group133106159.lua b/Resources/Scripts/Scene/3/scene3_group133106159.lua index 414dbedd9..8d36cf10b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106159.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106159.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106159, gadget_target_1 = 159003, monster_mole_1 = 159001, diff --git a/Resources/Scripts/Scene/3/scene3_group133106160.lua b/Resources/Scripts/Scene/3/scene3_group133106160.lua index a91e1630e..df2709fdf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106160.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106160.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106160, gadget_target_1 = 160003, monster_mole_1 = 160001, diff --git a/Resources/Scripts/Scene/3/scene3_group133106161.lua b/Resources/Scripts/Scene/3/scene3_group133106161.lua index e65f61e12..759105f7f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106161.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106161.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106161, gadget_target_1 = 161003, monster_mole_1 = 161001, diff --git a/Resources/Scripts/Scene/3/scene3_group133106162.lua b/Resources/Scripts/Scene/3/scene3_group133106162.lua index df541d188..2a0ccfcfc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106162.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106162.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106162, gadget_target_1 = 162003, monster_mole_1 = 162001, diff --git a/Resources/Scripts/Scene/3/scene3_group133106190.lua b/Resources/Scripts/Scene/3/scene3_group133106190.lua index 16e7c9978..ea41fb598 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106190.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106190.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 4, group_id = 133106190, diff --git a/Resources/Scripts/Scene/3/scene3_group133106199.lua b/Resources/Scripts/Scene/3/scene3_group133106199.lua index 5c39faf56..070a576fb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106199.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106199.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310600075, gadget_seelie = 199002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106200.lua b/Resources/Scripts/Scene/3/scene3_group133106200.lua index 080e01aa9..bae5deeef 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106200.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106200.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, kill_sum = 3, group_id = 133106200, diff --git a/Resources/Scripts/Scene/3/scene3_group133106210.lua b/Resources/Scripts/Scene/3/scene3_group133106210.lua index 74112b8d7..49316d821 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106210.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106210.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106210, gadget_target_1S = 210002, gadget_target_1E = 210005, diff --git a/Resources/Scripts/Scene/3/scene3_group133106211.lua b/Resources/Scripts/Scene/3/scene3_group133106211.lua index 358dc96b6..1e017c8d7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106211.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106211.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 310600080, gadget_seelie = 211002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106212.lua b/Resources/Scripts/Scene/3/scene3_group133106212.lua index 071122bb0..453823e11 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106212.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106212.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106212, gadget_riddle_hint = 212001, gadget_riddle_1 = 212002, diff --git a/Resources/Scripts/Scene/3/scene3_group133106221.lua b/Resources/Scripts/Scene/3/scene3_group133106221.lua index cd8071323..84e2f6bba 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106221.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106221.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, kill_sum = 4, group_id = 133106221, diff --git a/Resources/Scripts/Scene/3/scene3_group133106222.lua b/Resources/Scripts/Scene/3/scene3_group133106222.lua index 0bdc595bd..2e5db3038 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106222.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106222.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106222, gadget_target_1S = 222002, gadget_target_1E = 222005, diff --git a/Resources/Scripts/Scene/3/scene3_group133106225.lua b/Resources/Scripts/Scene/3/scene3_group133106225.lua index b479b8f0f..1285c6cbd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106225.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106225.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106225, gadget_target_1S = 225002, gadget_target_1E = 225005, diff --git a/Resources/Scripts/Scene/3/scene3_group133106226.lua b/Resources/Scripts/Scene/3/scene3_group133106226.lua index 710a2d1dc..ba71292c3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106226.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106226.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310600088, gadget_seelie = 226002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106227.lua b/Resources/Scripts/Scene/3/scene3_group133106227.lua index 3004715eb..a0853356e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106227.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106227.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { steps = 3, config_id = 227009, routes = { [1]={route=310600002,points={1,2,3}}, [2]={route=310600002,points={3,6,7}}, [3]={route=310600002,points={7,8,9}}, }, diff --git a/Resources/Scripts/Scene/3/scene3_group133106228.lua b/Resources/Scripts/Scene/3/scene3_group133106228.lua index 8c6dd128a..062b3a279 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106228.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106228.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { steps = 2, config_id = 228008, routes = { [1]={route=310600004,points={1,2,3}}, [2]={route=310600004,points={3,4,5}}, }, diff --git a/Resources/Scripts/Scene/3/scene3_group133106241.lua b/Resources/Scripts/Scene/3/scene3_group133106241.lua index 472c887ee..ff982ab71 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106241.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106241.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 10, group_id = 133106241, diff --git a/Resources/Scripts/Scene/3/scene3_group133106244.lua b/Resources/Scripts/Scene/3/scene3_group133106244.lua index 788852f2c..bacaff597 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106244.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106244.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 310600090, gadget_seelie = 244002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106247.lua b/Resources/Scripts/Scene/3/scene3_group133106247.lua index 4ab25a7fd..1a67f2efe 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106247.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106247.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106247, gadget_riddle_hint = 247001, gadget_riddle_1 = 247002, diff --git a/Resources/Scripts/Scene/3/scene3_group133106250.lua b/Resources/Scripts/Scene/3/scene3_group133106250.lua index 15a733506..6fa880387 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106250.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106250.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 310600093, gadget_seelie = 250002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106252.lua b/Resources/Scripts/Scene/3/scene3_group133106252.lua index 9037534aa..8b1fa1329 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106252.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106252.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310600095, gadget_seelie = 252002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106253.lua b/Resources/Scripts/Scene/3/scene3_group133106253.lua index b29aac8d0..f685aff16 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106253.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106253.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310600097, gadget_seelie = 253002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106256.lua b/Resources/Scripts/Scene/3/scene3_group133106256.lua index f3fbae2f4..8ad650b40 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106256.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106256.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 4, group_id = 133106256, diff --git a/Resources/Scripts/Scene/3/scene3_group133106261.lua b/Resources/Scripts/Scene/3/scene3_group133106261.lua index 5301f16f1..66269581b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106261.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106261.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106261, gadget_target_1 = 261003, monster_mole_1 = 261001, diff --git a/Resources/Scripts/Scene/3/scene3_group133106286.lua b/Resources/Scripts/Scene/3/scene3_group133106286.lua index ee340ca1e..52441a147 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106286.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106286.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310600111, gadget_seelie = 286002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106297.lua b/Resources/Scripts/Scene/3/scene3_group133106297.lua index 0fe2fe6e1..f09fc46fd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106297.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106297.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 297004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133106309.lua b/Resources/Scripts/Scene/3/scene3_group133106309.lua index a72a78ee3..3161fad05 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106309.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106309.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 309004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133106311.lua b/Resources/Scripts/Scene/3/scene3_group133106311.lua index 73efd1548..117c1f6fd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106311.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106311.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 311011 } diff --git a/Resources/Scripts/Scene/3/scene3_group133106312.lua b/Resources/Scripts/Scene/3/scene3_group133106312.lua index 1e5cecd87..262eb85df 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106312.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106312.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 312013 } diff --git a/Resources/Scripts/Scene/3/scene3_group133106315.lua b/Resources/Scripts/Scene/3/scene3_group133106315.lua index 510b60fe4..3d11197ac 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106315.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106315.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 315004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133106317.lua b/Resources/Scripts/Scene/3/scene3_group133106317.lua index 47ac5ede7..90827c088 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106317.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106317.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 317004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133106411.lua b/Resources/Scripts/Scene/3/scene3_group133106411.lua index 38288cbf3..623ad3648 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106411.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106411.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { steps = 2, config_id = 411015, routes = { [1]={route=310600005,points={1,2,7}}, [2]={route=310600005,points={7,8,9}}, }, diff --git a/Resources/Scripts/Scene/3/scene3_group133106444.lua b/Resources/Scripts/Scene/3/scene3_group133106444.lua index 7a84fad0a..12290c2af 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106444.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106444.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { steps = 4, config_id = 444009, routes = { [1]={route=310600003,points={1,2,3}}, [2]={route=310600003,points={3,4,5}}, [3]={route=310600003,points={5,6,7}}, [4]={route=310600003,points={7,8,9}}, }, diff --git a/Resources/Scripts/Scene/3/scene3_group133106445.lua b/Resources/Scripts/Scene/3/scene3_group133106445.lua index f23e70d3b..8a3faff00 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106445.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106445.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_11 = 445001, gadget_12 = 445002, gadget_13 = 445003, diff --git a/Resources/Scripts/Scene/3/scene3_group133106450.lua b/Resources/Scripts/Scene/3/scene3_group133106450.lua index 1aae09945..a9c9ca82a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106450.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106450.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_11 = 450001, gadget_12 = 450002, gadget_13 = 450003, diff --git a/Resources/Scripts/Scene/3/scene3_group133106485.lua b/Resources/Scripts/Scene/3/scene3_group133106485.lua index f6e5ed340..cf7976c93 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106485.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106485.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 485001, gallery_id = 18007, region_id = 485002, diff --git a/Resources/Scripts/Scene/3/scene3_group133106487.lua b/Resources/Scripts/Scene/3/scene3_group133106487.lua index e3d61c264..7a837a3f2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106487.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106487.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 487001, gallery_id = 18011, region_id = 487002, diff --git a/Resources/Scripts/Scene/3/scene3_group133106488.lua b/Resources/Scripts/Scene/3/scene3_group133106488.lua index 89d0ebc99..b4c39ba40 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106488.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106488.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 488001, gallery_id = 18012, region_id = 488002, diff --git a/Resources/Scripts/Scene/3/scene3_group133106517.lua b/Resources/Scripts/Scene/3/scene3_group133106517.lua index 782afef9e..871da3320 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106517.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106517.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106517, gadget_target_1S = 517002, gadget_target_1E = 517005, diff --git a/Resources/Scripts/Scene/3/scene3_group133106518.lua b/Resources/Scripts/Scene/3/scene3_group133106518.lua index 3a90ff4d6..8db57886f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106518.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106518.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_node01 = 518002, gadget_node02 = 518003, gadget_node03 = 518004, diff --git a/Resources/Scripts/Scene/3/scene3_group133106519.lua b/Resources/Scripts/Scene/3/scene3_group133106519.lua index 5eb5a75b3..389d68b17 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106519.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106519.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_node01 = 519002, gadget_node02 = 519003, gadget_node03 = 519004, diff --git a/Resources/Scripts/Scene/3/scene3_group133106523.lua b/Resources/Scripts/Scene/3/scene3_group133106523.lua index eee4890fb..68a3303dd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106523.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106523.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310600144, gadget_seelie = 523002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106533.lua b/Resources/Scripts/Scene/3/scene3_group133106533.lua index d48e3b318..a18a1fe28 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106533.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106533.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 533004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133106541.lua b/Resources/Scripts/Scene/3/scene3_group133106541.lua index 4653eb154..d7009b4a0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106541.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106541.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, group_id = 133106541, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133106545.lua b/Resources/Scripts/Scene/3/scene3_group133106545.lua index 801b7cf1a..047b4b2b1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106545.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106545.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 23, route_2 = 310600154, gadget_seelie = 545002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106549.lua b/Resources/Scripts/Scene/3/scene3_group133106549.lua index 797ad349c..94640a026 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106549.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106549.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 25, group_id = 133106549, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133106550.lua b/Resources/Scripts/Scene/3/scene3_group133106550.lua index d08591166..770332ba9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106550.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106550.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310600156, gadget_seelie = 550002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106556.lua b/Resources/Scripts/Scene/3/scene3_group133106556.lua index 1efa4c2f4..a8b407ee4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106556.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106556.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_node01 = 556002, gadget_node02 = 556003, gadget_node03 = 556004, diff --git a/Resources/Scripts/Scene/3/scene3_group133106569.lua b/Resources/Scripts/Scene/3/scene3_group133106569.lua index 2db2423cc..0a15c63ed 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106569.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106569.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106569, gadget_target_1S = 569002, gadget_target_1E = 569005, diff --git a/Resources/Scripts/Scene/3/scene3_group133106571.lua b/Resources/Scripts/Scene/3/scene3_group133106571.lua index 72a5bfe5b..e318dfcb7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106571.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106571.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310600162, gadget_seelie = 571002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106573.lua b/Resources/Scripts/Scene/3/scene3_group133106573.lua index 46b090944..50a6eed7a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106573.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106573.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 573004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133106578.lua b/Resources/Scripts/Scene/3/scene3_group133106578.lua index 50941455a..52d766ce2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106578.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106578.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, group_id = 133106578, collectable_sum = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133106590.lua b/Resources/Scripts/Scene/3/scene3_group133106590.lua index 2ba6c8e62..4814c979d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106590.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106590.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 590004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133106591.lua b/Resources/Scripts/Scene/3/scene3_group133106591.lua index f47aea4e0..c5507e751 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106591.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106591.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310600168, gadget_seelie = 591002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106599.lua b/Resources/Scripts/Scene/3/scene3_group133106599.lua index 83015c75d..2524841e2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106599.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106599.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133106599, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133106600.lua b/Resources/Scripts/Scene/3/scene3_group133106600.lua index 6fd0eaf48..dbba1e805 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106600.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106600.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 310600170, gadget_seelie = 600002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106609.lua b/Resources/Scripts/Scene/3/scene3_group133106609.lua index 684be6174..b8e9fd1ce 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106609.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106609.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 2, group_id = 133106609, diff --git a/Resources/Scripts/Scene/3/scene3_group133106618.lua b/Resources/Scripts/Scene/3/scene3_group133106618.lua index a7bf65d28..9012f4094 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106618.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106618.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 310600172, gadget_seelie = 618002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106630.lua b/Resources/Scripts/Scene/3/scene3_group133106630.lua index c71598cae..61bc2822b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106630.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106630.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310600175, gadget_seelie = 630002 diff --git a/Resources/Scripts/Scene/3/scene3_group133106631.lua b/Resources/Scripts/Scene/3/scene3_group133106631.lua index 5430abdc2..3d883774e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106631.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106631.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 2, group_id = 133106631, diff --git a/Resources/Scripts/Scene/3/scene3_group133106635.lua b/Resources/Scripts/Scene/3/scene3_group133106635.lua index f81142a28..d483a9d62 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106635.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106635.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133106635, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133106636.lua b/Resources/Scripts/Scene/3/scene3_group133106636.lua index 59bb9e359..5caf114f3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106636.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106636.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133106636, gadget_target_1S = 636002, gadget_target_1E = 636005, diff --git a/Resources/Scripts/Scene/3/scene3_group133106907.lua b/Resources/Scripts/Scene/3/scene3_group133106907.lua index c98665f10..1c014d9bf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106907.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106907.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 907011 } diff --git a/Resources/Scripts/Scene/3/scene3_group133106908.lua b/Resources/Scripts/Scene/3/scene3_group133106908.lua index fe7401f0b..934e7d54d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133106908.lua +++ b/Resources/Scripts/Scene/3/scene3_group133106908.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 80, group_id = 133106908 } diff --git a/Resources/Scripts/Scene/3/scene3_group133107019.lua b/Resources/Scripts/Scene/3/scene3_group133107019.lua index 707658ec1..2d51899a4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107019.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107019.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 19004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133107024.lua b/Resources/Scripts/Scene/3/scene3_group133107024.lua index 721638c6b..cb330ff45 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107024.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107024.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 24004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133107025.lua b/Resources/Scripts/Scene/3/scene3_group133107025.lua index 3cc3394d2..9aaa1eaa8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107025.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107025.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310700005, gadget_seelie = 25002 diff --git a/Resources/Scripts/Scene/3/scene3_group133107032.lua b/Resources/Scripts/Scene/3/scene3_group133107032.lua index c8358fec0..ee90a82ce 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107032.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107032.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 32004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133107036.lua b/Resources/Scripts/Scene/3/scene3_group133107036.lua index 3d0e217fd..4c5da8898 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107036.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107036.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133107036, gadget_target_1 = 36003, monster_mole_1 = 36001, diff --git a/Resources/Scripts/Scene/3/scene3_group133107037.lua b/Resources/Scripts/Scene/3/scene3_group133107037.lua index a19dda78c..c13ad83bc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107037.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107037.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 2, group_id = 133107037, diff --git a/Resources/Scripts/Scene/3/scene3_group133107041.lua b/Resources/Scripts/Scene/3/scene3_group133107041.lua index 50fcdbe12..06bf949c3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107041.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107041.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310700007, gadget_seelie = 41002 diff --git a/Resources/Scripts/Scene/3/scene3_group133107049.lua b/Resources/Scripts/Scene/3/scene3_group133107049.lua index 818e68914..7674a05f3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107049.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107049.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133107049, gadget_target_1 = 49003, monster_mole_1 = 49001, diff --git a/Resources/Scripts/Scene/3/scene3_group133107050.lua b/Resources/Scripts/Scene/3/scene3_group133107050.lua index feeeccd21..b64e6bd46 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107050.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107050.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310700009, gadget_seelie = 50002 diff --git a/Resources/Scripts/Scene/3/scene3_group133107053.lua b/Resources/Scripts/Scene/3/scene3_group133107053.lua index f50c03c63..c8598d872 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107053.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107053.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 53004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133107061.lua b/Resources/Scripts/Scene/3/scene3_group133107061.lua index badf136f6..e77ff50fb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107061.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107061.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133107061, gadget_riddle_hint = 61001, gadget_riddle_1 = 61002, diff --git a/Resources/Scripts/Scene/3/scene3_group133107063.lua b/Resources/Scripts/Scene/3/scene3_group133107063.lua index 356e9921c..50961499f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107063.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107063.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310700015, gadget_seelie = 63002 diff --git a/Resources/Scripts/Scene/3/scene3_group133107072.lua b/Resources/Scripts/Scene/3/scene3_group133107072.lua index 8ab604db6..321bba306 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107072.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107072.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 310700018, gadget_seelie = 72002 diff --git a/Resources/Scripts/Scene/3/scene3_group133107107.lua b/Resources/Scripts/Scene/3/scene3_group133107107.lua index 50ea158c4..d35c3debb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107107.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107107.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310700022, gadget_seelie = 107002 diff --git a/Resources/Scripts/Scene/3/scene3_group133107111.lua b/Resources/Scripts/Scene/3/scene3_group133107111.lua index f0d942960..0866fc1a8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107111.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107111.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 111004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133107114.lua b/Resources/Scripts/Scene/3/scene3_group133107114.lua index 1a32d11eb..b2373fe25 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107114.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107114.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310700020, gadget_seelie = 114002 diff --git a/Resources/Scripts/Scene/3/scene3_group133107125.lua b/Resources/Scripts/Scene/3/scene3_group133107125.lua index 4891e5308..c9cdc5924 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107125.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107125.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133107125, gadget_sum = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133107149.lua b/Resources/Scripts/Scene/3/scene3_group133107149.lua index e37261009..75785c56f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107149.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107149.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133107149, gadget_target_1S = 149002, gadget_target_1E = 149005, diff --git a/Resources/Scripts/Scene/3/scene3_group133107162.lua b/Resources/Scripts/Scene/3/scene3_group133107162.lua index dcad34d61..9109b24ca 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107162.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107162.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133107162, gadget_riddle_hint = 162001, gadget_riddle_1 = 162002, diff --git a/Resources/Scripts/Scene/3/scene3_group133107170.lua b/Resources/Scripts/Scene/3/scene3_group133107170.lua index 657ee6d78..76fbba6fb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107170.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107170.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer_region = 170010, challenge_region = 170002, monster_hilichurl = 170001, diff --git a/Resources/Scripts/Scene/3/scene3_group133107204.lua b/Resources/Scripts/Scene/3/scene3_group133107204.lua index 8733190a2..095e28bd0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107204.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107204.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 310700070, gadget_seelie = 204002 diff --git a/Resources/Scripts/Scene/3/scene3_group133107250.lua b/Resources/Scripts/Scene/3/scene3_group133107250.lua index 4cecb6a51..cd4f038d8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107250.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107250.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 250001, gallery_id = 18008, region_id = 250002, diff --git a/Resources/Scripts/Scene/3/scene3_group133107934.lua b/Resources/Scripts/Scene/3/scene3_group133107934.lua index 4c352ac44..91fe25636 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107934.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107934.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 934003, gadget_2 = 934005, gadget_3 = 934011 diff --git a/Resources/Scripts/Scene/3/scene3_group133107935.lua b/Resources/Scripts/Scene/3/scene3_group133107935.lua index c2924101d..847c10b6f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133107935.lua +++ b/Resources/Scripts/Scene/3/scene3_group133107935.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_2 = 935010, gadget_3 = 935011 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108023.lua b/Resources/Scripts/Scene/3/scene3_group133108023.lua index 4c2f71999..6a0567fcd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108023.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108023.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310800004, gadget_seelie = 23002 diff --git a/Resources/Scripts/Scene/3/scene3_group133108029.lua b/Resources/Scripts/Scene/3/scene3_group133108029.lua index f3ce47697..f6d2bfd75 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108029.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108029.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108029, gadget_target_1S = 29002, gadget_target_1E = 29005, diff --git a/Resources/Scripts/Scene/3/scene3_group133108048.lua b/Resources/Scripts/Scene/3/scene3_group133108048.lua index 871673456..c4a740ee8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108048.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108048.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310800012, gadget_seelie = 48002 diff --git a/Resources/Scripts/Scene/3/scene3_group133108050.lua b/Resources/Scripts/Scene/3/scene3_group133108050.lua index 4b79b518f..5188aeefe 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108050.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108050.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108050, gadget_riddle_hint = 50001, gadget_riddle_1 = 50002, diff --git a/Resources/Scripts/Scene/3/scene3_group133108051.lua b/Resources/Scripts/Scene/3/scene3_group133108051.lua index efbaaf496..96763b46e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108051.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108051.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108051, gadget_target_1S = 51002, gadget_target_1E = 51005, diff --git a/Resources/Scripts/Scene/3/scene3_group133108053.lua b/Resources/Scripts/Scene/3/scene3_group133108053.lua index d34772aef..23a760212 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108053.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108053.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 310800017, gadget_seelie = 53002 diff --git a/Resources/Scripts/Scene/3/scene3_group133108061.lua b/Resources/Scripts/Scene/3/scene3_group133108061.lua index d795f3cf0..b9051019b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108061.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108061.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, kill_sum = 1, group_id = 133108061, diff --git a/Resources/Scripts/Scene/3/scene3_group133108069.lua b/Resources/Scripts/Scene/3/scene3_group133108069.lua index 7400a3115..c667311a9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108069.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108069.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108069, gadget_target_1 = 69003, monster_mole_1 = 69001, diff --git a/Resources/Scripts/Scene/3/scene3_group133108073.lua b/Resources/Scripts/Scene/3/scene3_group133108073.lua index ee913f981..2875f03d6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108073.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108073.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108073, gadget_target_1 = 73003, monster_mole_1 = 73001, diff --git a/Resources/Scripts/Scene/3/scene3_group133108074.lua b/Resources/Scripts/Scene/3/scene3_group133108074.lua index f42cef2f7..ec480ffbe 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108074.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108074.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 310800021, gadget_seelie = 74002 diff --git a/Resources/Scripts/Scene/3/scene3_group133108089.lua b/Resources/Scripts/Scene/3/scene3_group133108089.lua index 90c999afc..e01c93ddf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108089.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108089.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108089, gadget_target_1 = 89003, monster_mole_1 = 89001, diff --git a/Resources/Scripts/Scene/3/scene3_group133108094.lua b/Resources/Scripts/Scene/3/scene3_group133108094.lua index dc49551fc..3add16f00 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108094.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108094.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 180, kill_sum = 5, group_id = 133108094, diff --git a/Resources/Scripts/Scene/3/scene3_group133108095.lua b/Resources/Scripts/Scene/3/scene3_group133108095.lua index 28cea052b..36b64e205 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108095.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108095.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 180, kill_sum = 5, group_id = 133108095, diff --git a/Resources/Scripts/Scene/3/scene3_group133108124.lua b/Resources/Scripts/Scene/3/scene3_group133108124.lua index c8e8759ae..c69edbc21 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108124.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108124.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_1_duration = 50, challenge_2_duration = 40, challenge_3_duration = 30, diff --git a/Resources/Scripts/Scene/3/scene3_group133108126.lua b/Resources/Scripts/Scene/3/scene3_group133108126.lua index 34ea5d869..a9536f15f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108126.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108126.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 1, group_id = 133108126, diff --git a/Resources/Scripts/Scene/3/scene3_group133108127.lua b/Resources/Scripts/Scene/3/scene3_group133108127.lua index 02d933100..b8f48dcd9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108127.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108127.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 1, group_id = 133108127, diff --git a/Resources/Scripts/Scene/3/scene3_group133108183.lua b/Resources/Scripts/Scene/3/scene3_group133108183.lua index d6a27fb0e..167748253 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108183.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108183.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 183001, gallery_id = 29005, region_id = 183005, diff --git a/Resources/Scripts/Scene/3/scene3_group133108184.lua b/Resources/Scripts/Scene/3/scene3_group133108184.lua index 5fcbaf732..7fc75d9c3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108184.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108184.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { gallery_id = 111, --开启机关交互后,加载哪个/些suit diff --git a/Resources/Scripts/Scene/3/scene3_group133108187.lua b/Resources/Scripts/Scene/3/scene3_group133108187.lua index 2f8aebb59..cfbbd6e93 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108187.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108187.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { GroupID = 133108187, AGRegionConfigID = 187011, AGName = "ActivityAbility_ToMoon_FoodChallenge_Part3", diff --git a/Resources/Scripts/Scene/3/scene3_group133108188.lua b/Resources/Scripts/Scene/3/scene3_group133108188.lua index f0e24f7d8..81a328951 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108188.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108188.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { GroupID = 133108188, AGRegionConfigID = 188011, AGName = "ActivityAbility_ToMoon_FoodChallenge_Part3", diff --git a/Resources/Scripts/Scene/3/scene3_group133108189.lua b/Resources/Scripts/Scene/3/scene3_group133108189.lua index 0b2005872..0da1ce5a7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108189.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108189.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { GroupID = 133108189, AGRegionConfigID = 189011, AGName = "ActivityAbility_ToMoon_FoodChallenge_Part3", diff --git a/Resources/Scripts/Scene/3/scene3_group133108193.lua b/Resources/Scripts/Scene/3/scene3_group133108193.lua index 17ff0fc8a..f7bd1bbc6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108193.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108193.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { order = {193006}, region = 193013, region_Enter = 193013, diff --git a/Resources/Scripts/Scene/3/scene3_group133108194.lua b/Resources/Scripts/Scene/3/scene3_group133108194.lua index 586737ce2..a9ea2d46e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108194.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108194.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_Enter = 194008, region_Leave = 194009, group_id = 133108194, diff --git a/Resources/Scripts/Scene/3/scene3_group133108198.lua b/Resources/Scripts/Scene/3/scene3_group133108198.lua index 9655d0451..f20b08a16 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108198.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108198.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { eyepoint = 198044 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108201.lua b/Resources/Scripts/Scene/3/scene3_group133108201.lua index ec0a38144..23cca7307 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108201.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108201.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gallery_id = 14005, monsterTarget = 5, debrisTarget = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133108202.lua b/Resources/Scripts/Scene/3/scene3_group133108202.lua index c457a4339..8e0dccb7c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108202.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108202.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gallery_id = 14003, speed_double = 5 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108203.lua b/Resources/Scripts/Scene/3/scene3_group133108203.lua index 3090ae58f..057d6d4a5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108203.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108203.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gallery_id = 14004, speed_double = 5 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108204.lua b/Resources/Scripts/Scene/3/scene3_group133108204.lua index fc0eb36bc..c72a7e22a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108204.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108204.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108204, num_monster = 5, id_boss = 204004 diff --git a/Resources/Scripts/Scene/3/scene3_group133108205.lua b/Resources/Scripts/Scene/3/scene3_group133108205.lua index 6df9f6ed1..d5646a4d7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108205.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108205.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gallery_id = 14006 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108206.lua b/Resources/Scripts/Scene/3/scene3_group133108206.lua index 1e7851132..21446c213 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108206.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108206.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108206 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108207.lua b/Resources/Scripts/Scene/3/scene3_group133108207.lua index abfe3c548..277f0935c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108207.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108207.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108207 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108208.lua b/Resources/Scripts/Scene/3/scene3_group133108208.lua index c57b52d0d..e850af3a3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108208.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108208.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108208 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108210.lua b/Resources/Scripts/Scene/3/scene3_group133108210.lua index f81322e22..b31f01ad0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108210.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108210.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108210 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108211.lua b/Resources/Scripts/Scene/3/scene3_group133108211.lua index 253f735a8..112bfb447 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108211.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108211.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108211 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108212.lua b/Resources/Scripts/Scene/3/scene3_group133108212.lua index 18e9ccb54..1ba714ca0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108212.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108212.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108212 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108213.lua b/Resources/Scripts/Scene/3/scene3_group133108213.lua index c8b8a9961..ee738e566 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108213.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108213.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108213 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108214.lua b/Resources/Scripts/Scene/3/scene3_group133108214.lua index aa8370089..75f750b74 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108214.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108214.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108214 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108215.lua b/Resources/Scripts/Scene/3/scene3_group133108215.lua index 8bc70e082..370435b4a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108215.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108215.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108215 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108216.lua b/Resources/Scripts/Scene/3/scene3_group133108216.lua index 80c07abc8..906d42161 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108216.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108216.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108216 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108217.lua b/Resources/Scripts/Scene/3/scene3_group133108217.lua index 4275d28b6..485e71a1c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108217.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108217.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108217 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108218.lua b/Resources/Scripts/Scene/3/scene3_group133108218.lua index 1fe231dd0..05fcc6540 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108218.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108218.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108218 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108219.lua b/Resources/Scripts/Scene/3/scene3_group133108219.lua index 5d5b3b2b0..f52120af0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108219.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108219.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108219 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108220.lua b/Resources/Scripts/Scene/3/scene3_group133108220.lua index 2465b18a6..4035d5a80 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108220.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108220.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108220, num_monster = 2 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108221.lua b/Resources/Scripts/Scene/3/scene3_group133108221.lua index f9c464477..7beb890b7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108221.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108221.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108221, num_monster = 2 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108225.lua b/Resources/Scripts/Scene/3/scene3_group133108225.lua index 7f25226b3..f97bba7e1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108225.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108225.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108225, num_monster = 5, monster_id_boss = 225004 diff --git a/Resources/Scripts/Scene/3/scene3_group133108226.lua b/Resources/Scripts/Scene/3/scene3_group133108226.lua index fe4a14b03..6baa1196b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108226.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108226.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108226, num_monster = 5, monster_id_boss = 226004 diff --git a/Resources/Scripts/Scene/3/scene3_group133108227.lua b/Resources/Scripts/Scene/3/scene3_group133108227.lua index 05c24902a..120d07a7f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108227.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108227.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108227, num_monster = 5, monster_id_boss = 227004 diff --git a/Resources/Scripts/Scene/3/scene3_group133108228.lua b/Resources/Scripts/Scene/3/scene3_group133108228.lua index 5e8d19f53..480b32a08 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108228.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108228.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108228, num_monster = 5, monster_id_boss = 228004 diff --git a/Resources/Scripts/Scene/3/scene3_group133108229.lua b/Resources/Scripts/Scene/3/scene3_group133108229.lua index 8489d9b85..110b2af68 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108229.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108229.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108229, num_monster = 3, monster_id_boss = 229004 diff --git a/Resources/Scripts/Scene/3/scene3_group133108230.lua b/Resources/Scripts/Scene/3/scene3_group133108230.lua index 7fcb26d0c..7dbaefea0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108230.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108230.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108230, num_monster = 4, monster_id_boss = 230004 diff --git a/Resources/Scripts/Scene/3/scene3_group133108231.lua b/Resources/Scripts/Scene/3/scene3_group133108231.lua index f52b6258b..bc22331c6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108231.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108231.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108231, num_monster = 5, monster_id_boss = 231004 diff --git a/Resources/Scripts/Scene/3/scene3_group133108232.lua b/Resources/Scripts/Scene/3/scene3_group133108232.lua index b7198da5f..72dc9625e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108232.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108232.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108232, num_monster = 5, monster_id_boss = 232004 diff --git a/Resources/Scripts/Scene/3/scene3_group133108233.lua b/Resources/Scripts/Scene/3/scene3_group133108233.lua index b8d99a34d..a3c7a9b5c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108233.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108233.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108233, num_monster = 2 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108234.lua b/Resources/Scripts/Scene/3/scene3_group133108234.lua index a2508357f..b4e15fc01 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108234.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108234.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108234, num_monster = 2 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108235.lua b/Resources/Scripts/Scene/3/scene3_group133108235.lua index 4d1a0bb22..89b66b982 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108235.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108235.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108235, num_monster = 2 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108236.lua b/Resources/Scripts/Scene/3/scene3_group133108236.lua index ea322b475..8add74eed 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108236.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108236.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108236, num_monster = 2 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108237.lua b/Resources/Scripts/Scene/3/scene3_group133108237.lua index 501bb5cf5..9609a323b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108237.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108237.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108237, num_monster = 2 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108238.lua b/Resources/Scripts/Scene/3/scene3_group133108238.lua index 64fc7b66a..ceaca4abb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108238.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108238.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108238, num_monster = 2 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108239.lua b/Resources/Scripts/Scene/3/scene3_group133108239.lua index c063721f4..19653403f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108239.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108239.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108239, num_monster = 2 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108240.lua b/Resources/Scripts/Scene/3/scene3_group133108240.lua index 745a355e8..342966185 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108240.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108240.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108240 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108241.lua b/Resources/Scripts/Scene/3/scene3_group133108241.lua index 777229417..580ceb8d3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108241.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108241.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108241 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108242.lua b/Resources/Scripts/Scene/3/scene3_group133108242.lua index 55bb8ef93..17441d74b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108242.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108242.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108242 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108243.lua b/Resources/Scripts/Scene/3/scene3_group133108243.lua index 0e6931335..32ac33b30 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108243.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108243.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108243 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108244.lua b/Resources/Scripts/Scene/3/scene3_group133108244.lua index 65d51709a..c5e3735d0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108244.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108244.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108244 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108245.lua b/Resources/Scripts/Scene/3/scene3_group133108245.lua index 7d7f656fe..2b4f602bb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108245.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108245.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108245 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108246.lua b/Resources/Scripts/Scene/3/scene3_group133108246.lua index 176b39f7e..9db2cb4c2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108246.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108246.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108246, num_monster = 2 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108247.lua b/Resources/Scripts/Scene/3/scene3_group133108247.lua index c27becfa8..60e4464b9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108247.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108247.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108247, num_monster = 2 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108248.lua b/Resources/Scripts/Scene/3/scene3_group133108248.lua index 4b1d392d9..8b3692ea8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108248.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108248.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108248, num_monster = 2 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108249.lua b/Resources/Scripts/Scene/3/scene3_group133108249.lua index 4db2f5902..3fdec5560 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108249.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108249.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108249, num_monster = 2 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108250.lua b/Resources/Scripts/Scene/3/scene3_group133108250.lua index 618c14200..fedd43a86 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108250.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108250.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108250, num_monster = 2 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108251.lua b/Resources/Scripts/Scene/3/scene3_group133108251.lua index ad8af7364..466accc6e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108251.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108251.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108251, num_monster = 2 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108252.lua b/Resources/Scripts/Scene/3/scene3_group133108252.lua index 61d3fc2bb..d79eee5f2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108252.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108252.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133108252, num_monster = 2 } diff --git a/Resources/Scripts/Scene/3/scene3_group133108253.lua b/Resources/Scripts/Scene/3/scene3_group133108253.lua index 95b5773d3..9ed177f9a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133108253.lua +++ b/Resources/Scripts/Scene/3/scene3_group133108253.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gallery_id = 14006, monsterTarget = 5, debrisTarget = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133113007.lua b/Resources/Scripts/Scene/3/scene3_group133113007.lua index d596fda0b..bc69bb8e8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133113007.lua +++ b/Resources/Scripts/Scene/3/scene3_group133113007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { hintTime = 30, coinTime = 20, maxRegion = 7046, @@ -14,7 +14,7 @@ defs = { } -- DEFS_MISCS -defs_miscs = { +local defs_miscs = { specialCoinTable = { -- 每项格式如下 [7036] = {7029,7030,7031,7032,7033,7034,7037,7038,7051,7052,7053,7045,7047,7050}, diff --git a/Resources/Scripts/Scene/3/scene3_group133113008.lua b/Resources/Scripts/Scene/3/scene3_group133113008.lua index 1c34d0785..80688e975 100644 --- a/Resources/Scripts/Scene/3/scene3_group133113008.lua +++ b/Resources/Scripts/Scene/3/scene3_group133113008.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133113008, --对应的GroupID need_kill_hint = true, gadget_init = {8006, 8007}, --defs.gadget_init里按顺序填入 开启挑战机关ConfigID、 限时终点ConfigID diff --git a/Resources/Scripts/Scene/3/scene3_group133209007.lua b/Resources/Scripts/Scene/3/scene3_group133209007.lua index 97678d765..86d530108 100644 --- a/Resources/Scripts/Scene/3/scene3_group133209007.lua +++ b/Resources/Scripts/Scene/3/scene3_group133209007.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { RegionID = 7054, group_1 = 133209007 } diff --git a/Resources/Scripts/Scene/3/scene3_group133209008.lua b/Resources/Scripts/Scene/3/scene3_group133209008.lua index 586418958..2f2122f66 100644 --- a/Resources/Scripts/Scene/3/scene3_group133209008.lua +++ b/Resources/Scripts/Scene/3/scene3_group133209008.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { RegionID = 8066, group_1 = 133209008 } diff --git a/Resources/Scripts/Scene/3/scene3_group133209009.lua b/Resources/Scripts/Scene/3/scene3_group133209009.lua index 8297da444..3d28892a2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133209009.lua +++ b/Resources/Scripts/Scene/3/scene3_group133209009.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { RegionID = 9023, group_1 = 133209009 } diff --git a/Resources/Scripts/Scene/3/scene3_group133209010.lua b/Resources/Scripts/Scene/3/scene3_group133209010.lua index 5008b457b..62df5f56b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133209010.lua +++ b/Resources/Scripts/Scene/3/scene3_group133209010.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { RegionID = 10015, group_1 = 133209010 } diff --git a/Resources/Scripts/Scene/3/scene3_group133209011.lua b/Resources/Scripts/Scene/3/scene3_group133209011.lua index 5d97f4b2c..d83247f20 100644 --- a/Resources/Scripts/Scene/3/scene3_group133209011.lua +++ b/Resources/Scripts/Scene/3/scene3_group133209011.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { RegionID = 11022, group_1 = 133209011 } diff --git a/Resources/Scripts/Scene/3/scene3_group133209012.lua b/Resources/Scripts/Scene/3/scene3_group133209012.lua index 45fcdd52d..19e967418 100644 --- a/Resources/Scripts/Scene/3/scene3_group133209012.lua +++ b/Resources/Scripts/Scene/3/scene3_group133209012.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { RegionID = 12049, group_1 = 133209012 } diff --git a/Resources/Scripts/Scene/3/scene3_group133209013.lua b/Resources/Scripts/Scene/3/scene3_group133209013.lua index 7133e2250..11c031b61 100644 --- a/Resources/Scripts/Scene/3/scene3_group133209013.lua +++ b/Resources/Scripts/Scene/3/scene3_group133209013.lua @@ -4,9 +4,8 @@ local base_info = { } -- DEFS_MISCS -defs = { - RegionID = 13062 -, +local defs = { + RegionID = 13062 , group_1 = 133209013 } diff --git a/Resources/Scripts/Scene/3/scene3_group133209014.lua b/Resources/Scripts/Scene/3/scene3_group133209014.lua index f8e0fa11d..17dff04e3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133209014.lua +++ b/Resources/Scripts/Scene/3/scene3_group133209014.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { inner_region = 14023, outer_region = 14023, related_region = 14023, diff --git a/Resources/Scripts/Scene/3/scene3_group133209026.lua b/Resources/Scripts/Scene/3/scene3_group133209026.lua index 9f7aeb32b..b13019301 100644 --- a/Resources/Scripts/Scene/3/scene3_group133209026.lua +++ b/Resources/Scripts/Scene/3/scene3_group133209026.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 26010, outer_region = 26010, related_region = 26010, diff --git a/Resources/Scripts/Scene/3/scene3_group133209035.lua b/Resources/Scripts/Scene/3/scene3_group133209035.lua index 19c9a8c41..f742e06ff 100644 --- a/Resources/Scripts/Scene/3/scene3_group133209035.lua +++ b/Resources/Scripts/Scene/3/scene3_group133209035.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 35029, outer_region = 35029, related_region = 35029, diff --git a/Resources/Scripts/Scene/3/scene3_group133209038.lua b/Resources/Scripts/Scene/3/scene3_group133209038.lua index 3519f1815..299959ed7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133209038.lua +++ b/Resources/Scripts/Scene/3/scene3_group133209038.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 38016, outer_region = 38016, related_region = 38016, diff --git a/Resources/Scripts/Scene/3/scene3_group133209042.lua b/Resources/Scripts/Scene/3/scene3_group133209042.lua index 46a18ec89..8ca97d236 100644 --- a/Resources/Scripts/Scene/3/scene3_group133209042.lua +++ b/Resources/Scripts/Scene/3/scene3_group133209042.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gallery_id = 32001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133209064.lua b/Resources/Scripts/Scene/3/scene3_group133209064.lua index 5a11e362a..c78f32116 100644 --- a/Resources/Scripts/Scene/3/scene3_group133209064.lua +++ b/Resources/Scripts/Scene/3/scene3_group133209064.lua @@ -4,16 +4,14 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133209064, gadget_prison_list = {64001}, gadget_guide = {64057,64058, 64059}, bait_list = { [1] = { 64053, 64054, 64055}, - [2] = { 64060, 64061, 64062 -}, - [3] = { 64063, 64064, 64065 -}, + [2] = { 64060, 64061, 64062 }, + [3] = { 64063, 64064, 64065 }, }, duration = 210, rampage_time = 40, diff --git a/Resources/Scripts/Scene/3/scene3_group133209075.lua b/Resources/Scripts/Scene/3/scene3_group133209075.lua index 37be04d2f..a10b06f05 100644 --- a/Resources/Scripts/Scene/3/scene3_group133209075.lua +++ b/Resources/Scripts/Scene/3/scene3_group133209075.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_time = 180, hard_challenge_time = 75, father_challenge_id = 2005016, diff --git a/Resources/Scripts/Scene/3/scene3_group133209083.lua b/Resources/Scripts/Scene/3/scene3_group133209083.lua index 74c656542..b97f5eaff 100644 --- a/Resources/Scripts/Scene/3/scene3_group133209083.lua +++ b/Resources/Scripts/Scene/3/scene3_group133209083.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 83001, gallery_id = 18014, region_id = 83002, diff --git a/Resources/Scripts/Scene/3/scene3_group133209085.lua b/Resources/Scripts/Scene/3/scene3_group133209085.lua index 8bee0167e..68497d008 100644 --- a/Resources/Scripts/Scene/3/scene3_group133209085.lua +++ b/Resources/Scripts/Scene/3/scene3_group133209085.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_time = 180, hard_challenge_time = 75, father_challenge_id = 2005016, diff --git a/Resources/Scripts/Scene/3/scene3_group133209086.lua b/Resources/Scripts/Scene/3/scene3_group133209086.lua index 09fb46378..097649d48 100644 --- a/Resources/Scripts/Scene/3/scene3_group133209086.lua +++ b/Resources/Scripts/Scene/3/scene3_group133209086.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_time = 180, hard_challenge_time = 75, father_challenge_id = 2005016, diff --git a/Resources/Scripts/Scene/3/scene3_group133209087.lua b/Resources/Scripts/Scene/3/scene3_group133209087.lua index 832e2c56b..14a111178 100644 --- a/Resources/Scripts/Scene/3/scene3_group133209087.lua +++ b/Resources/Scripts/Scene/3/scene3_group133209087.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_time = 180, hard_challenge_time = 75, father_challenge_id = 2005016, diff --git a/Resources/Scripts/Scene/3/scene3_group133210001.lua b/Resources/Scripts/Scene/3/scene3_group133210001.lua index 6e79cf5ce..856a39a0e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210001.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210001, gadget_fundation01 = 1001, gadget_hand01 = 1003, diff --git a/Resources/Scripts/Scene/3/scene3_group133210002.lua b/Resources/Scripts/Scene/3/scene3_group133210002.lua index c315f4220..f1f4e2d37 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210002.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {2001,2002,2003,2004}, diff --git a/Resources/Scripts/Scene/3/scene3_group133210009.lua b/Resources/Scripts/Scene/3/scene3_group133210009.lua index 797cc4eee..783a9c2f1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210009.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210009.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133210009, thunder1_id = 9011, thunder2_id = 9012, diff --git a/Resources/Scripts/Scene/3/scene3_group133210017.lua b/Resources/Scripts/Scene/3/scene3_group133210017.lua index f16ff2b8c..241669d8c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210017.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 17001, gadget_Teleport_2 = 17002, gadget_Teleport_3 = 17003, diff --git a/Resources/Scripts/Scene/3/scene3_group133210018.lua b/Resources/Scripts/Scene/3/scene3_group133210018.lua index adf07fa6c..c49c6f9bf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210018.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210018.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210018, gadget_fundation01 = 18001, gadget_hand01 = 18003, diff --git a/Resources/Scripts/Scene/3/scene3_group133210021.lua b/Resources/Scripts/Scene/3/scene3_group133210021.lua index 39b5c1ed8..1de967a5a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210021.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210021.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 3, group_id = 133210021, diff --git a/Resources/Scripts/Scene/3/scene3_group133210029.lua b/Resources/Scripts/Scene/3/scene3_group133210029.lua index 6d8e8a1f7..3d46d399a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210029.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210029.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_prison = 29001, duration = 210, rampage_time = 40, diff --git a/Resources/Scripts/Scene/3/scene3_group133210030.lua b/Resources/Scripts/Scene/3/scene3_group133210030.lua index 2532ca11e..07f4dfe58 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210030.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210030.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 1, group_ID = 133210030, gadget_1 = 30001, diff --git a/Resources/Scripts/Scene/3/scene3_group133210034.lua b/Resources/Scripts/Scene/3/scene3_group133210034.lua index edf8dd6f7..e2e7e9402 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210034.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210034.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 20, group_id = 133210034, diff --git a/Resources/Scripts/Scene/3/scene3_group133210040.lua b/Resources/Scripts/Scene/3/scene3_group133210040.lua index dcf0247a2..dbe2974e1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210040.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210040.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210040, gadget_thunderThelfID = 40001, pointarray_ID = 321000014, diff --git a/Resources/Scripts/Scene/3/scene3_group133210053.lua b/Resources/Scripts/Scene/3/scene3_group133210053.lua index fa26408e0..8eb5d524a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210053.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210053.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133210053 } diff --git a/Resources/Scripts/Scene/3/scene3_group133210055.lua b/Resources/Scripts/Scene/3/scene3_group133210055.lua index 5d33b9031..d34736387 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210055.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210055.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 300, kill_sum = 5, group_id = 133210055, diff --git a/Resources/Scripts/Scene/3/scene3_group133210058.lua b/Resources/Scripts/Scene/3/scene3_group133210058.lua index c5c41a0ba..2a7db8c05 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210058.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210058.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210058, gadget_1 = 58001, rotation_1 = 270, diff --git a/Resources/Scripts/Scene/3/scene3_group133210065.lua b/Resources/Scripts/Scene/3/scene3_group133210065.lua index 8f7f25586..318bc6dd3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210065.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210065.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210065, gadget_fundation01 = 65002, gadget_hand01 = 65004, diff --git a/Resources/Scripts/Scene/3/scene3_group133210066.lua b/Resources/Scripts/Scene/3/scene3_group133210066.lua index 33d6eebf6..4c55a5ffa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210066.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210066.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133210066 } diff --git a/Resources/Scripts/Scene/3/scene3_group133210070.lua b/Resources/Scripts/Scene/3/scene3_group133210070.lua index 8c60a86aa..424304cd0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210070.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210070.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 70001, gadget_Teleport_2 = 70002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133210073.lua b/Resources/Scripts/Scene/3/scene3_group133210073.lua index 0086d0fd1..1c6fa7b1c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210073.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210073.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133210073 } diff --git a/Resources/Scripts/Scene/3/scene3_group133210075.lua b/Resources/Scripts/Scene/3/scene3_group133210075.lua index 6c358aa53..474cd34d2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210075.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210075.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210075, gadget_1 = 75001, rotation_1 = 180, diff --git a/Resources/Scripts/Scene/3/scene3_group133210080.lua b/Resources/Scripts/Scene/3/scene3_group133210080.lua index 0dc2dd10d..22580e827 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210080.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210080.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210080, trigger_playRegion = 80006, gadget_1 = 80002 diff --git a/Resources/Scripts/Scene/3/scene3_group133210088.lua b/Resources/Scripts/Scene/3/scene3_group133210088.lua index 9e7aad215..7721d5703 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210088.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210088.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210088, gadget_fundation01 = 88001, gadget_hand01 = 88003, diff --git a/Resources/Scripts/Scene/3/scene3_group133210094.lua b/Resources/Scripts/Scene/3/scene3_group133210094.lua index e5afcd2e5..1472e09ad 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210094.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210094.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 94001, gadget_Teleport_2 = 94002, gadget_Teleport_3 = 94003, diff --git a/Resources/Scripts/Scene/3/scene3_group133210095.lua b/Resources/Scripts/Scene/3/scene3_group133210095.lua index 83fed6c40..dfac99da3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210095.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210095.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133210095 } diff --git a/Resources/Scripts/Scene/3/scene3_group133210101.lua b/Resources/Scripts/Scene/3/scene3_group133210101.lua index 6e04e6ada..2958e0bf2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210101.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210101.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 20, group_id = 133210101, diff --git a/Resources/Scripts/Scene/3/scene3_group133210103.lua b/Resources/Scripts/Scene/3/scene3_group133210103.lua index 7aefb19fe..03bb37d4f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210103.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210103.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 103001, gadget_Teleport_2 = 103002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133210111.lua b/Resources/Scripts/Scene/3/scene3_group133210111.lua index 4845754e8..b18d4a2fa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210111.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210111.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 111001, gadget_Teleport_2 = 111002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133210122.lua b/Resources/Scripts/Scene/3/scene3_group133210122.lua index 8aa0b9a92..3c6f23b4e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210122.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210122.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133210122, gadget_1 = 122001, diff --git a/Resources/Scripts/Scene/3/scene3_group133210123.lua b/Resources/Scripts/Scene/3/scene3_group133210123.lua index 7fca811a4..83e929745 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210123.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210123.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133210123 } diff --git a/Resources/Scripts/Scene/3/scene3_group133210124.lua b/Resources/Scripts/Scene/3/scene3_group133210124.lua index 5e956e86d..28e892ef5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210124.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210124.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210124, gadget_11 = 124001, gadget_12 = 124002, diff --git a/Resources/Scripts/Scene/3/scene3_group133210125.lua b/Resources/Scripts/Scene/3/scene3_group133210125.lua index 9a7a6c74a..10cee82a6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210125.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210125.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210125, gadget_fundation01 = 125001, gadget_hand01 = 125003, diff --git a/Resources/Scripts/Scene/3/scene3_group133210126.lua b/Resources/Scripts/Scene/3/scene3_group133210126.lua index 01b5324e0..07dbe46e6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210126.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210126.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210126, gadget_fundation01 = 126001, gadget_hand01 = 126003, diff --git a/Resources/Scripts/Scene/3/scene3_group133210127.lua b/Resources/Scripts/Scene/3/scene3_group133210127.lua index 10cc2255d..6be0853ce 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210127.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210127.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210127, gadget_thunderThelfID = 127001, pointarray_ID = 321000045, diff --git a/Resources/Scripts/Scene/3/scene3_group133210135.lua b/Resources/Scripts/Scene/3/scene3_group133210135.lua index ae580a389..561ddc883 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210135.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210135.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 135001, gadget_Teleport_2 = 135002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133210136.lua b/Resources/Scripts/Scene/3/scene3_group133210136.lua index 3434c52b2..d9b1e0a26 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210136.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210136.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 10, group_id = 133210136, diff --git a/Resources/Scripts/Scene/3/scene3_group133210138.lua b/Resources/Scripts/Scene/3/scene3_group133210138.lua index c93322e11..52de90eb3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210138.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210138.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210138, trigger_playRegion = 138006, gadget_1 = 138002 diff --git a/Resources/Scripts/Scene/3/scene3_group133210140.lua b/Resources/Scripts/Scene/3/scene3_group133210140.lua index 006bb7989..333ce45cb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210140.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210140.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210140, trigger_playRegion = 140006, gadget_1 = 140002 diff --git a/Resources/Scripts/Scene/3/scene3_group133210141.lua b/Resources/Scripts/Scene/3/scene3_group133210141.lua index 02cd4bbbc..ca3af886d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210141.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210141.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210141, gadget_thunderThelfID = 141001, pointarray_ID = 321000035, diff --git a/Resources/Scripts/Scene/3/scene3_group133210142.lua b/Resources/Scripts/Scene/3/scene3_group133210142.lua index efcfc5d32..c6cd30aa2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210142.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210142.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133210142 } diff --git a/Resources/Scripts/Scene/3/scene3_group133210143.lua b/Resources/Scripts/Scene/3/scene3_group133210143.lua index a8907e015..0279183ff 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210143.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210143.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210143, trigger_playRegion = 143006, gadget_1 = 143002 diff --git a/Resources/Scripts/Scene/3/scene3_group133210144.lua b/Resources/Scripts/Scene/3/scene3_group133210144.lua index 3e7789f53..0ea6e9d08 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210144.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210144.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 6, timer = 20, group_id = 133210144, diff --git a/Resources/Scripts/Scene/3/scene3_group133210147.lua b/Resources/Scripts/Scene/3/scene3_group133210147.lua index 304a80517..52a47bdc4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210147.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210147.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133210147, gadget_sum = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133210148.lua b/Resources/Scripts/Scene/3/scene3_group133210148.lua index b71eb9ec4..cc55f144d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210148.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210148.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 20, group_id = 133210148, diff --git a/Resources/Scripts/Scene/3/scene3_group133210149.lua b/Resources/Scripts/Scene/3/scene3_group133210149.lua index 87e923569..b8f0877c1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210149.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210149.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133210149 } diff --git a/Resources/Scripts/Scene/3/scene3_group133210151.lua b/Resources/Scripts/Scene/3/scene3_group133210151.lua index a27a86e48..f7dedd518 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210151.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210151.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133210151 } diff --git a/Resources/Scripts/Scene/3/scene3_group133210155.lua b/Resources/Scripts/Scene/3/scene3_group133210155.lua index c5bf3fc9d..1b94b317b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210155.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210155.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210155, trigger_playRegion = 155006, gadget_1 = 155002 diff --git a/Resources/Scripts/Scene/3/scene3_group133210165.lua b/Resources/Scripts/Scene/3/scene3_group133210165.lua index 5a60ad193..fe133fc51 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210165.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210165.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210165, gadget_thunderThelfID = 165001, pointarray_ID = 321000047, diff --git a/Resources/Scripts/Scene/3/scene3_group133210172.lua b/Resources/Scripts/Scene/3/scene3_group133210172.lua index ed4531a23..b1d62ff4a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210172.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210172.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210172, gadget_thunderThelfID = 172001, pointarray_ID = 321000046, diff --git a/Resources/Scripts/Scene/3/scene3_group133210174.lua b/Resources/Scripts/Scene/3/scene3_group133210174.lua index 384f329df..46ae82a2c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210174.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210174.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210174, gadget_1 = 174001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133210182.lua b/Resources/Scripts/Scene/3/scene3_group133210182.lua index b2f09ea75..c0924e437 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210182.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210182.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210182, gadget_thunderThelfID = 182001, pointarray_ID = 321000055, diff --git a/Resources/Scripts/Scene/3/scene3_group133210183.lua b/Resources/Scripts/Scene/3/scene3_group133210183.lua index d5a5cb00f..c28b0a899 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210183.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210183.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210183, trigger_playRegion = 183006, gadget_1 = 183002 diff --git a/Resources/Scripts/Scene/3/scene3_group133210188.lua b/Resources/Scripts/Scene/3/scene3_group133210188.lua index ed9a1f362..175647243 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210188.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210188.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210188, gadget_fundation01 = 188001, gadget_hand01 = 188003, diff --git a/Resources/Scripts/Scene/3/scene3_group133210208.lua b/Resources/Scripts/Scene/3/scene3_group133210208.lua index 42dc9f822..4189f1ed9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210208.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210208.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, group_id = 133210208 } diff --git a/Resources/Scripts/Scene/3/scene3_group133210211.lua b/Resources/Scripts/Scene/3/scene3_group133210211.lua index d1d56b4d1..cc3013a68 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210211.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210211.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210211, gadget_11 = 211001, gadget_12 = 211002, diff --git a/Resources/Scripts/Scene/3/scene3_group133210219.lua b/Resources/Scripts/Scene/3/scene3_group133210219.lua index d665da446..e55561c62 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210219.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210219.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210219, gadget_thunderThelfID = 219001, pointarray_ID = 321000067, diff --git a/Resources/Scripts/Scene/3/scene3_group133210220.lua b/Resources/Scripts/Scene/3/scene3_group133210220.lua index e394bef6d..86a5bda90 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210220.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210220.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210220, gadget_thunderThelfID = 220001, pointarray_ID = 321000068, diff --git a/Resources/Scripts/Scene/3/scene3_group133210236.lua b/Resources/Scripts/Scene/3/scene3_group133210236.lua index 0e42e4617..5c1f41c69 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210236.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210236.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 236001, gadget_Teleport_2 = 236002, gadget_Teleport_3 = 236003, diff --git a/Resources/Scripts/Scene/3/scene3_group133210237.lua b/Resources/Scripts/Scene/3/scene3_group133210237.lua index a3dd6ba99..928ee4ae7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210237.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210237.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 237003, outer_region = 237003, related_region = 237003, diff --git a/Resources/Scripts/Scene/3/scene3_group133210241.lua b/Resources/Scripts/Scene/3/scene3_group133210241.lua index 6f90f9992..9e41eef70 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210241.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210241.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210241, trigger_playRegion = 241006, gadget_1 = 241002 diff --git a/Resources/Scripts/Scene/3/scene3_group133210249.lua b/Resources/Scripts/Scene/3/scene3_group133210249.lua index 3bb0db82e..fab9aca4e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210249.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210249.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133210249 } diff --git a/Resources/Scripts/Scene/3/scene3_group133210250.lua b/Resources/Scripts/Scene/3/scene3_group133210250.lua index 34ccd828a..b0a1a0c1f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210250.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210250.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210250, trigger_playRegion = 250006, gadget_1 = 250002 diff --git a/Resources/Scripts/Scene/3/scene3_group133210251.lua b/Resources/Scripts/Scene/3/scene3_group133210251.lua index b2aa23ed1..01e630c70 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210251.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210251.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_temple = 251001, gadget_chest = 251002, group_ID = 133210251 diff --git a/Resources/Scripts/Scene/3/scene3_group133210252.lua b/Resources/Scripts/Scene/3/scene3_group133210252.lua index a7450c619..6d1e635f1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210252.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210252.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133210252 } diff --git a/Resources/Scripts/Scene/3/scene3_group133210262.lua b/Resources/Scripts/Scene/3/scene3_group133210262.lua index 789ca5580..fb2aa3dfa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210262.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210262.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 262001, gadget_Teleport_2 = 262002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133210263.lua b/Resources/Scripts/Scene/3/scene3_group133210263.lua index 94405669f..337dfb509 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210263.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210263.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210263, gadget_thunderThelfID = 263001, pointarray_ID = 321000040, diff --git a/Resources/Scripts/Scene/3/scene3_group133210265.lua b/Resources/Scripts/Scene/3/scene3_group133210265.lua index 713890660..8be131099 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210265.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210265.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 265004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133210268.lua b/Resources/Scripts/Scene/3/scene3_group133210268.lua index 2d9666f05..d0e5c0926 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210268.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210268.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210268, gadget_thunderThelfID = 268001, pointarray_ID = 321000048, diff --git a/Resources/Scripts/Scene/3/scene3_group133210269.lua b/Resources/Scripts/Scene/3/scene3_group133210269.lua index 5f1403f27..65520d561 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210269.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210269.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210269, gadget_thunderThelfID = 269001, pointarray_ID = 321000049, diff --git a/Resources/Scripts/Scene/3/scene3_group133210270.lua b/Resources/Scripts/Scene/3/scene3_group133210270.lua index e870d94b6..d41148944 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210270.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210270.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210270, gadget_thunderThelfID = 270001, pointarray_ID = 321000050, diff --git a/Resources/Scripts/Scene/3/scene3_group133210277.lua b/Resources/Scripts/Scene/3/scene3_group133210277.lua index 672ad1407..4a3d3bb8f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210277.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210277.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210277, trigger_playRegion = 277006, gadget_1 = 277002 diff --git a/Resources/Scripts/Scene/3/scene3_group133210282.lua b/Resources/Scripts/Scene/3/scene3_group133210282.lua index 02a7fe174..0ba329f50 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210282.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210282.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210282, gadget_fundation01 = 282001, gadget_hand01 = 282003, diff --git a/Resources/Scripts/Scene/3/scene3_group133210284.lua b/Resources/Scripts/Scene/3/scene3_group133210284.lua index 44bd53a1f..ab292494c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210284.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210284.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {284003,284002,284004,284001,284005}, diff --git a/Resources/Scripts/Scene/3/scene3_group133210286.lua b/Resources/Scripts/Scene/3/scene3_group133210286.lua index 884e330a8..a87ff5dc3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210286.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210286.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, kill_sum = 4, group_id = 133210286, diff --git a/Resources/Scripts/Scene/3/scene3_group133210290.lua b/Resources/Scripts/Scene/3/scene3_group133210290.lua index 383e18ac9..94f9dc4da 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210290.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210290.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133210290, gadget_1 = 290001, diff --git a/Resources/Scripts/Scene/3/scene3_group133210291.lua b/Resources/Scripts/Scene/3/scene3_group133210291.lua index 37f5122bc..caada20a8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210291.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210291.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133210291, thunder1_id = 291011, thunder2_id = 291012, diff --git a/Resources/Scripts/Scene/3/scene3_group133210294.lua b/Resources/Scripts/Scene/3/scene3_group133210294.lua index 7727caedc..20f144014 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210294.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210294.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210294, gadget_fundation01 = 294001, gadget_hand01 = 294003, diff --git a/Resources/Scripts/Scene/3/scene3_group133210298.lua b/Resources/Scripts/Scene/3/scene3_group133210298.lua index 0a0236fde..4794b598f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210298.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210298.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {298001,298002,298003,298004}, diff --git a/Resources/Scripts/Scene/3/scene3_group133210304.lua b/Resources/Scripts/Scene/3/scene3_group133210304.lua index 25f66de70..4fdb34bb3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210304.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210304.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210304, gadget_1 = 304001, rotation_1 = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133210313.lua b/Resources/Scripts/Scene/3/scene3_group133210313.lua index 08d8264ed..7bb627280 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210313.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210313.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 300, kill_sum = 12, group_id = 133210313, diff --git a/Resources/Scripts/Scene/3/scene3_group133210316.lua b/Resources/Scripts/Scene/3/scene3_group133210316.lua index 23af257ac..1498bbd8e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210316.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210316.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 180, kill_sum = 10, group_id = 133210316, diff --git a/Resources/Scripts/Scene/3/scene3_group133210317.lua b/Resources/Scripts/Scene/3/scene3_group133210317.lua index cea9b4dbc..c9eab02b8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210317.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210317.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 180, kill_sum = 5, group_id = 133210317, diff --git a/Resources/Scripts/Scene/3/scene3_group133210333.lua b/Resources/Scripts/Scene/3/scene3_group133210333.lua index 03f7cee1d..bebadcdee 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210333.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210333.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 240, kill_sum = 4, group_id = 133210333, diff --git a/Resources/Scripts/Scene/3/scene3_group133210334.lua b/Resources/Scripts/Scene/3/scene3_group133210334.lua index deda53b09..025eef0be 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210334.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210334.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 240, kill_sum = 15, group_id = 133210334, diff --git a/Resources/Scripts/Scene/3/scene3_group133210335.lua b/Resources/Scripts/Scene/3/scene3_group133210335.lua index c87437c5c..706f15eba 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210335.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210335.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 335001, gadget_Teleport_2 = 335002, gadget_Teleport_3 = 335003, diff --git a/Resources/Scripts/Scene/3/scene3_group133210336.lua b/Resources/Scripts/Scene/3/scene3_group133210336.lua index c2a6e5cce..91aea8f6c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210336.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210336.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210336, gadget_1 = 336001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133210351.lua b/Resources/Scripts/Scene/3/scene3_group133210351.lua index 3d046b725..f395cf29c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210351.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210351.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 351001, gadget_Teleport_2 = 351002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133210354.lua b/Resources/Scripts/Scene/3/scene3_group133210354.lua index 628cd722a..554d91e76 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210354.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210354.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, sum = 12, group_id = 133210354 diff --git a/Resources/Scripts/Scene/3/scene3_group133210355.lua b/Resources/Scripts/Scene/3/scene3_group133210355.lua index 75f04d959..9f53a974c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210355.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210355.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, sum = 10, group_id = 133210355 diff --git a/Resources/Scripts/Scene/3/scene3_group133210356.lua b/Resources/Scripts/Scene/3/scene3_group133210356.lua index d1399f769..0236397c6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210356.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210356.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133210356, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133210357.lua b/Resources/Scripts/Scene/3/scene3_group133210357.lua index b9563aec4..e52168068 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210357.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210357.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133210357, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133210358.lua b/Resources/Scripts/Scene/3/scene3_group133210358.lua index 13f144a5a..93dcab8e7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210358.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210358.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 6, pointarray_route = 321000064, gadget_bubble = 358002, diff --git a/Resources/Scripts/Scene/3/scene3_group133210359.lua b/Resources/Scripts/Scene/3/scene3_group133210359.lua index bfaaf4801..c97cb7fe6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210359.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210359.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 6, pointarray_route = 321000065, gadget_bubble = 359002, diff --git a/Resources/Scripts/Scene/3/scene3_group133210360.lua b/Resources/Scripts/Scene/3/scene3_group133210360.lua index 6fb766e27..1864e7c5f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210360.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210360.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133210360, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133210373.lua b/Resources/Scripts/Scene/3/scene3_group133210373.lua index aa28f038c..44332f47c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210373.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210373.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210373, gadget_thunderThelfID = 373001, pointarray_ID = 321000066, diff --git a/Resources/Scripts/Scene/3/scene3_group133210374.lua b/Resources/Scripts/Scene/3/scene3_group133210374.lua index 58ae2731d..0edd2994a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210374.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210374.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {374001,374002,374003,374004}, diff --git a/Resources/Scripts/Scene/3/scene3_group133210377.lua b/Resources/Scripts/Scene/3/scene3_group133210377.lua index 2898fd7b5..90ae9c25d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210377.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210377.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133210377 } diff --git a/Resources/Scripts/Scene/3/scene3_group133210384.lua b/Resources/Scripts/Scene/3/scene3_group133210384.lua index 633abe64c..586cdbd29 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210384.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210384.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210384, gadget_1 = 384001, rotation_1 = 270, diff --git a/Resources/Scripts/Scene/3/scene3_group133210422.lua b/Resources/Scripts/Scene/3/scene3_group133210422.lua index 03625beab..bb1923d28 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210422.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210422.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210422, gadget_1 = 422001, rotation_1 = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133210423.lua b/Resources/Scripts/Scene/3/scene3_group133210423.lua index d0a2872b5..f5a4579dd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210423.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210423.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210423, gadget_1 = 423001, rotation_1 = 180, diff --git a/Resources/Scripts/Scene/3/scene3_group133210452.lua b/Resources/Scripts/Scene/3/scene3_group133210452.lua index f72869a87..12a085db4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210452.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210452.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 452007, operator_2 = 452008, chest = 452009 diff --git a/Resources/Scripts/Scene/3/scene3_group133210453.lua b/Resources/Scripts/Scene/3/scene3_group133210453.lua index 4350cbf34..69796939c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210453.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210453.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 453007, operator_2 = 453008, chest = 453009 diff --git a/Resources/Scripts/Scene/3/scene3_group133210454.lua b/Resources/Scripts/Scene/3/scene3_group133210454.lua index 6ec59445e..9b01bb42a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210454.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210454.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 454007, operator_2 = 454008, chest = 454009 diff --git a/Resources/Scripts/Scene/3/scene3_group133210455.lua b/Resources/Scripts/Scene/3/scene3_group133210455.lua index b7243e202..c2714bdc3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210455.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210455.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 455007, operator_2 = 455008, chest = 455009 diff --git a/Resources/Scripts/Scene/3/scene3_group133210462.lua b/Resources/Scripts/Scene/3/scene3_group133210462.lua index e523059da..069b3598c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210462.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210462.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210462, gadget_fundation01 = 462001, gadget_hand01 = 462003, diff --git a/Resources/Scripts/Scene/3/scene3_group133210463.lua b/Resources/Scripts/Scene/3/scene3_group133210463.lua index 5d3bdf462..894c1b212 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210463.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210463.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210463, gadget_fundation01 = 463001, gadget_hand01 = 463003, diff --git a/Resources/Scripts/Scene/3/scene3_group133210464.lua b/Resources/Scripts/Scene/3/scene3_group133210464.lua index 2a7ef06fa..1305cc743 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210464.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210464.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133210464, gadget_fundation01 = 464001, gadget_hand01 = 464003, diff --git a/Resources/Scripts/Scene/3/scene3_group133210487.lua b/Resources/Scripts/Scene/3/scene3_group133210487.lua index e90cc2bc0..2037c4361 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210487.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210487.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { FatherQuest = 72219, group_id = 133210487, temari_gadget_id = 487004, diff --git a/Resources/Scripts/Scene/3/scene3_group133210492.lua b/Resources/Scripts/Scene/3/scene3_group133210492.lua index ca82850ab..8ccc8f531 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210492.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210492.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 321000096, gadget_seelie = 492002 diff --git a/Resources/Scripts/Scene/3/scene3_group133210493.lua b/Resources/Scripts/Scene/3/scene3_group133210493.lua index 890255e15..fb67916b9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210493.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210493.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 321000098, gadget_seelie = 493002 diff --git a/Resources/Scripts/Scene/3/scene3_group133210494.lua b/Resources/Scripts/Scene/3/scene3_group133210494.lua index 925c708c0..679d6aa02 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210494.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210494.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 321000100, gadget_seelie = 494002 diff --git a/Resources/Scripts/Scene/3/scene3_group133210504.lua b/Resources/Scripts/Scene/3/scene3_group133210504.lua index aa8ff1610..fc584c00d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210504.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210504.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 504001, gadget_Teleport_2 = 504002, gadget_Teleport_3 = 504003, diff --git a/Resources/Scripts/Scene/3/scene3_group133210517.lua b/Resources/Scripts/Scene/3/scene3_group133210517.lua index 84fe09fe8..dc95f71a8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133210517.lua +++ b/Resources/Scripts/Scene/3/scene3_group133210517.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 517001, gadget_Teleport_2 = 517002, gadget_Teleport_3 = 517003, diff --git a/Resources/Scripts/Scene/3/scene3_group133211018.lua b/Resources/Scripts/Scene/3/scene3_group133211018.lua index 223131b2c..6fed4df5b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133211018.lua +++ b/Resources/Scripts/Scene/3/scene3_group133211018.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_prison = 18001, duration = 210, rampage_time = 40, diff --git a/Resources/Scripts/Scene/3/scene3_group133212003.lua b/Resources/Scripts/Scene/3/scene3_group133212003.lua index 024d953cb..b3a8dd233 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212003.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212003, gadget_thunderThelfID = 3001, pointarray_ID = 321200007, diff --git a/Resources/Scripts/Scene/3/scene3_group133212006.lua b/Resources/Scripts/Scene/3/scene3_group133212006.lua index 41f8201b0..4c612a7bb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212006.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212006, gadget_thunderThelfID = 6001, pointarray_ID = 321200008, diff --git a/Resources/Scripts/Scene/3/scene3_group133212010.lua b/Resources/Scripts/Scene/3/scene3_group133212010.lua index 90535f678..49b691d1d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212010.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212010, trigger_playRegion = 10006, gadget_1 = 10002 diff --git a/Resources/Scripts/Scene/3/scene3_group133212012.lua b/Resources/Scripts/Scene/3/scene3_group133212012.lua index e0523971b..d4eafeedb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212012.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133212012 } diff --git a/Resources/Scripts/Scene/3/scene3_group133212014.lua b/Resources/Scripts/Scene/3/scene3_group133212014.lua index 722065387..1177329ee 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212014.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212014.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212014, gadget_fundation01 = 14001, gadget_hand01 = 14003, diff --git a/Resources/Scripts/Scene/3/scene3_group133212023.lua b/Resources/Scripts/Scene/3/scene3_group133212023.lua index 2031e4250..919185123 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212023.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212023.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212023, gadget_thunderThelfID = 23001, pointarray_ID = 321200019, diff --git a/Resources/Scripts/Scene/3/scene3_group133212024.lua b/Resources/Scripts/Scene/3/scene3_group133212024.lua index e5fd319cd..d03715d09 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212024.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212024.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212024, trigger_playRegion = 24006, gadget_1 = 24002 diff --git a/Resources/Scripts/Scene/3/scene3_group133212027.lua b/Resources/Scripts/Scene/3/scene3_group133212027.lua index d5b90ffa3..0aebc4d51 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212027.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212027.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212027, gadget_thunderThelfID = 27001, pointarray_ID = 321200017, diff --git a/Resources/Scripts/Scene/3/scene3_group133212040.lua b/Resources/Scripts/Scene/3/scene3_group133212040.lua index c80f56d9a..9cce7bd2f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212040.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212040.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212040, gadget_thunderThelfID = 40001, pointarray_ID = 321200053, diff --git a/Resources/Scripts/Scene/3/scene3_group133212042.lua b/Resources/Scripts/Scene/3/scene3_group133212042.lua index e82a903dc..5c9bfb698 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212042.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212042.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133212042, gadget_riddle_hint = 42001, gadget_riddle_1 = 42002, diff --git a/Resources/Scripts/Scene/3/scene3_group133212045.lua b/Resources/Scripts/Scene/3/scene3_group133212045.lua index c35fbe7d2..68f12074d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212045.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212045.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212045, gadget_1 = 45001, rotation_1 = 180, diff --git a/Resources/Scripts/Scene/3/scene3_group133212048.lua b/Resources/Scripts/Scene/3/scene3_group133212048.lua index b4e99427b..bc7e49f86 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212048.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212048.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {170001,170002,170003,170004,170005}, diff --git a/Resources/Scripts/Scene/3/scene3_group133212052.lua b/Resources/Scripts/Scene/3/scene3_group133212052.lua index 09084e647..6daa01f91 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212052.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212052.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 133212052, shooter = 52001, repeater = {52001,52002,52003,52005,52006,52007}, diff --git a/Resources/Scripts/Scene/3/scene3_group133212071.lua b/Resources/Scripts/Scene/3/scene3_group133212071.lua index 3f2facc08..527306345 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212071.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212071.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212071, gadget_thunderThelfID = 71001, pointarray_ID = 321200010, diff --git a/Resources/Scripts/Scene/3/scene3_group133212077.lua b/Resources/Scripts/Scene/3/scene3_group133212077.lua index 362625ded..4259a034c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212077.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212077.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212077, gadget_thunderThelfID = 77001, pointarray_ID = 321200050, diff --git a/Resources/Scripts/Scene/3/scene3_group133212078.lua b/Resources/Scripts/Scene/3/scene3_group133212078.lua index 28e93c528..575c2c218 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212078.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212078.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212078, gadget_1 = 78001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133212080.lua b/Resources/Scripts/Scene/3/scene3_group133212080.lua index 2e35e2faa..0bb91dfeb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212080.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212080.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212080, gadget_1 = 80001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133212081.lua b/Resources/Scripts/Scene/3/scene3_group133212081.lua index b3b76026c..9f48dd4e9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212081.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212081.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 81007, operator_2 = 81008, chest = 81009 diff --git a/Resources/Scripts/Scene/3/scene3_group133212082.lua b/Resources/Scripts/Scene/3/scene3_group133212082.lua index 9ec17450f..deeb2db9c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212082.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212082.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 82007, operator_2 = 82008, chest = 82009 diff --git a/Resources/Scripts/Scene/3/scene3_group133212083.lua b/Resources/Scripts/Scene/3/scene3_group133212083.lua index 5b76cbe33..89438e24a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212083.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212083.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 83007, operator_2 = 83008, chest = 83009 diff --git a/Resources/Scripts/Scene/3/scene3_group133212090.lua b/Resources/Scripts/Scene/3/scene3_group133212090.lua index 2eefa5d61..bbcac9cf6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212090.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212090.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212090, gadget_1 = 90001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133212091.lua b/Resources/Scripts/Scene/3/scene3_group133212091.lua index 72e0cac07..ea895ff3b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212091.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212091.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 91007, operator_2 = 91008, chest = 91009 diff --git a/Resources/Scripts/Scene/3/scene3_group133212099.lua b/Resources/Scripts/Scene/3/scene3_group133212099.lua index b1c4d6ff0..c1c8ef227 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212099.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212099.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212099, gadget_1 = 99001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133212106.lua b/Resources/Scripts/Scene/3/scene3_group133212106.lua index 382303a52..edf91b35b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212106.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212106.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212106, gadget_fundation01 = 106001, gadget_hand01 = 106003, diff --git a/Resources/Scripts/Scene/3/scene3_group133212108.lua b/Resources/Scripts/Scene/3/scene3_group133212108.lua index 0e27296b8..e206072b6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212108.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212108.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212108, gadget_thunderThelfID = 108001, pointarray_ID = 321200020, diff --git a/Resources/Scripts/Scene/3/scene3_group133212110.lua b/Resources/Scripts/Scene/3/scene3_group133212110.lua index a27455936..54b7bc724 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212110.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212110.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 321200048, gadget_seelie = 110002 diff --git a/Resources/Scripts/Scene/3/scene3_group133212113.lua b/Resources/Scripts/Scene/3/scene3_group133212113.lua index 73be17f68..1949a8892 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212113.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212113.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212113, gadget_thunderThelfID = 113001, pointarray_ID = 321200051, diff --git a/Resources/Scripts/Scene/3/scene3_group133212116.lua b/Resources/Scripts/Scene/3/scene3_group133212116.lua index bb1e47801..c5ac87dac 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212116.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212116.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 321200137, gadget_seelie = 116002 diff --git a/Resources/Scripts/Scene/3/scene3_group133212118.lua b/Resources/Scripts/Scene/3/scene3_group133212118.lua index 43596e423..2df707395 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212118.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212118.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 1, group_id = 133212118, diff --git a/Resources/Scripts/Scene/3/scene3_group133212125.lua b/Resources/Scripts/Scene/3/scene3_group133212125.lua index 06e22adf0..aab57d983 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212125.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212125.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212125, gadget_thunderThelfID = 125001, pointarray_ID = 321200011, diff --git a/Resources/Scripts/Scene/3/scene3_group133212134.lua b/Resources/Scripts/Scene/3/scene3_group133212134.lua index b9a637772..15960a9a5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212134.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212134.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 321200139, gadget_seelie = 134002 diff --git a/Resources/Scripts/Scene/3/scene3_group133212135.lua b/Resources/Scripts/Scene/3/scene3_group133212135.lua index 0978f0a10..a4bb277b7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212135.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212135.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 133212135, shooter = 135008, repeater = {135008,135006,135009,135010,135011,135012,135015}, @@ -80,7 +80,7 @@ end if 202 ~= ScriptLib.GetGadgetStateByConfigId(context, 133212135, 135015) then --反射6 return false end - + return true end diff --git a/Resources/Scripts/Scene/3/scene3_group133212139.lua b/Resources/Scripts/Scene/3/scene3_group133212139.lua index 4ef7e463a..71c3ebc6e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212139.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212139.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_temple = 139001, gadget_chest = 139002, group_ID = 133212139 diff --git a/Resources/Scripts/Scene/3/scene3_group133212140.lua b/Resources/Scripts/Scene/3/scene3_group133212140.lua index 2113f484f..b03aed3d8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212140.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212140.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_temple = 140001, gadget_chest = 140002, group_ID = 133212140 diff --git a/Resources/Scripts/Scene/3/scene3_group133212142.lua b/Resources/Scripts/Scene/3/scene3_group133212142.lua index abdc14521..a5af843ba 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212142.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212142.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 133212142, shooter = 142001, repeater = {142001,142002,142003,142011}, diff --git a/Resources/Scripts/Scene/3/scene3_group133212146.lua b/Resources/Scripts/Scene/3/scene3_group133212146.lua index fb1243ad1..33cdf072c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212146.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212146.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 133212146, shooter = 146001, repeater = {146001,146002,146003,146012,146013,146014,146004}, @@ -80,7 +80,7 @@ end if 302 ~= ScriptLib.GetGadgetStateByConfigId(context, 133212146, 146014) then --反射6 return false end - + return true end diff --git a/Resources/Scripts/Scene/3/scene3_group133212161.lua b/Resources/Scripts/Scene/3/scene3_group133212161.lua index c86001a88..292260e4a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212161.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212161.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 321200141, gadget_seelie = 161002 diff --git a/Resources/Scripts/Scene/3/scene3_group133212162.lua b/Resources/Scripts/Scene/3/scene3_group133212162.lua index c455888fb..3d5b03a44 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212162.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212162.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 0 } diff --git a/Resources/Scripts/Scene/3/scene3_group133212164.lua b/Resources/Scripts/Scene/3/scene3_group133212164.lua index 8cf2c5c49..28c3765b6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212164.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212164.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 0 } diff --git a/Resources/Scripts/Scene/3/scene3_group133212166.lua b/Resources/Scripts/Scene/3/scene3_group133212166.lua index c06245a84..3a2ca9220 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212166.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212166.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 240, kill_sum = 14, group_id = 133212166, diff --git a/Resources/Scripts/Scene/3/scene3_group133212167.lua b/Resources/Scripts/Scene/3/scene3_group133212167.lua index 9f3e6bec2..89744abc7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212167.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212167.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 300, kill_sum = 4, group_id = 133212167, diff --git a/Resources/Scripts/Scene/3/scene3_group133212170.lua b/Resources/Scripts/Scene/3/scene3_group133212170.lua index f40940b8b..70e34027d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212170.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212170.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 240, kill_sum = 5, group_id = 133212170, diff --git a/Resources/Scripts/Scene/3/scene3_group133212175.lua b/Resources/Scripts/Scene/3/scene3_group133212175.lua index fd1ac6bc0..012b2046e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212175.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212175.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133212175 } diff --git a/Resources/Scripts/Scene/3/scene3_group133212176.lua b/Resources/Scripts/Scene/3/scene3_group133212176.lua index 9ede8626c..a7f5211e6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212176.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212176.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133212176 } diff --git a/Resources/Scripts/Scene/3/scene3_group133212177.lua b/Resources/Scripts/Scene/3/scene3_group133212177.lua index da9594116..0d07fe5dd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212177.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212177.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133212177 } diff --git a/Resources/Scripts/Scene/3/scene3_group133212178.lua b/Resources/Scripts/Scene/3/scene3_group133212178.lua index 2d967a1c8..bfcf7cfbf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212178.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212178.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133212178 } diff --git a/Resources/Scripts/Scene/3/scene3_group133212193.lua b/Resources/Scripts/Scene/3/scene3_group133212193.lua index 65a37227d..d3477ded7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212193.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212193.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133212193, inner_region = 193020, outer_region = 193020, diff --git a/Resources/Scripts/Scene/3/scene3_group133212195.lua b/Resources/Scripts/Scene/3/scene3_group133212195.lua index cdfc0407d..1a97c5eb9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212195.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212195.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133212195, inner_region = 195016, outer_region = 195016, diff --git a/Resources/Scripts/Scene/3/scene3_group133212197.lua b/Resources/Scripts/Scene/3/scene3_group133212197.lua index d5c302fba..23a89341e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212197.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212197.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212197, gadget_11 = 197001, gadget_12 = 197002, diff --git a/Resources/Scripts/Scene/3/scene3_group133212205.lua b/Resources/Scripts/Scene/3/scene3_group133212205.lua index 4833eb655..df6b510f3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212205.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212205.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212205, gadget_thunderThelfID = 205001, pointarray_ID = 321200016, diff --git a/Resources/Scripts/Scene/3/scene3_group133212212.lua b/Resources/Scripts/Scene/3/scene3_group133212212.lua index c7a3e4b48..f59d93e78 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212212.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212212.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133212212, gadget_1 = 212001, diff --git a/Resources/Scripts/Scene/3/scene3_group133212222.lua b/Resources/Scripts/Scene/3/scene3_group133212222.lua index 6cb71f839..36268b192 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212222.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212222.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 2, group_id = 133212222, diff --git a/Resources/Scripts/Scene/3/scene3_group133212225.lua b/Resources/Scripts/Scene/3/scene3_group133212225.lua index 5cdacb7fb..efe590c73 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212225.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212225.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, group_id = 133212225, gadget_sum = 5 diff --git a/Resources/Scripts/Scene/3/scene3_group133212233.lua b/Resources/Scripts/Scene/3/scene3_group133212233.lua index 8d1ce2bab..f4d93aa07 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212233.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212233.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 133212052, shooter = 52001, repeater = {52001,52002,52003,52005,52006,52007}, @@ -37,7 +37,7 @@ function CheckSuccess02(context) if 203 ~= ScriptLib.GetGadgetStateByConfigId(context, 133212052, 52007) then --反射5 return false end - + return true end diff --git a/Resources/Scripts/Scene/3/scene3_group133212240.lua b/Resources/Scripts/Scene/3/scene3_group133212240.lua index d72df8eee..6f2e17280 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212240.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212240.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212240, gadget_thunderThelfID = 240001, pointarray_ID = 321200029, diff --git a/Resources/Scripts/Scene/3/scene3_group133212247.lua b/Resources/Scripts/Scene/3/scene3_group133212247.lua index f56bffffc..4815ef906 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212247.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212247.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 1, group_id = 133212247, diff --git a/Resources/Scripts/Scene/3/scene3_group133212249.lua b/Resources/Scripts/Scene/3/scene3_group133212249.lua index 5113ef3ea..9cd6baac6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212249.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212249.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212249, gadget_thunderThelfID = 249001, pointarray_ID = 321200022, diff --git a/Resources/Scripts/Scene/3/scene3_group133212254.lua b/Resources/Scripts/Scene/3/scene3_group133212254.lua index 9887812a4..fec35b7a9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212254.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212254.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133212254, gadget_1 = 254001, diff --git a/Resources/Scripts/Scene/3/scene3_group133212261.lua b/Resources/Scripts/Scene/3/scene3_group133212261.lua index 8f0e2ad67..dc1b3dd64 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212261.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212261.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133212261, gadget_1 = 261001, diff --git a/Resources/Scripts/Scene/3/scene3_group133212266.lua b/Resources/Scripts/Scene/3/scene3_group133212266.lua index 0c0e729aa..756b8625f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212266.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212266.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212266, gadget_thunderThelfID = 266001, pointarray_ID = 321200006, diff --git a/Resources/Scripts/Scene/3/scene3_group133212267.lua b/Resources/Scripts/Scene/3/scene3_group133212267.lua index b2a0a4976..7964e3428 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212267.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212267.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212267, gadget_fundation01 = 267001, gadget_hand01 = 267003, diff --git a/Resources/Scripts/Scene/3/scene3_group133212282.lua b/Resources/Scripts/Scene/3/scene3_group133212282.lua index b1e7f49f4..fa9ab67bc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212282.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212282.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133212282, gadget_1 = 282001, diff --git a/Resources/Scripts/Scene/3/scene3_group133212284.lua b/Resources/Scripts/Scene/3/scene3_group133212284.lua index efd6854ea..9bb8b09ac 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212284.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212284.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212284, gadget_thunderThelfID = 284001, pointarray_ID = 321200030, diff --git a/Resources/Scripts/Scene/3/scene3_group133212285.lua b/Resources/Scripts/Scene/3/scene3_group133212285.lua index addd8644f..79b76db5d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212285.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212285.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133212285 } diff --git a/Resources/Scripts/Scene/3/scene3_group133212295.lua b/Resources/Scripts/Scene/3/scene3_group133212295.lua index 1a997fbef..9cf46d9f3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212295.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212295.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212295, gadget_1 = 295001, rotation_1 = 180, diff --git a/Resources/Scripts/Scene/3/scene3_group133212300.lua b/Resources/Scripts/Scene/3/scene3_group133212300.lua index 310c49dcc..7263143bc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212300.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212300.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 300001, gadget_Teleport_2 = 300002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133212308.lua b/Resources/Scripts/Scene/3/scene3_group133212308.lua index 1fbb15674..f267396a2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212308.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212308.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133212308 } diff --git a/Resources/Scripts/Scene/3/scene3_group133212309.lua b/Resources/Scripts/Scene/3/scene3_group133212309.lua index 35209ad18..3f9630a01 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212309.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212309.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133212309 } diff --git a/Resources/Scripts/Scene/3/scene3_group133212310.lua b/Resources/Scripts/Scene/3/scene3_group133212310.lua index 96e8427b3..ab474ce55 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212310.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212310.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 321200144, gadget_seelie = 310002 diff --git a/Resources/Scripts/Scene/3/scene3_group133212314.lua b/Resources/Scripts/Scene/3/scene3_group133212314.lua index e5bae5e17..e4a18ebbc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212314.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212314.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133212314, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133212340.lua b/Resources/Scripts/Scene/3/scene3_group133212340.lua index c5280f432..4e5b2463f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212340.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212340.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212340, trigger_playRegion = 340006, gadget_1 = 340002 diff --git a/Resources/Scripts/Scene/3/scene3_group133212346.lua b/Resources/Scripts/Scene/3/scene3_group133212346.lua index 282f221cd..04f16472d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212346.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212346.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212346, gadget_thunderThelfID = 346001, pointarray_ID = 321200042, diff --git a/Resources/Scripts/Scene/3/scene3_group133212348.lua b/Resources/Scripts/Scene/3/scene3_group133212348.lua index 822229b3c..07477af5b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212348.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212348.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212348, gadget_thunderThelfID = 348001, pointarray_ID = 321200043, diff --git a/Resources/Scripts/Scene/3/scene3_group133212350.lua b/Resources/Scripts/Scene/3/scene3_group133212350.lua index c98c94e6a..60e90d9ad 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212350.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212350.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212350, gadget_thunderThelfID = 350001, pointarray_ID = 321200044, diff --git a/Resources/Scripts/Scene/3/scene3_group133212354.lua b/Resources/Scripts/Scene/3/scene3_group133212354.lua index 475f30cfe..df6616278 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212354.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212354.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { FatherQuest = 72186, group_id = 133212354, temari_gadget_id = 354005, diff --git a/Resources/Scripts/Scene/3/scene3_group133212358.lua b/Resources/Scripts/Scene/3/scene3_group133212358.lua index 31bafcd36..03668e43f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212358.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212358.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { FatherQuest = 72188, group_id = 133212358, temari_gadget_id = 358005, diff --git a/Resources/Scripts/Scene/3/scene3_group133212360.lua b/Resources/Scripts/Scene/3/scene3_group133212360.lua index 044dc1fe4..dbb5fb3f9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212360.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212360.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 2, group_id = 133212360, diff --git a/Resources/Scripts/Scene/3/scene3_group133212366.lua b/Resources/Scripts/Scene/3/scene3_group133212366.lua index 11af337dd..cd29ab4d0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212366.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212366.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212366, gadget_thunderThelfID = 366001, pointarray_ID = 321200046, diff --git a/Resources/Scripts/Scene/3/scene3_group133212367.lua b/Resources/Scripts/Scene/3/scene3_group133212367.lua index b49eceb88..806cc32fb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212367.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212367.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133212367 } diff --git a/Resources/Scripts/Scene/3/scene3_group133212368.lua b/Resources/Scripts/Scene/3/scene3_group133212368.lua index e06cfd480..ed30ab137 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212368.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212368.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {368005,368002,368004,368001,368003}, diff --git a/Resources/Scripts/Scene/3/scene3_group133212370.lua b/Resources/Scripts/Scene/3/scene3_group133212370.lua index 4755074cc..634b54800 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212370.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212370.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133212370, gadget_sum = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133212371.lua b/Resources/Scripts/Scene/3/scene3_group133212371.lua index 2f5eb6863..c40d49b36 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212371.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212371.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133212371 } diff --git a/Resources/Scripts/Scene/3/scene3_group133212373.lua b/Resources/Scripts/Scene/3/scene3_group133212373.lua index 80fee2168..14b0dd644 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212373.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212373.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212373, gadget_thunderThelfID = 373001, pointarray_ID = 321200047, diff --git a/Resources/Scripts/Scene/3/scene3_group133212376.lua b/Resources/Scripts/Scene/3/scene3_group133212376.lua index 528147d23..80c8dd698 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212376.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212376.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 321200119, gadget_seelie = 376002 diff --git a/Resources/Scripts/Scene/3/scene3_group133212378.lua b/Resources/Scripts/Scene/3/scene3_group133212378.lua index 377896018..79f96720c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212378.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212378.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 378006, outer_region = 378006, related_region = 378006, diff --git a/Resources/Scripts/Scene/3/scene3_group133212381.lua b/Resources/Scripts/Scene/3/scene3_group133212381.lua index 019e6c7a1..4b467244c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212381.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212381.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { FatherQuest = 72189, group_id = 133212381, temari_gadget_id = 381005, diff --git a/Resources/Scripts/Scene/3/scene3_group133212382.lua b/Resources/Scripts/Scene/3/scene3_group133212382.lua index f07acd65e..15039536b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212382.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212382.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212382, trigger_playRegion = 382006, gadget_1 = 382002 diff --git a/Resources/Scripts/Scene/3/scene3_group133212392.lua b/Resources/Scripts/Scene/3/scene3_group133212392.lua index 1f7cd2bfb..c23285b55 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212392.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212392.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212392, trigger_playRegion = 392006, gadget_1 = 392002 diff --git a/Resources/Scripts/Scene/3/scene3_group133212444.lua b/Resources/Scripts/Scene/3/scene3_group133212444.lua index c1d7e4410..827d9c0aa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212444.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212444.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212444, gadget_thunderThelfID = 444001, pointarray_ID = 321200048, diff --git a/Resources/Scripts/Scene/3/scene3_group133212448.lua b/Resources/Scripts/Scene/3/scene3_group133212448.lua index 97b860298..0b8d4aba9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212448.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212448.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212448, trigger_playRegion = 448006, gadget_1 = 448002 diff --git a/Resources/Scripts/Scene/3/scene3_group133212449.lua b/Resources/Scripts/Scene/3/scene3_group133212449.lua index e98baa6c4..905b6b7f6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212449.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212449.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 10, group_id = 133212449, diff --git a/Resources/Scripts/Scene/3/scene3_group133212450.lua b/Resources/Scripts/Scene/3/scene3_group133212450.lua index 2a36a4773..d29654c21 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212450.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212450.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 321200148, gadget_seelie = 450002 diff --git a/Resources/Scripts/Scene/3/scene3_group133212453.lua b/Resources/Scripts/Scene/3/scene3_group133212453.lua index 468af53ea..e11877345 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212453.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212453.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212453, trigger_playRegion = 453006, gadget_1 = 453002 diff --git a/Resources/Scripts/Scene/3/scene3_group133212458.lua b/Resources/Scripts/Scene/3/scene3_group133212458.lua index f2c4168f0..0933e453a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212458.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212458.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212458, gadget_thunderThelfID = 458001, pointarray_ID = 321200049, diff --git a/Resources/Scripts/Scene/3/scene3_group133212486.lua b/Resources/Scripts/Scene/3/scene3_group133212486.lua index 91d461ef1..590e32847 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212486.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212486.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 2, group_id = 133212486, diff --git a/Resources/Scripts/Scene/3/scene3_group133212487.lua b/Resources/Scripts/Scene/3/scene3_group133212487.lua index 04010fff9..eac623b17 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212487.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212487.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 2, group_id = 133212487, diff --git a/Resources/Scripts/Scene/3/scene3_group133212512.lua b/Resources/Scripts/Scene/3/scene3_group133212512.lua index 47b704884..09886815d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212512.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212512.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212512, gadget_thunderThelfID = 512001, pointarray_ID = 321200020, diff --git a/Resources/Scripts/Scene/3/scene3_group133212515.lua b/Resources/Scripts/Scene/3/scene3_group133212515.lua index fb7b34d42..ad8f9a389 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212515.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212515.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212515, gadget_thunderThelfID = 515001, pointarray_ID = 321200052, diff --git a/Resources/Scripts/Scene/3/scene3_group133212517.lua b/Resources/Scripts/Scene/3/scene3_group133212517.lua index 137330691..e4a7f3e34 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212517.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212517.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, group_id = 133212517, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133212519.lua b/Resources/Scripts/Scene/3/scene3_group133212519.lua index 390b5c6c6..1d5e5a6f4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212519.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212519.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 321200151, gadget_seelie = 519002 diff --git a/Resources/Scripts/Scene/3/scene3_group133212520.lua b/Resources/Scripts/Scene/3/scene3_group133212520.lua index fdb1b51a2..630101b50 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212520.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212520.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133212520, gadget_11 = 520001, gadget_12 = 520002, diff --git a/Resources/Scripts/Scene/3/scene3_group133212532.lua b/Resources/Scripts/Scene/3/scene3_group133212532.lua index 78e44c86a..355d9bdd3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212532.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212532.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --对应GalleryID gallery_id = 11005, @@ -13,8 +13,7 @@ defs = { group_id = 133212532, --本挑战中,算作计数目标的鱼IDs 鱼ID在FishData表 - target_fish_id = -1019 + target_fish_id = 1019 } diff --git a/Resources/Scripts/Scene/3/scene3_group133212533.lua b/Resources/Scripts/Scene/3/scene3_group133212533.lua index fd404b06a..a4194aa6e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212533.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212533.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 533004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133212551.lua b/Resources/Scripts/Scene/3/scene3_group133212551.lua index 860975f50..e68000bfe 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212551.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212551.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 551004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133212554.lua b/Resources/Scripts/Scene/3/scene3_group133212554.lua index 80205cccc..96044b4a8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212554.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212554.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 202, inactive_step = 0, gadget_array = {554001,554002,554003,554004,554005,554011}, diff --git a/Resources/Scripts/Scene/3/scene3_group133212566.lua b/Resources/Scripts/Scene/3/scene3_group133212566.lua index e9ec2a2bf..3aa326944 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212566.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212566.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 566001, related_region = 566001, outer_region = 566001 diff --git a/Resources/Scripts/Scene/3/scene3_group133212576.lua b/Resources/Scripts/Scene/3/scene3_group133212576.lua index f14f89f98..43f79a8a1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212576.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212576.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { order = {576006,576007,576008,576009}, region = 576013, region_Enter = 576013, diff --git a/Resources/Scripts/Scene/3/scene3_group133212577.lua b/Resources/Scripts/Scene/3/scene3_group133212577.lua index 0686fa248..c78ded1cb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212577.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212577.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 577001, related_region = 577001, outer_region = 577001 diff --git a/Resources/Scripts/Scene/3/scene3_group133212585.lua b/Resources/Scripts/Scene/3/scene3_group133212585.lua index c9f657330..260597fa5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212585.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212585.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_Enter = 585008, region_Leave = 585009, group_id = 133212585, diff --git a/Resources/Scripts/Scene/3/scene3_group133212588.lua b/Resources/Scripts/Scene/3/scene3_group133212588.lua index 03f956b33..55b52ff94 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212588.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212588.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133212588, gadget_prison_list = {588001}, gadget_guide = {588057,588058, 588059}, diff --git a/Resources/Scripts/Scene/3/scene3_group133212590.lua b/Resources/Scripts/Scene/3/scene3_group133212590.lua index 6b6d911f2..2862a5045 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212590.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212590.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133212590, diff --git a/Resources/Scripts/Scene/3/scene3_group133212598.lua b/Resources/Scripts/Scene/3/scene3_group133212598.lua index fa2f72f77..4add35061 100644 --- a/Resources/Scripts/Scene/3/scene3_group133212598.lua +++ b/Resources/Scripts/Scene/3/scene3_group133212598.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133212598, diff --git a/Resources/Scripts/Scene/3/scene3_group133213013.lua b/Resources/Scripts/Scene/3/scene3_group133213013.lua index 6a7e742fd..05fa2174a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213013.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213013.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133213013 } diff --git a/Resources/Scripts/Scene/3/scene3_group133213029.lua b/Resources/Scripts/Scene/3/scene3_group133213029.lua index 6cdf994d1..f4c78a010 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213029.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213029.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213029, gadget_thunderThelfID = 29001, pointarray_ID = 321300005, diff --git a/Resources/Scripts/Scene/3/scene3_group133213037.lua b/Resources/Scripts/Scene/3/scene3_group133213037.lua index 5e79f03c4..3da31cb6f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213037.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213037.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 37007, operator_2 = 37008, chest = 37009 diff --git a/Resources/Scripts/Scene/3/scene3_group133213042.lua b/Resources/Scripts/Scene/3/scene3_group133213042.lua index 604d0a703..7048fb848 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213042.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213042.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213042, trigger_playRegion = 42006, gadget_1 = 42002 diff --git a/Resources/Scripts/Scene/3/scene3_group133213045.lua b/Resources/Scripts/Scene/3/scene3_group133213045.lua index e4ea5557f..8f320c046 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213045.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213045.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213045, gadget_fundation01 = 45001, gadget_hand01 = 45003, diff --git a/Resources/Scripts/Scene/3/scene3_group133213049.lua b/Resources/Scripts/Scene/3/scene3_group133213049.lua index 77f7a8419..311e478b0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213049.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213049.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133213049 } diff --git a/Resources/Scripts/Scene/3/scene3_group133213052.lua b/Resources/Scripts/Scene/3/scene3_group133213052.lua index 864a676f8..cfa1e2693 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213052.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213052.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 52001, gadget_Teleport_2 = 52002, gadget_Teleport_3 = 52003, diff --git a/Resources/Scripts/Scene/3/scene3_group133213055.lua b/Resources/Scripts/Scene/3/scene3_group133213055.lua index 34d79c2a0..1a55e8b3b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213055.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213055.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 321300040, gadget_seelie = 55002 diff --git a/Resources/Scripts/Scene/3/scene3_group133213059.lua b/Resources/Scripts/Scene/3/scene3_group133213059.lua index 54fa90aa7..17fbb8474 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213059.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213059.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133213059 } diff --git a/Resources/Scripts/Scene/3/scene3_group133213060.lua b/Resources/Scripts/Scene/3/scene3_group133213060.lua index c70f25fa3..724fae2dc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213060.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213060.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133213060, gadget_1 = 60001, diff --git a/Resources/Scripts/Scene/3/scene3_group133213061.lua b/Resources/Scripts/Scene/3/scene3_group133213061.lua index fd7de6880..3dd4a25a2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213061.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213061.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213061, gadget_fundation01 = 61001, gadget_hand01 = 61003, diff --git a/Resources/Scripts/Scene/3/scene3_group133213065.lua b/Resources/Scripts/Scene/3/scene3_group133213065.lua index cfcfdcd29..46eb4ef83 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213065.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213065.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213065, gadget_thunderThelfID = 65001, pointarray_ID = 321300028, diff --git a/Resources/Scripts/Scene/3/scene3_group133213068.lua b/Resources/Scripts/Scene/3/scene3_group133213068.lua index e831958c3..4518efc06 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213068.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213068.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213068, trigger_playRegion = 68006, gadget_1 = 68002 diff --git a/Resources/Scripts/Scene/3/scene3_group133213069.lua b/Resources/Scripts/Scene/3/scene3_group133213069.lua index 019d900f4..e029b8793 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213069.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213069.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213069, gadget_fundation01 = 69001, gadget_hand01 = 69003, diff --git a/Resources/Scripts/Scene/3/scene3_group133213074.lua b/Resources/Scripts/Scene/3/scene3_group133213074.lua index 511fa04af..09215d58a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213074.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213074.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 74016, outer_region = 74016, related_region = 74016, diff --git a/Resources/Scripts/Scene/3/scene3_group133213075.lua b/Resources/Scripts/Scene/3/scene3_group133213075.lua index 83fe5107a..e648593d9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213075.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213075.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 75007, operator_2 = 75008, chest = 75009 diff --git a/Resources/Scripts/Scene/3/scene3_group133213077.lua b/Resources/Scripts/Scene/3/scene3_group133213077.lua index ad4db1e64..7159df1f5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213077.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213077.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 77007, operator_2 = 77008, chest = 77009 diff --git a/Resources/Scripts/Scene/3/scene3_group133213078.lua b/Resources/Scripts/Scene/3/scene3_group133213078.lua index 7767a8487..2d3c628d4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213078.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213078.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 78007, operator_2 = 78008, chest = 78009 diff --git a/Resources/Scripts/Scene/3/scene3_group133213079.lua b/Resources/Scripts/Scene/3/scene3_group133213079.lua index 00eb6f0e5..65e8e4fc0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213079.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213079.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 79007, operator_2 = 79008, chest = 79009 diff --git a/Resources/Scripts/Scene/3/scene3_group133213080.lua b/Resources/Scripts/Scene/3/scene3_group133213080.lua index 539e07f31..9496ed3a9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213080.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213080.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 321300047, gadget_seelie = 80002 diff --git a/Resources/Scripts/Scene/3/scene3_group133213082.lua b/Resources/Scripts/Scene/3/scene3_group133213082.lua index 9f0de568a..a27d3607c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213082.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213082.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, kill_sum = 3, group_id = 133213082, diff --git a/Resources/Scripts/Scene/3/scene3_group133213084.lua b/Resources/Scripts/Scene/3/scene3_group133213084.lua index b09e758bb..c4868601d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213084.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213084.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 84020, outer_region = 84020, related_region = 84020, diff --git a/Resources/Scripts/Scene/3/scene3_group133213085.lua b/Resources/Scripts/Scene/3/scene3_group133213085.lua index b73300ddf..d4a1e0bf6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213085.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213085.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 321300049, gadget_seelie = 85002 diff --git a/Resources/Scripts/Scene/3/scene3_group133213088.lua b/Resources/Scripts/Scene/3/scene3_group133213088.lua index 387905061..3c4fbf354 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213088.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213088.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213088, trigger_playRegion = 88006, gadget_1 = 88002 diff --git a/Resources/Scripts/Scene/3/scene3_group133213089.lua b/Resources/Scripts/Scene/3/scene3_group133213089.lua index 45b403138..ec2ac4994 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213089.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213089.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213089, gadget_1 = 89001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133213090.lua b/Resources/Scripts/Scene/3/scene3_group133213090.lua index 7850a3b2a..92a659d97 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213090.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213090.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213090, gadget_thunderThelfID = 90001, pointarray_ID = 321300013, diff --git a/Resources/Scripts/Scene/3/scene3_group133213091.lua b/Resources/Scripts/Scene/3/scene3_group133213091.lua index e1507e71a..2ccf65586 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213091.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213091.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213091, gadget_thunderThelfID = 91001, pointarray_ID = 321300014, diff --git a/Resources/Scripts/Scene/3/scene3_group133213093.lua b/Resources/Scripts/Scene/3/scene3_group133213093.lua index 6f3444b93..fcdf93e88 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213093.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213093.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213093, gadget_thunderThelfID = 93001, pointarray_ID = 321300015, diff --git a/Resources/Scripts/Scene/3/scene3_group133213095.lua b/Resources/Scripts/Scene/3/scene3_group133213095.lua index 41baea2c2..ba27403cc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213095.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213095.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 321300042, gadget_seelie = 95002 diff --git a/Resources/Scripts/Scene/3/scene3_group133213152.lua b/Resources/Scripts/Scene/3/scene3_group133213152.lua index 8d163eaa2..68b3f3251 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213152.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213152.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 0 } diff --git a/Resources/Scripts/Scene/3/scene3_group133213154.lua b/Resources/Scripts/Scene/3/scene3_group133213154.lua index a95696c1d..1f243f967 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213154.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213154.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 0 } diff --git a/Resources/Scripts/Scene/3/scene3_group133213156.lua b/Resources/Scripts/Scene/3/scene3_group133213156.lua index 6122523c7..ba188a1c3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213156.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213156.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 240, monster_id = 156001, group_id = 133213156, diff --git a/Resources/Scripts/Scene/3/scene3_group133213158.lua b/Resources/Scripts/Scene/3/scene3_group133213158.lua index b3bea0984..4507ac03c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213158.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213158.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133213158 } diff --git a/Resources/Scripts/Scene/3/scene3_group133213160.lua b/Resources/Scripts/Scene/3/scene3_group133213160.lua index 56b189de2..f451daaef 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213160.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213160.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133213160 } diff --git a/Resources/Scripts/Scene/3/scene3_group133213162.lua b/Resources/Scripts/Scene/3/scene3_group133213162.lua index 1f57af4de..e0e7a9272 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213162.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213162.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133213162, thunder1_id = 162011, thunder2_id = 162012, diff --git a/Resources/Scripts/Scene/3/scene3_group133213163.lua b/Resources/Scripts/Scene/3/scene3_group133213163.lua index 06ae11580..479b197f3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213163.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213163.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133213163, thunder1_id = 163010, thunder2_id = 163011, diff --git a/Resources/Scripts/Scene/3/scene3_group133213164.lua b/Resources/Scripts/Scene/3/scene3_group133213164.lua index b09dba882..ab38c2129 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213164.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213164.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133213164, thunder1_id = 164012, thunder2_id = 164013, diff --git a/Resources/Scripts/Scene/3/scene3_group133213168.lua b/Resources/Scripts/Scene/3/scene3_group133213168.lua index 7b1fc7825..43cec99f9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213168.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213168.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133213168, gadget_1 = 168001, diff --git a/Resources/Scripts/Scene/3/scene3_group133213174.lua b/Resources/Scripts/Scene/3/scene3_group133213174.lua index 90b17bede..e532094b4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213174.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213174.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213174, gadget_fundation01 = 174001, gadget_hand01 = 174003, diff --git a/Resources/Scripts/Scene/3/scene3_group133213177.lua b/Resources/Scripts/Scene/3/scene3_group133213177.lua index d3a8d1a02..dadfe7e0a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213177.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213177.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133213177, inner_region = 177021, outer_region = 177021, diff --git a/Resources/Scripts/Scene/3/scene3_group133213178.lua b/Resources/Scripts/Scene/3/scene3_group133213178.lua index a7fa0402f..f462c9e3a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213178.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213178.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133213178, inner_region = 178016, outer_region = 178016, diff --git a/Resources/Scripts/Scene/3/scene3_group133213183.lua b/Resources/Scripts/Scene/3/scene3_group133213183.lua index c262ed38d..87d21cedb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213183.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213183.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 183020, outer_region = 183020, related_region = 183020, diff --git a/Resources/Scripts/Scene/3/scene3_group133213184.lua b/Resources/Scripts/Scene/3/scene3_group133213184.lua index 1189e8354..d0937e89f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213184.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213184.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133213184, inner_region = 184016, outer_region = 184016, diff --git a/Resources/Scripts/Scene/3/scene3_group133213186.lua b/Resources/Scripts/Scene/3/scene3_group133213186.lua index deeed588b..3d343afe9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213186.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213186.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133213186, inner_region = 186016, outer_region = 186016, diff --git a/Resources/Scripts/Scene/3/scene3_group133213187.lua b/Resources/Scripts/Scene/3/scene3_group133213187.lua index bd5f5a299..4cdd3bb05 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213187.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213187.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 187003, outer_region = 187003, related_region = 187003, diff --git a/Resources/Scripts/Scene/3/scene3_group133213191.lua b/Resources/Scripts/Scene/3/scene3_group133213191.lua index 8057c0b38..f2e82641e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213191.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213191.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133213191, gadget_1 = 191001, diff --git a/Resources/Scripts/Scene/3/scene3_group133213194.lua b/Resources/Scripts/Scene/3/scene3_group133213194.lua index 859502dbc..d133872fb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213194.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213194.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213194, trigger_playRegion = 194006, gadget_1 = 194002 diff --git a/Resources/Scripts/Scene/3/scene3_group133213201.lua b/Resources/Scripts/Scene/3/scene3_group133213201.lua index b5e1141d1..e8c65bbbb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213201.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213201.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213201, gadget_thunderThelfID = 201001, pointarray_ID = 321300047, diff --git a/Resources/Scripts/Scene/3/scene3_group133213204.lua b/Resources/Scripts/Scene/3/scene3_group133213204.lua index d942a2838..061d44f02 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213204.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213204.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 321300032, gadget_seelie = 204002 diff --git a/Resources/Scripts/Scene/3/scene3_group133213205.lua b/Resources/Scripts/Scene/3/scene3_group133213205.lua index 072df9b36..d714f91e5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213205.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213205.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213205, gadget_1 = 205001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133213209.lua b/Resources/Scripts/Scene/3/scene3_group133213209.lua index 0c1cac1e4..da9963a4e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213209.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213209.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 1, group_id = 133213209, diff --git a/Resources/Scripts/Scene/3/scene3_group133213211.lua b/Resources/Scripts/Scene/3/scene3_group133213211.lua index 85b3eca04..07019066f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213211.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213211.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133213211, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133213213.lua b/Resources/Scripts/Scene/3/scene3_group133213213.lua index 168a437bb..343b3a62c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213213.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213213.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133213213 } diff --git a/Resources/Scripts/Scene/3/scene3_group133213215.lua b/Resources/Scripts/Scene/3/scene3_group133213215.lua index 33ba0699f..c84aeef93 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213215.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213215.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213215, gadget_thunderThelfID = 215001, pointarray_ID = 321300032, diff --git a/Resources/Scripts/Scene/3/scene3_group133213216.lua b/Resources/Scripts/Scene/3/scene3_group133213216.lua index 6bfab03e8..d331125c6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213216.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213216.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213216, gadget_thunderThelfID = 216001, pointarray_ID = 321300006, diff --git a/Resources/Scripts/Scene/3/scene3_group133213220.lua b/Resources/Scripts/Scene/3/scene3_group133213220.lua index 8a753c003..4a3e622ff 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213220.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213220.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, kill_sum = 3, group_id = 133213220, diff --git a/Resources/Scripts/Scene/3/scene3_group133213221.lua b/Resources/Scripts/Scene/3/scene3_group133213221.lua index 6603ba7ec..31d4fcc8f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213221.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213221.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213221, gadget_thunderThelfID = 221001, pointarray_ID = 321300048, diff --git a/Resources/Scripts/Scene/3/scene3_group133213223.lua b/Resources/Scripts/Scene/3/scene3_group133213223.lua index f3c392291..2a7ed96d1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213223.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213223.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213223, gadget_thunderThelfID = 223001, pointarray_ID = 321300008, diff --git a/Resources/Scripts/Scene/3/scene3_group133213236.lua b/Resources/Scripts/Scene/3/scene3_group133213236.lua index df5ebd485..6df3c1375 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213236.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213236.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213236, gadget_thunderThelfID = 236001, pointarray_ID = 321300016, diff --git a/Resources/Scripts/Scene/3/scene3_group133213240.lua b/Resources/Scripts/Scene/3/scene3_group133213240.lua index 14ac0ede5..6eab2bd8f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213240.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213240.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213240, trigger_playRegion = 240006, gadget_1 = 240002 diff --git a/Resources/Scripts/Scene/3/scene3_group133213241.lua b/Resources/Scripts/Scene/3/scene3_group133213241.lua index e4c916d38..269cfec70 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213241.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213241.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 321300044, gadget_seelie = 241002 diff --git a/Resources/Scripts/Scene/3/scene3_group133213244.lua b/Resources/Scripts/Scene/3/scene3_group133213244.lua index c604f3d96..04ace29cb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213244.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213244.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213244, gadget_thunderThelfID = 244001, pointarray_ID = 321300038, diff --git a/Resources/Scripts/Scene/3/scene3_group133213250.lua b/Resources/Scripts/Scene/3/scene3_group133213250.lua index 68023ff7f..029ddc057 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213250.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213250.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213250, gadget_thunderThelfID = 250001, pointarray_ID = 321300039, diff --git a/Resources/Scripts/Scene/3/scene3_group133213253.lua b/Resources/Scripts/Scene/3/scene3_group133213253.lua index 26ae3b700..412355077 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213253.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213253.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 253001, gadget_Teleport_2 = 253002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133213256.lua b/Resources/Scripts/Scene/3/scene3_group133213256.lua index 8c277ce25..115e77bbb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213256.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213256.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 1, group_ID = 133213256, gadget_1 = 256001, diff --git a/Resources/Scripts/Scene/3/scene3_group133213257.lua b/Resources/Scripts/Scene/3/scene3_group133213257.lua index 628437846..f834bb74a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213257.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213257.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213257, gadget_fundation01 = 257001, gadget_hand01 = 257003, diff --git a/Resources/Scripts/Scene/3/scene3_group133213258.lua b/Resources/Scripts/Scene/3/scene3_group133213258.lua index 10db29846..dd5df31b0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213258.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213258.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213258, gadget_thunderThelfID = 258001, pointarray_ID = 321300026, diff --git a/Resources/Scripts/Scene/3/scene3_group133213259.lua b/Resources/Scripts/Scene/3/scene3_group133213259.lua index 300db32b2..0778e84ed 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213259.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213259.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133213259 } diff --git a/Resources/Scripts/Scene/3/scene3_group133213260.lua b/Resources/Scripts/Scene/3/scene3_group133213260.lua index c8413e6f2..e48aa0966 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213260.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213260.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_temple = 260001, gadget_chest = 260002, group_ID = 133213260 diff --git a/Resources/Scripts/Scene/3/scene3_group133213261.lua b/Resources/Scripts/Scene/3/scene3_group133213261.lua index 4d3cd6fcb..495bf9b7d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213261.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213261.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_temple = 261001, gadget_chest = 261002, group_ID = 133213261 diff --git a/Resources/Scripts/Scene/3/scene3_group133213264.lua b/Resources/Scripts/Scene/3/scene3_group133213264.lua index 33737699a..b66be172b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213264.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213264.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213264, gadget_thunderThelfID = 264001, pointarray_ID = 321300027, diff --git a/Resources/Scripts/Scene/3/scene3_group133213265.lua b/Resources/Scripts/Scene/3/scene3_group133213265.lua index d64aa57a3..e44959d18 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213265.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213265.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, kill_sum = 2, group_id = 133213265, diff --git a/Resources/Scripts/Scene/3/scene3_group133213267.lua b/Resources/Scripts/Scene/3/scene3_group133213267.lua index 3383aa319..587238f8f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213267.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213267.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213267, gadget_fundation01 = 267001, gadget_hand01 = 267003, diff --git a/Resources/Scripts/Scene/3/scene3_group133213270.lua b/Resources/Scripts/Scene/3/scene3_group133213270.lua index 132be2e22..df94e6b39 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213270.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213270.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213270, trigger_playRegion = 270006, gadget_1 = 270002 diff --git a/Resources/Scripts/Scene/3/scene3_group133213272.lua b/Resources/Scripts/Scene/3/scene3_group133213272.lua index b08490a78..35224efb9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213272.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213272.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133213272, gadget_sum = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133213278.lua b/Resources/Scripts/Scene/3/scene3_group133213278.lua index 0d137c0e1..2856a4588 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213278.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213278.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 20, group_id = 133213278, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133213279.lua b/Resources/Scripts/Scene/3/scene3_group133213279.lua index 8223fca1e..5fc5311d1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213279.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213279.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 20, group_id = 133213279 } diff --git a/Resources/Scripts/Scene/3/scene3_group133213280.lua b/Resources/Scripts/Scene/3/scene3_group133213280.lua index d837c27f2..d12e137df 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213280.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213280.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213280, gadget_thunderThelfID = 280001, pointarray_ID = 321300029, diff --git a/Resources/Scripts/Scene/3/scene3_group133213281.lua b/Resources/Scripts/Scene/3/scene3_group133213281.lua index f69712146..b600c9c81 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213281.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213281.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213281, trigger_playRegion = 281006, gadget_1 = 281002 diff --git a/Resources/Scripts/Scene/3/scene3_group133213285.lua b/Resources/Scripts/Scene/3/scene3_group133213285.lua index c33d7fd2b..d3acdb31a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213285.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213285.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213285, gadget_thunderThelfID = 285001, pointarray_ID = 321300030, diff --git a/Resources/Scripts/Scene/3/scene3_group133213286.lua b/Resources/Scripts/Scene/3/scene3_group133213286.lua index da90bcabf..bb47eb0e0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213286.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213286.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213286, gadget_thunderThelfID = 286001, pointarray_ID = 321300031, diff --git a/Resources/Scripts/Scene/3/scene3_group133213291.lua b/Resources/Scripts/Scene/3/scene3_group133213291.lua index 100161815..2b5cc6971 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213291.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213291.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 20, group_id = 133213291 } diff --git a/Resources/Scripts/Scene/3/scene3_group133213446.lua b/Resources/Scripts/Scene/3/scene3_group133213446.lua index 05ab027e5..babda9ca5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213446.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213446.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 2, group_id = 133213446, diff --git a/Resources/Scripts/Scene/3/scene3_group133213448.lua b/Resources/Scripts/Scene/3/scene3_group133213448.lua index a3dddd166..569ebe315 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213448.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213448.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213448, gadget_thunderThelfID = 448001, pointarray_ID = 321300034, diff --git a/Resources/Scripts/Scene/3/scene3_group133213452.lua b/Resources/Scripts/Scene/3/scene3_group133213452.lua index ba4cc79ab..b5b9f3fac 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213452.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213452.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213452, trigger_playRegion = 452006, gadget_1 = 452002 diff --git a/Resources/Scripts/Scene/3/scene3_group133213456.lua b/Resources/Scripts/Scene/3/scene3_group133213456.lua index 1031070ae..0d023d067 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213456.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213456.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213456, gadget_thunderThelfID = 456001, pointarray_ID = 321300035, diff --git a/Resources/Scripts/Scene/3/scene3_group133213457.lua b/Resources/Scripts/Scene/3/scene3_group133213457.lua index 22e321ffd..d4fe2e7b7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213457.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213457.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 180, kill_sum = 3, group_id = 133213457, diff --git a/Resources/Scripts/Scene/3/scene3_group133213458.lua b/Resources/Scripts/Scene/3/scene3_group133213458.lua index 620d06e99..b4009e204 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213458.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213458.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, kill_sum = 1, group_id = 133213458, diff --git a/Resources/Scripts/Scene/3/scene3_group133213462.lua b/Resources/Scripts/Scene/3/scene3_group133213462.lua index e56786e50..5d2c841ba 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213462.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213462.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 6, pointarray_route = 321300036, gadget_bubble = 462002, diff --git a/Resources/Scripts/Scene/3/scene3_group133213464.lua b/Resources/Scripts/Scene/3/scene3_group133213464.lua index 9758b58ce..544b52829 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213464.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213464.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, group_id = 133213464, gadget_sum = 12 diff --git a/Resources/Scripts/Scene/3/scene3_group133213465.lua b/Resources/Scripts/Scene/3/scene3_group133213465.lua index c34b5c084..649d447ad 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213465.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213465.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133213465, gadget_sum = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133213472.lua b/Resources/Scripts/Scene/3/scene3_group133213472.lua index 645802866..209c84c90 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213472.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213472.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { FatherQuest = 72187, group_id = 133213472, temari_gadget_id = 472005, diff --git a/Resources/Scripts/Scene/3/scene3_group133213473.lua b/Resources/Scripts/Scene/3/scene3_group133213473.lua index d285c0977..97215672e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213473.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213473.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133213473, gadget_1 = 473001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133213474.lua b/Resources/Scripts/Scene/3/scene3_group133213474.lua index f3164c41a..fb43cb496 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213474.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213474.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 100, group_id = 133213474 } diff --git a/Resources/Scripts/Scene/3/scene3_group133213475.lua b/Resources/Scripts/Scene/3/scene3_group133213475.lua index ce8574919..04ae019b4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213475.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213475.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, group_id = 133213475 } diff --git a/Resources/Scripts/Scene/3/scene3_group133213481.lua b/Resources/Scripts/Scene/3/scene3_group133213481.lua index d25c3e3a0..1ab895766 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213481.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213481.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133213481 } diff --git a/Resources/Scripts/Scene/3/scene3_group133213488.lua b/Resources/Scripts/Scene/3/scene3_group133213488.lua index 5e8d1ee23..4b02e435c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213488.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213488.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, kill_sum = 1, group_id = 133213488, diff --git a/Resources/Scripts/Scene/3/scene3_group133213494.lua b/Resources/Scripts/Scene/3/scene3_group133213494.lua index c4719364a..cc8bcd4bd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213494.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213494.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --对应GalleryID gallery_id = 11004, diff --git a/Resources/Scripts/Scene/3/scene3_group133213553.lua b/Resources/Scripts/Scene/3/scene3_group133213553.lua index c50426e0c..be0b12bba 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213553.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213553.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133213553, gadget_prison_list = {553001}, gadget_guide = {553057,553058, 553059}, diff --git a/Resources/Scripts/Scene/3/scene3_group133213554.lua b/Resources/Scripts/Scene/3/scene3_group133213554.lua index 6eff291f2..f345563f7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213554.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213554.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133213554, diff --git a/Resources/Scripts/Scene/3/scene3_group133213555.lua b/Resources/Scripts/Scene/3/scene3_group133213555.lua index a3358d7d4..f0c6913f5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213555.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213555.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133213555, diff --git a/Resources/Scripts/Scene/3/scene3_group133213557.lua b/Resources/Scripts/Scene/3/scene3_group133213557.lua index 5831496dd..592ced104 100644 --- a/Resources/Scripts/Scene/3/scene3_group133213557.lua +++ b/Resources/Scripts/Scene/3/scene3_group133213557.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_sync = 557001, sync_element = 4 } diff --git a/Resources/Scripts/Scene/3/scene3_group133216001.lua b/Resources/Scripts/Scene/3/scene3_group133216001.lua index 3c60c360d..69fff1cd4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133216001.lua +++ b/Resources/Scripts/Scene/3/scene3_group133216001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 1001, gadget_Teleport_2 = 1002, gadget_Teleport_3 = 1003, diff --git a/Resources/Scripts/Scene/3/scene3_group133216003.lua b/Resources/Scripts/Scene/3/scene3_group133216003.lua index 86fed54ca..2791d2683 100644 --- a/Resources/Scripts/Scene/3/scene3_group133216003.lua +++ b/Resources/Scripts/Scene/3/scene3_group133216003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, group_id = 133216003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133216004.lua b/Resources/Scripts/Scene/3/scene3_group133216004.lua index 07c5593b2..a08a67842 100644 --- a/Resources/Scripts/Scene/3/scene3_group133216004.lua +++ b/Resources/Scripts/Scene/3/scene3_group133216004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 4001, gadget_Teleport_2 = 4002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133216008.lua b/Resources/Scripts/Scene/3/scene3_group133216008.lua index 5c4a8ff8b..72e491e26 100644 --- a/Resources/Scripts/Scene/3/scene3_group133216008.lua +++ b/Resources/Scripts/Scene/3/scene3_group133216008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 8001, gadget_Teleport_2 = 8002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133216011.lua b/Resources/Scripts/Scene/3/scene3_group133216011.lua index ddca4b342..1ff7cdefc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133216011.lua +++ b/Resources/Scripts/Scene/3/scene3_group133216011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 80, kill_sum = 2, group_id = 133216011, diff --git a/Resources/Scripts/Scene/3/scene3_group133216019.lua b/Resources/Scripts/Scene/3/scene3_group133216019.lua index 6a5e3b527..68196da74 100644 --- a/Resources/Scripts/Scene/3/scene3_group133216019.lua +++ b/Resources/Scripts/Scene/3/scene3_group133216019.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, group_id = 133216019, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133217002.lua b/Resources/Scripts/Scene/3/scene3_group133217002.lua index 5af257331..9cba05d57 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217002.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217002, trigger_playRegion = 2006, gadget_1 = 2002 diff --git a/Resources/Scripts/Scene/3/scene3_group133217004.lua b/Resources/Scripts/Scene/3/scene3_group133217004.lua index f932df785..5493ad95f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217004.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217004, gadget_thunderThelfID = 4001, pointarray_ID = 321700001, diff --git a/Resources/Scripts/Scene/3/scene3_group133217006.lua b/Resources/Scripts/Scene/3/scene3_group133217006.lua index 39d599d40..f83301331 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217006.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217006.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { -- 该参数 填入ConfigID 用来确认临接关系 InitFloorArrays = { {6001,6004,6007,6010}, diff --git a/Resources/Scripts/Scene/3/scene3_group133217014.lua b/Resources/Scripts/Scene/3/scene3_group133217014.lua index 5e2d69cdd..bf1c95f79 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217014.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217014.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217014, gadget_thunderThelfID = 14001, pointarray_ID = 321700002, diff --git a/Resources/Scripts/Scene/3/scene3_group133217028.lua b/Resources/Scripts/Scene/3/scene3_group133217028.lua index 830eae8b5..0e389cb70 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217028.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217028.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217028, trigger_playRegion = 28006, gadget_1 = 28002 diff --git a/Resources/Scripts/Scene/3/scene3_group133217035.lua b/Resources/Scripts/Scene/3/scene3_group133217035.lua index 70e4c5baa..45bcc1d19 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217035.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217035.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 180, kill_sum = 10, group_id = 133217035, diff --git a/Resources/Scripts/Scene/3/scene3_group133217037.lua b/Resources/Scripts/Scene/3/scene3_group133217037.lua index 59f9cfa7d..438adeeb7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217037.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217037.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 240, kill_sum = 3, group_id = 133217037, diff --git a/Resources/Scripts/Scene/3/scene3_group133217038.lua b/Resources/Scripts/Scene/3/scene3_group133217038.lua index 3b9f9df62..e05948f6d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217038.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217038.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 38028, outer_region = 38028, related_region = 38028, diff --git a/Resources/Scripts/Scene/3/scene3_group133217039.lua b/Resources/Scripts/Scene/3/scene3_group133217039.lua index 7394ba6b0..990734c18 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217039.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217039.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133217039 } diff --git a/Resources/Scripts/Scene/3/scene3_group133217069.lua b/Resources/Scripts/Scene/3/scene3_group133217069.lua index aefdbbccc..37f76bec3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217069.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217069.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_temple = 69001, gadget_chest = 69002, group_ID = 133217069 diff --git a/Resources/Scripts/Scene/3/scene3_group133217106.lua b/Resources/Scripts/Scene/3/scene3_group133217106.lua index 15e687b2f..69ef686ef 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217106.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217106.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { -- 该参数用来确认合法对子地板 FloorGadgetID = {70310062,70310063,70310064,70310065,70310087,70310088}, FloorNum = 6, diff --git a/Resources/Scripts/Scene/3/scene3_group133217118.lua b/Resources/Scripts/Scene/3/scene3_group133217118.lua index f69173b8e..be5ccc01b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217118.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217118.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217118, gadget_11 = 118001, gadget_12 = 118002, diff --git a/Resources/Scripts/Scene/3/scene3_group133217163.lua b/Resources/Scripts/Scene/3/scene3_group133217163.lua index 797bb74e7..0420aed2d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217163.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217163.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 163007, operator_2 = 163008, chest = 163009 diff --git a/Resources/Scripts/Scene/3/scene3_group133217164.lua b/Resources/Scripts/Scene/3/scene3_group133217164.lua index e2ee92c82..d1886e1f6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217164.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217164.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 164007, operator_2 = 164008, chest = 164009 diff --git a/Resources/Scripts/Scene/3/scene3_group133217165.lua b/Resources/Scripts/Scene/3/scene3_group133217165.lua index 40c24a872..e0e8d79b6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217165.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217165.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 165007, operator_2 = 165008, chest = 165009 diff --git a/Resources/Scripts/Scene/3/scene3_group133217166.lua b/Resources/Scripts/Scene/3/scene3_group133217166.lua index 982140353..112d8af36 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217166.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217166.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 166007, operator_2 = 166008, chest = 166009 diff --git a/Resources/Scripts/Scene/3/scene3_group133217167.lua b/Resources/Scripts/Scene/3/scene3_group133217167.lua index 7dfd5aadc..1d2d72db1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217167.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217167.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 167007, operator_2 = 167008, chest = 167009 diff --git a/Resources/Scripts/Scene/3/scene3_group133217171.lua b/Resources/Scripts/Scene/3/scene3_group133217171.lua index c7af92493..4925fc617 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217171.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217171.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217171, gadget_fundation01 = 171001, gadget_hand01 = 171003, diff --git a/Resources/Scripts/Scene/3/scene3_group133217172.lua b/Resources/Scripts/Scene/3/scene3_group133217172.lua index 419feb2b8..682cda09e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217172.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217172.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217172, gadget_thunderThelfID = 172001, pointarray_ID = 321700003, diff --git a/Resources/Scripts/Scene/3/scene3_group133217174.lua b/Resources/Scripts/Scene/3/scene3_group133217174.lua index bb35558c3..3ca224e66 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217174.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217174.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 15, group_id = 133217174 } diff --git a/Resources/Scripts/Scene/3/scene3_group133217177.lua b/Resources/Scripts/Scene/3/scene3_group133217177.lua index fca5894d0..daa0bde05 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217177.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217177.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { -- 该参数用来确认合法对子地板 FloorGadgetID = {70310062,70310063,70310064,70310065,70310087,70310088}, FloorNum = 8, diff --git a/Resources/Scripts/Scene/3/scene3_group133217194.lua b/Resources/Scripts/Scene/3/scene3_group133217194.lua index e188b353f..e2d7f2ad9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217194.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217194.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 15, group_id = 133217194, gadget_sum = 12 diff --git a/Resources/Scripts/Scene/3/scene3_group133217196.lua b/Resources/Scripts/Scene/3/scene3_group133217196.lua index 35d4b5309..ad1cc89b0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217196.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217196.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 196001, gadget_Teleport_2 = 196002, gadget_Teleport_3 = 196003, diff --git a/Resources/Scripts/Scene/3/scene3_group133217197.lua b/Resources/Scripts/Scene/3/scene3_group133217197.lua index 0e8e4e1ff..c9ed38c3c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217197.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217197.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, group_id = 133217197, collectable_sum = 11 diff --git a/Resources/Scripts/Scene/3/scene3_group133217198.lua b/Resources/Scripts/Scene/3/scene3_group133217198.lua index 00abf7add..f71646dd3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217198.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217198.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217198, gadget_thunderThelfID = 198001, pointarray_ID = 321700008, diff --git a/Resources/Scripts/Scene/3/scene3_group133217200.lua b/Resources/Scripts/Scene/3/scene3_group133217200.lua index 452aaf6d7..a26be3ce9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217200.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217200.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217200, trigger_playRegion = 200006, gadget_1 = 200002 diff --git a/Resources/Scripts/Scene/3/scene3_group133217203.lua b/Resources/Scripts/Scene/3/scene3_group133217203.lua index 7199d0fea..3eac8a19c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217203.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217203.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217203, gadget_1 = 203001, rotation_1 = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133217204.lua b/Resources/Scripts/Scene/3/scene3_group133217204.lua index 80ea6bcc9..e7bc1aa13 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217204.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217204.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217204, gadget_thunderThelfID = 204001, pointarray_ID = 321700009, diff --git a/Resources/Scripts/Scene/3/scene3_group133217212.lua b/Resources/Scripts/Scene/3/scene3_group133217212.lua index f017b9bf8..fd956aea2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217212.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217212.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 212001, gadget_Teleport_2 = 212002, gadget_Teleport_3 = 212003, diff --git a/Resources/Scripts/Scene/3/scene3_group133217216.lua b/Resources/Scripts/Scene/3/scene3_group133217216.lua index cc82f6568..ded7b7717 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217216.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217216.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 1, group_ID = 133217216, gadget_1 = 216001, diff --git a/Resources/Scripts/Scene/3/scene3_group133217220.lua b/Resources/Scripts/Scene/3/scene3_group133217220.lua index 88cb74f46..e4fe6f987 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217220.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217220.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217220, gadget_1 = 220001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133217228.lua b/Resources/Scripts/Scene/3/scene3_group133217228.lua index 2c109f7d6..a5fe2199b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217228.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217228.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { -- 该参数 填入ConfigID 用来确认临接关系 InitFloorArrays = { {228001,228004,228007,228010}, diff --git a/Resources/Scripts/Scene/3/scene3_group133217249.lua b/Resources/Scripts/Scene/3/scene3_group133217249.lua index 165a85cb0..7da4f9bd8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217249.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217249.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { FatherQuest = 72220, group_id = 133217249, temari_gadget_id = 249004, diff --git a/Resources/Scripts/Scene/3/scene3_group133217250.lua b/Resources/Scripts/Scene/3/scene3_group133217250.lua index 1fd3f7d75..717e204ee 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217250.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217250.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133217250, collectable_sum = 11 diff --git a/Resources/Scripts/Scene/3/scene3_group133217255.lua b/Resources/Scripts/Scene/3/scene3_group133217255.lua index 1bc21e4f7..92408a8f2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217255.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217255.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217255, gadget_thunderThelfID = 255001, pointarray_ID = 321700014, diff --git a/Resources/Scripts/Scene/3/scene3_group133217261.lua b/Resources/Scripts/Scene/3/scene3_group133217261.lua index 0e06efeb1..7883379f9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217261.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217261.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217261, trigger_playRegion = 261006, gadget_1 = 261002 diff --git a/Resources/Scripts/Scene/3/scene3_group133217262.lua b/Resources/Scripts/Scene/3/scene3_group133217262.lua index 24a9b2524..e92224da9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217262.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217262.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 262001, gadget_Teleport_2 = 262002, gadget_Teleport_3 = 262003, diff --git a/Resources/Scripts/Scene/3/scene3_group133217265.lua b/Resources/Scripts/Scene/3/scene3_group133217265.lua index e42be18b7..da5e24ea7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217265.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217265.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217265, gadget_fundation01 = 265001, gadget_hand01 = 265003, diff --git a/Resources/Scripts/Scene/3/scene3_group133217266.lua b/Resources/Scripts/Scene/3/scene3_group133217266.lua index 1cf1abb18..f8de498d7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217266.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217266.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217266, gadget_1 = 266001, rotation_1 = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133217268.lua b/Resources/Scripts/Scene/3/scene3_group133217268.lua index 6f504680b..3893d3636 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217268.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217268.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 268001, gadget_Teleport_2 = 268002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133217278.lua b/Resources/Scripts/Scene/3/scene3_group133217278.lua index ebe56d986..b0e75294d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217278.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217278.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133217278, collectable_sum = 11 diff --git a/Resources/Scripts/Scene/3/scene3_group133217279.lua b/Resources/Scripts/Scene/3/scene3_group133217279.lua index 0096e27fc..22c10c1d7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217279.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217279.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 279001, gadget_Teleport_2 = 279002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133217280.lua b/Resources/Scripts/Scene/3/scene3_group133217280.lua index 87c506986..eb81a6656 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217280.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217280.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 280001, gadget_Teleport_2 = 280002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133217283.lua b/Resources/Scripts/Scene/3/scene3_group133217283.lua index 42c99ae2c..17c10af5b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217283.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217283.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 105, group_id = 133217283, gadget_sum = 34 diff --git a/Resources/Scripts/Scene/3/scene3_group133217285.lua b/Resources/Scripts/Scene/3/scene3_group133217285.lua index 9ee74de79..5eb524d12 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217285.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217285.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217285, gadget_fundation01 = 285001, gadget_hand01 = 285003, diff --git a/Resources/Scripts/Scene/3/scene3_group133217295.lua b/Resources/Scripts/Scene/3/scene3_group133217295.lua index 0d4e7ff6b..0d6870d31 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217295.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217295.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 295001, gadget_Teleport_2 = 295002, gadget_Teleport_3 = 295003, diff --git a/Resources/Scripts/Scene/3/scene3_group133217302.lua b/Resources/Scripts/Scene/3/scene3_group133217302.lua index 6ee175f1e..357a2dc52 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217302.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217302.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 302001, gadget_Teleport_2 = 302002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133217308.lua b/Resources/Scripts/Scene/3/scene3_group133217308.lua index 84170e864..8628b83bf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217308.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217308.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 308001, gadget_Teleport_2 = 308002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133217325.lua b/Resources/Scripts/Scene/3/scene3_group133217325.lua index 9dfeccbe5..e095086e6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217325.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217325.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217325, gadget_1 = 325001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133217337.lua b/Resources/Scripts/Scene/3/scene3_group133217337.lua index 91bad869e..bfa1d985e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217337.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217337.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 337001, gadget_Teleport_2 = 337002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133217342.lua b/Resources/Scripts/Scene/3/scene3_group133217342.lua index aef5d4d00..ea7394387 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217342.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217342.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 71, route_2 = 321700047, gadget_seelie = 342002 diff --git a/Resources/Scripts/Scene/3/scene3_group133217343.lua b/Resources/Scripts/Scene/3/scene3_group133217343.lua index c7339c3aa..da9ea7130 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217343.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217343.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 343001, gadget_Teleport_2 = 343002, gadget_Teleport_3 = 343003, diff --git a/Resources/Scripts/Scene/3/scene3_group133217357.lua b/Resources/Scripts/Scene/3/scene3_group133217357.lua index c454dc553..9245fa7c7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217357.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217357.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217357, gadget_1 = 357001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133217360.lua b/Resources/Scripts/Scene/3/scene3_group133217360.lua index 6fa574b96..2365891dc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217360.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217360.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 360001, gadget_Teleport_2 = 360002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133217362.lua b/Resources/Scripts/Scene/3/scene3_group133217362.lua index f37a4568b..4e551137f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217362.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217362.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217362, gadget_thunderThelfID = 362001, pointarray_ID = 321700054, diff --git a/Resources/Scripts/Scene/3/scene3_group133217367.lua b/Resources/Scripts/Scene/3/scene3_group133217367.lua index fb18f82d8..2a8422024 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217367.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217367.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133217367, gadget_thunderThelfID = 367001, pointarray_ID = 321700014, diff --git a/Resources/Scripts/Scene/3/scene3_group133217368.lua b/Resources/Scripts/Scene/3/scene3_group133217368.lua index b892b6864..0023f59a3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217368.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217368.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133217368, gadget_sum = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133217369.lua b/Resources/Scripts/Scene/3/scene3_group133217369.lua index 40de998d5..23b195a0f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217369.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217369.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 10, group_id = 133217369, diff --git a/Resources/Scripts/Scene/3/scene3_group133217370.lua b/Resources/Scripts/Scene/3/scene3_group133217370.lua index 52e73bd8d..f7c1efea9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133217370.lua +++ b/Resources/Scripts/Scene/3/scene3_group133217370.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 370004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133220018.lua b/Resources/Scripts/Scene/3/scene3_group133220018.lua index d2c6683f3..7cedca3eb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220018.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220018.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220018, gadget_11 = 18001, gadget_12 = 18002, diff --git a/Resources/Scripts/Scene/3/scene3_group133220034.lua b/Resources/Scripts/Scene/3/scene3_group133220034.lua index 2c0ec4ca2..f5538e6a1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220034.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220034.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220034, gadget_thunderThelfID = 34001, pointarray_ID = 322000034, diff --git a/Resources/Scripts/Scene/3/scene3_group133220037.lua b/Resources/Scripts/Scene/3/scene3_group133220037.lua index 25a91ec87..93483290a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220037.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220037.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 37002, outer_region = 37002, related_region = 37002, diff --git a/Resources/Scripts/Scene/3/scene3_group133220039.lua b/Resources/Scripts/Scene/3/scene3_group133220039.lua index fcd39de27..b3017357d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220039.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220039.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220039, gadget_thunderThelfID = 39001, pointarray_ID = 322000022, diff --git a/Resources/Scripts/Scene/3/scene3_group133220083.lua b/Resources/Scripts/Scene/3/scene3_group133220083.lua index b8f879dc4..d3cd6fa01 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220083.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220083.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220083, gadget_thunderThelfID = 83001, pointarray_ID = 322000028, diff --git a/Resources/Scripts/Scene/3/scene3_group133220092.lua b/Resources/Scripts/Scene/3/scene3_group133220092.lua index 77723dfaa..2125ef555 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220092.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220092.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220092, trigger_playRegion = 92006, gadget_1 = 92002 diff --git a/Resources/Scripts/Scene/3/scene3_group133220102.lua b/Resources/Scripts/Scene/3/scene3_group133220102.lua index d2bc3a283..4f43d4daf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220102.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220102.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 102004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133220103.lua b/Resources/Scripts/Scene/3/scene3_group133220103.lua index fadf65071..6a66f692d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220103.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220103.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220103, trigger_playRegion = 103006, gadget_1 = 103002 diff --git a/Resources/Scripts/Scene/3/scene3_group133220112.lua b/Resources/Scripts/Scene/3/scene3_group133220112.lua index 07d2b9178..1c93c9a1e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220112.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220112.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133220112, gadget_riddle_hint = 112001, gadget_riddle_1 = 112002, diff --git a/Resources/Scripts/Scene/3/scene3_group133220156.lua b/Resources/Scripts/Scene/3/scene3_group133220156.lua index 49373ac4c..94817666a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220156.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220156.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133220156 } diff --git a/Resources/Scripts/Scene/3/scene3_group133220157.lua b/Resources/Scripts/Scene/3/scene3_group133220157.lua index f83aa5be3..07be16798 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220157.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220157.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133220157 } diff --git a/Resources/Scripts/Scene/3/scene3_group133220161.lua b/Resources/Scripts/Scene/3/scene3_group133220161.lua index 535d13a66..0467cb5dc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220161.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220161.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 240, monster_id = 161001, group_id = 133220161, diff --git a/Resources/Scripts/Scene/3/scene3_group133220162.lua b/Resources/Scripts/Scene/3/scene3_group133220162.lua index 3032f2d67..34136e295 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220162.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220162.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 240, kill_sum = 1, group_id = 133220162, diff --git a/Resources/Scripts/Scene/3/scene3_group133220163.lua b/Resources/Scripts/Scene/3/scene3_group133220163.lua index e67bbca54..dc670f6e8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220163.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220163.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 240, kill_sum = 2, group_id = 133220163, diff --git a/Resources/Scripts/Scene/3/scene3_group133220164.lua b/Resources/Scripts/Scene/3/scene3_group133220164.lua index e6246d4ef..c7cd23807 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220164.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220164.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 240, monster_id = 164001, group_id = 133220164, diff --git a/Resources/Scripts/Scene/3/scene3_group133220165.lua b/Resources/Scripts/Scene/3/scene3_group133220165.lua index 0d2d8bd60..d444983b9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220165.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220165.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 240, kill_sum = 15, group_id = 133220165, diff --git a/Resources/Scripts/Scene/3/scene3_group133220173.lua b/Resources/Scripts/Scene/3/scene3_group133220173.lua index 90dc974fc..0db1bea57 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220173.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220173.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 173056, outer_region = 173056, related_region = 173056, diff --git a/Resources/Scripts/Scene/3/scene3_group133220184.lua b/Resources/Scripts/Scene/3/scene3_group133220184.lua index 85ba161b3..e99e66d44 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220184.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220184.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133220184, gadget_1 = 184001, diff --git a/Resources/Scripts/Scene/3/scene3_group133220185.lua b/Resources/Scripts/Scene/3/scene3_group133220185.lua index 182e98898..596d382d0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220185.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220185.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { temari_id = 185001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133220193.lua b/Resources/Scripts/Scene/3/scene3_group133220193.lua index 7552b1ed9..1d115fe13 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220193.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220193.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 193047, outer_region = 193047, related_region = 193047, diff --git a/Resources/Scripts/Scene/3/scene3_group133220194.lua b/Resources/Scripts/Scene/3/scene3_group133220194.lua index 528d7f0f7..3f3f04bad 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220194.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220194.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 194003, outer_region = 194003, related_region = 194003, diff --git a/Resources/Scripts/Scene/3/scene3_group133220204.lua b/Resources/Scripts/Scene/3/scene3_group133220204.lua index 1c6220e42..d052ea134 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220204.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220204.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 204043, outer_region = 204043, related_region = 204043, diff --git a/Resources/Scripts/Scene/3/scene3_group133220205.lua b/Resources/Scripts/Scene/3/scene3_group133220205.lua index 7e86c173f..41273dc84 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220205.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220205.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 205047, outer_region = 205047, related_region = 205047, diff --git a/Resources/Scripts/Scene/3/scene3_group133220209.lua b/Resources/Scripts/Scene/3/scene3_group133220209.lua index ba12bf043..dea36d373 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220209.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220209.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133220209, gadget_1 = 209001, diff --git a/Resources/Scripts/Scene/3/scene3_group133220213.lua b/Resources/Scripts/Scene/3/scene3_group133220213.lua index 46f3139a2..4b0228243 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220213.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220213.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133220213 } diff --git a/Resources/Scripts/Scene/3/scene3_group133220214.lua b/Resources/Scripts/Scene/3/scene3_group133220214.lua index c27ba36c0..547844d76 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220214.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220214.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133220214 } diff --git a/Resources/Scripts/Scene/3/scene3_group133220262.lua b/Resources/Scripts/Scene/3/scene3_group133220262.lua index e53f8f13c..aa4405ea8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220262.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220262.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 1, group_ID = 133220262, gadget_1 = 262001, diff --git a/Resources/Scripts/Scene/3/scene3_group133220271.lua b/Resources/Scripts/Scene/3/scene3_group133220271.lua index cea569143..05597eb6f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220271.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220271.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220271, gadget_1 = 271001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133220273.lua b/Resources/Scripts/Scene/3/scene3_group133220273.lua index 062e1d63a..45f49c711 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220273.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220273.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220273, trigger_playRegion = 273006, gadget_1 = 273002 diff --git a/Resources/Scripts/Scene/3/scene3_group133220276.lua b/Resources/Scripts/Scene/3/scene3_group133220276.lua index 252321c4a..84673b24e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220276.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220276.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 25, group_id = 133220276 } diff --git a/Resources/Scripts/Scene/3/scene3_group133220285.lua b/Resources/Scripts/Scene/3/scene3_group133220285.lua index 8701fe2a3..a7e3d6fd6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220285.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220285.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133220285 } diff --git a/Resources/Scripts/Scene/3/scene3_group133220286.lua b/Resources/Scripts/Scene/3/scene3_group133220286.lua index c667bab3f..5ccb2b568 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220286.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220286.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220286, gadget_fundation01 = 286001, gadget_hand01 = 286003, diff --git a/Resources/Scripts/Scene/3/scene3_group133220287.lua b/Resources/Scripts/Scene/3/scene3_group133220287.lua index 3c8a27af6..8e6fb3a8c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220287.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220287.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220287, trigger_playRegion = 287006, gadget_1 = 287002 diff --git a/Resources/Scripts/Scene/3/scene3_group133220291.lua b/Resources/Scripts/Scene/3/scene3_group133220291.lua index a01d9e2c8..52ad78a52 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220291.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220291.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220291, trigger_playRegion = 291006, gadget_1 = 291002 diff --git a/Resources/Scripts/Scene/3/scene3_group133220325.lua b/Resources/Scripts/Scene/3/scene3_group133220325.lua index 91267f59a..4dfae54ed 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220325.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220325.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220325, gadget_thunderThelfID = 325001, pointarray_ID = 322000012, diff --git a/Resources/Scripts/Scene/3/scene3_group133220342.lua b/Resources/Scripts/Scene/3/scene3_group133220342.lua index 5f97978e2..7b41d17fa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220342.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220342.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220342, gadget_1 = 342001, rotation_1 = 180, diff --git a/Resources/Scripts/Scene/3/scene3_group133220351.lua b/Resources/Scripts/Scene/3/scene3_group133220351.lua index a9b637bbb..6ffc53899 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220351.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220351.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 322000204, gadget_seelie = 351002 diff --git a/Resources/Scripts/Scene/3/scene3_group133220352.lua b/Resources/Scripts/Scene/3/scene3_group133220352.lua index 1928b3b7f..c2c56a10a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220352.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220352.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 352004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133220357.lua b/Resources/Scripts/Scene/3/scene3_group133220357.lua index 0d834aa16..f7eb04543 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220357.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220357.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220357, gadget_11 = 357001, gadget_12 = 357002, diff --git a/Resources/Scripts/Scene/3/scene3_group133220362.lua b/Resources/Scripts/Scene/3/scene3_group133220362.lua index 87787fe02..a805ece00 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220362.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220362.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220362, gadget_thunderThelfID = 362001, pointarray_ID = 322000019, diff --git a/Resources/Scripts/Scene/3/scene3_group133220364.lua b/Resources/Scripts/Scene/3/scene3_group133220364.lua index e34c1420a..2abb77cca 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220364.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220364.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220364, gadget_thunderThelfID = 364001, pointarray_ID = 322000035, diff --git a/Resources/Scripts/Scene/3/scene3_group133220368.lua b/Resources/Scripts/Scene/3/scene3_group133220368.lua index 2ed6f9f91..ffcf75f92 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220368.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220368.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220368, trigger_playRegion = 368006, gadget_1 = 368002 diff --git a/Resources/Scripts/Scene/3/scene3_group133220369.lua b/Resources/Scripts/Scene/3/scene3_group133220369.lua index abad5d66e..0ae77ccda 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220369.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220369.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133220369 } diff --git a/Resources/Scripts/Scene/3/scene3_group133220370.lua b/Resources/Scripts/Scene/3/scene3_group133220370.lua index 466702dda..f2e2bbdd6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220370.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220370.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133220370 } diff --git a/Resources/Scripts/Scene/3/scene3_group133220371.lua b/Resources/Scripts/Scene/3/scene3_group133220371.lua index a72f39462..6789eb4e1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220371.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220371.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 2, group_id = 133220371, diff --git a/Resources/Scripts/Scene/3/scene3_group133220377.lua b/Resources/Scripts/Scene/3/scene3_group133220377.lua index 47d955701..da4155f96 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220377.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220377.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {377001,377002,377003,377004,377005}, diff --git a/Resources/Scripts/Scene/3/scene3_group133220382.lua b/Resources/Scripts/Scene/3/scene3_group133220382.lua index 1024546a2..bc1266931 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220382.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220382.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220382, trigger_playRegion = 382006, gadget_1 = 382002 diff --git a/Resources/Scripts/Scene/3/scene3_group133220387.lua b/Resources/Scripts/Scene/3/scene3_group133220387.lua index 102e1595b..cf907e111 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220387.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220387.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220387, gadget_11 = 387001, gadget_12 = 387002, diff --git a/Resources/Scripts/Scene/3/scene3_group133220403.lua b/Resources/Scripts/Scene/3/scene3_group133220403.lua index 6cf40cfb6..b47e8fc78 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220403.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220403.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220403, gadget_1 = 403001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133220405.lua b/Resources/Scripts/Scene/3/scene3_group133220405.lua index 785731952..73679ca32 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220405.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220405.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 405001, outer_region = 405001, related_region = 405001, diff --git a/Resources/Scripts/Scene/3/scene3_group133220412.lua b/Resources/Scripts/Scene/3/scene3_group133220412.lua index 0db13d9b5..1971cfb36 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220412.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220412.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { FatherQuest = 72181, group_id = 133220412, temari_gadget_id = 412005, diff --git a/Resources/Scripts/Scene/3/scene3_group133220413.lua b/Resources/Scripts/Scene/3/scene3_group133220413.lua index d5efe4f3b..483743320 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220413.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220413.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 413010, outer_region = 413010, related_region = 413010, diff --git a/Resources/Scripts/Scene/3/scene3_group133220418.lua b/Resources/Scripts/Scene/3/scene3_group133220418.lua index 91e9924cf..6466038ab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220418.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220418.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 418001, gallery_id = 29004, region_id = 418005, diff --git a/Resources/Scripts/Scene/3/scene3_group133220419.lua b/Resources/Scripts/Scene/3/scene3_group133220419.lua index 1ecf0feae..d63ed55d1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220419.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220419.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 2, group_id = 133220419, diff --git a/Resources/Scripts/Scene/3/scene3_group133220426.lua b/Resources/Scripts/Scene/3/scene3_group133220426.lua index b836db7e1..c8ed383b0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220426.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220426.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220426, gadget_thunderThelfID = 426001, pointarray_ID = 322000025, diff --git a/Resources/Scripts/Scene/3/scene3_group133220443.lua b/Resources/Scripts/Scene/3/scene3_group133220443.lua index 606562fe7..ebea7ecd9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220443.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220443.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220443, gadget_fundation01 = 443001, gadget_hand01 = 443003, diff --git a/Resources/Scripts/Scene/3/scene3_group133220464.lua b/Resources/Scripts/Scene/3/scene3_group133220464.lua index e38b97cc6..1bae73569 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220464.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220464.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220464, gadget_11 = 464001, gadget_12 = 464002, diff --git a/Resources/Scripts/Scene/3/scene3_group133220466.lua b/Resources/Scripts/Scene/3/scene3_group133220466.lua index 0975e61e2..20087ad81 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220466.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220466.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_temple = 466001, gadget_chest = 466002, group_ID = 133220466 diff --git a/Resources/Scripts/Scene/3/scene3_group133220472.lua b/Resources/Scripts/Scene/3/scene3_group133220472.lua index f4107de34..7047d863c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220472.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220472.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220472, gadget_thunderThelfID = 472001, pointarray_ID = 322000027, diff --git a/Resources/Scripts/Scene/3/scene3_group133220475.lua b/Resources/Scripts/Scene/3/scene3_group133220475.lua index f7e4f95d5..bf0d0f47a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220475.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220475.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 475007, operator_2 = 475008, chest = 475009 diff --git a/Resources/Scripts/Scene/3/scene3_group133220476.lua b/Resources/Scripts/Scene/3/scene3_group133220476.lua index cff41196c..c8e20dbb9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220476.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220476.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 476007, operator_2 = 476008, chest = 476009 diff --git a/Resources/Scripts/Scene/3/scene3_group133220478.lua b/Resources/Scripts/Scene/3/scene3_group133220478.lua index 489befdc6..b5c079bad 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220478.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220478.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 478007, operator_2 = 478008, chest = 478009 diff --git a/Resources/Scripts/Scene/3/scene3_group133220479.lua b/Resources/Scripts/Scene/3/scene3_group133220479.lua index bef76295d..7379c7cd5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220479.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220479.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 479007, operator_2 = 479008, chest = 479009 diff --git a/Resources/Scripts/Scene/3/scene3_group133220480.lua b/Resources/Scripts/Scene/3/scene3_group133220480.lua index 929d02187..78bb983aa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220480.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220480.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133220480, gadget_1 = 480001, diff --git a/Resources/Scripts/Scene/3/scene3_group133220483.lua b/Resources/Scripts/Scene/3/scene3_group133220483.lua index 5f36a6b1a..c630b906e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220483.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220483.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 483001, gallery_id = 29010, region_id = 483005, diff --git a/Resources/Scripts/Scene/3/scene3_group133220487.lua b/Resources/Scripts/Scene/3/scene3_group133220487.lua index b789b7a1c..4e66c4dcb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220487.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220487.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 322000134, gadget_seelie = 487002 diff --git a/Resources/Scripts/Scene/3/scene3_group133220489.lua b/Resources/Scripts/Scene/3/scene3_group133220489.lua index 35f7ff3e5..a00518fa8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220489.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220489.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 322000138, gadget_seelie = 489002 diff --git a/Resources/Scripts/Scene/3/scene3_group133220491.lua b/Resources/Scripts/Scene/3/scene3_group133220491.lua index 8c7f5ac51..f1335bc01 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220491.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220491.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220491, gadget_1 = 491001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133220503.lua b/Resources/Scripts/Scene/3/scene3_group133220503.lua index 92137c356..38e09b09a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220503.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220503.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 31, route_2 = 322000162, gadget_seelie = 503002 diff --git a/Resources/Scripts/Scene/3/scene3_group133220509.lua b/Resources/Scripts/Scene/3/scene3_group133220509.lua index 5c8f35188..e1662fdae 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220509.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220509.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220509, gadget_thunderThelfID = 509001, pointarray_ID = 322000030, diff --git a/Resources/Scripts/Scene/3/scene3_group133220515.lua b/Resources/Scripts/Scene/3/scene3_group133220515.lua index 68d131f1b..8c97a45ea 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220515.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220515.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220515, gadget_1 = 515001, rotation_1 = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133220521.lua b/Resources/Scripts/Scene/3/scene3_group133220521.lua index 80d9f01c0..71ce9c627 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220521.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220521.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { FatherQuest = 72193, group_id = 133220521, temari_gadget_id = 521005, diff --git a/Resources/Scripts/Scene/3/scene3_group133220526.lua b/Resources/Scripts/Scene/3/scene3_group133220526.lua index c518845bf..ea022aa97 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220526.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220526.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220526, gadget_thunderThelfID = 526001, pointarray_ID = 322000032, diff --git a/Resources/Scripts/Scene/3/scene3_group133220531.lua b/Resources/Scripts/Scene/3/scene3_group133220531.lua index 3f8a59dcc..f7b86ca05 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220531.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220531.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220531, gadget_1 = 531001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133220539.lua b/Resources/Scripts/Scene/3/scene3_group133220539.lua index 95f68dc4e..b9a859e28 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220539.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220539.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220539, gadget_thunderThelfID = 539001, pointarray_ID = 322000033, diff --git a/Resources/Scripts/Scene/3/scene3_group133220543.lua b/Resources/Scripts/Scene/3/scene3_group133220543.lua index 503247579..c732b64c7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220543.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220543.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220543, gadget_fundation01 = 543001, gadget_hand01 = 543003, diff --git a/Resources/Scripts/Scene/3/scene3_group133220552.lua b/Resources/Scripts/Scene/3/scene3_group133220552.lua index 64f1640ed..61135916e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220552.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220552.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133220552, gadget_sum = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133220553.lua b/Resources/Scripts/Scene/3/scene3_group133220553.lua index eb6ee27d6..668b5fe78 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220553.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220553.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 322000170, gadget_seelie = 553002 diff --git a/Resources/Scripts/Scene/3/scene3_group133220555.lua b/Resources/Scripts/Scene/3/scene3_group133220555.lua index 9639058ee..67300a7d9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220555.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220555.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 322000172, gadget_seelie = 555002 diff --git a/Resources/Scripts/Scene/3/scene3_group133220557.lua b/Resources/Scripts/Scene/3/scene3_group133220557.lua index 36f5bcd98..7e112cf01 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220557.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220557.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 322000174, gadget_seelie = 557002 diff --git a/Resources/Scripts/Scene/3/scene3_group133220559.lua b/Resources/Scripts/Scene/3/scene3_group133220559.lua index 4df0fa5a1..721c7aa35 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220559.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220559.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133220559, gadget_1 = 559001, diff --git a/Resources/Scripts/Scene/3/scene3_group133220562.lua b/Resources/Scripts/Scene/3/scene3_group133220562.lua index 495684da3..76d224bf6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220562.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220562.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220562, gadget_1 = 562001, rotation_1 = 180, diff --git a/Resources/Scripts/Scene/3/scene3_group133220566.lua b/Resources/Scripts/Scene/3/scene3_group133220566.lua index 868b4ecd2..a824fa067 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220566.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220566.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133220566, gadget_1 = 566004, diff --git a/Resources/Scripts/Scene/3/scene3_group133220588.lua b/Resources/Scripts/Scene/3/scene3_group133220588.lua index eb20a01d8..c707d4c74 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220588.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220588.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133220588 } diff --git a/Resources/Scripts/Scene/3/scene3_group133220592.lua b/Resources/Scripts/Scene/3/scene3_group133220592.lua index 654b78cf3..c870d5f47 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220592.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220592.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133220592, gadget_thunderThelfID = 592001, pointarray_ID = 322000036, diff --git a/Resources/Scripts/Scene/3/scene3_group133220594.lua b/Resources/Scripts/Scene/3/scene3_group133220594.lua index e5339b756..46c28c8f6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220594.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220594.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133220594, gadget_1 = 594001, diff --git a/Resources/Scripts/Scene/3/scene3_group133220598.lua b/Resources/Scripts/Scene/3/scene3_group133220598.lua index 978eeb365..6f12adfc2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220598.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220598.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_temple = 598001, gadget_chest = 598002, group_ID = 133220598 diff --git a/Resources/Scripts/Scene/3/scene3_group133220604.lua b/Resources/Scripts/Scene/3/scene3_group133220604.lua index 9aa1c31ab..8e77b0229 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220604.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220604.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 322000197, gadget_seelie = 604002 diff --git a/Resources/Scripts/Scene/3/scene3_group133220609.lua b/Resources/Scripts/Scene/3/scene3_group133220609.lua index d764bf321..2c403ffc0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220609.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220609.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133220609 } diff --git a/Resources/Scripts/Scene/3/scene3_group133220617.lua b/Resources/Scripts/Scene/3/scene3_group133220617.lua index a7642db1a..f307641e7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220617.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220617.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133220617, gadget_1 = 617001, diff --git a/Resources/Scripts/Scene/3/scene3_group133220693.lua b/Resources/Scripts/Scene/3/scene3_group133220693.lua index 5a848208a..ad65c2cf6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220693.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220693.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133220693, gadget_prison_list = {693001}, gadget_guide = {693057,693058, 693059}, diff --git a/Resources/Scripts/Scene/3/scene3_group133220703.lua b/Resources/Scripts/Scene/3/scene3_group133220703.lua index 4b4602f9d..cd39b4ff1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220703.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220703.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133220703, diff --git a/Resources/Scripts/Scene/3/scene3_group133220722.lua b/Resources/Scripts/Scene/3/scene3_group133220722.lua index b748eb796..d9cb5c2b8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220722.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220722.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_prison = 722001, duration = 210, rampage_time = 40, diff --git a/Resources/Scripts/Scene/3/scene3_group133220733.lua b/Resources/Scripts/Scene/3/scene3_group133220733.lua index dacf58bb7..c2ce36623 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220733.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220733.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 733001, related_region = 733001, outer_region = 733001 diff --git a/Resources/Scripts/Scene/3/scene3_group133220779.lua b/Resources/Scripts/Scene/3/scene3_group133220779.lua index 1384bbd5a..4be27a7f2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220779.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220779.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_teleport = 0, gadget_bricks = 779001, gadget_airWall = 779006, diff --git a/Resources/Scripts/Scene/3/scene3_group133220781.lua b/Resources/Scripts/Scene/3/scene3_group133220781.lua index c55bf1408..4edc8d9c9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220781.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220781.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_teleport = 0, gadget_bricks = 781001, gadget_airWall = 781002, diff --git a/Resources/Scripts/Scene/3/scene3_group133220782.lua b/Resources/Scripts/Scene/3/scene3_group133220782.lua index 752dbc4c3..4e798a025 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220782.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220782.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_teleport = 0, gadget_bricks = 782001, gadget_airWall = 782002, diff --git a/Resources/Scripts/Scene/3/scene3_group133220783.lua b/Resources/Scripts/Scene/3/scene3_group133220783.lua index c50125b6a..6082fd998 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220783.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220783.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_teleport = 0, gadget_bricks = 783001, gadget_airWall = 783002, diff --git a/Resources/Scripts/Scene/3/scene3_group133220784.lua b/Resources/Scripts/Scene/3/scene3_group133220784.lua index d0e522df8..48b99e8ac 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220784.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220784.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_teleport = 0, gadget_bricks = 784001, gadget_airWall = 784002, diff --git a/Resources/Scripts/Scene/3/scene3_group133220785.lua b/Resources/Scripts/Scene/3/scene3_group133220785.lua index 21f6e91ff..9d6825fbe 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220785.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220785.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_teleport = 0, gadget_bricks = 785001, gadget_airWall = 785002, diff --git a/Resources/Scripts/Scene/3/scene3_group133220786.lua b/Resources/Scripts/Scene/3/scene3_group133220786.lua index 266e0e43f..49367604d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220786.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220786.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_teleport = 0, gadget_bricks = 786001, gadget_airWall = 786002, diff --git a/Resources/Scripts/Scene/3/scene3_group133220787.lua b/Resources/Scripts/Scene/3/scene3_group133220787.lua index 7db82331b..449fa88eb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220787.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220787.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_teleport = 0, gadget_bricks = 787001, gadget_airWall = 787002, diff --git a/Resources/Scripts/Scene/3/scene3_group133220788.lua b/Resources/Scripts/Scene/3/scene3_group133220788.lua index 5f7f7a6f2..2b29334bf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220788.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220788.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_teleport = 0, gadget_bricks = 788001, gadget_airWall = 788002, diff --git a/Resources/Scripts/Scene/3/scene3_group133220789.lua b/Resources/Scripts/Scene/3/scene3_group133220789.lua index d3678d2d4..4c61d87da 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220789.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220789.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_teleport = 0, gadget_bricks = 789001, gadget_airWall = 789002, diff --git a/Resources/Scripts/Scene/3/scene3_group133220790.lua b/Resources/Scripts/Scene/3/scene3_group133220790.lua index cc77bb78f..1aad2a7bf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220790.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220790.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_teleport = 0, gadget_bricks = 790001, gadget_airWall = 790002, diff --git a/Resources/Scripts/Scene/3/scene3_group133220791.lua b/Resources/Scripts/Scene/3/scene3_group133220791.lua index f52555e95..0bdff66b9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220791.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220791.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_teleport = 0, gadget_bricks = 791001, gadget_airWall = 791002, diff --git a/Resources/Scripts/Scene/3/scene3_group133220797.lua b/Resources/Scripts/Scene/3/scene3_group133220797.lua index 0adc51acd..6339861a0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133220797.lua +++ b/Resources/Scripts/Scene/3/scene3_group133220797.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_teleport = 0, gadget_bricks = 797001, gadget_airWall = 797002, diff --git a/Resources/Scripts/Scene/3/scene3_group133221068.lua b/Resources/Scripts/Scene/3/scene3_group133221068.lua index 9d7f5655e..18e7e9c6c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133221068.lua +++ b/Resources/Scripts/Scene/3/scene3_group133221068.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133221068, diff --git a/Resources/Scripts/Scene/3/scene3_group133221076.lua b/Resources/Scripts/Scene/3/scene3_group133221076.lua index 35fb2ab55..465f7e6c2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133221076.lua +++ b/Resources/Scripts/Scene/3/scene3_group133221076.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 76001, gallery_id = 18013, region_id = 76002, diff --git a/Resources/Scripts/Scene/3/scene3_group133222007.lua b/Resources/Scripts/Scene/3/scene3_group133222007.lua index 007fdae82..1a0b0c962 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222007.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133222007, gadget_1 = 7001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133222034.lua b/Resources/Scripts/Scene/3/scene3_group133222034.lua index c506464b2..bf7d97dbd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222034.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222034.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133222034, gadget_fundation01 = 34001, gadget_hand01 = 34003, diff --git a/Resources/Scripts/Scene/3/scene3_group133222037.lua b/Resources/Scripts/Scene/3/scene3_group133222037.lua index e050f4660..7b243d59c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222037.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222037.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133222037, gadget_thunderThelfID = 37001, pointarray_ID = 322200002, diff --git a/Resources/Scripts/Scene/3/scene3_group133222042.lua b/Resources/Scripts/Scene/3/scene3_group133222042.lua index 03cf10a50..46ef014df 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222042.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222042.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133222042, trigger_playRegion = 42006, gadget_1 = 42002 diff --git a/Resources/Scripts/Scene/3/scene3_group133222045.lua b/Resources/Scripts/Scene/3/scene3_group133222045.lua index f3043b577..3a4cac9b2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222045.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222045.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133222045, gadget_thunderThelfID = 45001, pointarray_ID = 322200004, diff --git a/Resources/Scripts/Scene/3/scene3_group133222059.lua b/Resources/Scripts/Scene/3/scene3_group133222059.lua index dfff449a1..8b6aaa397 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222059.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222059.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 300, kill_sum = 2, group_id = 133222059, diff --git a/Resources/Scripts/Scene/3/scene3_group133222060.lua b/Resources/Scripts/Scene/3/scene3_group133222060.lua index 159f13927..13c60898d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222060.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222060.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133222060, thunder1_id = 60011, thunder2_id = 60012, diff --git a/Resources/Scripts/Scene/3/scene3_group133222062.lua b/Resources/Scripts/Scene/3/scene3_group133222062.lua index 78960aa87..058b73d04 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222062.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222062.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133222062 } diff --git a/Resources/Scripts/Scene/3/scene3_group133222100.lua b/Resources/Scripts/Scene/3/scene3_group133222100.lua index dbbc8d644..aa27446af 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222100.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222100.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133222100, gadget_thunderThelfID = 100001, pointarray_ID = 322200001, diff --git a/Resources/Scripts/Scene/3/scene3_group133222128.lua b/Resources/Scripts/Scene/3/scene3_group133222128.lua index f1a67de2d..dc48f4d16 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222128.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222128.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 128001, gadget_Teleport_2 = 128002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133222132.lua b/Resources/Scripts/Scene/3/scene3_group133222132.lua index 011f6d676..ed0868925 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222132.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222132.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133222132, gadget_thunderThelfID = 132001, pointarray_ID = 322200009, diff --git a/Resources/Scripts/Scene/3/scene3_group133222136.lua b/Resources/Scripts/Scene/3/scene3_group133222136.lua index f30f27838..a2af24cda 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222136.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222136.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133222136, trigger_playRegion = 136006, gadget_1 = 136002 diff --git a/Resources/Scripts/Scene/3/scene3_group133222141.lua b/Resources/Scripts/Scene/3/scene3_group133222141.lua index b1d01a8ae..a776ee9ee 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222141.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222141.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133222141, gadget_thunderThelfID = 141001, pointarray_ID = 322200010, diff --git a/Resources/Scripts/Scene/3/scene3_group133222149.lua b/Resources/Scripts/Scene/3/scene3_group133222149.lua index f64fd9bf1..3a85038d7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222149.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222149.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 25, group_id = 133222149, gadget_sum = 7 diff --git a/Resources/Scripts/Scene/3/scene3_group133222162.lua b/Resources/Scripts/Scene/3/scene3_group133222162.lua index 84dfadbd3..5c3feeaaa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222162.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222162.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 162001, gadget_Teleport_2 = 162002, gadget_Teleport_3 = 162003, diff --git a/Resources/Scripts/Scene/3/scene3_group133222166.lua b/Resources/Scripts/Scene/3/scene3_group133222166.lua index eb1139889..c478eda95 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222166.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222166.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 166004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133222168.lua b/Resources/Scripts/Scene/3/scene3_group133222168.lua index 2187321cc..3d38ed338 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222168.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222168.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133222168, gadget_1 = 168001, diff --git a/Resources/Scripts/Scene/3/scene3_group133222171.lua b/Resources/Scripts/Scene/3/scene3_group133222171.lua index 703322527..f5bb5cf23 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222171.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222171.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133222171, gadget_thunderThelfID = 171001, pointarray_ID = 322200016, diff --git a/Resources/Scripts/Scene/3/scene3_group133222181.lua b/Resources/Scripts/Scene/3/scene3_group133222181.lua index 089f6ba88..912569856 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222181.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222181.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { BossConfigID = 181001, regionID = 181005, } diff --git a/Resources/Scripts/Scene/3/scene3_group133222203.lua b/Resources/Scripts/Scene/3/scene3_group133222203.lua index e83febda8..2933b9e0f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222203.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222203.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133222203, gadget_thunderThelfID = 203001, pointarray_ID = 322200017, diff --git a/Resources/Scripts/Scene/3/scene3_group133222209.lua b/Resources/Scripts/Scene/3/scene3_group133222209.lua index aba89559b..da75ec333 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222209.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222209.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 209001, gadget_Teleport_2 = 209002, gadget_Teleport_3 = 209003, diff --git a/Resources/Scripts/Scene/3/scene3_group133222211.lua b/Resources/Scripts/Scene/3/scene3_group133222211.lua index fb6e55156..05ae3cb30 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222211.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222211.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 211001, gadget_Teleport_2 = 211002, gadget_Teleport_3 = 211003, diff --git a/Resources/Scripts/Scene/3/scene3_group133222231.lua b/Resources/Scripts/Scene/3/scene3_group133222231.lua index 865d692d5..67f28a042 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222231.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222231.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 322200036, gadget_seelie = 231002 diff --git a/Resources/Scripts/Scene/3/scene3_group133222234.lua b/Resources/Scripts/Scene/3/scene3_group133222234.lua index 281a5b11a..98db31a49 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222234.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222234.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 23, route_2 = 322200038, gadget_seelie = 234002 diff --git a/Resources/Scripts/Scene/3/scene3_group133222235.lua b/Resources/Scripts/Scene/3/scene3_group133222235.lua index 0dcd449d1..65f1b6a02 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222235.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222235.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 55, route_2 = 322200040, gadget_seelie = 235002 diff --git a/Resources/Scripts/Scene/3/scene3_group133222250.lua b/Resources/Scripts/Scene/3/scene3_group133222250.lua index f0b52d845..902a06f57 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222250.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222250.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, group_id = 133222250, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133222255.lua b/Resources/Scripts/Scene/3/scene3_group133222255.lua index e254f4d01..276f13adc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222255.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222255.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 255001, gadget_Teleport_2 = 255002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133222269.lua b/Resources/Scripts/Scene/3/scene3_group133222269.lua index 2e3cbef90..76924e300 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222269.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222269.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, group_id = 133222269, collectable_sum = 16 diff --git a/Resources/Scripts/Scene/3/scene3_group133222270.lua b/Resources/Scripts/Scene/3/scene3_group133222270.lua index 5c253c0b4..3e2f0ceb1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222270.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222270.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133222270, gadget_1 = 270001, diff --git a/Resources/Scripts/Scene/3/scene3_group133222273.lua b/Resources/Scripts/Scene/3/scene3_group133222273.lua index 94b44716e..00d45b141 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222273.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222273.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133222273, gadget_thunderThelfID = 273001, pointarray_ID = 322200030, diff --git a/Resources/Scripts/Scene/3/scene3_group133222301.lua b/Resources/Scripts/Scene/3/scene3_group133222301.lua index 4c06ea6f1..73e5b83da 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222301.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222301.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133222301, collectable_sum = 9 diff --git a/Resources/Scripts/Scene/3/scene3_group133222311.lua b/Resources/Scripts/Scene/3/scene3_group133222311.lua index b65599cc0..4b19106f6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222311.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222311.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 311002, gadget_Teleport_2 = 311001, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133222318.lua b/Resources/Scripts/Scene/3/scene3_group133222318.lua index 051e1b74a..a249f1fb2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222318.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222318.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133222318, gadget_sum = 13 diff --git a/Resources/Scripts/Scene/3/scene3_group133222332.lua b/Resources/Scripts/Scene/3/scene3_group133222332.lua index 2a1fdaf24..3c82097b3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222332.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222332.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 180, kill_sum = 4, group_id = 133222332, diff --git a/Resources/Scripts/Scene/3/scene3_group133222343.lua b/Resources/Scripts/Scene/3/scene3_group133222343.lua index 0b162ea39..f95bbd443 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222343.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222343.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133222343, gadget_1 = 343001, diff --git a/Resources/Scripts/Scene/3/scene3_group133222344.lua b/Resources/Scripts/Scene/3/scene3_group133222344.lua index 30c5db8cd..60b3bc285 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222344.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222344.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, kill_sum = 6, group_id = 133222344, diff --git a/Resources/Scripts/Scene/3/scene3_group133222345.lua b/Resources/Scripts/Scene/3/scene3_group133222345.lua index 5459e1137..d4096b4fa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222345.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222345.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133222345, gadget_thunderThelfID = 345001, pointarray_ID = 322200035, diff --git a/Resources/Scripts/Scene/3/scene3_group133222347.lua b/Resources/Scripts/Scene/3/scene3_group133222347.lua index 9ee994bbc..df5f1651a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222347.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222347.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 347004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133222354.lua b/Resources/Scripts/Scene/3/scene3_group133222354.lua index 1f4ba7abd..4bdee1697 100644 --- a/Resources/Scripts/Scene/3/scene3_group133222354.lua +++ b/Resources/Scripts/Scene/3/scene3_group133222354.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 354001, gadget_Teleport_2 = 354002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133223002.lua b/Resources/Scripts/Scene/3/scene3_group133223002.lua index a07822129..df1924aa3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223002.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223002, gadget_fundation01 = 2001, gadget_hand01 = 2003, diff --git a/Resources/Scripts/Scene/3/scene3_group133223009.lua b/Resources/Scripts/Scene/3/scene3_group133223009.lua index e23bdb120..77d01bcec 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223009.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223009, gadget_thunderThelfID = 9001, pointarray_ID = 322300007, diff --git a/Resources/Scripts/Scene/3/scene3_group133223013.lua b/Resources/Scripts/Scene/3/scene3_group133223013.lua index f4fb195d9..1eb4ba1dc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223013.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223013.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 13004, target_group = 133223011 } diff --git a/Resources/Scripts/Scene/3/scene3_group133223025.lua b/Resources/Scripts/Scene/3/scene3_group133223025.lua index c971d9e7f..696f8d09b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223025.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223025.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223025, trigger_playRegion = 25006, gadget_1 = 25002 diff --git a/Resources/Scripts/Scene/3/scene3_group133223044.lua b/Resources/Scripts/Scene/3/scene3_group133223044.lua index 255e830f4..85db381bc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223044.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223044.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223044, trigger_playRegion = 44006, gadget_1 = 44002 diff --git a/Resources/Scripts/Scene/3/scene3_group133223046.lua b/Resources/Scripts/Scene/3/scene3_group133223046.lua index 33da2f0a6..6a064ea06 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223046.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223046.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223046, gadget_thunderThelfID = 46001, pointarray_ID = 322300008, diff --git a/Resources/Scripts/Scene/3/scene3_group133223084.lua b/Resources/Scripts/Scene/3/scene3_group133223084.lua index a380927db..cd662ec93 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223084.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223084.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133223084, gadget_1 = 84001, diff --git a/Resources/Scripts/Scene/3/scene3_group133223089.lua b/Resources/Scripts/Scene/3/scene3_group133223089.lua index c53b2f567..0e6f5e292 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223089.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223089.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223089, gadget_1 = 89001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133223101.lua b/Resources/Scripts/Scene/3/scene3_group133223101.lua index 521004f80..795b89127 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223101.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223101.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223101, gadget_thunderThelfID = 101001, pointarray_ID = 322300009, diff --git a/Resources/Scripts/Scene/3/scene3_group133223102.lua b/Resources/Scripts/Scene/3/scene3_group133223102.lua index d53a3aea3..23f8ccdfb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223102.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223102.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223102, gadget_1 = 102001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133223124.lua b/Resources/Scripts/Scene/3/scene3_group133223124.lua index d7149906a..68536b88d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223124.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223124.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223124, gadget_1 = 124001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133223126.lua b/Resources/Scripts/Scene/3/scene3_group133223126.lua index 3c50924bd..a953714a7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223126.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223126.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223126, gadget_fundation01 = 126001, gadget_hand01 = 126003, diff --git a/Resources/Scripts/Scene/3/scene3_group133223128.lua b/Resources/Scripts/Scene/3/scene3_group133223128.lua index bc77e4a58..d91484aab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223128.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223128.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 322300017, gadget_thunderThelfID = 128006 } diff --git a/Resources/Scripts/Scene/3/scene3_group133223130.lua b/Resources/Scripts/Scene/3/scene3_group133223130.lua index bd628eb92..60100d1e0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223130.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223130.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223130, gadget_1 = 130001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133223136.lua b/Resources/Scripts/Scene/3/scene3_group133223136.lua index e0c15d4f9..f3a93e226 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223136.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223136.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133223136, gadget_1 = 136001, diff --git a/Resources/Scripts/Scene/3/scene3_group133223139.lua b/Resources/Scripts/Scene/3/scene3_group133223139.lua index a2b39f184..612d57344 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223139.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223139.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223139, trigger_playRegion = 139006, gadget_1 = 139002 diff --git a/Resources/Scripts/Scene/3/scene3_group133223144.lua b/Resources/Scripts/Scene/3/scene3_group133223144.lua index e3e8221ad..8a48a9d36 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223144.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223144.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133223144, gadget_riddle_hint = 144001, gadget_chest = 144006 diff --git a/Resources/Scripts/Scene/3/scene3_group133223145.lua b/Resources/Scripts/Scene/3/scene3_group133223145.lua index b0d57ebcd..a88129783 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223145.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223145.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223145, gadget_thunderThelfID = 145001, pointarray_ID = 322300019, diff --git a/Resources/Scripts/Scene/3/scene3_group133223147.lua b/Resources/Scripts/Scene/3/scene3_group133223147.lua index 736491258..100adbada 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223147.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223147.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223147, gadget_thunderThelfID = 147001, pointarray_ID = 322300020, diff --git a/Resources/Scripts/Scene/3/scene3_group133223150.lua b/Resources/Scripts/Scene/3/scene3_group133223150.lua index 58673cfea..e44e44288 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223150.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223150.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223150, gadget_thunderThelfID = 150001, pointarray_ID = 322300021, diff --git a/Resources/Scripts/Scene/3/scene3_group133223154.lua b/Resources/Scripts/Scene/3/scene3_group133223154.lua index 709d799d3..01239e86a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223154.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223154.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, group_id = 133223154 } diff --git a/Resources/Scripts/Scene/3/scene3_group133223162.lua b/Resources/Scripts/Scene/3/scene3_group133223162.lua index 4286d01e1..c386c316f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223162.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223162.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133223162, collectable_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133223165.lua b/Resources/Scripts/Scene/3/scene3_group133223165.lua index c4754c4d9..85b3b00b3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223165.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223165.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223165, trigger_playRegion = 165006, gadget_1 = 165002 diff --git a/Resources/Scripts/Scene/3/scene3_group133223167.lua b/Resources/Scripts/Scene/3/scene3_group133223167.lua index 445d9245c..952f3dda8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223167.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223167.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223167, gadget_thunderThelfID = 167001, pointarray_ID = 322300022, diff --git a/Resources/Scripts/Scene/3/scene3_group133223168.lua b/Resources/Scripts/Scene/3/scene3_group133223168.lua index 0bac123a2..86ba58aeb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223168.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223168.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223168, gadget_thunderThelfID = 168001, pointarray_ID = 322300023, diff --git a/Resources/Scripts/Scene/3/scene3_group133223170.lua b/Resources/Scripts/Scene/3/scene3_group133223170.lua index 141eaf39c..c8a46da61 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223170.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223170.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, group_id = 133223170, collectable_sum = 9 diff --git a/Resources/Scripts/Scene/3/scene3_group133223174.lua b/Resources/Scripts/Scene/3/scene3_group133223174.lua index 6fdb316b0..85b8746c8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223174.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223174.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223174, gadget_thunderThelfID = 174001, pointarray_ID = 322300024, diff --git a/Resources/Scripts/Scene/3/scene3_group133223189.lua b/Resources/Scripts/Scene/3/scene3_group133223189.lua index 444821282..1a9635138 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223189.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223189.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 20, group_id = 133223189, diff --git a/Resources/Scripts/Scene/3/scene3_group133223190.lua b/Resources/Scripts/Scene/3/scene3_group133223190.lua index ac16549c8..f09ae83d0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223190.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223190.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 190001, gadget_Teleport_2 = 190002, gadget_Teleport_3 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133223197.lua b/Resources/Scripts/Scene/3/scene3_group133223197.lua index 2cfbcbcb7..27746c7b4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223197.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223197.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133223197 } diff --git a/Resources/Scripts/Scene/3/scene3_group133223198.lua b/Resources/Scripts/Scene/3/scene3_group133223198.lua index b61303a2b..cead892ef 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223198.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223198.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 198001, gadget_Teleport_2 = 198003, gadget_Teleport_3 = 0, @@ -24,8 +24,7 @@ defs = { -- DEFS_MISCS connectInfo = -{ - {defs.gadget_Teleport_1,defs.gadget_Teleport_2,defs.pointarray_1,10} +{ {defs.gadget_Teleport_1,defs.gadget_Teleport_2,defs.pointarray_1,10} } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133223217.lua b/Resources/Scripts/Scene/3/scene3_group133223217.lua index 8cf3e5741..4494248d9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223217.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223217.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {217002,217001,217004,217003,217005}, diff --git a/Resources/Scripts/Scene/3/scene3_group133223218.lua b/Resources/Scripts/Scene/3/scene3_group133223218.lua index ab7d22a00..41e39f4e9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223218.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223218.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223218, gadget_thunderThelfID = 218001, pointarray_ID = 322300043, diff --git a/Resources/Scripts/Scene/3/scene3_group133223231.lua b/Resources/Scripts/Scene/3/scene3_group133223231.lua index 9cbf86acd..61443d3c5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223231.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223231.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 80, group_id = 133223231, collectable_sum = 9 diff --git a/Resources/Scripts/Scene/3/scene3_group133223245.lua b/Resources/Scripts/Scene/3/scene3_group133223245.lua index 61de24cd0..962bda42d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223245.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223245.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 245001, gadget_Teleport_2 = 245002, gadget_Teleport_3 = 0, @@ -24,8 +24,7 @@ defs = { -- DEFS_MISCS connectInfo = -{ - {defs.gadget_Teleport_1,defs.gadget_Teleport_2,defs.pointarray_1,10} +{ {defs.gadget_Teleport_1,defs.gadget_Teleport_2,defs.pointarray_1,10} } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133223250.lua b/Resources/Scripts/Scene/3/scene3_group133223250.lua index 40e3a48e9..398ba12f6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223250.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223250.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, kill_sum = 3, group_id = 133223250, diff --git a/Resources/Scripts/Scene/3/scene3_group133223256.lua b/Resources/Scripts/Scene/3/scene3_group133223256.lua index a066f8a14..d88690e90 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223256.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223256.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133223256, gadget_1 = 256001, diff --git a/Resources/Scripts/Scene/3/scene3_group133223259.lua b/Resources/Scripts/Scene/3/scene3_group133223259.lua index 7617a2572..39a3c693b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223259.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223259.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, group_id = 133223259, collectable_sum = 13 diff --git a/Resources/Scripts/Scene/3/scene3_group133223267.lua b/Resources/Scripts/Scene/3/scene3_group133223267.lua index b0d99022c..7ee587246 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223267.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223267.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223267, gadget_fundation01 = 267001, gadget_hand01 = 267003, diff --git a/Resources/Scripts/Scene/3/scene3_group133223271.lua b/Resources/Scripts/Scene/3/scene3_group133223271.lua index 082d47fc9..9f737f067 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223271.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223271.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { order = {271006,271007,271008}, region = 271013, region_Enter = 271013, diff --git a/Resources/Scripts/Scene/3/scene3_group133223287.lua b/Resources/Scripts/Scene/3/scene3_group133223287.lua index 13ccb7584..3ceba91f8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223287.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223287.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { mushrooms = {287001,287002,287003,287004,287005} } diff --git a/Resources/Scripts/Scene/3/scene3_group133223301.lua b/Resources/Scripts/Scene/3/scene3_group133223301.lua index aa004998d..67e72d787 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223301.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223301.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 300, kill_sum = 4, group_id = 133223301, diff --git a/Resources/Scripts/Scene/3/scene3_group133223307.lua b/Resources/Scripts/Scene/3/scene3_group133223307.lua index ae4cd99f6..aae66663c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223307.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223307.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 133223307, thunder1_id = 307011, thunder2_id = 307012, diff --git a/Resources/Scripts/Scene/3/scene3_group133223315.lua b/Resources/Scripts/Scene/3/scene3_group133223315.lua index 8be539093..0245c4db5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223315.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223315.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 21, route_2 = 322300052, gadget_seelie = 315002 diff --git a/Resources/Scripts/Scene/3/scene3_group133223316.lua b/Resources/Scripts/Scene/3/scene3_group133223316.lua index bf8772eb4..8fa2ef56b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223316.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223316.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 322300054, gadget_seelie = 316002 diff --git a/Resources/Scripts/Scene/3/scene3_group133223320.lua b/Resources/Scripts/Scene/3/scene3_group133223320.lua index cdf096bad..ad5dc1740 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223320.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223320.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223320, gadget_fundation01 = 320001, gadget_hand01 = 320003, diff --git a/Resources/Scripts/Scene/3/scene3_group133223323.lua b/Resources/Scripts/Scene/3/scene3_group133223323.lua index bb2b8ecf7..5151ac297 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223323.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223323.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133223323 } diff --git a/Resources/Scripts/Scene/3/scene3_group133223330.lua b/Resources/Scripts/Scene/3/scene3_group133223330.lua index 1edd516d9..3cd779880 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223330.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223330.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, sum = 15, group_id = 133223330 diff --git a/Resources/Scripts/Scene/3/scene3_group133223344.lua b/Resources/Scripts/Scene/3/scene3_group133223344.lua index c6474dd2a..4c23b2700 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223344.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223344.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_temple = 344001, gadget_chest = 344002, group_ID = 133223344 diff --git a/Resources/Scripts/Scene/3/scene3_group133223348.lua b/Resources/Scripts/Scene/3/scene3_group133223348.lua index c4824be88..5ac27454c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223348.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223348.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_temple = 348001, gadget_chest = 348002, group_ID = 133223348 diff --git a/Resources/Scripts/Scene/3/scene3_group133223392.lua b/Resources/Scripts/Scene/3/scene3_group133223392.lua index 76877c7e0..929a7e0b1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223392.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223392.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223392, trigger_playRegion = 392006, gadget_1 = 392002 diff --git a/Resources/Scripts/Scene/3/scene3_group133223394.lua b/Resources/Scripts/Scene/3/scene3_group133223394.lua index c2e88cfb1..7a738e96c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223394.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223394.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223394, gadget_thunderThelfID = 394001, pointarray_ID = 322300052, diff --git a/Resources/Scripts/Scene/3/scene3_group133223428.lua b/Resources/Scripts/Scene/3/scene3_group133223428.lua index e102629c5..c22e3939f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223428.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223428.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133223428, gadget_1 = 428001, diff --git a/Resources/Scripts/Scene/3/scene3_group133223429.lua b/Resources/Scripts/Scene/3/scene3_group133223429.lua index b888b0ec3..234608e01 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223429.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223429.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 322300084, gadget_seelie = 429002 diff --git a/Resources/Scripts/Scene/3/scene3_group133223430.lua b/Resources/Scripts/Scene/3/scene3_group133223430.lua index 6040601e6..d3083a209 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223430.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223430.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 12, route_2 = 322300086, gadget_seelie = 430002 diff --git a/Resources/Scripts/Scene/3/scene3_group133223432.lua b/Resources/Scripts/Scene/3/scene3_group133223432.lua index f7aeb29e6..526042dc4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223432.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223432.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 14, route_2 = 322300088, gadget_seelie = 432002 diff --git a/Resources/Scripts/Scene/3/scene3_group133223435.lua b/Resources/Scripts/Scene/3/scene3_group133223435.lua index 62917bf85..ec71b67aa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223435.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223435.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223435, gadget_thunderThelfID = 435001, pointarray_ID = 322300059, diff --git a/Resources/Scripts/Scene/3/scene3_group133223436.lua b/Resources/Scripts/Scene/3/scene3_group133223436.lua index d34893837..1764a51f8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223436.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223436.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223436, gadget_thunderThelfID = 436001, pointarray_ID = 322300055, diff --git a/Resources/Scripts/Scene/3/scene3_group133223437.lua b/Resources/Scripts/Scene/3/scene3_group133223437.lua index 3d2f4c6ec..6ec3fb9fc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223437.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223437.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223437, gadget_thunderThelfID = 437001, pointarray_ID = 322300057, diff --git a/Resources/Scripts/Scene/3/scene3_group133223438.lua b/Resources/Scripts/Scene/3/scene3_group133223438.lua index a4eb39783..7bf558345 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223438.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223438.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223438, gadget_thunderThelfID = 438001, pointarray_ID = 322300060, diff --git a/Resources/Scripts/Scene/3/scene3_group133223444.lua b/Resources/Scripts/Scene/3/scene3_group133223444.lua index c430cd126..2d5f2aa95 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223444.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223444.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 322300092, gadget_seelie = 444002 diff --git a/Resources/Scripts/Scene/3/scene3_group133223445.lua b/Resources/Scripts/Scene/3/scene3_group133223445.lua index 6afb4d168..8a6c9028a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223445.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223445.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223445, trigger_playRegion = 445013, gadget_1 = 445002 diff --git a/Resources/Scripts/Scene/3/scene3_group133223448.lua b/Resources/Scripts/Scene/3/scene3_group133223448.lua index 46af43328..b4e8f7cb7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223448.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223448.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 448004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133223457.lua b/Resources/Scripts/Scene/3/scene3_group133223457.lua index 559cc8053..4661ff58f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223457.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223457.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 70, kill_sum = 4, group_id = 133223457, diff --git a/Resources/Scripts/Scene/3/scene3_group133223458.lua b/Resources/Scripts/Scene/3/scene3_group133223458.lua index 0cdcbc5b1..b3e711219 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223458.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223458.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 3, group_id = 133223458, diff --git a/Resources/Scripts/Scene/3/scene3_group133223489.lua b/Resources/Scripts/Scene/3/scene3_group133223489.lua index 60decd205..46fdc8a7a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223489.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223489.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133223489, trigger_playRegion = 489006, gadget_1 = 489002 diff --git a/Resources/Scripts/Scene/3/scene3_group133223494.lua b/Resources/Scripts/Scene/3/scene3_group133223494.lua index e0040ba78..94581f222 100644 --- a/Resources/Scripts/Scene/3/scene3_group133223494.lua +++ b/Resources/Scripts/Scene/3/scene3_group133223494.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 14, group_id = 133223494, diff --git a/Resources/Scripts/Scene/3/scene3_group133225009.lua b/Resources/Scripts/Scene/3/scene3_group133225009.lua index a38a6b15d..1117aae15 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225009.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_Enter = 9008, region_Leave = 9009, group_id = 133225009, diff --git a/Resources/Scripts/Scene/3/scene3_group133225024.lua b/Resources/Scripts/Scene/3/scene3_group133225024.lua index 320110e63..aa7b723a2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225024.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225024.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133225024, gadget_1 = 24001, diff --git a/Resources/Scripts/Scene/3/scene3_group133225027.lua b/Resources/Scripts/Scene/3/scene3_group133225027.lua index 19c42d3fa..e556b7d54 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225027.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225027.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133225027, gadget_fundation01 = 27001, gadget_hand01 = 27003, diff --git a/Resources/Scripts/Scene/3/scene3_group133225036.lua b/Resources/Scripts/Scene/3/scene3_group133225036.lua index 99c3a79ef..07ff4ce6b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225036.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225036.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133225036, gadget_sum = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133225042.lua b/Resources/Scripts/Scene/3/scene3_group133225042.lua index 44f233cbb..6e88142f0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225042.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225042.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133225042, gadget_thunderThelfID = 42001, pointarray_ID = 322500001, diff --git a/Resources/Scripts/Scene/3/scene3_group133225043.lua b/Resources/Scripts/Scene/3/scene3_group133225043.lua index fe2f5c3d9..1493bef6c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225043.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225043.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133225043, trigger_playRegion = 43007, gadget_1 = 43002 diff --git a/Resources/Scripts/Scene/3/scene3_group133225044.lua b/Resources/Scripts/Scene/3/scene3_group133225044.lua index d0e4bb680..3778446dc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225044.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225044.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133225044, gadget_thunderThelfID = 44001, pointarray_ID = 322500002, diff --git a/Resources/Scripts/Scene/3/scene3_group133225045.lua b/Resources/Scripts/Scene/3/scene3_group133225045.lua index f0f803c10..09cca8e91 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225045.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225045.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133225045, gadget_1 = 45001, rotation_1 = 0, diff --git a/Resources/Scripts/Scene/3/scene3_group133225081.lua b/Resources/Scripts/Scene/3/scene3_group133225081.lua index fac96c65a..014f277c1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225081.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225081.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { BossConfigID = 81001, regionID = 81006, } diff --git a/Resources/Scripts/Scene/3/scene3_group133225089.lua b/Resources/Scripts/Scene/3/scene3_group133225089.lua index 3d08326a4..3457a77d8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225089.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225089.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 133225089, gadget_1 = 89001, diff --git a/Resources/Scripts/Scene/3/scene3_group133225093.lua b/Resources/Scripts/Scene/3/scene3_group133225093.lua index 4a6b991e7..ab1680897 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225093.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225093.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 322500032, gadget_seelie = 93002, @@ -14,11 +14,8 @@ defs = { -- DEFS_MISCS defs.final_point = defs.point_sum - 1 - -defs.decal_final_point = 6 - - -defs.back_point = 8 + defs.decal_final_point = 6 + defs.back_point = 8 --================================================================ -- diff --git a/Resources/Scripts/Scene/3/scene3_group133225100.lua b/Resources/Scripts/Scene/3/scene3_group133225100.lua index 482462a7b..d046e9ee4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225100.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225100.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 322500035, gadget_seelie = 100002 diff --git a/Resources/Scripts/Scene/3/scene3_group133225104.lua b/Resources/Scripts/Scene/3/scene3_group133225104.lua index 897dd17e2..073327872 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225104.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225104.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, group_id = 133225104, collectable_sum = 12 diff --git a/Resources/Scripts/Scene/3/scene3_group133225110.lua b/Resources/Scripts/Scene/3/scene3_group133225110.lua index 3693ce300..4680fa4b8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225110.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225110.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 322500038, gadget_seelie = 110002 diff --git a/Resources/Scripts/Scene/3/scene3_group133225115.lua b/Resources/Scripts/Scene/3/scene3_group133225115.lua index 605e932b2..f4e114943 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225115.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225115.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 27, route_2 = 322500040, gadget_seelie = 115002 diff --git a/Resources/Scripts/Scene/3/scene3_group133225127.lua b/Resources/Scripts/Scene/3/scene3_group133225127.lua index 3a84a78c5..c004fbf71 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225127.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225127.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133225127, collectable_sum = 7 diff --git a/Resources/Scripts/Scene/3/scene3_group133225128.lua b/Resources/Scripts/Scene/3/scene3_group133225128.lua index f3924c507..2cd0024a9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225128.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225128.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 14, route_2 = 322500046, gadget_seelie = 128001, @@ -14,11 +14,8 @@ defs = { -- DEFS_MISCS defs.final_point = defs.point_sum - 1 - -defs.decal_final_point = 4 - - -defs.back_point = 8 + defs.decal_final_point = 4 + defs.back_point = 8 --================================================================ -- diff --git a/Resources/Scripts/Scene/3/scene3_group133225129.lua b/Resources/Scripts/Scene/3/scene3_group133225129.lua index ccdad8105..470245f13 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225129.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225129.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 25, route_2 = 322500048, gadget_seelie = 129001, @@ -14,10 +14,8 @@ defs = { -- DEFS_MISCS defs.final_point = defs.point_sum - 1 - -defs.decal_final_point = 4 - -defs.back_point = 4 + defs.decal_final_point = 4 + defs.back_point = 4 --================================================================ -- diff --git a/Resources/Scripts/Scene/3/scene3_group133225140.lua b/Resources/Scripts/Scene/3/scene3_group133225140.lua index 89fd75cef..12a7f3f9e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225140.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225140.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 70, kill_sum = 3, group_id = 133225140, diff --git a/Resources/Scripts/Scene/3/scene3_group133225160.lua b/Resources/Scripts/Scene/3/scene3_group133225160.lua index 11e731001..68d276c8a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225160.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225160.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 322500055, gadget_seelie = 160001, @@ -14,10 +14,8 @@ defs = { -- DEFS_MISCS defs.final_point = defs.point_sum - 1 - -defs.decal_final_point = 4 - -defs.back_point = 8 + defs.decal_final_point = 4 + defs.back_point = 8 --================================================================ -- diff --git a/Resources/Scripts/Scene/3/scene3_group133225161.lua b/Resources/Scripts/Scene/3/scene3_group133225161.lua index 50b6f0876..8be98a9f4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225161.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225161.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 25, route_2 = 322500061, gadget_seelie = 161001, @@ -14,10 +14,8 @@ defs = { -- DEFS_MISCS defs.final_point = defs.point_sum - 1 - -defs.decal_final_point = 4 - -defs.back_point = 8 + defs.decal_final_point = 4 + defs.back_point = 8 --================================================================ -- diff --git a/Resources/Scripts/Scene/3/scene3_group133225162.lua b/Resources/Scripts/Scene/3/scene3_group133225162.lua index 58e801a4b..f38c2ebfb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225162.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225162.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 23, route_2 = 322500058, gadget_seelie = 162001, @@ -14,10 +14,8 @@ defs = { -- DEFS_MISCS defs.final_point = defs.point_sum - 1 - -defs.decal_final_point = 4 - -defs.back_point = 10 + defs.decal_final_point = 4 + defs.back_point = 10 --================================================================ -- diff --git a/Resources/Scripts/Scene/3/scene3_group133225164.lua b/Resources/Scripts/Scene/3/scene3_group133225164.lua index 4bbefe184..f3d98e85f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225164.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225164.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133225164, gadget_thunderThelfID = 164001, pointarray_ID = 322500004, diff --git a/Resources/Scripts/Scene/3/scene3_group133225194.lua b/Resources/Scripts/Scene/3/scene3_group133225194.lua index 88e7fb95d..e0f4ab9b7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225194.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225194.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133225194, gadget_riddle_hint = 194001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133225209.lua b/Resources/Scripts/Scene/3/scene3_group133225209.lua index faccd7c1b..8866ed28c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225209.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225209.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133225209, gadget_1 = 209001, rotation_1 = 180, diff --git a/Resources/Scripts/Scene/3/scene3_group133225275.lua b/Resources/Scripts/Scene/3/scene3_group133225275.lua index 080d57d82..e082d831a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133225275.lua +++ b/Resources/Scripts/Scene/3/scene3_group133225275.lua @@ -4,10 +4,9 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { - --开启怪物用的特效gadget ---废弃 + --开启怪物用的特效gadget --废弃 gadget_starter = 275001, --开启怪物用的region--废弃 diff --git a/Resources/Scripts/Scene/3/scene3_group133301019.lua b/Resources/Scripts/Scene/3/scene3_group133301019.lua index d48c483b9..d5ac90c09 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301019.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301019.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { challenge_id = 2010057, diff --git a/Resources/Scripts/Scene/3/scene3_group133301053.lua b/Resources/Scripts/Scene/3/scene3_group133301053.lua index 5becaa93d..983cba7cf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301053.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301053.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 53009, gadget_lookEntity = 53001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133301057.lua b/Resources/Scripts/Scene/3/scene3_group133301057.lua index a8d9d040a..c112f5d30 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301057.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301057.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_farm01 = 57019, gadget_farm02 = 57020, gadget_farm03 = 57021, diff --git a/Resources/Scripts/Scene/3/scene3_group133301066.lua b/Resources/Scripts/Scene/3/scene3_group133301066.lua index f3ec3ec67..8282414a7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301066.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301066.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 27, route_2 = 330100010, gadget_seelie = 66002 diff --git a/Resources/Scripts/Scene/3/scene3_group133301073.lua b/Resources/Scripts/Scene/3/scene3_group133301073.lua index a7302137e..c51d98061 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301073.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301073.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 73003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301077.lua b/Resources/Scripts/Scene/3/scene3_group133301077.lua index bf0eba730..9e7d114ee 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301077.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301077.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { door = 77001, galleryId = 19102, maxPickupTime = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133301081.lua b/Resources/Scripts/Scene/3/scene3_group133301081.lua index 84c639f7b..207c43b2c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301081.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301081.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 81007, operator_2 = 81008, chest = 81009 diff --git a/Resources/Scripts/Scene/3/scene3_group133301095.lua b/Resources/Scripts/Scene/3/scene3_group133301095.lua index 1665e01e7..c82605db0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301095.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301095.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 95005, monster_BossID = 95002, gadget_Point_1 = 95006, diff --git a/Resources/Scripts/Scene/3/scene3_group133301098.lua b/Resources/Scripts/Scene/3/scene3_group133301098.lua index deb1c8832..8ef2d28ac 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301098.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301098.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 98007, operator_2 = 98008, chest = 98009 diff --git a/Resources/Scripts/Scene/3/scene3_group133301105.lua b/Resources/Scripts/Scene/3/scene3_group133301105.lua index 609a27969..3ca12e8f2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301105.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301105.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_StarCid = 105082, gadget_TreeCid = 105083, gadget_FloorCid = 105001, diff --git a/Resources/Scripts/Scene/3/scene3_group133301106.lua b/Resources/Scripts/Scene/3/scene3_group133301106.lua index 38419ed63..dc3e9076e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301106.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301106.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_StarCid = 106082, gadget_TreeCid = 106083, gadget_FloorCid = 106001, diff --git a/Resources/Scripts/Scene/3/scene3_group133301108.lua b/Resources/Scripts/Scene/3/scene3_group133301108.lua index fe6383e16..e5f36f3f5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301108.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301108.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_StarCid = 108082, gadget_TreeCid = 108083, gadget_FloorCid = 108001, diff --git a/Resources/Scripts/Scene/3/scene3_group133301109.lua b/Resources/Scripts/Scene/3/scene3_group133301109.lua index 8067a1a38..0e9dad71e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301109.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301109.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_StarCid = 109082, gadget_TreeCid = 109083, gadget_FloorCid = 109001, diff --git a/Resources/Scripts/Scene/3/scene3_group133301110.lua b/Resources/Scripts/Scene/3/scene3_group133301110.lua index d00357f73..ba8a04e22 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301110.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301110.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_StarCid = 110082, gadget_TreeCid = 110083, gadget_FloorCid = 110001, diff --git a/Resources/Scripts/Scene/3/scene3_group133301111.lua b/Resources/Scripts/Scene/3/scene3_group133301111.lua index b6d0f78e3..087308a26 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301111.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301111.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_StarCid = 111082, gadget_TreeCid = 111083, gadget_FloorCid = 111001, diff --git a/Resources/Scripts/Scene/3/scene3_group133301112.lua b/Resources/Scripts/Scene/3/scene3_group133301112.lua index 96889e462..212593fb6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301112.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301112.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_StarCid = 112082, gadget_TreeCid = 112083, gadget_FloorCid = 112001, diff --git a/Resources/Scripts/Scene/3/scene3_group133301113.lua b/Resources/Scripts/Scene/3/scene3_group133301113.lua index fa5e44fe9..6efab93ae 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301113.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301113.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_StarCid = 113082, gadget_TreeCid = 113083, gadget_FloorCid = 113001, diff --git a/Resources/Scripts/Scene/3/scene3_group133301114.lua b/Resources/Scripts/Scene/3/scene3_group133301114.lua index 21f464da0..1d34e1f34 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301114.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301114.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_StarCid = 114082, gadget_TreeCid = 114083, gadget_FloorCid = 114001, diff --git a/Resources/Scripts/Scene/3/scene3_group133301115.lua b/Resources/Scripts/Scene/3/scene3_group133301115.lua index fcd156ec2..d5e09744a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301115.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301115.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_StarCid = 115082, gadget_TreeCid = 115083, gadget_FloorCid = 115001, diff --git a/Resources/Scripts/Scene/3/scene3_group133301116.lua b/Resources/Scripts/Scene/3/scene3_group133301116.lua index 59a04a431..1c0ba7c4b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301116.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301116.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_StarCid = 116082, gadget_TreeCid = 116083, gadget_FloorCid = 116001, diff --git a/Resources/Scripts/Scene/3/scene3_group133301120.lua b/Resources/Scripts/Scene/3/scene3_group133301120.lua index 811138376..b4116bca6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301120.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301120.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 120007, operator_2 = 120008, chest = 120009 diff --git a/Resources/Scripts/Scene/3/scene3_group133301126.lua b/Resources/Scripts/Scene/3/scene3_group133301126.lua index 6bdc57daf..295f882b5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301126.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301126.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {126002,126003,126004}, diff --git a/Resources/Scripts/Scene/3/scene3_group133301127.lua b/Resources/Scripts/Scene/3/scene3_group133301127.lua index 59554418e..32531267a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301127.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301127.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133301127, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133301132.lua b/Resources/Scripts/Scene/3/scene3_group133301132.lua index e64c6f013..ce67b6bc6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301132.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301132.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 35, group_id = 133301132, gadget_sum = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133301148.lua b/Resources/Scripts/Scene/3/scene3_group133301148.lua index 0194547b6..6ed125a39 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301148.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301148.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 330100077, gadget_seelie = 148002 diff --git a/Resources/Scripts/Scene/3/scene3_group133301154.lua b/Resources/Scripts/Scene/3/scene3_group133301154.lua index b47639f1b..2f42b74a6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301154.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301154.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { regionId = 154008, targetScore = 6, maxTime = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133301159.lua b/Resources/Scripts/Scene/3/scene3_group133301159.lua index 61ca961e5..fc16783fd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301159.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301159.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { maxRegion = 159011, maxJumpTimes = 5, diff --git a/Resources/Scripts/Scene/3/scene3_group133301161.lua b/Resources/Scripts/Scene/3/scene3_group133301161.lua index 539bfcb0a..2a63388eb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301161.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301161.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { flowerList01 = {161003}, flowerList02 = {161004}, flowerList03 = {161005}, diff --git a/Resources/Scripts/Scene/3/scene3_group133301162.lua b/Resources/Scripts/Scene/3/scene3_group133301162.lua index 4732b3377..030f2d30d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301162.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301162.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { flowerList01 = {162003}, flowerList02 = {162004}, flowerList03 = {162005}, diff --git a/Resources/Scripts/Scene/3/scene3_group133301190.lua b/Resources/Scripts/Scene/3/scene3_group133301190.lua index 639b1ae9b..7825c9639 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301190.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301190.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 190007, operator_2 = 190008, chest = 190009 diff --git a/Resources/Scripts/Scene/3/scene3_group133301206.lua b/Resources/Scripts/Scene/3/scene3_group133301206.lua index cb7f97584..d497e2cf3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301206.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301206.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_StarCid = 206084, gadget_TreeCid = 206085, gadget_FloorCid = 206001, diff --git a/Resources/Scripts/Scene/3/scene3_group133301214.lua b/Resources/Scripts/Scene/3/scene3_group133301214.lua index 3d037fc6b..e5dfb2554 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301214.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301214.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133301214 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301215.lua b/Resources/Scripts/Scene/3/scene3_group133301215.lua index 3c38a8418..1736056cb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301215.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301215.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133301215, gadget_riddle_hint = 215001, gadget_riddle_1 = 215002, diff --git a/Resources/Scripts/Scene/3/scene3_group133301218.lua b/Resources/Scripts/Scene/3/scene3_group133301218.lua index 774d06201..84c3317ff 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301218.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301218.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133301218 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301246.lua b/Resources/Scripts/Scene/3/scene3_group133301246.lua index 3f1d645f9..e4659828a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301246.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301246.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 246005, monster_BossID = 246002, gadget_Point_1 = 246006, diff --git a/Resources/Scripts/Scene/3/scene3_group133301250.lua b/Resources/Scripts/Scene/3/scene3_group133301250.lua index addac6619..0c78c5d51 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301250.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301250.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 250005, monster_BossID = 250002, gadget_Point_1 = 250006, diff --git a/Resources/Scripts/Scene/3/scene3_group133301254.lua b/Resources/Scripts/Scene/3/scene3_group133301254.lua index 2cdc7136e..d6d52be63 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301254.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301254.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_iris = 254001, gadget_block = 254002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301261.lua b/Resources/Scripts/Scene/3/scene3_group133301261.lua index 388dae2c4..38adc8e66 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301261.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301261.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 261003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301278.lua b/Resources/Scripts/Scene/3/scene3_group133301278.lua index 944ae249c..3853f30e8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301278.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301278.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { finishquest = "7304930_fin", group_reward = 133301280, keyNum = 3, diff --git a/Resources/Scripts/Scene/3/scene3_group133301284.lua b/Resources/Scripts/Scene/3/scene3_group133301284.lua index 6289b4c60..f661fcd26 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301284.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301284.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_smoke1 = 284002, gadget_smoke2 = 284003, fquestid = 73113, @@ -12,7 +12,7 @@ defs = { } -- DEFS_MISCS -defs_miscs = +local defs_miscs = { -- 死域观测站透镜的config id lensConfigId = 284001, diff --git a/Resources/Scripts/Scene/3/scene3_group133301289.lua b/Resources/Scripts/Scene/3/scene3_group133301289.lua index 0ed5de20b..c9b6bf1c6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301289.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301289.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_smoke1 = 289002, gadget_smoke2 = 289003, fquestid = 73114, @@ -12,7 +12,7 @@ defs = { } -- DEFS_MISCS -defs_miscs = +local defs_miscs = { -- 死域观测站透镜的config id lensConfigId = 289001, diff --git a/Resources/Scripts/Scene/3/scene3_group133301295.lua b/Resources/Scripts/Scene/3/scene3_group133301295.lua index 71ab8adf2..c5f8ec510 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301295.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301295.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { door = 295005, galleryId = 19114, maxPickupTime = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133301298.lua b/Resources/Scripts/Scene/3/scene3_group133301298.lua index 736f43aa6..2b09dc615 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301298.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301298.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_iris = 298001, gadget_block = 298002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301302.lua b/Resources/Scripts/Scene/3/scene3_group133301302.lua index a33f83d2e..8211cc58c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301302.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301302.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 302005, monster_BossID = 302002, gadget_Point_1 = 302006, diff --git a/Resources/Scripts/Scene/3/scene3_group133301310.lua b/Resources/Scripts/Scene/3/scene3_group133301310.lua index a25f4387f..c52ae5779 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301310.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301310.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 7, group_id = 133301310, diff --git a/Resources/Scripts/Scene/3/scene3_group133301316.lua b/Resources/Scripts/Scene/3/scene3_group133301316.lua index 38b77eb7e..0f7480121 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301316.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301316.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 6, group_id = 133301316, diff --git a/Resources/Scripts/Scene/3/scene3_group133301317.lua b/Resources/Scripts/Scene/3/scene3_group133301317.lua index 4a37eb16f..a9fd116d5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301317.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301317.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 317005, monster_BossID = 317002, gadget_Point_1 = 317006, diff --git a/Resources/Scripts/Scene/3/scene3_group133301321.lua b/Resources/Scripts/Scene/3/scene3_group133301321.lua index 9e80d5a05..5ed41200e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301321.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301321.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 5, group_id = 133301321, diff --git a/Resources/Scripts/Scene/3/scene3_group133301322.lua b/Resources/Scripts/Scene/3/scene3_group133301322.lua index a0366d79e..bf131ef98 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301322.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301322.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 1, group_id = 133301322, diff --git a/Resources/Scripts/Scene/3/scene3_group133301329.lua b/Resources/Scripts/Scene/3/scene3_group133301329.lua index 761e726a9..6c074aba3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301329.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301329.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { regionId = 329008, targetScore = 6, maxTime = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133301332.lua b/Resources/Scripts/Scene/3/scene3_group133301332.lua index f512e338f..213156026 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301332.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301332.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 332003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301340.lua b/Resources/Scripts/Scene/3/scene3_group133301340.lua index b880e283b..deb4fe8d4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301340.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301340.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 340005, monster_BossID = 340002, gadget_Point_1 = 340006, diff --git a/Resources/Scripts/Scene/3/scene3_group133301360.lua b/Resources/Scripts/Scene/3/scene3_group133301360.lua index 4f17e60b0..aab37f1f4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301360.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301360.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 360005, monster_BossID = 360002, gadget_Point_1 = 360006, diff --git a/Resources/Scripts/Scene/3/scene3_group133301365.lua b/Resources/Scripts/Scene/3/scene3_group133301365.lua index ad9b82151..f3e729dc4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301365.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301365.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 365005, monster_BossID = 365002, gadget_Point_1 = 365006, diff --git a/Resources/Scripts/Scene/3/scene3_group133301369.lua b/Resources/Scripts/Scene/3/scene3_group133301369.lua index 436b5243e..89038b305 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301369.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301369.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 369005, monster_BossID = 369002, gadget_Point_1 = 369006, diff --git a/Resources/Scripts/Scene/3/scene3_group133301373.lua b/Resources/Scripts/Scene/3/scene3_group133301373.lua index d01df5eab..46a8bf226 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301373.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301373.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 373005, monster_BossID = 373002, gadget_Point_1 = 373006, diff --git a/Resources/Scripts/Scene/3/scene3_group133301386.lua b/Resources/Scripts/Scene/3/scene3_group133301386.lua index 6913521dc..129dab132 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301386.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301386.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 386004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301392.lua b/Resources/Scripts/Scene/3/scene3_group133301392.lua index 87a89e3a4..f88b37782 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301392.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301392.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 330100064, gadget_seelie = 392002 diff --git a/Resources/Scripts/Scene/3/scene3_group133301420.lua b/Resources/Scripts/Scene/3/scene3_group133301420.lua index 6db6e2084..9554ea7f5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301420.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301420.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { finishquest = "7304929_fin", group_reward = 133301422, keyNum = 3, diff --git a/Resources/Scripts/Scene/3/scene3_group133301425.lua b/Resources/Scripts/Scene/3/scene3_group133301425.lua index e2a7eb723..0d7a01337 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301425.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301425.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 330100131, gadget_seelie = 425002 diff --git a/Resources/Scripts/Scene/3/scene3_group133301434.lua b/Resources/Scripts/Scene/3/scene3_group133301434.lua index 20203e15b..b686b3ffb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301434.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301434.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 10, route_2 = 330100067, gadget_seelie = 434002 diff --git a/Resources/Scripts/Scene/3/scene3_group133301435.lua b/Resources/Scripts/Scene/3/scene3_group133301435.lua index 57f3f4016..18ad7639f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301435.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301435.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 435003, gadget_lookEntity = 435001, look_duration = 5 diff --git a/Resources/Scripts/Scene/3/scene3_group133301436.lua b/Resources/Scripts/Scene/3/scene3_group133301436.lua index 405cc4ea3..795a9ccac 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301436.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301436.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 436003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301437.lua b/Resources/Scripts/Scene/3/scene3_group133301437.lua index 4904c4c91..5a08266c0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301437.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301437.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330100069, gadget_seelie = 437002 diff --git a/Resources/Scripts/Scene/3/scene3_group133301442.lua b/Resources/Scripts/Scene/3/scene3_group133301442.lua index ab2dd8579..122fd5469 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301442.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301442.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133301442, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133301453.lua b/Resources/Scripts/Scene/3/scene3_group133301453.lua index 1dbecceaa..2e14ff2f8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301453.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301453.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 453003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301461.lua b/Resources/Scripts/Scene/3/scene3_group133301461.lua index 43eb82fec..17a654e12 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301461.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301461.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 461009, gadget_lookEntity = 461001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133301462.lua b/Resources/Scripts/Scene/3/scene3_group133301462.lua index 63c4ac91e..fc6b3bfe3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301462.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301462.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 462009, gadget_lookEntity = 462001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133301464.lua b/Resources/Scripts/Scene/3/scene3_group133301464.lua index abae8df1c..268653c21 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301464.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301464.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 464003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301466.lua b/Resources/Scripts/Scene/3/scene3_group133301466.lua index a2f0cba70..5416b9b2f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301466.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301466.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 466005, monster_BossID = 466002, gadget_Point_1 = 466006, diff --git a/Resources/Scripts/Scene/3/scene3_group133301470.lua b/Resources/Scripts/Scene/3/scene3_group133301470.lua index 902685993..f933ec537 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301470.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301470.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 470005, monster_BossID = 470002, gadget_Point_1 = 470006, diff --git a/Resources/Scripts/Scene/3/scene3_group133301474.lua b/Resources/Scripts/Scene/3/scene3_group133301474.lua index 0ab15dd82..eb87d6181 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301474.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301474.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 474005, monster_BossID = 474002, gadget_Point_1 = 474006, diff --git a/Resources/Scripts/Scene/3/scene3_group133301483.lua b/Resources/Scripts/Scene/3/scene3_group133301483.lua index 808947f10..3388b2671 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301483.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301483.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 483005, monster_BossID = 483002, gadget_Point_1 = 483006, diff --git a/Resources/Scripts/Scene/3/scene3_group133301488.lua b/Resources/Scripts/Scene/3/scene3_group133301488.lua index c710b2a46..a2afd4b14 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301488.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301488.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { maxRegion = 488011, maxJumpTimes = 5, diff --git a/Resources/Scripts/Scene/3/scene3_group133301496.lua b/Resources/Scripts/Scene/3/scene3_group133301496.lua index 89f7d69da..e5c0863d9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301496.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301496.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133301496, gadget_thunderThelfID = 496002, pointarray_ID = 330100002, diff --git a/Resources/Scripts/Scene/3/scene3_group133301505.lua b/Resources/Scripts/Scene/3/scene3_group133301505.lua index 00aacae27..896969d15 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301505.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301505.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133301505, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133301508.lua b/Resources/Scripts/Scene/3/scene3_group133301508.lua index deac913ff..ea88afe75 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301508.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301508.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {508002,508003,508004}, diff --git a/Resources/Scripts/Scene/3/scene3_group133301512.lua b/Resources/Scripts/Scene/3/scene3_group133301512.lua index 0e110daf7..0c12da226 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301512.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301512.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_region = 512004, gallery_id = 28025, exit_region = 512010 diff --git a/Resources/Scripts/Scene/3/scene3_group133301519.lua b/Resources/Scripts/Scene/3/scene3_group133301519.lua index f5ed56b36..d49fa1c76 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301519.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301519.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, group_id = 133301519, collectable_sum = 15 diff --git a/Resources/Scripts/Scene/3/scene3_group133301522.lua b/Resources/Scripts/Scene/3/scene3_group133301522.lua index 8e5b46160..2839deba6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301522.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301522.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_temple = 522001, gadget_chest = 522002, group_ID = 133301522 diff --git a/Resources/Scripts/Scene/3/scene3_group133301523.lua b/Resources/Scripts/Scene/3/scene3_group133301523.lua index 270bf31c6..836bf5b83 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301523.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301523.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {523001,523002,523003,523004,523005,523021,523022}, diff --git a/Resources/Scripts/Scene/3/scene3_group133301532.lua b/Resources/Scripts/Scene/3/scene3_group133301532.lua index 37c891f00..8ccc294a8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301532.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301532.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 532003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301534.lua b/Resources/Scripts/Scene/3/scene3_group133301534.lua index 238b0f2c6..bd5dd752f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301534.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301534.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133301534, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133301536.lua b/Resources/Scripts/Scene/3/scene3_group133301536.lua index 32a9e7702..26d27ca76 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301536.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301536.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 536003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301543.lua b/Resources/Scripts/Scene/3/scene3_group133301543.lua index dac94f589..f71611bd2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301543.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301543.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133301543, collectable_sum = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133301548.lua b/Resources/Scripts/Scene/3/scene3_group133301548.lua index bcb4c166d..8baf6d464 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301548.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301548.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 548003, true_array = {548001,548002} } diff --git a/Resources/Scripts/Scene/3/scene3_group133301556.lua b/Resources/Scripts/Scene/3/scene3_group133301556.lua index 88f08675d..f3c80e388 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301556.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301556.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 55, group_id = 133301556, collectable_sum = 9, diff --git a/Resources/Scripts/Scene/3/scene3_group133301558.lua b/Resources/Scripts/Scene/3/scene3_group133301558.lua index 010d5b539..4929a5a64 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301558.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301558.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 558003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301566.lua b/Resources/Scripts/Scene/3/scene3_group133301566.lua index 9098ca6a2..ddabf95d5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301566.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301566.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {566002,566003,566004}, diff --git a/Resources/Scripts/Scene/3/scene3_group133301572.lua b/Resources/Scripts/Scene/3/scene3_group133301572.lua index afff0048e..ea242af5d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301572.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301572.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 572005, gadget_lookEntity = 572006, look_duration = 2 diff --git a/Resources/Scripts/Scene/3/scene3_group133301635.lua b/Resources/Scripts/Scene/3/scene3_group133301635.lua index 399751feb..9d99d44c9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301635.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301635.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { fquestid = 73113 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301637.lua b/Resources/Scripts/Scene/3/scene3_group133301637.lua index b6b380dd7..74f99c1bc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301637.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301637.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330100138, gadget_seelie = 637002 diff --git a/Resources/Scripts/Scene/3/scene3_group133301640.lua b/Resources/Scripts/Scene/3/scene3_group133301640.lua index 7b1194fce..215f4fb21 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301640.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301640.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 640007, gadget_lookEntity = 640011, look_duration = 2 diff --git a/Resources/Scripts/Scene/3/scene3_group133301643.lua b/Resources/Scripts/Scene/3/scene3_group133301643.lua index 7c4a04ab0..3d056e2b3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301643.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301643.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { fquestid = 73114 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301648.lua b/Resources/Scripts/Scene/3/scene3_group133301648.lua index ed7b52a18..261d286e9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301648.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301648.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 40, group_id = 133301648, diff --git a/Resources/Scripts/Scene/3/scene3_group133301653.lua b/Resources/Scripts/Scene/3/scene3_group133301653.lua index 10896b990..251c9aac0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301653.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301653.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133301653 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301654.lua b/Resources/Scripts/Scene/3/scene3_group133301654.lua index bf61358d0..50a2fc9b0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301654.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301654.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133301654 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301659.lua b/Resources/Scripts/Scene/3/scene3_group133301659.lua index 5998f5b12..553215942 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301659.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301659.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_iris = 659001, gadget_block = 659002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301667.lua b/Resources/Scripts/Scene/3/scene3_group133301667.lua index 59e997579..092b55d8c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301667.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301667.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 330100157, gadget_seelie = 667002 diff --git a/Resources/Scripts/Scene/3/scene3_group133301669.lua b/Resources/Scripts/Scene/3/scene3_group133301669.lua index 11cd3282b..154cbcc35 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301669.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301669.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330100159, gadget_seelie = 669002 diff --git a/Resources/Scripts/Scene/3/scene3_group133301672.lua b/Resources/Scripts/Scene/3/scene3_group133301672.lua index d7d69930a..d8991c07d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301672.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301672.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 330100161, gadget_seelie = 672002 diff --git a/Resources/Scripts/Scene/3/scene3_group133301673.lua b/Resources/Scripts/Scene/3/scene3_group133301673.lua index 85fa9ad07..4bc251be5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301673.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301673.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 673003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301691.lua b/Resources/Scripts/Scene/3/scene3_group133301691.lua index b8158b92d..4a77b1a57 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301691.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301691.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133301691, collectable_sum = 11 diff --git a/Resources/Scripts/Scene/3/scene3_group133301695.lua b/Resources/Scripts/Scene/3/scene3_group133301695.lua index b8500e79e..ccab98387 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301695.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301695.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 695001, gadget_lookEntity = 695002, look_duration = 5 diff --git a/Resources/Scripts/Scene/3/scene3_group133301698.lua b/Resources/Scripts/Scene/3/scene3_group133301698.lua index 36c4fa044..0db79729b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301698.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301698.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { door = 698005, galleryId = 19113, maxPickupTime = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133301699.lua b/Resources/Scripts/Scene/3/scene3_group133301699.lua index 2a5dbda9f..76e4a0505 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301699.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301699.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 699011, true_array = {699001,699002} } diff --git a/Resources/Scripts/Scene/3/scene3_group133301701.lua b/Resources/Scripts/Scene/3/scene3_group133301701.lua index df424c4b3..a584ea1d7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301701.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301701.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_iris = 701001, gadget_block = 701002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133301703.lua b/Resources/Scripts/Scene/3/scene3_group133301703.lua index 2afe7f5fd..55fda8bdc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301703.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301703.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 703003, gadget_lookEntity = 703001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133301704.lua b/Resources/Scripts/Scene/3/scene3_group133301704.lua index f852b72d2..9e9b05343 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301704.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301704.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 704001, pointarray_id = 330100007, minPoint = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133301738.lua b/Resources/Scripts/Scene/3/scene3_group133301738.lua index 137ef30b7..5ca6ae1ee 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301738.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301738.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 330100200, gadget_seelie = 738002 diff --git a/Resources/Scripts/Scene/3/scene3_group133301739.lua b/Resources/Scripts/Scene/3/scene3_group133301739.lua index 703f5b10f..34a841db5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301739.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301739.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 330100202, gadget_seelie = 739002 diff --git a/Resources/Scripts/Scene/3/scene3_group133301740.lua b/Resources/Scripts/Scene/3/scene3_group133301740.lua index 24dde6db0..e5c9e0a80 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301740.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301740.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 330100204, gadget_seelie = 740002 diff --git a/Resources/Scripts/Scene/3/scene3_group133301747.lua b/Resources/Scripts/Scene/3/scene3_group133301747.lua index bdb2d3ecd..d594ac3c6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133301747.lua +++ b/Resources/Scripts/Scene/3/scene3_group133301747.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_prison = 747001, duration = 210, rampage_time = 40, diff --git a/Resources/Scripts/Scene/3/scene3_group133302021.lua b/Resources/Scripts/Scene/3/scene3_group133302021.lua index 1f7b7bdcf..c09c51d52 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302021.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302021.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133302021, gadget_thunderThelfID = 21002, pointarray_ID = 330200003, diff --git a/Resources/Scripts/Scene/3/scene3_group133302037.lua b/Resources/Scripts/Scene/3/scene3_group133302037.lua index 22993c827..fed44aa72 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302037.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302037.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330200077, gadget_seelie = 37002 diff --git a/Resources/Scripts/Scene/3/scene3_group133302039.lua b/Resources/Scripts/Scene/3/scene3_group133302039.lua index 39456efc7..0d9b97a94 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302039.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302039.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133302039, gadget_thunderThelfID = 39002, pointarray_ID = 330200004, diff --git a/Resources/Scripts/Scene/3/scene3_group133302049.lua b/Resources/Scripts/Scene/3/scene3_group133302049.lua index 4e5a96ea5..cb7d36776 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302049.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302049.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 49045, gadget_lookEntity = 49004, look_duration = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133302056.lua b/Resources/Scripts/Scene/3/scene3_group133302056.lua index 401899fb5..e06dbc9a9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302056.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302056.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { gallery_id = 24003, challenge_time = 120, diff --git a/Resources/Scripts/Scene/3/scene3_group133302060.lua b/Resources/Scripts/Scene/3/scene3_group133302060.lua index 0a3d553c4..d419aba63 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302060.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302060.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { gallery_id = 24005, challenge_time = 120, diff --git a/Resources/Scripts/Scene/3/scene3_group133302061.lua b/Resources/Scripts/Scene/3/scene3_group133302061.lua index 9c4455edc..cf88664b2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302061.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302061.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { gallery_id = 24001, challenge_time = 120, diff --git a/Resources/Scripts/Scene/3/scene3_group133302062.lua b/Resources/Scripts/Scene/3/scene3_group133302062.lua index c9f250a19..f9d2c184c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302062.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302062.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { gallery_id = 24004, challenge_time = 120, diff --git a/Resources/Scripts/Scene/3/scene3_group133302068.lua b/Resources/Scripts/Scene/3/scene3_group133302068.lua index 827407212..d2c678a5f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302068.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302068.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 特定Region或者Group可以写,每次EnterRegion会检测 -defs ={ +local defs ={ regionList = {68001}, -- 1,2,3,4对应4套等级 curCommander =1, diff --git a/Resources/Scripts/Scene/3/scene3_group133302069.lua b/Resources/Scripts/Scene/3/scene3_group133302069.lua index 20037952d..f775b7f4a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302069.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302069.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 特定Region或者Group可以写,每次EnterRegion会检测 -defs ={ +local defs ={ regionList = {69001}, -- 1,2,3,4对应4套等级 curCommander =1, diff --git a/Resources/Scripts/Scene/3/scene3_group133302070.lua b/Resources/Scripts/Scene/3/scene3_group133302070.lua index 200b68d38..a35c498fb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302070.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302070.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 特定Region或者Group可以写,每次EnterRegion会检测 -defs ={ +local defs ={ regionList = {70001}, -- 1,2,3,4对应4套等级 curCommander =2, diff --git a/Resources/Scripts/Scene/3/scene3_group133302085.lua b/Resources/Scripts/Scene/3/scene3_group133302085.lua index 124a99217..1def86949 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302085.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302085.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, gadget_seelie = 85002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302086.lua b/Resources/Scripts/Scene/3/scene3_group133302086.lua index 20bbac026..6b2acf75b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302086.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302086.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330200007, gadget_seelie = 86002 diff --git a/Resources/Scripts/Scene/3/scene3_group133302088.lua b/Resources/Scripts/Scene/3/scene3_group133302088.lua index c10b6359c..9cf04ab45 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302088.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302088.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133302088, collectable_sum = 5 diff --git a/Resources/Scripts/Scene/3/scene3_group133302095.lua b/Resources/Scripts/Scene/3/scene3_group133302095.lua index 575e12a12..462da195e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302095.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302095.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 1, challenge_id = 2010045, target_count = 12, diff --git a/Resources/Scripts/Scene/3/scene3_group133302102.lua b/Resources/Scripts/Scene/3/scene3_group133302102.lua index cf8f58ecf..d2f677240 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302102.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302102.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302118.lua b/Resources/Scripts/Scene/3/scene3_group133302118.lua index 73dfd160f..c3c9864fe 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302118.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302118.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133302118, collectable_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133302121.lua b/Resources/Scripts/Scene/3/scene3_group133302121.lua index 1ee8d9860..deecbee1d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302121.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302121.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 0, challenge_id = 2010045, target_count = 12, diff --git a/Resources/Scripts/Scene/3/scene3_group133302123.lua b/Resources/Scripts/Scene/3/scene3_group133302123.lua index a9a6024f1..01383fa13 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302123.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302123.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 123003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302127.lua b/Resources/Scripts/Scene/3/scene3_group133302127.lua index ba3037b5b..994b3f60b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302127.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302127.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330200015, gadget_seelie = 127002 diff --git a/Resources/Scripts/Scene/3/scene3_group133302136.lua b/Resources/Scripts/Scene/3/scene3_group133302136.lua index fd906d0d5..4c9c7c5a3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302136.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302136.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 1, challenge_id = 2010045, target_count = 12, diff --git a/Resources/Scripts/Scene/3/scene3_group133302137.lua b/Resources/Scripts/Scene/3/scene3_group133302137.lua index 382a5852c..03fc925f6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302137.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302137.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 1, challenge_id = 2010045, target_count = 12, diff --git a/Resources/Scripts/Scene/3/scene3_group133302138.lua b/Resources/Scripts/Scene/3/scene3_group133302138.lua index 3d538327b..ffd113ef1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302138.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302138.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 0, challenge_id = 2010045, target_count = 12, diff --git a/Resources/Scripts/Scene/3/scene3_group133302140.lua b/Resources/Scripts/Scene/3/scene3_group133302140.lua index 55eb2eea7..b43d50c26 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302140.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302140.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 1, challenge_id = 2010045, target_count = 12, diff --git a/Resources/Scripts/Scene/3/scene3_group133302141.lua b/Resources/Scripts/Scene/3/scene3_group133302141.lua index c9e5b6f94..cd54be671 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302141.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302141.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 1, challenge_id = 2010045, target_count = 12, diff --git a/Resources/Scripts/Scene/3/scene3_group133302143.lua b/Resources/Scripts/Scene/3/scene3_group133302143.lua index ecf658c2b..b16981c45 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302143.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302143.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 0, challenge_id = 2010045, target_count = 7, diff --git a/Resources/Scripts/Scene/3/scene3_group133302144.lua b/Resources/Scripts/Scene/3/scene3_group133302144.lua index bb123aa67..59b947262 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302144.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302144.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 0, challenge_id = 2010045, target_count = 7, diff --git a/Resources/Scripts/Scene/3/scene3_group133302145.lua b/Resources/Scripts/Scene/3/scene3_group133302145.lua index dcf9128fa..4e85b93fd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302145.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302145.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 0, challenge_id = 2010045, target_count = 3, diff --git a/Resources/Scripts/Scene/3/scene3_group133302146.lua b/Resources/Scripts/Scene/3/scene3_group133302146.lua index 0b2e28893..878f50a39 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302146.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302146.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 0, challenge_id = 2010045, target_count = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133302147.lua b/Resources/Scripts/Scene/3/scene3_group133302147.lua index a1a8a5ee9..620ded024 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302147.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302147.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 0, challenge_id = 2010045, target_count = 3, diff --git a/Resources/Scripts/Scene/3/scene3_group133302149.lua b/Resources/Scripts/Scene/3/scene3_group133302149.lua index 43debd48b..ecae5ea2d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302149.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302149.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 0, challenge_id = 2010045, target_count = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133302150.lua b/Resources/Scripts/Scene/3/scene3_group133302150.lua index 27216a715..6bc62b186 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302150.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302150.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 0, challenge_id = 2010045, target_count = 3, diff --git a/Resources/Scripts/Scene/3/scene3_group133302151.lua b/Resources/Scripts/Scene/3/scene3_group133302151.lua index 86765a080..665bcfb4d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302151.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302151.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 0, challenge_id = 2010045, target_count = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133302152.lua b/Resources/Scripts/Scene/3/scene3_group133302152.lua index 7cd8f01ef..c61dbb4ab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302152.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302152.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 1, challenge_id = 2010045, target_count = 12, diff --git a/Resources/Scripts/Scene/3/scene3_group133302154.lua b/Resources/Scripts/Scene/3/scene3_group133302154.lua index 023f04195..8f2b78dc8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302154.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302154.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 1, challenge_id = 2010045, target_count = 12, diff --git a/Resources/Scripts/Scene/3/scene3_group133302155.lua b/Resources/Scripts/Scene/3/scene3_group133302155.lua index 07ac5c4e3..5dbcdd7cb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302155.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302155.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 0, challenge_id = 2010045, target_count = 3, diff --git a/Resources/Scripts/Scene/3/scene3_group133302156.lua b/Resources/Scripts/Scene/3/scene3_group133302156.lua index 24ae0525d..5e1b581e0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302156.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302156.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 0, challenge_id = 2010045, target_count = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133302157.lua b/Resources/Scripts/Scene/3/scene3_group133302157.lua index ddef5ad7c..775e16559 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302157.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302157.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { levelType = 0, challenge_id = 2010045, target_count = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133302171.lua b/Resources/Scripts/Scene/3/scene3_group133302171.lua index b9e332a1f..03c8fd366 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302171.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302171.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 5, group_id = 133302171, diff --git a/Resources/Scripts/Scene/3/scene3_group133302172.lua b/Resources/Scripts/Scene/3/scene3_group133302172.lua index b4212019b..c0121e4b3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302172.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302172.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 5, group_id = 133302172, diff --git a/Resources/Scripts/Scene/3/scene3_group133302179.lua b/Resources/Scripts/Scene/3/scene3_group133302179.lua index 116d560ab..8cb453899 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302179.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302179.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133302179 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302183.lua b/Resources/Scripts/Scene/3/scene3_group133302183.lua index df77a180b..7ea6723eb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302183.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302183.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { gallery_id = 24007, challenge_time = 120, diff --git a/Resources/Scripts/Scene/3/scene3_group133302185.lua b/Resources/Scripts/Scene/3/scene3_group133302185.lua index 3d49d34d8..ec2dc9a08 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302185.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302185.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { gallery_id = 24002, challenge_time = 120, diff --git a/Resources/Scripts/Scene/3/scene3_group133302218.lua b/Resources/Scripts/Scene/3/scene3_group133302218.lua index 5de023e2b..c32ddd939 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302218.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302218.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 218005, monster_BossID = 218002, gadget_Point_1 = 218006, diff --git a/Resources/Scripts/Scene/3/scene3_group133302221.lua b/Resources/Scripts/Scene/3/scene3_group133302221.lua index 85bf938f4..85a1f8a11 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302221.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302221.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 221005, monster_BossID = 221002, gadget_Point_1 = 221006, diff --git a/Resources/Scripts/Scene/3/scene3_group133302224.lua b/Resources/Scripts/Scene/3/scene3_group133302224.lua index d33befbde..04014c026 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302224.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302224.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 224003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302232.lua b/Resources/Scripts/Scene/3/scene3_group133302232.lua index 7040013a8..70158d189 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302232.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302232.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { challenge_id = 2010057, diff --git a/Resources/Scripts/Scene/3/scene3_group133302233.lua b/Resources/Scripts/Scene/3/scene3_group133302233.lua index 84b02fca8..89befa057 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302233.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302233.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 233005, monster_BossID = 233002, gadget_Point_1 = 233006, diff --git a/Resources/Scripts/Scene/3/scene3_group133302238.lua b/Resources/Scripts/Scene/3/scene3_group133302238.lua index dc252152b..a6949f566 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302238.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302238.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 12, route_2 = 330200039, gadget_seelie = 238002 diff --git a/Resources/Scripts/Scene/3/scene3_group133302243.lua b/Resources/Scripts/Scene/3/scene3_group133302243.lua index 9e49a66f8..bc74a3863 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302243.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302243.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_smoke1 = 243002, gadget_smoke2 = 243003, fquestid = 73115, @@ -12,7 +12,7 @@ defs = { } -- DEFS_MISCS -defs_miscs = +local defs_miscs = { -- 死域观测站透镜的config id lensConfigId = 243001, diff --git a/Resources/Scripts/Scene/3/scene3_group133302246.lua b/Resources/Scripts/Scene/3/scene3_group133302246.lua index bef8a167a..2e20f28a5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302246.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302246.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 246005, monster_BossID = 246002, gadget_Point_1 = 246006, diff --git a/Resources/Scripts/Scene/3/scene3_group133302249.lua b/Resources/Scripts/Scene/3/scene3_group133302249.lua index 015e93cb2..87c2a752d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302249.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302249.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 249005, monster_BossID = 249002, gadget_Point_1 = 249006, diff --git a/Resources/Scripts/Scene/3/scene3_group133302253.lua b/Resources/Scripts/Scene/3/scene3_group133302253.lua index 75df99249..6b8d862ab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302253.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302253.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_smoke1 = 253002, gadget_smoke2 = 253003, fquestid = 73116, @@ -12,7 +12,7 @@ defs = { } -- DEFS_MISCS -defs_miscs = +local defs_miscs = { -- 死域观测站透镜的config id lensConfigId = 253001, diff --git a/Resources/Scripts/Scene/3/scene3_group133302260.lua b/Resources/Scripts/Scene/3/scene3_group133302260.lua index d1b0bab83..9da402c70 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302260.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302260.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { gallery_id = 24006, challenge_time = 120, diff --git a/Resources/Scripts/Scene/3/scene3_group133302272.lua b/Resources/Scripts/Scene/3/scene3_group133302272.lua index 978ab0595..2ac9523a3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302272.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302272.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { enter_region = 272004, leave_region = 272005, FindClue = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133302276.lua b/Resources/Scripts/Scene/3/scene3_group133302276.lua index 948427a61..3d4db206c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302276.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302276.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, group_id = 133302276, collectable_sum = 7 diff --git a/Resources/Scripts/Scene/3/scene3_group133302277.lua b/Resources/Scripts/Scene/3/scene3_group133302277.lua index 639ee6de7..e198fc2da 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302277.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302277.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 277003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302280.lua b/Resources/Scripts/Scene/3/scene3_group133302280.lua index 252c2d678..2d35fc2fa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302280.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302280.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 280005, monster_BossID = 280002, gadget_Point_1 = 280006, diff --git a/Resources/Scripts/Scene/3/scene3_group133302288.lua b/Resources/Scripts/Scene/3/scene3_group133302288.lua index f3b32858b..7afbadbf0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302288.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302288.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 288003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302289.lua b/Resources/Scripts/Scene/3/scene3_group133302289.lua index c2ad6be17..78af4f554 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302289.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302289.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 289004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302300.lua b/Resources/Scripts/Scene/3/scene3_group133302300.lua index 04a925308..66d87d751 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302300.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302300.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 300003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302302.lua b/Resources/Scripts/Scene/3/scene3_group133302302.lua index c4138a76a..0f9d562d2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302302.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302302.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 302003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302304.lua b/Resources/Scripts/Scene/3/scene3_group133302304.lua index 6e8893afb..71010a30d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302304.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302304.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 304003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302305.lua b/Resources/Scripts/Scene/3/scene3_group133302305.lua index 12ff5b342..5113dce33 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302305.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302305.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 305003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302307.lua b/Resources/Scripts/Scene/3/scene3_group133302307.lua index fbc0f360d..f8012260b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302307.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302307.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 307003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302308.lua b/Resources/Scripts/Scene/3/scene3_group133302308.lua index ffdc9d090..da00c480f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302308.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302308.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 308004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302313.lua b/Resources/Scripts/Scene/3/scene3_group133302313.lua index 5adcf68a7..06cb04688 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302313.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302313.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 313003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302317.lua b/Resources/Scripts/Scene/3/scene3_group133302317.lua index 652986e87..f49ea9210 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302317.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302317.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 317003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302320.lua b/Resources/Scripts/Scene/3/scene3_group133302320.lua index dedd17898..76a54f57f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302320.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302320.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 320004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302324.lua b/Resources/Scripts/Scene/3/scene3_group133302324.lua index c608d56d3..985dd1bbb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302324.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302324.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 324003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302352.lua b/Resources/Scripts/Scene/3/scene3_group133302352.lua index 4b416d33c..888edd4b8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302352.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302352.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { door = 352005, galleryId = 19107, maxPickupTime = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133302357.lua b/Resources/Scripts/Scene/3/scene3_group133302357.lua index 11f10fcc5..e3940f9d6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302357.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302357.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 357003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302360.lua b/Resources/Scripts/Scene/3/scene3_group133302360.lua index 7f1f68c8e..0dc6fe53a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302360.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302360.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 360004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302361.lua b/Resources/Scripts/Scene/3/scene3_group133302361.lua index 47e7a43f5..f5cd7c90b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302361.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302361.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 361009, gadget_lookEntity = 361001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133302363.lua b/Resources/Scripts/Scene/3/scene3_group133302363.lua index 49372ba7f..0df2f5a10 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302363.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302363.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { finishquest = "7304931_fin", group_reward = 133302365, keyNum = 2, diff --git a/Resources/Scripts/Scene/3/scene3_group133302367.lua b/Resources/Scripts/Scene/3/scene3_group133302367.lua index 627280c74..4e8888da3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302367.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302367.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 367009, gadget_lookEntity = 367001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133302369.lua b/Resources/Scripts/Scene/3/scene3_group133302369.lua index 433b8fe2c..7333f52e4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302369.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302369.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { maxRegion = 369011, maxJumpTimes = 5, diff --git a/Resources/Scripts/Scene/3/scene3_group133302373.lua b/Resources/Scripts/Scene/3/scene3_group133302373.lua index 284bc258d..b9749d586 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302373.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302373.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 373009, gadget_lookEntity = 373001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133302402.lua b/Resources/Scripts/Scene/3/scene3_group133302402.lua index dbb1aeba3..c7956aa1d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302402.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302402.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133302402, gadget_thunderThelfID = 402002, pointarray_ID = 330200002, diff --git a/Resources/Scripts/Scene/3/scene3_group133302415.lua b/Resources/Scripts/Scene/3/scene3_group133302415.lua index 2e1cca323..f1191a648 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302415.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302415.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { door = 415005, galleryId = 19108, maxPickupTime = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133302416.lua b/Resources/Scripts/Scene/3/scene3_group133302416.lua index 4f58e29de..7dfeadde4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302416.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302416.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { door = 416005, galleryId = 19109, maxPickupTime = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133302421.lua b/Resources/Scripts/Scene/3/scene3_group133302421.lua index 5bf032f39..5a7d82be7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302421.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302421.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { regionId = 421008, targetScore = 6, maxTime = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133302436.lua b/Resources/Scripts/Scene/3/scene3_group133302436.lua index 95c6606fe..9973e0081 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302436.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302436.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 436003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302442.lua b/Resources/Scripts/Scene/3/scene3_group133302442.lua index d83d49993..d373dd1a6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302442.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302442.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 7, route_2 = 330200074, gadget_seelie = 442002 diff --git a/Resources/Scripts/Scene/3/scene3_group133302454.lua b/Resources/Scripts/Scene/3/scene3_group133302454.lua index 3f3449b96..75332325c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302454.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302454.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 12, group_id = 133302454, diff --git a/Resources/Scripts/Scene/3/scene3_group133302469.lua b/Resources/Scripts/Scene/3/scene3_group133302469.lua index 9554b6932..cbd2d9b52 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302469.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302469.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 469003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302474.lua b/Resources/Scripts/Scene/3/scene3_group133302474.lua index dcc240a57..497c0b38c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302474.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302474.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { regionId = 474008, targetScore = 6, maxTime = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133302475.lua b/Resources/Scripts/Scene/3/scene3_group133302475.lua index 3fa0910b9..9892fdfe4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302475.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302475.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 330200079, gadget_seelie = 475002 diff --git a/Resources/Scripts/Scene/3/scene3_group133302476.lua b/Resources/Scripts/Scene/3/scene3_group133302476.lua index 632bf5c3b..7b7c9cd69 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302476.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302476.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 476004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302481.lua b/Resources/Scripts/Scene/3/scene3_group133302481.lua index 37402f519..4c43dabbe 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302481.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302481.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 481003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302482.lua b/Resources/Scripts/Scene/3/scene3_group133302482.lua index 3b0d3f0b7..6c14831a9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302482.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302482.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 20, group_id = 133302482 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302490.lua b/Resources/Scripts/Scene/3/scene3_group133302490.lua index 99e288d34..40870ba81 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302490.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302490.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133302490, collectable_sum = 7 diff --git a/Resources/Scripts/Scene/3/scene3_group133302495.lua b/Resources/Scripts/Scene/3/scene3_group133302495.lua index a2eed2faa..1aea62132 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302495.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302495.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 330200084, gadget_seelie = 495002 diff --git a/Resources/Scripts/Scene/3/scene3_group133302498.lua b/Resources/Scripts/Scene/3/scene3_group133302498.lua index fa8e0637d..e3b95d8e2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302498.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302498.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 10, group_id = 133302498, gadget_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133302500.lua b/Resources/Scripts/Scene/3/scene3_group133302500.lua index c5d2e77ab..b9af7989a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302500.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302500.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 330200086, gadget_seelie = 500002 diff --git a/Resources/Scripts/Scene/3/scene3_group133302501.lua b/Resources/Scripts/Scene/3/scene3_group133302501.lua index f87da5c45..5b2c565e7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302501.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302501.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 330200088, gadget_seelie = 501002 diff --git a/Resources/Scripts/Scene/3/scene3_group133302503.lua b/Resources/Scripts/Scene/3/scene3_group133302503.lua index 6636e4e33..3e4e7d4f4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302503.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302503.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 330200090, gadget_seelie = 503002 diff --git a/Resources/Scripts/Scene/3/scene3_group133302518.lua b/Resources/Scripts/Scene/3/scene3_group133302518.lua index a2df51a5c..d282384e7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302518.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302518.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 330200096, gadget_seelie = 518002 diff --git a/Resources/Scripts/Scene/3/scene3_group133302520.lua b/Resources/Scripts/Scene/3/scene3_group133302520.lua index aa3cbbd25..6b86397cc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302520.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302520.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 330200099, gadget_seelie = 520002 diff --git a/Resources/Scripts/Scene/3/scene3_group133302526.lua b/Resources/Scripts/Scene/3/scene3_group133302526.lua index 9861077da..e30433973 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302526.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302526.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {526002,526003,526004}, diff --git a/Resources/Scripts/Scene/3/scene3_group133302527.lua b/Resources/Scripts/Scene/3/scene3_group133302527.lua index 49ff5ffb5..b8da780fd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302527.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302527.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {527002,527003}, diff --git a/Resources/Scripts/Scene/3/scene3_group133302529.lua b/Resources/Scripts/Scene/3/scene3_group133302529.lua index f857d9ea1..8ecbc62a3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302529.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302529.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 529009, gadget_lookEntity = 529001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133302544.lua b/Resources/Scripts/Scene/3/scene3_group133302544.lua index e326b213d..e3c3c3023 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302544.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302544.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 544003, true_array = {544001,544002,544011} } diff --git a/Resources/Scripts/Scene/3/scene3_group133302565.lua b/Resources/Scripts/Scene/3/scene3_group133302565.lua index fdca2f0e4..93023bc04 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302565.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302565.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 565003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302567.lua b/Resources/Scripts/Scene/3/scene3_group133302567.lua index ea2963c17..6edd1221d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302567.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302567.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_region = 567004, group_bundle_id = 20150128 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302568.lua b/Resources/Scripts/Scene/3/scene3_group133302568.lua index e8d448ebf..d8af4218d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302568.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302568.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_region = 568003, group_bundle_id = 20150129 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302571.lua b/Resources/Scripts/Scene/3/scene3_group133302571.lua index 87f10530e..6fb52d5aa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302571.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302571.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_region = 571005, group_bundle_id = 20150130 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302572.lua b/Resources/Scripts/Scene/3/scene3_group133302572.lua index cbaa62127..765e70401 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302572.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302572.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_region = 572003, group_bundle_id = 20150131 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302579.lua b/Resources/Scripts/Scene/3/scene3_group133302579.lua index 34e08aef5..ee40175a6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302579.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302579.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_region = 579004, group_bundle_id = 20150137 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302580.lua b/Resources/Scripts/Scene/3/scene3_group133302580.lua index 9fca3f0ea..834db6fd0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302580.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302580.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_region = 580005, group_bundle_id = 20150136 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302581.lua b/Resources/Scripts/Scene/3/scene3_group133302581.lua index 91d623c6f..c83c66040 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302581.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302581.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_region = 581003, group_bundle_id = 20150135 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302588.lua b/Resources/Scripts/Scene/3/scene3_group133302588.lua index cefcfae18..4a9f9af0c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302588.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302588.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 588007 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302593.lua b/Resources/Scripts/Scene/3/scene3_group133302593.lua index 3d940ce41..585fd9f8f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302593.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302593.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 593001, pointarray_id = 330200008, minPoint = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133302602.lua b/Resources/Scripts/Scene/3/scene3_group133302602.lua index 26f419693..065047c56 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302602.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302602.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 602003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302611.lua b/Resources/Scripts/Scene/3/scene3_group133302611.lua index cc06d1c58..397da9bbc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302611.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302611.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 18, route_2 = 330200013, gadget_seelie = 611002 diff --git a/Resources/Scripts/Scene/3/scene3_group133302619.lua b/Resources/Scripts/Scene/3/scene3_group133302619.lua index a04adf321..5234286c2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302619.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302619.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 619003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302620.lua b/Resources/Scripts/Scene/3/scene3_group133302620.lua index f48d216ca..1cdc38eb4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302620.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302620.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330200118, gadget_seelie = 620002 diff --git a/Resources/Scripts/Scene/3/scene3_group133302621.lua b/Resources/Scripts/Scene/3/scene3_group133302621.lua index 1649b5add..a3566f9f7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302621.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302621.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { fquestid = 73115 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302625.lua b/Resources/Scripts/Scene/3/scene3_group133302625.lua index 1469e2e51..890bda908 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302625.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302625.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { fquestid = 73116 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302627.lua b/Resources/Scripts/Scene/3/scene3_group133302627.lua index 8c1171d6a..96c268516 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302627.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302627.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 627003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302628.lua b/Resources/Scripts/Scene/3/scene3_group133302628.lua index 22f860491..d77973f8f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302628.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302628.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 628002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302629.lua b/Resources/Scripts/Scene/3/scene3_group133302629.lua index 9488123a4..49bef5969 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302629.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302629.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 629002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302630.lua b/Resources/Scripts/Scene/3/scene3_group133302630.lua index 6b2255f61..17e13ae53 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302630.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302630.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 630003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302634.lua b/Resources/Scripts/Scene/3/scene3_group133302634.lua index dbce19edf..2bfb8a987 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302634.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302634.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133302634, collectable_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133302641.lua b/Resources/Scripts/Scene/3/scene3_group133302641.lua index fcf30c342..3cf186dbb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302641.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302641.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133302641 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302645.lua b/Resources/Scripts/Scene/3/scene3_group133302645.lua index 341a1491f..a6f93d314 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302645.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302645.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133302645, gadget_riddle_1 = 645001, gadget_riddle_2 = 645002, diff --git a/Resources/Scripts/Scene/3/scene3_group133302647.lua b/Resources/Scripts/Scene/3/scene3_group133302647.lua index 883c38334..9852f1681 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302647.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302647.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 647001, pointarray_id = 330200009, minPoint = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133302648.lua b/Resources/Scripts/Scene/3/scene3_group133302648.lua index 8f534ddcb..e11a95a97 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302648.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302648.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 648003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302650.lua b/Resources/Scripts/Scene/3/scene3_group133302650.lua index db2272109..b52f42773 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302650.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302650.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_iris = 650001, gadget_block = 650002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302652.lua b/Resources/Scripts/Scene/3/scene3_group133302652.lua index 2eecbf7b9..12695e12a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302652.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302652.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133302652, gadget_riddle_hint = 652001, gadget_riddle_1 = 652002, diff --git a/Resources/Scripts/Scene/3/scene3_group133302653.lua b/Resources/Scripts/Scene/3/scene3_group133302653.lua index 3325950ac..fbe81f09c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302653.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302653.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 653001, pointarray_id = 330200010, minPoint = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133302654.lua b/Resources/Scripts/Scene/3/scene3_group133302654.lua index f6dc5b4be..bdc517490 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302654.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302654.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133302654, gadget_riddle_hint = 654001, gadget_riddle_1 = 654002, diff --git a/Resources/Scripts/Scene/3/scene3_group133302655.lua b/Resources/Scripts/Scene/3/scene3_group133302655.lua index b4404380d..a3e6470d0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302655.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302655.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 655001, pointarray_id = 330200011, minPoint = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133302656.lua b/Resources/Scripts/Scene/3/scene3_group133302656.lua index 3d088d92a..2a0945fcd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302656.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302656.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 656001, pointarray_id = 330200012, minPoint = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133302668.lua b/Resources/Scripts/Scene/3/scene3_group133302668.lua index 664a206c2..af3ac155f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302668.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302668.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 668003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302671.lua b/Resources/Scripts/Scene/3/scene3_group133302671.lua index 2fa88a31f..48e207202 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302671.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302671.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 671003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302685.lua b/Resources/Scripts/Scene/3/scene3_group133302685.lua index 01d8ea7b8..9b9ddd1e8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302685.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302685.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 685003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133302690.lua b/Resources/Scripts/Scene/3/scene3_group133302690.lua index c3d4de22c..d96daf828 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302690.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302690.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_region = 690004, gallery_id = 28019, exit_region = 690005 diff --git a/Resources/Scripts/Scene/3/scene3_group133302697.lua b/Resources/Scripts/Scene/3/scene3_group133302697.lua index 2ccb651b6..6e45e59d4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302697.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302697.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 697001, gallery_id = 29001, region_id = 697005, diff --git a/Resources/Scripts/Scene/3/scene3_group133302698.lua b/Resources/Scripts/Scene/3/scene3_group133302698.lua index ff7a066b2..b208ab7cc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302698.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302698.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 698001, gallery_id = 29007, region_id = 698005, diff --git a/Resources/Scripts/Scene/3/scene3_group133302700.lua b/Resources/Scripts/Scene/3/scene3_group133302700.lua index 5b6c2cf89..b5f3fc213 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302700.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302700.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_temple = 700001, gadget_chest = 700002, group_ID = 133302700 diff --git a/Resources/Scripts/Scene/3/scene3_group133302717.lua b/Resources/Scripts/Scene/3/scene3_group133302717.lua index 009a2c1fc..f2048d510 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302717.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302717.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_prison = 717001, duration = 210, rampage_time = 40, diff --git a/Resources/Scripts/Scene/3/scene3_group133302729.lua b/Resources/Scripts/Scene/3/scene3_group133302729.lua index c70737bfb..fde7a220e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133302729.lua +++ b/Resources/Scripts/Scene/3/scene3_group133302729.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { gallery_id = 111, --开启机关交互后,加载哪个/些suit diff --git a/Resources/Scripts/Scene/3/scene3_group133303002.lua b/Resources/Scripts/Scene/3/scene3_group133303002.lua index 9f6d438bc..42537d19c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303002.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 2007, operator_2 = 2008, chest = 2009 diff --git a/Resources/Scripts/Scene/3/scene3_group133303003.lua b/Resources/Scripts/Scene/3/scene3_group133303003.lua index a786d3566..c870c86f7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303003.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 3007, operator_2 = 3008, chest = 3009 diff --git a/Resources/Scripts/Scene/3/scene3_group133303004.lua b/Resources/Scripts/Scene/3/scene3_group133303004.lua index 664dabb86..f9560da57 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303004.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 4007, operator_2 = 4008, chest = 4009 diff --git a/Resources/Scripts/Scene/3/scene3_group133303005.lua b/Resources/Scripts/Scene/3/scene3_group133303005.lua index 8b77efae3..92d2b2e8e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303005.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 5007, operator_2 = 5008, chest = 5009 diff --git a/Resources/Scripts/Scene/3/scene3_group133303006.lua b/Resources/Scripts/Scene/3/scene3_group133303006.lua index 0302ac747..1f6a1b13b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303006.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 6007, operator_2 = 6008, chest = 6009 diff --git a/Resources/Scripts/Scene/3/scene3_group133303019.lua b/Resources/Scripts/Scene/3/scene3_group133303019.lua index ca2c17e81..0390f53c6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303019.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303019.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { door = 19005, galleryId = 19110, maxPickupTime = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133303020.lua b/Resources/Scripts/Scene/3/scene3_group133303020.lua index df8f08531..31127e1d5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303020.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303020.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { door = 20005, galleryId = 19111, maxPickupTime = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133303021.lua b/Resources/Scripts/Scene/3/scene3_group133303021.lua index a70a472a5..f42cdc7b5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303021.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303021.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { door = 21005, galleryId = 19112, maxPickupTime = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133303040.lua b/Resources/Scripts/Scene/3/scene3_group133303040.lua index a1c0cc552..c032e1693 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303040.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303040.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133303040, gadget_sum = 9 diff --git a/Resources/Scripts/Scene/3/scene3_group133303052.lua b/Resources/Scripts/Scene/3/scene3_group133303052.lua index a0cd5660e..071532ee3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303052.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303052.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 52003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303053.lua b/Resources/Scripts/Scene/3/scene3_group133303053.lua index 945dbe915..4fae939ce 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303053.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303053.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { challenge_id = 2010057, diff --git a/Resources/Scripts/Scene/3/scene3_group133303057.lua b/Resources/Scripts/Scene/3/scene3_group133303057.lua index 2bf0dd128..2c5723c5c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303057.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303057.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 57044, gadget_lookEntity = 57020, look_duration = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133303059.lua b/Resources/Scripts/Scene/3/scene3_group133303059.lua index 42313a027..2a70b6644 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303059.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303059.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { fquestid = 73111 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303062.lua b/Resources/Scripts/Scene/3/scene3_group133303062.lua index 4a6727932..f78d9c06c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303062.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303062.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { fquestid = 73112 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303063.lua b/Resources/Scripts/Scene/3/scene3_group133303063.lua index d0f332d14..d6c1a80c8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303063.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303063.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133303063 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303081.lua b/Resources/Scripts/Scene/3/scene3_group133303081.lua index 9267013f5..984face8a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303081.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303081.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 2, route_2 = 330300001, gadget_seelie = 81002 diff --git a/Resources/Scripts/Scene/3/scene3_group133303082.lua b/Resources/Scripts/Scene/3/scene3_group133303082.lua index 450221910..007d6edb9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303082.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303082.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 2, route_2 = 330300003, gadget_seelie = 82002 diff --git a/Resources/Scripts/Scene/3/scene3_group133303095.lua b/Resources/Scripts/Scene/3/scene3_group133303095.lua index 648addbbc..a0882443e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303095.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303095.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 95003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303111.lua b/Resources/Scripts/Scene/3/scene3_group133303111.lua index 21ef4f3f3..c5324df08 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303111.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303111.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 330300038, gadget_seelie = 111002 diff --git a/Resources/Scripts/Scene/3/scene3_group133303114.lua b/Resources/Scripts/Scene/3/scene3_group133303114.lua index 16fac4c69..6e9348345 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303114.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303114.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133303114, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133303121.lua b/Resources/Scripts/Scene/3/scene3_group133303121.lua index 156e30cc3..5b834f75b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303121.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303121.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_smoke1 = 121002, gadget_smoke2 = 121003, fquestid = 73111, @@ -12,7 +12,7 @@ defs = { } -- DEFS_MISCS -defs_miscs = +local defs_miscs = { -- 死域观测站透镜的config id lensConfigId = 121001, diff --git a/Resources/Scripts/Scene/3/scene3_group133303126.lua b/Resources/Scripts/Scene/3/scene3_group133303126.lua index 9e8eab50b..1d918fa28 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303126.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303126.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { -- 受回流之柱控制的group id groupTable = diff --git a/Resources/Scripts/Scene/3/scene3_group133303135.lua b/Resources/Scripts/Scene/3/scene3_group133303135.lua index 728f88c0b..a8d1ab2cd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303135.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303135.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 135003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303147.lua b/Resources/Scripts/Scene/3/scene3_group133303147.lua index 43df572d8..eee74a457 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303147.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303147.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_temple = 147001, gadget_chest = 147002, group_ID = 133303147 diff --git a/Resources/Scripts/Scene/3/scene3_group133303148.lua b/Resources/Scripts/Scene/3/scene3_group133303148.lua index ee97141db..6d38e2428 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303148.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303148.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 330300005, gadget_seelie = 148002 diff --git a/Resources/Scripts/Scene/3/scene3_group133303151.lua b/Resources/Scripts/Scene/3/scene3_group133303151.lua index d875dc864..89a525bc2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303151.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303151.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { fishingPoint = { bottom = 2, diff --git a/Resources/Scripts/Scene/3/scene3_group133303174.lua b/Resources/Scripts/Scene/3/scene3_group133303174.lua index fb0ae7382..ef906e4bb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303174.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303174.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 180, kill_sum = 6, group_id = 133303174, diff --git a/Resources/Scripts/Scene/3/scene3_group133303179.lua b/Resources/Scripts/Scene/3/scene3_group133303179.lua index 19b2e602a..5e610f65a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303179.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303179.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133303179 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303188.lua b/Resources/Scripts/Scene/3/scene3_group133303188.lua index 8a952956c..454018218 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303188.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303188.lua @@ -4,12 +4,11 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { --升降水面-- rootWaterTable = - { -[188001] = 330300001, + { [188001] = 330300001, }, } diff --git a/Resources/Scripts/Scene/3/scene3_group133303191.lua b/Resources/Scripts/Scene/3/scene3_group133303191.lua index 37223e11f..9584b2465 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303191.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303191.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 7, route_2 = 330300018, gadget_seelie = 191002 diff --git a/Resources/Scripts/Scene/3/scene3_group133303217.lua b/Resources/Scripts/Scene/3/scene3_group133303217.lua index ccb487bb5..c26e3e095 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303217.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303217.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 217002, gadget_lookEntity = 217001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133303219.lua b/Resources/Scripts/Scene/3/scene3_group133303219.lua index a6a8aeb02..dd0c738fd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303219.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303219.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 219004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303227.lua b/Resources/Scripts/Scene/3/scene3_group133303227.lua index a2359c8be..2598af154 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303227.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303227.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 35, group_id = 133303227, gadget_sum = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133303259.lua b/Resources/Scripts/Scene/3/scene3_group133303259.lua index e5370e594..6c6c326a0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303259.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303259.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133303259, gadget_sum = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133303265.lua b/Resources/Scripts/Scene/3/scene3_group133303265.lua index 4a958722b..eb13350ee 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303265.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303265.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133303265, collectable_sum = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133303268.lua b/Resources/Scripts/Scene/3/scene3_group133303268.lua index 859dd3235..a15b9c866 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303268.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303268.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133303268, gadget_sum = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133303271.lua b/Resources/Scripts/Scene/3/scene3_group133303271.lua index df0d5ee8b..63d0611a3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303271.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303271.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133303271, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133303275.lua b/Resources/Scripts/Scene/3/scene3_group133303275.lua index f7775a0a0..6539adee5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303275.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303275.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 275005, monster_BossID = 275002, gadget_Point_1 = 275006, diff --git a/Resources/Scripts/Scene/3/scene3_group133303279.lua b/Resources/Scripts/Scene/3/scene3_group133303279.lua index 5ab7c0fc1..7237da4f7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303279.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303279.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 279005, monster_BossID = 279002, gadget_Point_1 = 279006, diff --git a/Resources/Scripts/Scene/3/scene3_group133303283.lua b/Resources/Scripts/Scene/3/scene3_group133303283.lua index 7cc4ac6c7..cc6a51c06 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303283.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303283.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 283005, monster_BossID = 283002, gadget_Point_1 = 283006, diff --git a/Resources/Scripts/Scene/3/scene3_group133303287.lua b/Resources/Scripts/Scene/3/scene3_group133303287.lua index 36adeebe6..7d15fa5fb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303287.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303287.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 287005, monster_BossID = 287002, gadget_Point_1 = 287006, diff --git a/Resources/Scripts/Scene/3/scene3_group133303291.lua b/Resources/Scripts/Scene/3/scene3_group133303291.lua index 021781c7d..9a6af335e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303291.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303291.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 291005, monster_BossID = 291002, gadget_Point_1 = 291006, diff --git a/Resources/Scripts/Scene/3/scene3_group133303295.lua b/Resources/Scripts/Scene/3/scene3_group133303295.lua index 67755ec5d..abe06288d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303295.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303295.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 295005, monster_BossID = 295002, gadget_Point_1 = 295006, diff --git a/Resources/Scripts/Scene/3/scene3_group133303299.lua b/Resources/Scripts/Scene/3/scene3_group133303299.lua index 96b83e497..00593b5ab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303299.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303299.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 299005, monster_BossID = 299002, gadget_Point_1 = 299006, diff --git a/Resources/Scripts/Scene/3/scene3_group133303303.lua b/Resources/Scripts/Scene/3/scene3_group133303303.lua index 604365f49..422cd95db 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303303.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303303.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 303005, monster_BossID = 303002, gadget_Point_1 = 303006, diff --git a/Resources/Scripts/Scene/3/scene3_group133303313.lua b/Resources/Scripts/Scene/3/scene3_group133303313.lua index 9fb683e8c..0439df2da 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303313.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303313.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_smoke1 = 313002, gadget_smoke2 = 313003, fquestid = 73112, @@ -12,7 +12,7 @@ defs = { } -- DEFS_MISCS -defs_miscs = +local defs_miscs = { -- 死域观测站透镜的config id lensConfigId = 313001, diff --git a/Resources/Scripts/Scene/3/scene3_group133303329.lua b/Resources/Scripts/Scene/3/scene3_group133303329.lua index e58b94854..706665ec9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303329.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303329.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330300023, gadget_seelie = 329002 diff --git a/Resources/Scripts/Scene/3/scene3_group133303340.lua b/Resources/Scripts/Scene/3/scene3_group133303340.lua index 6d47d4d43..fdaa9667c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303340.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303340.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133303340, collectable_sum = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133303347.lua b/Resources/Scripts/Scene/3/scene3_group133303347.lua index 2b6255ffe..a4e3ecebb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303347.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303347.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { enter_region = 347002, leave_region = 347003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303357.lua b/Resources/Scripts/Scene/3/scene3_group133303357.lua index eba74d71b..9b8f99738 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303357.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303357.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { finishquest = "7304932_fin", group_reward = 133303359, keyNum = 2, diff --git a/Resources/Scripts/Scene/3/scene3_group133303360.lua b/Resources/Scripts/Scene/3/scene3_group133303360.lua index 396b2c03d..75014d4df 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303360.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303360.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { finishquest = "7304933_fin", group_reward = 133303362, keyNum = 2, diff --git a/Resources/Scripts/Scene/3/scene3_group133303363.lua b/Resources/Scripts/Scene/3/scene3_group133303363.lua index 3b52e13c8..735f10009 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303363.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303363.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 363003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303364.lua b/Resources/Scripts/Scene/3/scene3_group133303364.lua index 2a82f5092..8824b7203 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303364.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303364.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 364002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303365.lua b/Resources/Scripts/Scene/3/scene3_group133303365.lua index 505894af2..ed6672c0c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303365.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303365.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 365003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303368.lua b/Resources/Scripts/Scene/3/scene3_group133303368.lua index c1f295b19..d6bc7b8de 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303368.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303368.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133303368, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133303372.lua b/Resources/Scripts/Scene/3/scene3_group133303372.lua index 2afa0234c..d16c34346 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303372.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303372.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 372009, gadget_lookEntity = 372001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133303373.lua b/Resources/Scripts/Scene/3/scene3_group133303373.lua index cd1281233..e25caad6d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303373.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303373.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 373009, gadget_lookEntity = 373001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133303393.lua b/Resources/Scripts/Scene/3/scene3_group133303393.lua index 2c49b1e72..c2898c364 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303393.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303393.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 393003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303405.lua b/Resources/Scripts/Scene/3/scene3_group133303405.lua index 8b1d59399..361e13cff 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303405.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303405.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 405003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303410.lua b/Resources/Scripts/Scene/3/scene3_group133303410.lua index de066f9e6..28b8a9c5f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303410.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303410.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330300028, gadget_seelie = 410002 diff --git a/Resources/Scripts/Scene/3/scene3_group133303413.lua b/Resources/Scripts/Scene/3/scene3_group133303413.lua index e592a03f3..78f9ad182 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303413.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303413.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 413003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303415.lua b/Resources/Scripts/Scene/3/scene3_group133303415.lua index 794d4d878..93784b420 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303415.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303415.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133303415, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133303419.lua b/Resources/Scripts/Scene/3/scene3_group133303419.lua index 059a0816c..a3311aafd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303419.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303419.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 419005, monster_BossID = 419002, gadget_Point_1 = 419006, diff --git a/Resources/Scripts/Scene/3/scene3_group133303421.lua b/Resources/Scripts/Scene/3/scene3_group133303421.lua index f2f8b142d..c9fb5b5e5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303421.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303421.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 421003, true_array = {421006,421002} } diff --git a/Resources/Scripts/Scene/3/scene3_group133303427.lua b/Resources/Scripts/Scene/3/scene3_group133303427.lua index 1788af1df..e18d6703c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303427.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303427.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 427003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303429.lua b/Resources/Scripts/Scene/3/scene3_group133303429.lua index 78bb4e533..30ed3d833 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303429.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303429.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 429003, true_array = {429001,429002} } diff --git a/Resources/Scripts/Scene/3/scene3_group133303432.lua b/Resources/Scripts/Scene/3/scene3_group133303432.lua index b3a6243f9..711e422ce 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303432.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303432.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 432003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303445.lua b/Resources/Scripts/Scene/3/scene3_group133303445.lua index 9c0b41b09..d207fb154 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303445.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303445.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 445003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303447.lua b/Resources/Scripts/Scene/3/scene3_group133303447.lua index eb32c44c9..89fe079dc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303447.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303447.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 447003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303452.lua b/Resources/Scripts/Scene/3/scene3_group133303452.lua index 58ca314c0..5bd70f7b0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303452.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303452.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 452003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303453.lua b/Resources/Scripts/Scene/3/scene3_group133303453.lua index 4b261f4f3..7fd6a6696 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303453.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303453.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133303453, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133303461.lua b/Resources/Scripts/Scene/3/scene3_group133303461.lua index a0c223d04..6f60fe5df 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303461.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303461.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330300034, gadget_seelie = 461002 diff --git a/Resources/Scripts/Scene/3/scene3_group133303467.lua b/Resources/Scripts/Scene/3/scene3_group133303467.lua index c55d8453f..8341e6dc9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303467.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303467.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 467003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303474.lua b/Resources/Scripts/Scene/3/scene3_group133303474.lua index ae4bdddb5..4638dca85 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303474.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303474.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, group_id = 133303474, collectable_sum = 13 diff --git a/Resources/Scripts/Scene/3/scene3_group133303475.lua b/Resources/Scripts/Scene/3/scene3_group133303475.lua index ea95fcfa7..89351b981 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303475.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303475.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 475004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303484.lua b/Resources/Scripts/Scene/3/scene3_group133303484.lua index 7d545507b..1fd3989e6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303484.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303484.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133303484, gadget_thunderThelfID = 484002, pointarray_ID = 330300003, diff --git a/Resources/Scripts/Scene/3/scene3_group133303485.lua b/Resources/Scripts/Scene/3/scene3_group133303485.lua index 229bb7993..3df216c22 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303485.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303485.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 485003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303486.lua b/Resources/Scripts/Scene/3/scene3_group133303486.lua index 7ccd0ddfe..53b31b8fc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303486.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303486.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {486002,486003,486004}, diff --git a/Resources/Scripts/Scene/3/scene3_group133303487.lua b/Resources/Scripts/Scene/3/scene3_group133303487.lua index 3df0ba3f3..9ccb28983 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303487.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303487.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 487003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303488.lua b/Resources/Scripts/Scene/3/scene3_group133303488.lua index 16fa6ea8a..b29ebf663 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303488.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303488.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 488003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303490.lua b/Resources/Scripts/Scene/3/scene3_group133303490.lua index b6b3d3321..4940b00ed 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303490.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303490.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { enter_region = 490012, leave_region = 490013, FindClue = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133303494.lua b/Resources/Scripts/Scene/3/scene3_group133303494.lua index 98d8ea755..5eb633dd8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303494.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303494.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 494003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303495.lua b/Resources/Scripts/Scene/3/scene3_group133303495.lua index 8d0ea59b2..461f21e84 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303495.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303495.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 495003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303497.lua b/Resources/Scripts/Scene/3/scene3_group133303497.lua index 077f179d9..2a40660ee 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303497.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303497.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 330300036, gadget_seelie = 497002 diff --git a/Resources/Scripts/Scene/3/scene3_group133303498.lua b/Resources/Scripts/Scene/3/scene3_group133303498.lua index cbef26488..af5a43249 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303498.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303498.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 498003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303501.lua b/Resources/Scripts/Scene/3/scene3_group133303501.lua index 79697482f..9fa978f1e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303501.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303501.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 501003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303502.lua b/Resources/Scripts/Scene/3/scene3_group133303502.lua index d95954686..d99f95631 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303502.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303502.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 502003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303529.lua b/Resources/Scripts/Scene/3/scene3_group133303529.lua index 1a558377c..c8a1169a0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303529.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303529.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 330300040, gadget_seelie = 529002 diff --git a/Resources/Scripts/Scene/3/scene3_group133303531.lua b/Resources/Scripts/Scene/3/scene3_group133303531.lua index f0d907029..be815f717 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303531.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303531.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330300042, gadget_seelie = 531002 diff --git a/Resources/Scripts/Scene/3/scene3_group133303549.lua b/Resources/Scripts/Scene/3/scene3_group133303549.lua index 2d14fa7ce..0c611db71 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303549.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303549.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {549002,549003,549004,549015}, diff --git a/Resources/Scripts/Scene/3/scene3_group133303551.lua b/Resources/Scripts/Scene/3/scene3_group133303551.lua index 39f8a1a9e..5a8ab1010 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303551.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303551.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {551002,551003,551004}, diff --git a/Resources/Scripts/Scene/3/scene3_group133303556.lua b/Resources/Scripts/Scene/3/scene3_group133303556.lua index 07ba49205..d9e5d5114 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303556.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303556.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {556002,556003,556004}, diff --git a/Resources/Scripts/Scene/3/scene3_group133303566.lua b/Resources/Scripts/Scene/3/scene3_group133303566.lua index 8501e64cb..7d3c69eb7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303566.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303566.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330300068, gadget_seelie = 566002 diff --git a/Resources/Scripts/Scene/3/scene3_group133303571.lua b/Resources/Scripts/Scene/3/scene3_group133303571.lua index 47cb7150a..72abda5fb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303571.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303571.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 2, group_id = 133303571, diff --git a/Resources/Scripts/Scene/3/scene3_group133303582.lua b/Resources/Scripts/Scene/3/scene3_group133303582.lua index c553516cf..97025c9ee 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303582.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303582.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, group_id = 133303582, collectable_sum = 7 diff --git a/Resources/Scripts/Scene/3/scene3_group133303583.lua b/Resources/Scripts/Scene/3/scene3_group133303583.lua index 0d1f62e62..efd9d9497 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303583.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303583.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 583003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303591.lua b/Resources/Scripts/Scene/3/scene3_group133303591.lua index febde1fbb..c05588dc5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303591.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303591.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133303591 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303592.lua b/Resources/Scripts/Scene/3/scene3_group133303592.lua index 3672f42e9..9eeef3cd7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303592.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303592.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133303592 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303595.lua b/Resources/Scripts/Scene/3/scene3_group133303595.lua index de0e985bc..49cc43242 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303595.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303595.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 595003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303596.lua b/Resources/Scripts/Scene/3/scene3_group133303596.lua index 6d590bbf6..ba9b2daf5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303596.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303596.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 596003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303597.lua b/Resources/Scripts/Scene/3/scene3_group133303597.lua index 2c56ab616..f8e7fade9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303597.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303597.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 597003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303599.lua b/Resources/Scripts/Scene/3/scene3_group133303599.lua index 64647cc73..a50144f9c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303599.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303599.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_iris = 599001, gadget_block = 599002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303600.lua b/Resources/Scripts/Scene/3/scene3_group133303600.lua index b1024890d..0e3fa4584 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303600.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303600.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133303600, gadget_sum = 15 diff --git a/Resources/Scripts/Scene/3/scene3_group133303603.lua b/Resources/Scripts/Scene/3/scene3_group133303603.lua index 2b82d8b96..d759f4d7b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303603.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303603.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_iris = 603001, gadget_block = 603002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303604.lua b/Resources/Scripts/Scene/3/scene3_group133303604.lua index 9bf1173fe..917dafda8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303604.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303604.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_iris = 604001, gadget_block = 604002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303605.lua b/Resources/Scripts/Scene/3/scene3_group133303605.lua index 46342bfea..b3a84a87b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303605.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303605.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_iris = 605001, gadget_block = 605002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303606.lua b/Resources/Scripts/Scene/3/scene3_group133303606.lua index 739c2bdf3..20e208240 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303606.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303606.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_iris = 606001, gadget_block = 606002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303610.lua b/Resources/Scripts/Scene/3/scene3_group133303610.lua index ca9aba8b5..2bd6edc5c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303610.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303610.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_iris = 610001, gadget_block = 610002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303611.lua b/Resources/Scripts/Scene/3/scene3_group133303611.lua index 321d549fd..08c3228ff 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303611.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303611.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_iris = 611001, gadget_block = 611002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303626.lua b/Resources/Scripts/Scene/3/scene3_group133303626.lua index df7874821..17c978239 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303626.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303626.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 626002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303629.lua b/Resources/Scripts/Scene/3/scene3_group133303629.lua index f27b95f92..17ac7ba1e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303629.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303629.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 629002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303630.lua b/Resources/Scripts/Scene/3/scene3_group133303630.lua index d68df9661..d5566dd26 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303630.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303630.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 630002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303631.lua b/Resources/Scripts/Scene/3/scene3_group133303631.lua index ce131bf4e..8ba9fe1a9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303631.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303631.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 631002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303632.lua b/Resources/Scripts/Scene/3/scene3_group133303632.lua index aa6cb334f..63e3b551b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303632.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303632.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 632002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303633.lua b/Resources/Scripts/Scene/3/scene3_group133303633.lua index a2b432730..afd64cf04 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303633.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303633.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 633002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303634.lua b/Resources/Scripts/Scene/3/scene3_group133303634.lua index 6c794a181..441998791 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303634.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303634.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 634002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133303635.lua b/Resources/Scripts/Scene/3/scene3_group133303635.lua index 8cd955a82..cb1163923 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303635.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303635.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_region = 635004, gallery_id = 28026, exit_region = 635010 diff --git a/Resources/Scripts/Scene/3/scene3_group133303637.lua b/Resources/Scripts/Scene/3/scene3_group133303637.lua index c3434b0d1..f7cb39374 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303637.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303637.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 637001, pointarray_id = 330300005, minPoint = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133303644.lua b/Resources/Scripts/Scene/3/scene3_group133303644.lua index 4832a14fa..7f2e4a773 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303644.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303644.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 644001, gallery_id = 29012, region_id = 644005, diff --git a/Resources/Scripts/Scene/3/scene3_group133303665.lua b/Resources/Scripts/Scene/3/scene3_group133303665.lua index 51c21a896..7b702a72f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133303665.lua +++ b/Resources/Scripts/Scene/3/scene3_group133303665.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { hintTime = 30, coinTime = 20, maxRegion = 665056, @@ -14,7 +14,7 @@ defs = { } -- DEFS_MISCS -defs_miscs = { +local defs_miscs = { specialCoinTable = { -- 每项格式如下 [665018] = {665030,665031,665032,665033,665034,665035,665036,665028,665029,665006,665007,665008,665009,665010,665011}, diff --git a/Resources/Scripts/Scene/3/scene3_group133304001.lua b/Resources/Scripts/Scene/3/scene3_group133304001.lua index 7b559f9a5..f15c36387 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304001.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { finishquest = "7304934_fin", group_reward = 133304100, keyNum = 2, diff --git a/Resources/Scripts/Scene/3/scene3_group133304005.lua b/Resources/Scripts/Scene/3/scene3_group133304005.lua index 005955c3e..2950467ed 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304005.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 5007, operator_2 = 5008, chest = 5009 diff --git a/Resources/Scripts/Scene/3/scene3_group133304006.lua b/Resources/Scripts/Scene/3/scene3_group133304006.lua index 06d948738..627dc52f0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304006.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 6007, operator_2 = 6008, chest = 6009 diff --git a/Resources/Scripts/Scene/3/scene3_group133304007.lua b/Resources/Scripts/Scene/3/scene3_group133304007.lua index 1da8803e3..82d1fb97f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304007.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 7007, operator_2 = 7008, chest = 7009 diff --git a/Resources/Scripts/Scene/3/scene3_group133304008.lua b/Resources/Scripts/Scene/3/scene3_group133304008.lua index c8bbc9ff9..ebaf109de 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304008.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 8007, operator_2 = 8008, chest = 8009 diff --git a/Resources/Scripts/Scene/3/scene3_group133304009.lua b/Resources/Scripts/Scene/3/scene3_group133304009.lua index 30e4a06bb..a35993bfa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304009.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 9007, operator_2 = 9008, chest = 9009 diff --git a/Resources/Scripts/Scene/3/scene3_group133304011.lua b/Resources/Scripts/Scene/3/scene3_group133304011.lua index 11250ccca..5bfc369d0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304011.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304011.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { gadget_ELCid = 11001, gadget_GearCid01 = 11003, gadget_GearCid02 = 11005, diff --git a/Resources/Scripts/Scene/3/scene3_group133304025.lua b/Resources/Scripts/Scene/3/scene3_group133304025.lua index d875f2e27..caa0bb947 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304025.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304025.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 25010, gadget_lookEntity = 25011, look_duration = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133304026.lua b/Resources/Scripts/Scene/3/scene3_group133304026.lua index 23bc8c791..79bd750d1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304026.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304026.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 26008, gadget_lookEntity = 26009, look_duration = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133304027.lua b/Resources/Scripts/Scene/3/scene3_group133304027.lua index d4d2cece4..229f3407c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304027.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304027.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {27002,27003,27004}, diff --git a/Resources/Scripts/Scene/3/scene3_group133304031.lua b/Resources/Scripts/Scene/3/scene3_group133304031.lua index e7ddace90..f34c3342f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304031.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304031.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { maxPlayerEnergyLev = 3, titanRegion = 31011, @@ -15,8 +15,7 @@ defs = { [31001] = {cell = 31001, lines = {31006, 31010, 31019}, nodes = {31007}}, [31002] = {cell = 31002, lines = {31005, 31008, 31017}, nodes = {31007}}, [31003] = {cell = 31003, lines = {31008, 31009, 31018}, nodes = {}} - } -, + } , -- 指定初始激活的电池id,未指定则默认初始未激活 activeCells = {}, diff --git a/Resources/Scripts/Scene/3/scene3_group133304032.lua b/Resources/Scripts/Scene/3/scene3_group133304032.lua index a4904b654..f8d5bab92 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304032.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304032.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { maxPlayerEnergyLev = 4, titanRegion = 32001, @@ -16,8 +16,7 @@ defs = { [32004] = {cell = 32004, lines = {}, nodes = {}}, [32005] = {cell = 32005, lines = {}, nodes = {}}, [32006] = {cell = 32006, lines = {32008, 32034, 32032, 32033}, nodes = {32010,32035}} - } -, + } , -- 指定初始激活的电池id,未指定则默认初始未激活 activeCells = {32004, 32005}, diff --git a/Resources/Scripts/Scene/3/scene3_group133304033.lua b/Resources/Scripts/Scene/3/scene3_group133304033.lua index 145172499..0c435fd52 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304033.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304033.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { maxPlayerEnergyLev = 3, titanRegion = 33001, @@ -17,8 +17,7 @@ defs = { }, -- 指定初始激活的电池id,未指定则默认初始未激活 - activeCells = {33004} -, + activeCells = {33004} , -- 指定探索机关,这些机关在任何时候都根据自身能量块做出反应,电池全亮不会改变它们的状态 optionalMachines = {} diff --git a/Resources/Scripts/Scene/3/scene3_group133304035.lua b/Resources/Scripts/Scene/3/scene3_group133304035.lua index 6f4622306..7e53becf7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304035.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304035.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 35010, gadget_lookEntity = 35006, look_duration = 5 diff --git a/Resources/Scripts/Scene/3/scene3_group133304036.lua b/Resources/Scripts/Scene/3/scene3_group133304036.lua index 7e079c845..887d9d0af 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304036.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304036.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 36010, gadget_lookEntity = 36006, look_duration = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133304037.lua b/Resources/Scripts/Scene/3/scene3_group133304037.lua index 23e850949..687fc2276 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304037.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304037.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 37010, gadget_lookEntity = 37006, look_duration = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133304047.lua b/Resources/Scripts/Scene/3/scene3_group133304047.lua index 84c7a7121..3b2a1643c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304047.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304047.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 100, group_id = 133304047 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304048.lua b/Resources/Scripts/Scene/3/scene3_group133304048.lua index 5ec687b7d..080bae31b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304048.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304048.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {48001,48002}, diff --git a/Resources/Scripts/Scene/3/scene3_group133304049.lua b/Resources/Scripts/Scene/3/scene3_group133304049.lua index 805775687..593b28953 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304049.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304049.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 49003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304050.lua b/Resources/Scripts/Scene/3/scene3_group133304050.lua index f474d38db..be8906f4d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304050.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304050.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {50002,50003,50004}, diff --git a/Resources/Scripts/Scene/3/scene3_group133304052.lua b/Resources/Scripts/Scene/3/scene3_group133304052.lua index 5a9bd24ed..d6cea4046 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304052.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304052.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {52001,52002,52003,52004}, diff --git a/Resources/Scripts/Scene/3/scene3_group133304053.lua b/Resources/Scripts/Scene/3/scene3_group133304053.lua index 239a3a167..32a79da9d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304053.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304053.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { challenge_id = 2010057, diff --git a/Resources/Scripts/Scene/3/scene3_group133304059.lua b/Resources/Scripts/Scene/3/scene3_group133304059.lua index a4b1a37b0..f6c4f9275 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304059.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304059.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 59003, true_array = {59001,59002} } diff --git a/Resources/Scripts/Scene/3/scene3_group133304070.lua b/Resources/Scripts/Scene/3/scene3_group133304070.lua index 445085cbd..9e1e3946c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304070.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304070.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_iris = 70001, gadget_block = 70002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304071.lua b/Resources/Scripts/Scene/3/scene3_group133304071.lua index 8ec1daca1..05b68bb9e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304071.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304071.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 71003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304096.lua b/Resources/Scripts/Scene/3/scene3_group133304096.lua index 39ca40e72..9e67de2c8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304096.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304096.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133304096 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304097.lua b/Resources/Scripts/Scene/3/scene3_group133304097.lua index fdc141d12..6cb3733d6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304097.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304097.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133304097 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304101.lua b/Resources/Scripts/Scene/3/scene3_group133304101.lua index c48c4fc4b..c19bbf878 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304101.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304101.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {101001,101002,101003,101004}, diff --git a/Resources/Scripts/Scene/3/scene3_group133304103.lua b/Resources/Scripts/Scene/3/scene3_group133304103.lua index bf057ac1c..e220ae1e2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304103.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304103.lua @@ -4,12 +4,12 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { lensRegion = 103009 } -- DEFS_MISCS -defs_miscs = +local defs_miscs = { -- 死域观测站透镜的config id lensConfigId = 103001, diff --git a/Resources/Scripts/Scene/3/scene3_group133304104.lua b/Resources/Scripts/Scene/3/scene3_group133304104.lua index 7e1530af1..bbcd180eb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304104.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304104.lua @@ -4,12 +4,12 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { lensRegion = 104007 } -- DEFS_MISCS -defs_miscs = +local defs_miscs = { -- 死域观测站透镜的config id lensConfigId = 104001, diff --git a/Resources/Scripts/Scene/3/scene3_group133304113.lua b/Resources/Scripts/Scene/3/scene3_group133304113.lua index a4805f35f..9a269809f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304113.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304113.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133304113, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133304150.lua b/Resources/Scripts/Scene/3/scene3_group133304150.lua index d121111ef..27380d3c0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304150.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304150.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 6, group_id = 133304150, diff --git a/Resources/Scripts/Scene/3/scene3_group133304155.lua b/Resources/Scripts/Scene/3/scene3_group133304155.lua index e9a66f32a..4c201c022 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304155.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304155.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 6, group_id = 133304155, diff --git a/Resources/Scripts/Scene/3/scene3_group133304156.lua b/Resources/Scripts/Scene/3/scene3_group133304156.lua index a57886ca9..cd8ed19cc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304156.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304156.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, kill_sum = 2, group_id = 133304156, diff --git a/Resources/Scripts/Scene/3/scene3_group133304165.lua b/Resources/Scripts/Scene/3/scene3_group133304165.lua index d89633855..17667c073 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304165.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304165.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 165001, pointarray_id = 330400002, minPoint = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133304187.lua b/Resources/Scripts/Scene/3/scene3_group133304187.lua index aafb0aa55..9ec1f19c9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304187.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304187.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 7, route_2 = 330400015, gadget_seelie = 187002 diff --git a/Resources/Scripts/Scene/3/scene3_group133304197.lua b/Resources/Scripts/Scene/3/scene3_group133304197.lua index f5e9b8729..c938e94bd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304197.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304197.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { door = 197005, galleryId = 19104, maxPickupTime = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133304198.lua b/Resources/Scripts/Scene/3/scene3_group133304198.lua index 34f3dfe38..ca0ba9990 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304198.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304198.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { door = 198005, galleryId = 19105, maxPickupTime = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133304199.lua b/Resources/Scripts/Scene/3/scene3_group133304199.lua index ea231d65b..09bd60fec 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304199.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304199.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { door = 199005, galleryId = 19106, maxPickupTime = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133304200.lua b/Resources/Scripts/Scene/3/scene3_group133304200.lua index acf8444de..411ae035e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304200.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304200.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 200005, monster_BossID = 200002, gadget_Point_1 = 200006, diff --git a/Resources/Scripts/Scene/3/scene3_group133304206.lua b/Resources/Scripts/Scene/3/scene3_group133304206.lua index 669708ada..1b5f69045 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304206.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304206.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 206005, monster_BossID = 206002, gadget_Point_1 = 206006, diff --git a/Resources/Scripts/Scene/3/scene3_group133304210.lua b/Resources/Scripts/Scene/3/scene3_group133304210.lua index a8bd5d077..7410109da 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304210.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304210.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 210005, monster_BossID = 210002, gadget_Point_1 = 210006, diff --git a/Resources/Scripts/Scene/3/scene3_group133304214.lua b/Resources/Scripts/Scene/3/scene3_group133304214.lua index c170e75ca..c46796bee 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304214.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304214.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 214005, monster_BossID = 214002, gadget_Point_1 = 214006, diff --git a/Resources/Scripts/Scene/3/scene3_group133304218.lua b/Resources/Scripts/Scene/3/scene3_group133304218.lua index 0cd485440..8ed40664b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304218.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304218.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { fquestid = 73051 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304222.lua b/Resources/Scripts/Scene/3/scene3_group133304222.lua index 6c1a1cc1b..19a3f6de4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304222.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304222.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 222005, monster_BossID = 222002, gadget_Point_1 = 222006, diff --git a/Resources/Scripts/Scene/3/scene3_group133304226.lua b/Resources/Scripts/Scene/3/scene3_group133304226.lua index 317d400cd..140c95a42 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304226.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304226.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 226005, monster_BossID = 226002, gadget_Point_1 = 226006, diff --git a/Resources/Scripts/Scene/3/scene3_group133304231.lua b/Resources/Scripts/Scene/3/scene3_group133304231.lua index b1cd6d561..20eb0ddc1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304231.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304231.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { challenge_id = 2010057, diff --git a/Resources/Scripts/Scene/3/scene3_group133304243.lua b/Resources/Scripts/Scene/3/scene3_group133304243.lua index b3b9a9f25..8a106f2e5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304243.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304243.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 243003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304253.lua b/Resources/Scripts/Scene/3/scene3_group133304253.lua index 0a88beb26..67b1e690b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304253.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304253.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 253003, outer_region = 253003, related_region = 253003, diff --git a/Resources/Scripts/Scene/3/scene3_group133304254.lua b/Resources/Scripts/Scene/3/scene3_group133304254.lua index 6e04c006f..401b17e68 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304254.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304254.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 254003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304257.lua b/Resources/Scripts/Scene/3/scene3_group133304257.lua index e18b401bd..cab40d3b1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304257.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304257.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 257003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304287.lua b/Resources/Scripts/Scene/3/scene3_group133304287.lua index 86d952fed..838ff8a1d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304287.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304287.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330400028, gadget_seelie = 287002 diff --git a/Resources/Scripts/Scene/3/scene3_group133304290.lua b/Resources/Scripts/Scene/3/scene3_group133304290.lua index c11f00359..2ddb32724 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304290.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304290.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 290003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304300.lua b/Resources/Scripts/Scene/3/scene3_group133304300.lua index 25c11ac7c..c44cd15c9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304300.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304300.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 300003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304301.lua b/Resources/Scripts/Scene/3/scene3_group133304301.lua index ad0ef3c5e..3fd58c1ef 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304301.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304301.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 301003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304306.lua b/Resources/Scripts/Scene/3/scene3_group133304306.lua index 44b1135f9..a588814cc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304306.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304306.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { finishquest = "7304935_fin", group_reward = 133304308, keyNum = 2, diff --git a/Resources/Scripts/Scene/3/scene3_group133304313.lua b/Resources/Scripts/Scene/3/scene3_group133304313.lua index bccf274b1..d11aa59aa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304313.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304313.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 313003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304316.lua b/Resources/Scripts/Scene/3/scene3_group133304316.lua index ddcf3424d..cc67cb812 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304316.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304316.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {316001, 316002, 316003, 316004}, diff --git a/Resources/Scripts/Scene/3/scene3_group133304320.lua b/Resources/Scripts/Scene/3/scene3_group133304320.lua index bc7880eaf..98a257bfc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304320.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304320.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 320003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304321.lua b/Resources/Scripts/Scene/3/scene3_group133304321.lua index d116546dc..df4d9a74c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304321.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304321.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 321003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304331.lua b/Resources/Scripts/Scene/3/scene3_group133304331.lua index ffd6cac4b..dedb2ec27 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304331.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304331.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 331004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304349.lua b/Resources/Scripts/Scene/3/scene3_group133304349.lua index aff766143..37a911bcb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304349.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304349.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_temple = 349001, gadget_chest = 349002, group_ID = 133304349 diff --git a/Resources/Scripts/Scene/3/scene3_group133304354.lua b/Resources/Scripts/Scene/3/scene3_group133304354.lua index 589434238..4ef291682 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304354.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304354.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 354005, monster_BossID = 354002, gadget_Point_1 = 354006, diff --git a/Resources/Scripts/Scene/3/scene3_group133304358.lua b/Resources/Scripts/Scene/3/scene3_group133304358.lua index 280341b7d..fcf697902 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304358.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304358.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 358004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304371.lua b/Resources/Scripts/Scene/3/scene3_group133304371.lua index a6fcd1694..f8f9f4f12 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304371.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304371.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {371001,371002,371003}, diff --git a/Resources/Scripts/Scene/3/scene3_group133304374.lua b/Resources/Scripts/Scene/3/scene3_group133304374.lua index f8804a584..2a9399015 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304374.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304374.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 374005, gadget_lookEntity = 374001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133304376.lua b/Resources/Scripts/Scene/3/scene3_group133304376.lua index 754ce2690..a5eb59df7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304376.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304376.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 376006, gadget_lookEntity = 376001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133304378.lua b/Resources/Scripts/Scene/3/scene3_group133304378.lua index b204ad200..12370854a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304378.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304378.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 378040, gadget_lookEntity = 378004, look_duration = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133304384.lua b/Resources/Scripts/Scene/3/scene3_group133304384.lua index 81613d325..3bdc17514 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304384.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304384.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 384003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304387.lua b/Resources/Scripts/Scene/3/scene3_group133304387.lua index 37df45e16..fec02e8ff 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304387.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304387.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 330400040, gadget_seelie = 387002 diff --git a/Resources/Scripts/Scene/3/scene3_group133304388.lua b/Resources/Scripts/Scene/3/scene3_group133304388.lua index 2d02e8478..82c1dce73 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304388.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304388.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330400042, gadget_seelie = 388002 diff --git a/Resources/Scripts/Scene/3/scene3_group133304396.lua b/Resources/Scripts/Scene/3/scene3_group133304396.lua index 1eb9ea926..462cbb0cf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304396.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304396.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330400068, gadget_seelie = 396002 diff --git a/Resources/Scripts/Scene/3/scene3_group133304397.lua b/Resources/Scripts/Scene/3/scene3_group133304397.lua index 78475bee7..4e104eb4d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304397.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304397.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 397009, gadget_lookEntity = 397001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133304398.lua b/Resources/Scripts/Scene/3/scene3_group133304398.lua index c93c366b2..6973ab922 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304398.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304398.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, group_id = 133304398, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133304405.lua b/Resources/Scripts/Scene/3/scene3_group133304405.lua index 8f95e3829..0b240f20d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304405.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304405.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133304405 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304406.lua b/Resources/Scripts/Scene/3/scene3_group133304406.lua index 3b88d4b55..03559bd98 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304406.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304406.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133304406 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304408.lua b/Resources/Scripts/Scene/3/scene3_group133304408.lua index f841978c3..ba7e9cace 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304408.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304408.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 3, group_id = 133304408, diff --git a/Resources/Scripts/Scene/3/scene3_group133304412.lua b/Resources/Scripts/Scene/3/scene3_group133304412.lua index 361264beb..fd6df7a1a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304412.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304412.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133304412 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304415.lua b/Resources/Scripts/Scene/3/scene3_group133304415.lua index 2f14f2390..dee0c8071 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304415.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304415.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { guide_regionID = 415016 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304426.lua b/Resources/Scripts/Scene/3/scene3_group133304426.lua index c305a0738..bb49700da 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304426.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304426.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 7, route_2 = 330400064, gadget_seelie = 426002 diff --git a/Resources/Scripts/Scene/3/scene3_group133304430.lua b/Resources/Scripts/Scene/3/scene3_group133304430.lua index 80ff0d4e3..28a3f0421 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304430.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304430.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330400066, gadget_seelie = 430002 diff --git a/Resources/Scripts/Scene/3/scene3_group133304431.lua b/Resources/Scripts/Scene/3/scene3_group133304431.lua index e4a54c3a9..8c018fe77 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304431.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304431.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133304431, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133304437.lua b/Resources/Scripts/Scene/3/scene3_group133304437.lua index 0916dc864..0dadbab40 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304437.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304437.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 437003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304447.lua b/Resources/Scripts/Scene/3/scene3_group133304447.lua index 68843e6c0..1bbf0d823 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304447.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304447.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { enter_region = 447005, leave_region = 447006, FindClue = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133304450.lua b/Resources/Scripts/Scene/3/scene3_group133304450.lua index 3d4c1579f..164d59c44 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304450.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304450.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { regionId = 450008, targetScore = 6, maxTime = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133304451.lua b/Resources/Scripts/Scene/3/scene3_group133304451.lua index de1d58c67..4dd5ba7e0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304451.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304451.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { maxRegion = 451011, maxJumpTimes = 5, diff --git a/Resources/Scripts/Scene/3/scene3_group133304453.lua b/Resources/Scripts/Scene/3/scene3_group133304453.lua index b4d6b41a3..13fb88150 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304453.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304453.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330400070, gadget_seelie = 453002 diff --git a/Resources/Scripts/Scene/3/scene3_group133304464.lua b/Resources/Scripts/Scene/3/scene3_group133304464.lua index 4d5716a68..f95435ccc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304464.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304464.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 25, group_id = 133304464 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304497.lua b/Resources/Scripts/Scene/3/scene3_group133304497.lua index b95f32da3..f4a089ce5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304497.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304497.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 497003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304500.lua b/Resources/Scripts/Scene/3/scene3_group133304500.lua index adf708d1c..c4739c748 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304500.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304500.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 500003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304502.lua b/Resources/Scripts/Scene/3/scene3_group133304502.lua index 149b937dc..6ae341eab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304502.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304502.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 502003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304503.lua b/Resources/Scripts/Scene/3/scene3_group133304503.lua index 8d12d28f7..50318d5f1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304503.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304503.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 503003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304506.lua b/Resources/Scripts/Scene/3/scene3_group133304506.lua index 7b752bc71..b18c77285 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304506.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304506.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_region = 506001, gallery_id = 28023, exit_region = 506005 diff --git a/Resources/Scripts/Scene/3/scene3_group133304508.lua b/Resources/Scripts/Scene/3/scene3_group133304508.lua index e3bb741fb..ecdc5d91d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304508.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304508.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133304508, collectable_sum = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133304512.lua b/Resources/Scripts/Scene/3/scene3_group133304512.lua index 5c34e88b4..7530cc0bd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304512.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304512.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 512003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304515.lua b/Resources/Scripts/Scene/3/scene3_group133304515.lua index 1e11f5d81..9ad870117 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304515.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304515.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 515003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304520.lua b/Resources/Scripts/Scene/3/scene3_group133304520.lua index 6a7910839..7f80027d7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304520.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304520.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 520003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304537.lua b/Resources/Scripts/Scene/3/scene3_group133304537.lua index a7f192e9c..1743659fd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304537.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304537.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 537003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304538.lua b/Resources/Scripts/Scene/3/scene3_group133304538.lua index 36ffe12d8..91321d2ab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304538.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304538.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 538003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133304564.lua b/Resources/Scripts/Scene/3/scene3_group133304564.lua index 471c70104..d942c2473 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304564.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304564.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 564001, gallery_id = 29003, region_id = 564005, diff --git a/Resources/Scripts/Scene/3/scene3_group133304578.lua b/Resources/Scripts/Scene/3/scene3_group133304578.lua index bd51fc48f..0ad022ce4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304578.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304578.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_prison = 578001, duration = 210, rampage_time = 40, diff --git a/Resources/Scripts/Scene/3/scene3_group133304581.lua b/Resources/Scripts/Scene/3/scene3_group133304581.lua index 77ce5889b..bc6484615 100644 --- a/Resources/Scripts/Scene/3/scene3_group133304581.lua +++ b/Resources/Scripts/Scene/3/scene3_group133304581.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { hintTime = 30, coinTime = 20, maxRegion = 581020, @@ -14,7 +14,7 @@ defs = { } -- DEFS_MISCS -defs_miscs = { +local defs_miscs = { specialCoinTable = { -- 每项格式如下 [581023] = {581012,581013,581014,581015,581016,581017,581021,581022,581024,581025}, diff --git a/Resources/Scripts/Scene/3/scene3_group133305003.lua b/Resources/Scripts/Scene/3/scene3_group133305003.lua index 2e12b9049..589b05c96 100644 --- a/Resources/Scripts/Scene/3/scene3_group133305003.lua +++ b/Resources/Scripts/Scene/3/scene3_group133305003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 3003, monster_BossID = 3001, gadget_Point_1 = 3004, diff --git a/Resources/Scripts/Scene/3/scene3_group133305051.lua b/Resources/Scripts/Scene/3/scene3_group133305051.lua index 547c68d4c..e27dd7ef6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133305051.lua +++ b/Resources/Scripts/Scene/3/scene3_group133305051.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 51003, outer_region = 51003, related_region = 51003, diff --git a/Resources/Scripts/Scene/3/scene3_group133307008.lua b/Resources/Scripts/Scene/3/scene3_group133307008.lua index 7aa7f865e..95ac4ebf7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307008.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133307008, pointarray_id = 330700003, gadget_ele = 8001, diff --git a/Resources/Scripts/Scene/3/scene3_group133307030.lua b/Resources/Scripts/Scene/3/scene3_group133307030.lua index 874d97308..b293f9842 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307030.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307030.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { flowerGadgetID = 30001, ActivateQuest1_Event = 7322302, ActivateQuest2_Event = 7322402 diff --git a/Resources/Scripts/Scene/3/scene3_group133307035.lua b/Resources/Scripts/Scene/3/scene3_group133307035.lua index 1ede952f4..60f1f7f1f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307035.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307035.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 35007, operator_2 = 35008, chest = 35009 diff --git a/Resources/Scripts/Scene/3/scene3_group133307040.lua b/Resources/Scripts/Scene/3/scene3_group133307040.lua index 310d47165..f149fe324 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307040.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307040.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330700003, gadget_seelie = 40002 diff --git a/Resources/Scripts/Scene/3/scene3_group133307041.lua b/Resources/Scripts/Scene/3/scene3_group133307041.lua index 3ee846717..ecbf21aa5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307041.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307041.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133307041 } diff --git a/Resources/Scripts/Scene/3/scene3_group133307043.lua b/Resources/Scripts/Scene/3/scene3_group133307043.lua index 70de6c2da..3c03579c4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307043.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307043.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 43007, operator_2 = 43008, chest = 43009 diff --git a/Resources/Scripts/Scene/3/scene3_group133307044.lua b/Resources/Scripts/Scene/3/scene3_group133307044.lua index 9a227ece6..ca6b48a6b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307044.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307044.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 44007, operator_2 = 44008, chest = 44009 diff --git a/Resources/Scripts/Scene/3/scene3_group133307045.lua b/Resources/Scripts/Scene/3/scene3_group133307045.lua index 622cea284..2d77b3e92 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307045.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307045.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 45007, operator_2 = 45008, chest = 45009 diff --git a/Resources/Scripts/Scene/3/scene3_group133307047.lua b/Resources/Scripts/Scene/3/scene3_group133307047.lua index a1ea9f2dc..0a204027e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307047.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307047.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 47007, operator_2 = 47008, chest = 47009 diff --git a/Resources/Scripts/Scene/3/scene3_group133307049.lua b/Resources/Scripts/Scene/3/scene3_group133307049.lua index 4e17ed6e6..761cf1d35 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307049.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307049.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 25, route_2 = 330700039, gadget_seelie = 49002 diff --git a/Resources/Scripts/Scene/3/scene3_group133307071.lua b/Resources/Scripts/Scene/3/scene3_group133307071.lua index 06bb588dd..8b39a4ecf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307071.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307071.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 71002, gadget_fireBase1 = 71001, diff --git a/Resources/Scripts/Scene/3/scene3_group133307073.lua b/Resources/Scripts/Scene/3/scene3_group133307073.lua index e3b89df96..7a261b6e4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307073.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307073.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133307073, gadget_riddle_hint = 73001, gadget_riddle_1 = 73002, diff --git a/Resources/Scripts/Scene/3/scene3_group133307090.lua b/Resources/Scripts/Scene/3/scene3_group133307090.lua index fe35b8e62..7ac42f1dc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307090.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307090.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {90001,90002,90003,90004,90005}, diff --git a/Resources/Scripts/Scene/3/scene3_group133307111.lua b/Resources/Scripts/Scene/3/scene3_group133307111.lua index c52a54a52..fd2190b76 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307111.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307111.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 111005, gadget_2 = 111006 } diff --git a/Resources/Scripts/Scene/3/scene3_group133307126.lua b/Resources/Scripts/Scene/3/scene3_group133307126.lua index ebf7f60d7..820531246 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307126.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307126.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = {0,3}, duration = 5, interval = 8, diff --git a/Resources/Scripts/Scene/3/scene3_group133307139.lua b/Resources/Scripts/Scene/3/scene3_group133307139.lua index dd42ff5be..1b6df4404 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307139.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307139.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_door = 139002, gadget_switch = 139001, group_id = 133307139, diff --git a/Resources/Scripts/Scene/3/scene3_group133307149.lua b/Resources/Scripts/Scene/3/scene3_group133307149.lua index f50571688..94a315da9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307149.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307149.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 149002, gadget_fireBase1 = 149001, diff --git a/Resources/Scripts/Scene/3/scene3_group133307150.lua b/Resources/Scripts/Scene/3/scene3_group133307150.lua index 684aab0ba..072d88057 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307150.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307150.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 150004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133307160.lua b/Resources/Scripts/Scene/3/scene3_group133307160.lua index 89a2bc27c..4594a1a8f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307160.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307160.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 160001, gadget_2 = 160002, gadget_3 = 160003 diff --git a/Resources/Scripts/Scene/3/scene3_group133307162.lua b/Resources/Scripts/Scene/3/scene3_group133307162.lua index 5d2f545c1..7fe176e41 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307162.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307162.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, group_id = 133307162, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133307163.lua b/Resources/Scripts/Scene/3/scene3_group133307163.lua index 176d1970e..cdd9aa20a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307163.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307163.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 163002, gadget_fireBase1 = 163001, diff --git a/Resources/Scripts/Scene/3/scene3_group133307165.lua b/Resources/Scripts/Scene/3/scene3_group133307165.lua index cb590bbf1..21f9a53ad 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307165.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307165.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133307165, gadget_riddle_hint = 165001, gadget_riddle_1 = 165002, diff --git a/Resources/Scripts/Scene/3/scene3_group133307166.lua b/Resources/Scripts/Scene/3/scene3_group133307166.lua index 1afca5d9d..06da07215 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307166.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307166.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 166001, gadget_2 = 166002, gadget_3 = 166003 diff --git a/Resources/Scripts/Scene/3/scene3_group133307179.lua b/Resources/Scripts/Scene/3/scene3_group133307179.lua index ade107926..a364d7f69 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307179.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307179.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 29, route_2 = 330700037, gadget_seelie = 179002 diff --git a/Resources/Scripts/Scene/3/scene3_group133307184.lua b/Resources/Scripts/Scene/3/scene3_group133307184.lua index 72e8db225..8a0397411 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307184.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307184.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133307184, pointarray_id = 330700004, gadget_ele = 184001, diff --git a/Resources/Scripts/Scene/3/scene3_group133307197.lua b/Resources/Scripts/Scene/3/scene3_group133307197.lua index e2b028e2e..af5dbab6d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307197.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307197.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 300, group_id = 133307197, collectable_sum = 40 diff --git a/Resources/Scripts/Scene/3/scene3_group133307211.lua b/Resources/Scripts/Scene/3/scene3_group133307211.lua index 7592feb6d..8f7c81ec1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307211.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307211.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 15, group_id = 133307211, diff --git a/Resources/Scripts/Scene/3/scene3_group133307218.lua b/Resources/Scripts/Scene/3/scene3_group133307218.lua index a3e0c5a4f..593c5be8a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307218.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307218.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133307218 } diff --git a/Resources/Scripts/Scene/3/scene3_group133307231.lua b/Resources/Scripts/Scene/3/scene3_group133307231.lua index 26eaaec2e..ff88a5aef 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307231.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307231.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330700052, gadget_seelie = 231002 diff --git a/Resources/Scripts/Scene/3/scene3_group133307232.lua b/Resources/Scripts/Scene/3/scene3_group133307232.lua index 818e397b7..0f8bb428c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307232.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307232.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 20, group_id = 133307232, collectable_sum = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133307253.lua b/Resources/Scripts/Scene/3/scene3_group133307253.lua index cb2d044fd..fac8a392f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307253.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307253.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330700005, pointArrayNum = 4, gadget_shooter = 253001, diff --git a/Resources/Scripts/Scene/3/scene3_group133307254.lua b/Resources/Scripts/Scene/3/scene3_group133307254.lua index bc78f2aab..607de7061 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307254.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307254.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 254002, gadget_receiver_2 = 254003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133307258.lua b/Resources/Scripts/Scene/3/scene3_group133307258.lua index ae9eed84c..b5dab83f9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307258.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307258.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133307258, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133307263.lua b/Resources/Scripts/Scene/3/scene3_group133307263.lua index 20bb198cf..e88b62c0b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307263.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307263.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 263002, gadget_fireBase1 = 263001, diff --git a/Resources/Scripts/Scene/3/scene3_group133307264.lua b/Resources/Scripts/Scene/3/scene3_group133307264.lua index 73339804a..f5f2c2da9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307264.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307264.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 264002, gadget_fireBase1 = 264001, diff --git a/Resources/Scripts/Scene/3/scene3_group133307265.lua b/Resources/Scripts/Scene/3/scene3_group133307265.lua index b0c4fc2db..64a7cc9ae 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307265.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307265.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133307265, gadget_riddle_hint = 265001, gadget_riddle_1 = 265002, diff --git a/Resources/Scripts/Scene/3/scene3_group133307274.lua b/Resources/Scripts/Scene/3/scene3_group133307274.lua index 8a515f5dd..afb1d1eff 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307274.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307274.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, group_id = 133307274, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133307281.lua b/Resources/Scripts/Scene/3/scene3_group133307281.lua index c756d6b1b..a3bbf77f2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307281.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307281.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {281001,281003,281008,281009,281007,281002,281005}, diff --git a/Resources/Scripts/Scene/3/scene3_group133307293.lua b/Resources/Scripts/Scene/3/scene3_group133307293.lua index 74cbbf8a6..f473155f3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307293.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307293.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { move_sandworm_id = 293001, move_region = 293002, attack_region = 293003, diff --git a/Resources/Scripts/Scene/3/scene3_group133307295.lua b/Resources/Scripts/Scene/3/scene3_group133307295.lua index 16f6b4a0b..984e9e1a6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307295.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307295.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { move_sandworm_id = 295001, move_region = 295002, attack_region = 295003, diff --git a/Resources/Scripts/Scene/3/scene3_group133307299.lua b/Resources/Scripts/Scene/3/scene3_group133307299.lua index 4e0a825f9..05b6859ad 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307299.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307299.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { up_flow_speed = 5, down_flow_speed = 10, overflow_speed = 15 diff --git a/Resources/Scripts/Scene/3/scene3_group133307301.lua b/Resources/Scripts/Scene/3/scene3_group133307301.lua index 1149c2cdc..6ef866f21 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307301.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307301.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133307301, gadget_riddle_hint = 301001, gadget_riddle_1 = 301002, diff --git a/Resources/Scripts/Scene/3/scene3_group133307303.lua b/Resources/Scripts/Scene/3/scene3_group133307303.lua index 050620b7e..05220c705 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307303.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307303.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_worktop_id = 303001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133307306.lua b/Resources/Scripts/Scene/3/scene3_group133307306.lua index 8e4f29e45..b904da122 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307306.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307306.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 7, route_2 = 330700119, gadget_seelie = 306002 diff --git a/Resources/Scripts/Scene/3/scene3_group133307308.lua b/Resources/Scripts/Scene/3/scene3_group133307308.lua index be08bdb16..e64532d23 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307308.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307308.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { up_flow_speed = 5, down_flow_speed = 10, overflow_speed = 15 diff --git a/Resources/Scripts/Scene/3/scene3_group133307309.lua b/Resources/Scripts/Scene/3/scene3_group133307309.lua index a92482d6c..2c4c998ab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307309.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307309.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 35, group_id = 133307309, collectable_sum = 9 diff --git a/Resources/Scripts/Scene/3/scene3_group133307313.lua b/Resources/Scripts/Scene/3/scene3_group133307313.lua index 3f4a32b43..78b9e5135 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307313.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307313.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { up_flow_speed = 5, down_flow_speed = 10, overflow_speed = 15 diff --git a/Resources/Scripts/Scene/3/scene3_group133307315.lua b/Resources/Scripts/Scene/3/scene3_group133307315.lua index ae6045d1a..3ec05cf42 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307315.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307315.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 330700079, gadget_seelie = 315002 diff --git a/Resources/Scripts/Scene/3/scene3_group133307316.lua b/Resources/Scripts/Scene/3/scene3_group133307316.lua index d35208d44..5c6224f0a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307316.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307316.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { chest_id = 316007, hint_gadget_id = 316006, region_id = 316008 diff --git a/Resources/Scripts/Scene/3/scene3_group133307325.lua b/Resources/Scripts/Scene/3/scene3_group133307325.lua index 0b89133c7..a2e27d5c6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307325.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307325.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 4, group_id = 133307325, diff --git a/Resources/Scripts/Scene/3/scene3_group133307329.lua b/Resources/Scripts/Scene/3/scene3_group133307329.lua index d67e7fd1c..1d69d4922 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307329.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307329.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { up_flow_speed = 5, down_flow_speed = 10, overflow_speed = 15 diff --git a/Resources/Scripts/Scene/3/scene3_group133307338.lua b/Resources/Scripts/Scene/3/scene3_group133307338.lua index 65b603728..4d7477813 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307338.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307338.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133307338, gadget_riddle_hint = 338001, gadget_riddle_1 = 338002, diff --git a/Resources/Scripts/Scene/3/scene3_group133307355.lua b/Resources/Scripts/Scene/3/scene3_group133307355.lua index cd1593e0b..529c6d1ea 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307355.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307355.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133307355, gadget_riddle_hint = 355001, gadget_riddle_1 = 355002, diff --git a/Resources/Scripts/Scene/3/scene3_group133307359.lua b/Resources/Scripts/Scene/3/scene3_group133307359.lua index b4dd5cf71..ca56d12e7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307359.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307359.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 359002, gadget_fireBase1 = 359001, diff --git a/Resources/Scripts/Scene/3/scene3_group133307373.lua b/Resources/Scripts/Scene/3/scene3_group133307373.lua index 792646b98..ce94b583f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307373.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307373.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 373002, gadget_fireBase1 = 373001, diff --git a/Resources/Scripts/Scene/3/scene3_group133307383.lua b/Resources/Scripts/Scene/3/scene3_group133307383.lua index 96ca681c2..73102a1c4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307383.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307383.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133307383, gadget_sum = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133307389.lua b/Resources/Scripts/Scene/3/scene3_group133307389.lua index cb544d0f2..b6f076651 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307389.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307389.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 20, group_id = 133307389, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133307396.lua b/Resources/Scripts/Scene/3/scene3_group133307396.lua index cbb179389..d2fc6f647 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307396.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307396.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 396001, gadget_2 = 396002, gadget_3 = 396003 diff --git a/Resources/Scripts/Scene/3/scene3_group133307408.lua b/Resources/Scripts/Scene/3/scene3_group133307408.lua index 108928198..6654a93ed 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307408.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307408.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 6, route_2 = 330700120, gadget_seelie = 408002 diff --git a/Resources/Scripts/Scene/3/scene3_group133307409.lua b/Resources/Scripts/Scene/3/scene3_group133307409.lua index 758aa9942..8aba43fc7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307409.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307409.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 6, route_2 = 330700117, gadget_seelie = 409002 diff --git a/Resources/Scripts/Scene/3/scene3_group133307410.lua b/Resources/Scripts/Scene/3/scene3_group133307410.lua index 53af3e0e1..ed84a7021 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307410.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307410.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 8, route_2 = 330700121, gadget_seelie = 410002 diff --git a/Resources/Scripts/Scene/3/scene3_group133307411.lua b/Resources/Scripts/Scene/3/scene3_group133307411.lua index 3e7ee8e06..ae5f81e4a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307411.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307411.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 3, route_2 = 330700122, gadget_seelie = 411002 diff --git a/Resources/Scripts/Scene/3/scene3_group133307412.lua b/Resources/Scripts/Scene/3/scene3_group133307412.lua index b4fb21a20..e61264a31 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307412.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307412.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 2, route_2 = 330700123, gadget_seelie = 412002 diff --git a/Resources/Scripts/Scene/3/scene3_group133307414.lua b/Resources/Scripts/Scene/3/scene3_group133307414.lua index d9d6802de..67a86142c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307414.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307414.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 6, route_2 = 330700124, gadget_seelie = 414002 diff --git a/Resources/Scripts/Scene/3/scene3_group133307416.lua b/Resources/Scripts/Scene/3/scene3_group133307416.lua index 6ef55f36f..ace944747 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307416.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307416.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, group_id = 133307416, gadget_sum = 3, diff --git a/Resources/Scripts/Scene/3/scene3_group133307434.lua b/Resources/Scripts/Scene/3/scene3_group133307434.lua index 35472582d..d5218ed44 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307434.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307434.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {434001,434002,434003,434004,434005}, diff --git a/Resources/Scripts/Scene/3/scene3_group133307436.lua b/Resources/Scripts/Scene/3/scene3_group133307436.lua index 416e8bec3..5fea1fd7c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307436.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307436.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 10, group_id = 133307436, diff --git a/Resources/Scripts/Scene/3/scene3_group133307445.lua b/Resources/Scripts/Scene/3/scene3_group133307445.lua index 31aac7228..4fe3c38e0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307445.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307445.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 445001, gadget_2 = 445002, gadget_3 = 445003 diff --git a/Resources/Scripts/Scene/3/scene3_group133307451.lua b/Resources/Scripts/Scene/3/scene3_group133307451.lua index 3a6a39119..97911473f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307451.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307451.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_worktop_id = 451001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133307454.lua b/Resources/Scripts/Scene/3/scene3_group133307454.lua index efc774929..93cd67d0e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307454.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307454.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_worktop_id = 454001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133307459.lua b/Resources/Scripts/Scene/3/scene3_group133307459.lua index a41cf224c..930c25823 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307459.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307459.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 459001, pointarray_id = 330700019, minPoint = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133307467.lua b/Resources/Scripts/Scene/3/scene3_group133307467.lua index 33ecf5ba1..247fb34ba 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307467.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307467.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 467004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133307470.lua b/Resources/Scripts/Scene/3/scene3_group133307470.lua index 5d4ad8c83..5c102e7fe 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307470.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307470.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 25, route_2 = 330700142, gadget_seelie = 470002 diff --git a/Resources/Scripts/Scene/3/scene3_group133307475.lua b/Resources/Scripts/Scene/3/scene3_group133307475.lua index 66855d5ec..54ad43c4e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307475.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307475.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_worktop_id = 475001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133307487.lua b/Resources/Scripts/Scene/3/scene3_group133307487.lua index 74b0e37ff..db6c26536 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307487.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307487.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133307487, pointarray_id = 330700020, gadget_ele = 487001, diff --git a/Resources/Scripts/Scene/3/scene3_group133307490.lua b/Resources/Scripts/Scene/3/scene3_group133307490.lua index 08396523a..182603958 100644 --- a/Resources/Scripts/Scene/3/scene3_group133307490.lua +++ b/Resources/Scripts/Scene/3/scene3_group133307490.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 490004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133308021.lua b/Resources/Scripts/Scene/3/scene3_group133308021.lua index ba3b3a44c..fd2e2c8c0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308021.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308021.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330800032, pointArrayNum = 3, gadget_shooter = 21002, diff --git a/Resources/Scripts/Scene/3/scene3_group133308025.lua b/Resources/Scripts/Scene/3/scene3_group133308025.lua index 3ae6258c6..41bc80d44 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308025.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308025.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 31, route_2 = 330800001, gadget_seelie = 25002 diff --git a/Resources/Scripts/Scene/3/scene3_group133308045.lua b/Resources/Scripts/Scene/3/scene3_group133308045.lua index 2ba2756ec..7bb13e0e7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308045.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308045.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 330800016, gadget_seelie = 45002 diff --git a/Resources/Scripts/Scene/3/scene3_group133308062.lua b/Resources/Scripts/Scene/3/scene3_group133308062.lua index dd6ef231c..a367ebef3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308062.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308062.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133308062, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133308075.lua b/Resources/Scripts/Scene/3/scene3_group133308075.lua index 4ca21ed13..2c05a7104 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308075.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308075.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 55, group_id = 133308075, collectable_sum = 14 diff --git a/Resources/Scripts/Scene/3/scene3_group133308083.lua b/Resources/Scripts/Scene/3/scene3_group133308083.lua index 5db18db33..bd745dbfa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308083.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308083.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 83002, gadget_fireBase1 = 83001, diff --git a/Resources/Scripts/Scene/3/scene3_group133308088.lua b/Resources/Scripts/Scene/3/scene3_group133308088.lua index a4167b915..d6e607cb4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308088.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308088.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133308088, gadget_riddle_hint = 88001, gadget_riddle_1 = 88002, diff --git a/Resources/Scripts/Scene/3/scene3_group133308089.lua b/Resources/Scripts/Scene/3/scene3_group133308089.lua index ce8a4d8d8..3295d9c8e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308089.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308089.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 37, route_2 = 330800029, gadget_seelie = 89002 diff --git a/Resources/Scripts/Scene/3/scene3_group133308090.lua b/Resources/Scripts/Scene/3/scene3_group133308090.lua index bc0796a0f..c7a232a50 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308090.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308090.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { enter_region = 90005, leave_region = 90006 } diff --git a/Resources/Scripts/Scene/3/scene3_group133308091.lua b/Resources/Scripts/Scene/3/scene3_group133308091.lua index 0d753062d..6a6528616 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308091.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308091.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 47, route_2 = 330800031, gadget_seelie = 91002 diff --git a/Resources/Scripts/Scene/3/scene3_group133308093.lua b/Resources/Scripts/Scene/3/scene3_group133308093.lua index 709c1f390..ac359a1c5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308093.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308093.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { enter_region = 93005, leave_region = 93006 } diff --git a/Resources/Scripts/Scene/3/scene3_group133308094.lua b/Resources/Scripts/Scene/3/scene3_group133308094.lua index 139fbefb2..0f577723e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308094.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308094.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { enter_region = 94005, leave_region = 94006 } diff --git a/Resources/Scripts/Scene/3/scene3_group133308097.lua b/Resources/Scripts/Scene/3/scene3_group133308097.lua index a16e0b9cc..3c7271ca0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308097.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308097.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330800033, pointArrayNum = 3, gadget_shooter = 97002, diff --git a/Resources/Scripts/Scene/3/scene3_group133308099.lua b/Resources/Scripts/Scene/3/scene3_group133308099.lua index bb3d2ae25..1ddd796b5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308099.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308099.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330800034, pointArrayNum = 3, gadget_shooter = 99002, diff --git a/Resources/Scripts/Scene/3/scene3_group133308100.lua b/Resources/Scripts/Scene/3/scene3_group133308100.lua index 4c95d8a1b..86b81e40d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308100.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308100.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 39, route_2 = 330800037, gadget_seelie = 100002 diff --git a/Resources/Scripts/Scene/3/scene3_group133308101.lua b/Resources/Scripts/Scene/3/scene3_group133308101.lua index 58e9e6123..29c6f4869 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308101.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308101.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 101002, gadget_fireBase1 = 101001, diff --git a/Resources/Scripts/Scene/3/scene3_group133308103.lua b/Resources/Scripts/Scene/3/scene3_group133308103.lua index bc56c9287..731c15afd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308103.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308103.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 103002, gadget_fireBase1 = 103001, diff --git a/Resources/Scripts/Scene/3/scene3_group133308104.lua b/Resources/Scripts/Scene/3/scene3_group133308104.lua index 2afd139a1..9afaa9372 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308104.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308104.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 104002, gadget_fireBase1 = 104001, diff --git a/Resources/Scripts/Scene/3/scene3_group133308105.lua b/Resources/Scripts/Scene/3/scene3_group133308105.lua index 4e1fed585..cc6421f27 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308105.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308105.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 105002, gadget_fireBase1 = 105001, diff --git a/Resources/Scripts/Scene/3/scene3_group133308106.lua b/Resources/Scripts/Scene/3/scene3_group133308106.lua index 18e07655f..1d79a8442 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308106.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308106.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133308106, gadget_riddle_hint = 106001, gadget_riddle_1 = 106002, diff --git a/Resources/Scripts/Scene/3/scene3_group133308108.lua b/Resources/Scripts/Scene/3/scene3_group133308108.lua index fe4121c7b..d46fb6bb1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308108.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308108.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, group_id = 133308108, collectable_sum = 15 diff --git a/Resources/Scripts/Scene/3/scene3_group133308112.lua b/Resources/Scripts/Scene/3/scene3_group133308112.lua index 3a8647036..7ac05538b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308112.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308112.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330800035, pointArrayNum = 3, gadget_shooter = 112002, diff --git a/Resources/Scripts/Scene/3/scene3_group133308113.lua b/Resources/Scripts/Scene/3/scene3_group133308113.lua index a06bad1c6..6ecacd3d9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308113.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308113.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, group_id = 133308113, collectable_sum = 12 diff --git a/Resources/Scripts/Scene/3/scene3_group133308115.lua b/Resources/Scripts/Scene/3/scene3_group133308115.lua index c5c0862d6..6e81e6939 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308115.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308115.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 35, route_2 = 330800050, gadget_seelie = 115002 diff --git a/Resources/Scripts/Scene/3/scene3_group133308120.lua b/Resources/Scripts/Scene/3/scene3_group133308120.lua index 48c183392..292e9b957 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308120.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308120.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_elevator_id = 120001, pointarray_id = 330800036 } diff --git a/Resources/Scripts/Scene/3/scene3_group133308124.lua b/Resources/Scripts/Scene/3/scene3_group133308124.lua index 128b01611..834f2a465 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308124.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308124.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 124007, monster_BossID = 124002, gadget_Point_1 = 124008, diff --git a/Resources/Scripts/Scene/3/scene3_group133308128.lua b/Resources/Scripts/Scene/3/scene3_group133308128.lua index b234928eb..ee3305747 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308128.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308128.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 33, route_2 = 330800054, gadget_seelie = 128002 diff --git a/Resources/Scripts/Scene/3/scene3_group133308129.lua b/Resources/Scripts/Scene/3/scene3_group133308129.lua index 9cbacc262..a1da25a5c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308129.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308129.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 129007, operator_2 = 129008, chest = 129009 diff --git a/Resources/Scripts/Scene/3/scene3_group133308131.lua b/Resources/Scripts/Scene/3/scene3_group133308131.lua index c9e723d1e..f8a295e1b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308131.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308131.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 131007, operator_2 = 131008, chest = 131009 diff --git a/Resources/Scripts/Scene/3/scene3_group133308133.lua b/Resources/Scripts/Scene/3/scene3_group133308133.lua index f3b535785..12f40c9f2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308133.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308133.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 133007, operator_2 = 133008, chest = 133009 diff --git a/Resources/Scripts/Scene/3/scene3_group133308134.lua b/Resources/Scripts/Scene/3/scene3_group133308134.lua index 9c6ff7fc8..740f82771 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308134.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308134.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 134007, operator_2 = 134008, chest = 134009 diff --git a/Resources/Scripts/Scene/3/scene3_group133308135.lua b/Resources/Scripts/Scene/3/scene3_group133308135.lua index 52ec17d61..368a563c0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308135.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308135.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 135007, operator_2 = 135008, chest = 135009 diff --git a/Resources/Scripts/Scene/3/scene3_group133308169.lua b/Resources/Scripts/Scene/3/scene3_group133308169.lua index 24944eecb..237a60be0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308169.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308169.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 32, group_id = 133308169, collectable_sum = 18 diff --git a/Resources/Scripts/Scene/3/scene3_group133308174.lua b/Resources/Scripts/Scene/3/scene3_group133308174.lua index 77998d21c..d94ce8291 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308174.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308174.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, group_id = 133308174 } diff --git a/Resources/Scripts/Scene/3/scene3_group133308191.lua b/Resources/Scripts/Scene/3/scene3_group133308191.lua index b85b43af6..3e83ef4e3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308191.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308191.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133308191, gadget_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133308194.lua b/Resources/Scripts/Scene/3/scene3_group133308194.lua index 166cc602a..12992c677 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308194.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308194.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330800037, pointArrayNum = 3, gadget_shooter = 194002, diff --git a/Resources/Scripts/Scene/3/scene3_group133308199.lua b/Resources/Scripts/Scene/3/scene3_group133308199.lua index 363ae719d..f2a4cab9a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308199.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308199.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133308199, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133308204.lua b/Resources/Scripts/Scene/3/scene3_group133308204.lua index e6784f836..5f1eedfa0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308204.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308204.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 0, gadget_receiver_2 = 204003 } @@ -17,8 +17,7 @@ defs.receiverList = { local engineerLaserConfigID = 204002 local turnOption = 435 - -local correctState = 0 + local correctState = 0 --================================================================ -- diff --git a/Resources/Scripts/Scene/3/scene3_group133308213.lua b/Resources/Scripts/Scene/3/scene3_group133308213.lua index 9646638e5..a54ba786a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308213.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308213.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 213002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133308218.lua b/Resources/Scripts/Scene/3/scene3_group133308218.lua index 244744daa..08a075df4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308218.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308218.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330800069, gadget_seelie = 218002 diff --git a/Resources/Scripts/Scene/3/scene3_group133308229.lua b/Resources/Scripts/Scene/3/scene3_group133308229.lua index 35ed993d9..3abc9de18 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308229.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308229.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 229001, pointarray_id = 330800018 } diff --git a/Resources/Scripts/Scene/3/scene3_group133308244.lua b/Resources/Scripts/Scene/3/scene3_group133308244.lua index edc38a9fc..b6ea512f1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308244.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308244.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 244002, gadget_fireBase1 = 244001, diff --git a/Resources/Scripts/Scene/3/scene3_group133308247.lua b/Resources/Scripts/Scene/3/scene3_group133308247.lua index 35aab2192..c4b086f9d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308247.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308247.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 247002, gadget_fireBase1 = 247001, diff --git a/Resources/Scripts/Scene/3/scene3_group133308249.lua b/Resources/Scripts/Scene/3/scene3_group133308249.lua index 95fcffe97..af87eea68 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308249.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308249.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_normal = 330800023, pointarray_hard = 330800024 } @@ -17,8 +17,7 @@ local challengeOptionID = 188 local holeConfigID = {249001, 249002, 249003, 249005} local checkOptionID = 916 -local arrayID = {330800023 -, 330800024} +local arrayID = {330800023 , 330800024} local randomVez = {min = 3, max = 5} diff --git a/Resources/Scripts/Scene/3/scene3_group133308257.lua b/Resources/Scripts/Scene/3/scene3_group133308257.lua index e5b903eb0..1b007ef4b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308257.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308257.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 257001, pointarray_id = 330800009, minPoint = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133308262.lua b/Resources/Scripts/Scene/3/scene3_group133308262.lua index cf53cf1b5..26f8c2ef0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308262.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308262.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 27, route_2 = 330800083, gadget_seelie = 262002 diff --git a/Resources/Scripts/Scene/3/scene3_group133308269.lua b/Resources/Scripts/Scene/3/scene3_group133308269.lua index 2a605b2d1..e5fc2c52c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308269.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308269.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 330800142, gadget_seelie = 269002 diff --git a/Resources/Scripts/Scene/3/scene3_group133308270.lua b/Resources/Scripts/Scene/3/scene3_group133308270.lua index adb640490..8a472f055 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308270.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308270.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330800095, gadget_seelie = 270002 diff --git a/Resources/Scripts/Scene/3/scene3_group133308274.lua b/Resources/Scripts/Scene/3/scene3_group133308274.lua index f35543ee1..9bd843ce8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308274.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308274.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 47, route_2 = 330800087, gadget_seelie = 274002 diff --git a/Resources/Scripts/Scene/3/scene3_group133308311.lua b/Resources/Scripts/Scene/3/scene3_group133308311.lua index 252813439..750df4424 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308311.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308311.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = 0, duration = 6, interval = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133308313.lua b/Resources/Scripts/Scene/3/scene3_group133308313.lua index dca2f6495..bc88b7e96 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308313.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308313.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133308313, pointarray_id = 330800012, gadget_ele = 313001, diff --git a/Resources/Scripts/Scene/3/scene3_group133308316.lua b/Resources/Scripts/Scene/3/scene3_group133308316.lua index 1b7248d98..c5d355faa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308316.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308316.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133308316, pointarray_id = 330800013, gadget_ele = 316001, diff --git a/Resources/Scripts/Scene/3/scene3_group133308317.lua b/Resources/Scripts/Scene/3/scene3_group133308317.lua index 9f6576256..4a5d5f0a6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308317.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308317.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133308317, pointarray_id = 330800014, gadget_ele = 317001, diff --git a/Resources/Scripts/Scene/3/scene3_group133308320.lua b/Resources/Scripts/Scene/3/scene3_group133308320.lua index 758109031..eadc052e2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308320.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308320.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133308320, pointarray_id = 330800015, gadget_ele = 320001, diff --git a/Resources/Scripts/Scene/3/scene3_group133308323.lua b/Resources/Scripts/Scene/3/scene3_group133308323.lua index e1ecf93da..4256c2d68 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308323.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308323.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133308323, pointarray_id = 330800016, gadget_ele = 323001, diff --git a/Resources/Scripts/Scene/3/scene3_group133308333.lua b/Resources/Scripts/Scene/3/scene3_group133308333.lua index 84bc5c715..683aa9682 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308333.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308333.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133308333, pointarray_id = 330800017, gadget_ele = 333001, diff --git a/Resources/Scripts/Scene/3/scene3_group133308337.lua b/Resources/Scripts/Scene/3/scene3_group133308337.lua index dcef6153e..cb752a22a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308337.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308337.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133308337, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133308346.lua b/Resources/Scripts/Scene/3/scene3_group133308346.lua index de8ef26db..f5944414b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308346.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308346.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133308346, pointarray_id = 330800020, gadget_ele = 346001, diff --git a/Resources/Scripts/Scene/3/scene3_group133308349.lua b/Resources/Scripts/Scene/3/scene3_group133308349.lua index 684330d26..2bc3bac71 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308349.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308349.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 349005, gadget_2 = 349006 } diff --git a/Resources/Scripts/Scene/3/scene3_group133308366.lua b/Resources/Scripts/Scene/3/scene3_group133308366.lua index ddad55038..338a4e4fb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308366.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308366.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 366001, gadget_receiver_2 = 366002, gadget_receiver_3 = 366003, diff --git a/Resources/Scripts/Scene/3/scene3_group133308433.lua b/Resources/Scripts/Scene/3/scene3_group133308433.lua index 9c87f8289..de58e5f80 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308433.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308433.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = 0, duration = 3, interval = 12 diff --git a/Resources/Scripts/Scene/3/scene3_group133308434.lua b/Resources/Scripts/Scene/3/scene3_group133308434.lua index a398397bb..44957952d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308434.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308434.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = 0, duration = 3, interval = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133308475.lua b/Resources/Scripts/Scene/3/scene3_group133308475.lua index 2c6a3e648..5fd792ad1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308475.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308475.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = 0, duration = 3, interval = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133308483.lua b/Resources/Scripts/Scene/3/scene3_group133308483.lua index daf834075..b07252015 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308483.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308483.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 330800123, gadget_seelie = 483002 diff --git a/Resources/Scripts/Scene/3/scene3_group133308494.lua b/Resources/Scripts/Scene/3/scene3_group133308494.lua index 804e5be8f..c75cdb4d2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308494.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308494.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133308494, gadget_riddle_hint = 494001, gadget_riddle_1 = 494002, diff --git a/Resources/Scripts/Scene/3/scene3_group133308495.lua b/Resources/Scripts/Scene/3/scene3_group133308495.lua index 2ba3f286b..d139768c6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308495.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308495.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 495001, pointarray_id = 330800029, minPoint = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133308511.lua b/Resources/Scripts/Scene/3/scene3_group133308511.lua index fac5b4d83..7ea8c361a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308511.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308511.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 511001, pointarray_id = 330800031, minPoint = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133308531.lua b/Resources/Scripts/Scene/3/scene3_group133308531.lua index 7957797ff..fcd8673fd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308531.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308531.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 80, group_id = 133308531 } diff --git a/Resources/Scripts/Scene/3/scene3_group133308532.lua b/Resources/Scripts/Scene/3/scene3_group133308532.lua index 034ac486b..e976df4b2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308532.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308532.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133308532, gadget_riddle_hint = 532001, gadget_riddle_1 = 532002, diff --git a/Resources/Scripts/Scene/3/scene3_group133308544.lua b/Resources/Scripts/Scene/3/scene3_group133308544.lua index 1c1d0fe94..b187305fa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308544.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308544.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133308544, pointarray_id = 330800038, gadget_ele = 544001, diff --git a/Resources/Scripts/Scene/3/scene3_group133308546.lua b/Resources/Scripts/Scene/3/scene3_group133308546.lua index 757ca4b1f..26c7450c1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308546.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308546.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_elevator_id = 546001, gadget_floor_id = 546008, pointarray_id = 330800039 diff --git a/Resources/Scripts/Scene/3/scene3_group133308559.lua b/Resources/Scripts/Scene/3/scene3_group133308559.lua index ba7f2b9f3..07e6fe4f7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308559.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308559.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 330800144, gadget_seelie = 559002 diff --git a/Resources/Scripts/Scene/3/scene3_group133308587.lua b/Resources/Scripts/Scene/3/scene3_group133308587.lua index 167b9ef63..fbb753d99 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308587.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308587.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_elevator_id = 587001, gadget_floor_id = 587008, pointarray_id = 330800040 diff --git a/Resources/Scripts/Scene/3/scene3_group133308589.lua b/Resources/Scripts/Scene/3/scene3_group133308589.lua index 35a82006f..c5e4c6e01 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308589.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308589.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 589001, pointarray_id = 330800041 } diff --git a/Resources/Scripts/Scene/3/scene3_group133308591.lua b/Resources/Scripts/Scene/3/scene3_group133308591.lua index b38ef36f3..2c7efd09a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308591.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308591.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = 0, duration = 5, interval = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133308593.lua b/Resources/Scripts/Scene/3/scene3_group133308593.lua index 5ddbb0489..c82f66592 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308593.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308593.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133308593, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133308594.lua b/Resources/Scripts/Scene/3/scene3_group133308594.lua index ef8ad467c..e4e78ed11 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308594.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308594.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = 0, duration = 5, interval = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133308595.lua b/Resources/Scripts/Scene/3/scene3_group133308595.lua index 545d1507b..0bc4bcef3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308595.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308595.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = 0, duration = 5, interval = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133308597.lua b/Resources/Scripts/Scene/3/scene3_group133308597.lua index 31eaed8bc..f9c828994 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308597.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308597.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133308597, pointarray_id = 330800042, gadget_ele = 597001, diff --git a/Resources/Scripts/Scene/3/scene3_group133308598.lua b/Resources/Scripts/Scene/3/scene3_group133308598.lua index 076eac2e7..a90d4b867 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308598.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308598.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = 0, duration = 5, interval = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133308599.lua b/Resources/Scripts/Scene/3/scene3_group133308599.lua index cc41ece32..511f0c8fa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308599.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308599.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = 0, duration = 3, interval = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133308600.lua b/Resources/Scripts/Scene/3/scene3_group133308600.lua index fd70d4e46..0e5bfaf81 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308600.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308600.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 600002, gadget_fireBase1 = 600001, diff --git a/Resources/Scripts/Scene/3/scene3_group133308602.lua b/Resources/Scripts/Scene/3/scene3_group133308602.lua index 10f7f59c0..f8a687bf8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308602.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308602.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 602002, gadget_fireBase1 = 602001, diff --git a/Resources/Scripts/Scene/3/scene3_group133308604.lua b/Resources/Scripts/Scene/3/scene3_group133308604.lua index 4cf767d28..19e3e5fc1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308604.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308604.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = 0, duration = 5, interval = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133308616.lua b/Resources/Scripts/Scene/3/scene3_group133308616.lua index 9470d1519..8567f14d6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308616.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308616.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133308616, pointarray_id = 330800043, gadget_ele = 616001, diff --git a/Resources/Scripts/Scene/3/scene3_group133308673.lua b/Resources/Scripts/Scene/3/scene3_group133308673.lua index a0e1ccd34..fc5bec907 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308673.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308673.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330800051, pointArrayNum = 3, gadget_shooter = 673002, diff --git a/Resources/Scripts/Scene/3/scene3_group133308674.lua b/Resources/Scripts/Scene/3/scene3_group133308674.lua index 71ef59a07..1acead903 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308674.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308674.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330800052, pointArrayNum = 3, gadget_shooter = 674002, diff --git a/Resources/Scripts/Scene/3/scene3_group133308675.lua b/Resources/Scripts/Scene/3/scene3_group133308675.lua index 33fd6fe6a..ddfec6bdc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308675.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308675.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330800053, pointArrayNum = 3, gadget_shooter = 675002, diff --git a/Resources/Scripts/Scene/3/scene3_group133308676.lua b/Resources/Scripts/Scene/3/scene3_group133308676.lua index 676927637..966c40ed4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308676.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308676.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 676001, gadget_receiver_2 = 676002, gadget_receiver_3 = 676003, diff --git a/Resources/Scripts/Scene/3/scene3_group133308677.lua b/Resources/Scripts/Scene/3/scene3_group133308677.lua index 2e7a28cc9..e8d77760e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308677.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308677.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330800054, pointArrayNum = 3, gadget_shooter = 677002, diff --git a/Resources/Scripts/Scene/3/scene3_group133308678.lua b/Resources/Scripts/Scene/3/scene3_group133308678.lua index eed3bc82e..35fecfafc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308678.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308678.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330800055, pointArrayNum = 3, gadget_shooter = 678002, diff --git a/Resources/Scripts/Scene/3/scene3_group133308679.lua b/Resources/Scripts/Scene/3/scene3_group133308679.lua index 88ae0e50f..0c00297c3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308679.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308679.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330800056, pointArrayNum = 3, gadget_shooter = 679002, diff --git a/Resources/Scripts/Scene/3/scene3_group133308680.lua b/Resources/Scripts/Scene/3/scene3_group133308680.lua index d1ceb2eab..423e8d862 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308680.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308680.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_elevator_id = 680001, gadget_floor_id = 120008, pointarray_id = 330800057 diff --git a/Resources/Scripts/Scene/3/scene3_group133308683.lua b/Resources/Scripts/Scene/3/scene3_group133308683.lua index 8f00f1fda..c3c2257e2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308683.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308683.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 12, group_id = 133308683, diff --git a/Resources/Scripts/Scene/3/scene3_group133308684.lua b/Resources/Scripts/Scene/3/scene3_group133308684.lua index f899035e4..29daa1423 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308684.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308684.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133308684, pointarray_id = 330800058, gadget_ele = 684001, diff --git a/Resources/Scripts/Scene/3/scene3_group133308690.lua b/Resources/Scripts/Scene/3/scene3_group133308690.lua index 954c864c9..544fc18cd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308690.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308690.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_worktop_id = 690001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133308691.lua b/Resources/Scripts/Scene/3/scene3_group133308691.lua index f24b31f04..69c896cbd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308691.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308691.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_worktop_id = 691001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133308722.lua b/Resources/Scripts/Scene/3/scene3_group133308722.lua index 670c67660..283fbc61d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308722.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308722.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133308722, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133308724.lua b/Resources/Scripts/Scene/3/scene3_group133308724.lua index a129d1e1e..402c22793 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308724.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308724.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 724003, gadget_lookEntity = 724002, look_duration = 2 diff --git a/Resources/Scripts/Scene/3/scene3_group133308727.lua b/Resources/Scripts/Scene/3/scene3_group133308727.lua index acc37c845..15a4a98da 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308727.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308727.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { move_sandworm_id = 727001, move_region = 727002, attack_region = 727003, diff --git a/Resources/Scripts/Scene/3/scene3_group133308729.lua b/Resources/Scripts/Scene/3/scene3_group133308729.lua index 1f88d60ba..c6cf150fa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308729.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308729.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { move_sandworm_id = 729001, move_region = 729002, attack_region = 729003, diff --git a/Resources/Scripts/Scene/3/scene3_group133308741.lua b/Resources/Scripts/Scene/3/scene3_group133308741.lua index 275653ddd..1610b07f7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308741.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308741.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { up_flow_speed = 5, down_flow_speed = 10, overflow_speed = 15 diff --git a/Resources/Scripts/Scene/3/scene3_group133308742.lua b/Resources/Scripts/Scene/3/scene3_group133308742.lua index 010cfd699..df5cb1c50 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308742.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308742.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { move_sandworm_id = 742001, move_region = 742002, attack_region = 742003, diff --git a/Resources/Scripts/Scene/3/scene3_group133308779.lua b/Resources/Scripts/Scene/3/scene3_group133308779.lua index 5cdc369ad..5bd48aad3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308779.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308779.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133308779, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133308781.lua b/Resources/Scripts/Scene/3/scene3_group133308781.lua index a91eaaf48..f6443ee4f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308781.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308781.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 7, group_id = 133308781, diff --git a/Resources/Scripts/Scene/3/scene3_group133308782.lua b/Resources/Scripts/Scene/3/scene3_group133308782.lua index de499e25a..42f5484b4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133308782.lua +++ b/Resources/Scripts/Scene/3/scene3_group133308782.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_normal = 330900069, pointarray_hard = 330900070 } @@ -17,8 +17,7 @@ local challengeOptionID = 188 local holeConfigID = {693001, 693002, 693003, 693005} local checkOptionID = 916 -local arrayID = {330900069 -, 330900070} +local arrayID = {330900069 , 330900070} local randomVez = {min = 3, max = 5} diff --git a/Resources/Scripts/Scene/3/scene3_group133309014.lua b/Resources/Scripts/Scene/3/scene3_group133309014.lua index 7d271480c..3a6b01734 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309014.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309014.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_temple = 14001, gadget_chest = 14002, group_ID = 133309014 diff --git a/Resources/Scripts/Scene/3/scene3_group133309028.lua b/Resources/Scripts/Scene/3/scene3_group133309028.lua index 57c5a6a66..9f87ba5c9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309028.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309028.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_door = 28001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309029.lua b/Resources/Scripts/Scene/3/scene3_group133309029.lua index 34a8299cf..d2e98981e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309029.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309029.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 29002, gadget_fireBase1 = 29006, diff --git a/Resources/Scripts/Scene/3/scene3_group133309035.lua b/Resources/Scripts/Scene/3/scene3_group133309035.lua index 8c3f8dd07..08cf56938 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309035.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309035.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900046, pointArrayNum = 2, gadget_shooter = 35001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309036.lua b/Resources/Scripts/Scene/3/scene3_group133309036.lua index b9c8b7411..141d0e455 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309036.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309036.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { bossConfigId = 36001, inner_region = 36004, outer_region = 36004, diff --git a/Resources/Scripts/Scene/3/scene3_group133309040.lua b/Resources/Scripts/Scene/3/scene3_group133309040.lua index efd028990..e5dfc0359 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309040.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309040.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133309040 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309047.lua b/Resources/Scripts/Scene/3/scene3_group133309047.lua index f51540819..112fe294e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309047.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309047.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 240, group_id = 133309047, collectable_sum = 23 diff --git a/Resources/Scripts/Scene/3/scene3_group133309052.lua b/Resources/Scripts/Scene/3/scene3_group133309052.lua index 01e1f867c..8b1b730ab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309052.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309052.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330900119, gadget_seelie = 52002 diff --git a/Resources/Scripts/Scene/3/scene3_group133309053.lua b/Resources/Scripts/Scene/3/scene3_group133309053.lua index 5581345fd..02bb67a36 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309053.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309053.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 53003, outer_region = 53003, related_region = 53003, diff --git a/Resources/Scripts/Scene/3/scene3_group133309060.lua b/Resources/Scripts/Scene/3/scene3_group133309060.lua index 6710f4823..7e85bb34a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309060.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309060.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 60002, gadget_fireBase1 = 60001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309065.lua b/Resources/Scripts/Scene/3/scene3_group133309065.lua index f421540f8..27889a4ef 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309065.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309065.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 65002, gadget_fireBase1 = 65006, diff --git a/Resources/Scripts/Scene/3/scene3_group133309071.lua b/Resources/Scripts/Scene/3/scene3_group133309071.lua index 67ec08033..c79cf96d9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309071.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309071.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 71002, gadget_receiver_2 = 71003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309073.lua b/Resources/Scripts/Scene/3/scene3_group133309073.lua index c384349ea..38a2b5f56 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309073.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309073.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 73002, gadget_fireBase1 = 73001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309077.lua b/Resources/Scripts/Scene/3/scene3_group133309077.lua index a3d7df2d6..be468fff9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309077.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309077.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 77001, pointarray_id = 330900093, minPoint = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133309079.lua b/Resources/Scripts/Scene/3/scene3_group133309079.lua index 8eade3465..81424c40e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309079.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309079.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330900014, gadget_seelie = 79002 diff --git a/Resources/Scripts/Scene/3/scene3_group133309087.lua b/Resources/Scripts/Scene/3/scene3_group133309087.lua index 51aee63e3..9b02a42a7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309087.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309087.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133309087, collectable_sum = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133309092.lua b/Resources/Scripts/Scene/3/scene3_group133309092.lua index 45652739c..0f4d72fa7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309092.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309092.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 92002, gadget_fireBase1 = 92001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309102.lua b/Resources/Scripts/Scene/3/scene3_group133309102.lua index 1353f2a2b..7c4d18add 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309102.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309102.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 33, route_2 = 330900257, gadget_seelie = 102002 diff --git a/Resources/Scripts/Scene/3/scene3_group133309106.lua b/Resources/Scripts/Scene/3/scene3_group133309106.lua index f013d3b06..90fa9e50e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309106.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309106.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 106002, gadget_fireBase1 = 106001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309107.lua b/Resources/Scripts/Scene/3/scene3_group133309107.lua index 692a0ae72..ec328a918 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309107.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309107.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133309107, gadget_riddle_hint = 107001, gadget_riddle_1 = 107002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309108.lua b/Resources/Scripts/Scene/3/scene3_group133309108.lua index 5840c3c30..c65d63835 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309108.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309108.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 108036, gadget_lookEntity = 108035, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133309109.lua b/Resources/Scripts/Scene/3/scene3_group133309109.lua index c2a9dfa27..fb68208d0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309109.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309109.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 109002, gadget_fireBase1 = 109001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309112.lua b/Resources/Scripts/Scene/3/scene3_group133309112.lua index 17c7230fd..12d820d07 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309112.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309112.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 330900173, gadget_seelie = 112002 diff --git a/Resources/Scripts/Scene/3/scene3_group133309114.lua b/Resources/Scripts/Scene/3/scene3_group133309114.lua index dbaf77995..62ac396cf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309114.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309114.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 114002, gadget_fireBase1 = 114001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309121.lua b/Resources/Scripts/Scene/3/scene3_group133309121.lua index 309cc0d80..af0c7a41b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309121.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309121.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 121002, gadget_fireBase1 = 121001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309127.lua b/Resources/Scripts/Scene/3/scene3_group133309127.lua index afbbd45cc..d856a65c2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309127.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309127.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 127004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309143.lua b/Resources/Scripts/Scene/3/scene3_group133309143.lua index 5a70c818a..f61c0847f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309143.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309143.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133309143, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133309145.lua b/Resources/Scripts/Scene/3/scene3_group133309145.lua index 4d80ddc38..332c1006c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309145.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309145.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 330900028, gadget_seelie = 145002 diff --git a/Resources/Scripts/Scene/3/scene3_group133309148.lua b/Resources/Scripts/Scene/3/scene3_group133309148.lua index 3eff48ba5..27412c50a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309148.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309148.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 148002, gadget_fireBase1 = 148001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309149.lua b/Resources/Scripts/Scene/3/scene3_group133309149.lua index 54c973e08..03dc45dd0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309149.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309149.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 330900031, gadget_seelie = 149002 diff --git a/Resources/Scripts/Scene/3/scene3_group133309151.lua b/Resources/Scripts/Scene/3/scene3_group133309151.lua index 6f842a872..30106e9eb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309151.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309151.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_door = 151004, target_x = -2444.8, target_y = -18.57, diff --git a/Resources/Scripts/Scene/3/scene3_group133309159.lua b/Resources/Scripts/Scene/3/scene3_group133309159.lua index e2ad88cca..6c53cd3fc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309159.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309159.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330900035, gadget_seelie = 159002 diff --git a/Resources/Scripts/Scene/3/scene3_group133309166.lua b/Resources/Scripts/Scene/3/scene3_group133309166.lua index 60dd1196f..193c7a2f8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309166.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309166.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 166002, gadget_fireBase1 = 166001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309168.lua b/Resources/Scripts/Scene/3/scene3_group133309168.lua index 746482ce8..80b9a5038 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309168.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309168.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900004, pointArrayNum = 4, gadget_shooter = 168001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309169.lua b/Resources/Scripts/Scene/3/scene3_group133309169.lua index d4180e136..b13b199fb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309169.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309169.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900005, pointArrayNum = 2, gadget_shooter = 169001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309170.lua b/Resources/Scripts/Scene/3/scene3_group133309170.lua index 9cec53bb5..525440aba 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309170.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309170.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 170002, gadget_fireBase1 = 170001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309179.lua b/Resources/Scripts/Scene/3/scene3_group133309179.lua index fbe364f3e..1bdab199d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309179.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309179.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133309179, collectable_sum = 12 diff --git a/Resources/Scripts/Scene/3/scene3_group133309180.lua b/Resources/Scripts/Scene/3/scene3_group133309180.lua index 51c86f44b..6fb35484f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309180.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309180.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 180002, gadget_fireBase1 = 180001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309190.lua b/Resources/Scripts/Scene/3/scene3_group133309190.lua index eca34170e..538953ce0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309190.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309190.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 190002, gadget_fireBase1 = 190001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309191.lua b/Resources/Scripts/Scene/3/scene3_group133309191.lua index a0d40cbff..f5a3fb21e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309191.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309191.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 191002, gadget_fireBase1 = 191001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309192.lua b/Resources/Scripts/Scene/3/scene3_group133309192.lua index 10540114a..56dbd1124 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309192.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309192.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 192002, gadget_fireBase1 = 192001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309194.lua b/Resources/Scripts/Scene/3/scene3_group133309194.lua index 9ef1313e8..f0e0d7e78 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309194.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309194.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900011, pointArrayNum = 13, gadget_shooter = 194001, @@ -37,7 +37,7 @@ defs.finalShooterPoint = 8 --Lua Require所需: --添加的按钮id -defs.optionID=436 +defs.optionID=436 --发射器id defs.shooterGadgetID=defs.gadget_shooter diff --git a/Resources/Scripts/Scene/3/scene3_group133309195.lua b/Resources/Scripts/Scene/3/scene3_group133309195.lua index b07c8b831..bc420dd5c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309195.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309195.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900012, pointArrayNum = 13, gadget_shooter = 195001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309196.lua b/Resources/Scripts/Scene/3/scene3_group133309196.lua index db0ca6d8f..6786f152a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309196.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309196.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 330900045, gadget_seelie = 196002 diff --git a/Resources/Scripts/Scene/3/scene3_group133309199.lua b/Resources/Scripts/Scene/3/scene3_group133309199.lua index cf2391a16..f1277a7bd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309199.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309199.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133309199, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133309200.lua b/Resources/Scripts/Scene/3/scene3_group133309200.lua index b0a1f774d..6064b9084 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309200.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309200.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 200004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309201.lua b/Resources/Scripts/Scene/3/scene3_group133309201.lua index b35744f00..c0235a8c3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309201.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309201.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133309201 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309215.lua b/Resources/Scripts/Scene/3/scene3_group133309215.lua index b70c1c2f2..4785b090a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309215.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309215.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 330900050, gadget_seelie = 215002 diff --git a/Resources/Scripts/Scene/3/scene3_group133309217.lua b/Resources/Scripts/Scene/3/scene3_group133309217.lua index 9d6989b7a..db9234e33 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309217.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309217.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900051, pointArrayNum = 3, gadget_shooter = 217002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309218.lua b/Resources/Scripts/Scene/3/scene3_group133309218.lua index 5676d3b79..9a5278304 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309218.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309218.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 218002, gadget_fireBase1 = 218001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309219.lua b/Resources/Scripts/Scene/3/scene3_group133309219.lua index c12fc761d..8579653b3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309219.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309219.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 219002, gadget_fireBase1 = 219001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309220.lua b/Resources/Scripts/Scene/3/scene3_group133309220.lua index 73c722c50..1682e489d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309220.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309220.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 220002, gadget_fireBase1 = 220001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309229.lua b/Resources/Scripts/Scene/3/scene3_group133309229.lua index d6b05dc4f..497dcbb5f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309229.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309229.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 229001, gadget_2 = 229002, gadget_3 = 229003 diff --git a/Resources/Scripts/Scene/3/scene3_group133309230.lua b/Resources/Scripts/Scene/3/scene3_group133309230.lua index 1e823b32a..e1a7000ea 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309230.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309230.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 25, route_2 = 330900202, gadget_seelie = 230002 diff --git a/Resources/Scripts/Scene/3/scene3_group133309232.lua b/Resources/Scripts/Scene/3/scene3_group133309232.lua index 35d21cab4..5f92d21a0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309232.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309232.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 232004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309234.lua b/Resources/Scripts/Scene/3/scene3_group133309234.lua index d6fc0f0dd..b840fac00 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309234.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309234.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900074, pointArrayNum = 2, gadget_shooter = 234001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309239.lua b/Resources/Scripts/Scene/3/scene3_group133309239.lua index dd0732875..fb8988cbf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309239.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309239.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133309239, gadget_riddle_hint = 239001, gadget_riddle_1 = 239002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309243.lua b/Resources/Scripts/Scene/3/scene3_group133309243.lua index 3d7fe977b..ccd986b2c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309243.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309243.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900091, pointArrayNum = 4, gadget_shooter = 243001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309245.lua b/Resources/Scripts/Scene/3/scene3_group133309245.lua index 05e3346a2..132daadea 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309245.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309245.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { camera_x = -3040.89, camera_y = 269.08, camera_z = 4847.52, diff --git a/Resources/Scripts/Scene/3/scene3_group133309248.lua b/Resources/Scripts/Scene/3/scene3_group133309248.lua index 9f785702f..158c56561 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309248.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309248.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, group_id = 133309248 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309251.lua b/Resources/Scripts/Scene/3/scene3_group133309251.lua index 5559eea90..9ac6dc8e8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309251.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309251.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 251002, gadget_fireBase1 = 251004, diff --git a/Resources/Scripts/Scene/3/scene3_group133309252.lua b/Resources/Scripts/Scene/3/scene3_group133309252.lua index 6c3a35d8a..75a4b5d3c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309252.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309252.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 252002, gadget_fireBase1 = 252004, diff --git a/Resources/Scripts/Scene/3/scene3_group133309254.lua b/Resources/Scripts/Scene/3/scene3_group133309254.lua index 1818dda85..a38bb01d7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309254.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309254.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 254002, gadget_fireBase1 = 254004, diff --git a/Resources/Scripts/Scene/3/scene3_group133309255.lua b/Resources/Scripts/Scene/3/scene3_group133309255.lua index 2ef7277b8..e768836a9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309255.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309255.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 255002, gadget_fireBase1 = 255004, diff --git a/Resources/Scripts/Scene/3/scene3_group133309259.lua b/Resources/Scripts/Scene/3/scene3_group133309259.lua index 7079b92d5..cb6e20f2a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309259.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309259.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 259002, gadget_fireBase1 = 259001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309260.lua b/Resources/Scripts/Scene/3/scene3_group133309260.lua index c85f61801..da8afdd96 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309260.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309260.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 260002, gadget_fireBase1 = 260001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309261.lua b/Resources/Scripts/Scene/3/scene3_group133309261.lua index 02a10d654..941566cfa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309261.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309261.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 261002, gadget_fireBase1 = 261001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309264.lua b/Resources/Scripts/Scene/3/scene3_group133309264.lua index c6ea8ad14..d6fa97b41 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309264.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309264.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 264004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309265.lua b/Resources/Scripts/Scene/3/scene3_group133309265.lua index 1e02c195f..03eafc92c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309265.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309265.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900052, pointArrayNum = 3, gadget_shooter = 265002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309267.lua b/Resources/Scripts/Scene/3/scene3_group133309267.lua index 8f0505de7..68136345e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309267.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309267.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 330900094, gadget_seelie = 267002 diff --git a/Resources/Scripts/Scene/3/scene3_group133309275.lua b/Resources/Scripts/Scene/3/scene3_group133309275.lua index bc2438979..66bb94786 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309275.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309275.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 275020, gadget_lookEntity = 275022, look_duration = 3.5 diff --git a/Resources/Scripts/Scene/3/scene3_group133309276.lua b/Resources/Scripts/Scene/3/scene3_group133309276.lua index 14a2317df..202dab649 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309276.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309276.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900022, pointArrayNum = 2, gadget_shooter = 276001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309277.lua b/Resources/Scripts/Scene/3/scene3_group133309277.lua index fc149368d..baf852a39 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309277.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309277.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900023, pointArrayNum = 3, gadget_shooter = 277001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309278.lua b/Resources/Scripts/Scene/3/scene3_group133309278.lua index 5a9c2ed5f..01e4e7118 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309278.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309278.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 278002, gadget_receiver_2 = 278003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309280.lua b/Resources/Scripts/Scene/3/scene3_group133309280.lua index d72c90180..ac0107e9a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309280.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309280.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 280002, gadget_fireBase1 = 280001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309281.lua b/Resources/Scripts/Scene/3/scene3_group133309281.lua index f82e5a7bb..79021502d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309281.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309281.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 281002, gadget_fireBase1 = 281001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309282.lua b/Resources/Scripts/Scene/3/scene3_group133309282.lua index b783b3aae..e12fa292f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309282.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309282.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 282002, gadget_fireBase1 = 282001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309283.lua b/Resources/Scripts/Scene/3/scene3_group133309283.lua index 3c2796123..430c73772 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309283.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309283.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900092, pointArrayNum = 4, gadget_shooter = 283001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309292.lua b/Resources/Scripts/Scene/3/scene3_group133309292.lua index 37e9ba4ff..63f7b04e3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309292.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309292.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_ele = 292001, gadget_floor_id = 292008, pointarray_id = 330900039, diff --git a/Resources/Scripts/Scene/3/scene3_group133309299.lua b/Resources/Scripts/Scene/3/scene3_group133309299.lua index a94681d12..f38abebce 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309299.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309299.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900053, pointArrayNum = 3, gadget_shooter = 299002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309304.lua b/Resources/Scripts/Scene/3/scene3_group133309304.lua index 7e826b2de..b88f90390 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309304.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309304.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 304005, monster_BossID = 304002, gadget_Point_1 = 304006, diff --git a/Resources/Scripts/Scene/3/scene3_group133309308.lua b/Resources/Scripts/Scene/3/scene3_group133309308.lua index f9af81d02..d8f3d36c7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309308.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309308.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330900131, gadget_seelie = 308002 diff --git a/Resources/Scripts/Scene/3/scene3_group133309310.lua b/Resources/Scripts/Scene/3/scene3_group133309310.lua index 861ec34b1..688169038 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309310.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309310.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133309310 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309318.lua b/Resources/Scripts/Scene/3/scene3_group133309318.lua index af0021fc4..e4d71b7d4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309318.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309318.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 318002, gadget_fireBase1 = 318001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309321.lua b/Resources/Scripts/Scene/3/scene3_group133309321.lua index c4ec660ca..7cf5511c8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309321.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309321.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 321002, gadget_receiver_2 = 321003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309322.lua b/Resources/Scripts/Scene/3/scene3_group133309322.lua index 88ee9bbc2..3fc41721d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309322.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309322.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900027, pointArrayNum = 3, gadget_shooter = 322002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309324.lua b/Resources/Scripts/Scene/3/scene3_group133309324.lua index 6430b2f11..a9fcaf869 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309324.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309324.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900028, pointArrayNum = 3, gadget_shooter = 324002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309325.lua b/Resources/Scripts/Scene/3/scene3_group133309325.lua index 3abce0c96..73396f495 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309325.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309325.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133309325, gadget_sum = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133309327.lua b/Resources/Scripts/Scene/3/scene3_group133309327.lua index 62265c1ca..e6ccf2ce8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309327.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309327.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 327005, gadget_lookEntity = 327006, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133309328.lua b/Resources/Scripts/Scene/3/scene3_group133309328.lua index 057ca2255..c58993618 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309328.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309328.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 328002, gadget_fireBase1 = 328001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309329.lua b/Resources/Scripts/Scene/3/scene3_group133309329.lua index cb41e8583..6db9ef27c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309329.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309329.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 329002, gadget_fireBase1 = 329001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309330.lua b/Resources/Scripts/Scene/3/scene3_group133309330.lua index e56a74c49..4dc5b731d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309330.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309330.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900030, pointArrayNum = 3, gadget_shooter = 330002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309331.lua b/Resources/Scripts/Scene/3/scene3_group133309331.lua index 2e668bbe9..443f9ddba 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309331.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309331.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 331002, gadget_receiver_2 = 331003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309349.lua b/Resources/Scripts/Scene/3/scene3_group133309349.lua index bbed14612..bd74c24f5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309349.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309349.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330900204, gadget_seelie = 349002 diff --git a/Resources/Scripts/Scene/3/scene3_group133309353.lua b/Resources/Scripts/Scene/3/scene3_group133309353.lua index eb21d2e3f..df3b0b8be 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309353.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309353.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 353002, gadget_receiver_2 = 353003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309354.lua b/Resources/Scripts/Scene/3/scene3_group133309354.lua index f491337c7..b72743e28 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309354.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309354.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 354004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309359.lua b/Resources/Scripts/Scene/3/scene3_group133309359.lua index 98f57e318..0e9cf9c28 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309359.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309359.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900045, pointArrayNum = 8, gadget_shooter = 359001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309362.lua b/Resources/Scripts/Scene/3/scene3_group133309362.lua index f162b2b56..dfe1958c5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309362.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309362.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 362002, gadget_fireBase1 = 362001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309367.lua b/Resources/Scripts/Scene/3/scene3_group133309367.lua index 0a5c1f3c0..74d6a40f1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309367.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309367.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133309367, pointarray_id = 330900037, gadget_ele = 367001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309372.lua b/Resources/Scripts/Scene/3/scene3_group133309372.lua index 694bdb094..b3fbabfc6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309372.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309372.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 372001, gadget_2 = 372002, gadget_3 = 372003 diff --git a/Resources/Scripts/Scene/3/scene3_group133309380.lua b/Resources/Scripts/Scene/3/scene3_group133309380.lua index 6dc8b69ff..0c306d430 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309380.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309380.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = {0}, duration = 6, interval = 6, diff --git a/Resources/Scripts/Scene/3/scene3_group133309385.lua b/Resources/Scripts/Scene/3/scene3_group133309385.lua index b969f45f4..a4f97b8a2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309385.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309385.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, group_id = 133309385, gadget_sum = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133309389.lua b/Resources/Scripts/Scene/3/scene3_group133309389.lua index 0cd3d0a06..6332d6323 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309389.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309389.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, group_id = 133309389 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309394.lua b/Resources/Scripts/Scene/3/scene3_group133309394.lua index c8893614f..789073d40 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309394.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309394.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 330900150, gadget_seelie = 394002 diff --git a/Resources/Scripts/Scene/3/scene3_group133309399.lua b/Resources/Scripts/Scene/3/scene3_group133309399.lua index 6590a7fa3..3c9d55d4d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309399.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309399.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = 0, duration = 10, interval = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133309400.lua b/Resources/Scripts/Scene/3/scene3_group133309400.lua index bdf9888a7..a731ccc55 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309400.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309400.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = 0, duration = 10, interval = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133309401.lua b/Resources/Scripts/Scene/3/scene3_group133309401.lua index ab601a354..ee170bf00 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309401.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309401.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = 0, duration = 10, interval = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133309402.lua b/Resources/Scripts/Scene/3/scene3_group133309402.lua index a2cbf3da6..3df7d1175 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309402.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309402.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = 0, duration = 10, interval = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133309403.lua b/Resources/Scripts/Scene/3/scene3_group133309403.lua index 2814f962d..a11097805 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309403.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309403.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900035, pointArrayNum = 4, gadget_shooter = 403002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309432.lua b/Resources/Scripts/Scene/3/scene3_group133309432.lua index a356c76bc..6043fe2e3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309432.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309432.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900036, pointArrayNum = 3, gadget_shooter = 432002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309433.lua b/Resources/Scripts/Scene/3/scene3_group133309433.lua index 3881b0506..a5570b88b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309433.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309433.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 433002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309435.lua b/Resources/Scripts/Scene/3/scene3_group133309435.lua index 2f9712d6c..4751a7468 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309435.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309435.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 435001, gadget_2 = 435002, gadget_3 = 435003 diff --git a/Resources/Scripts/Scene/3/scene3_group133309460.lua b/Resources/Scripts/Scene/3/scene3_group133309460.lua index 8a58c445e..ca59bb47e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309460.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309460.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133309460, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133309473.lua b/Resources/Scripts/Scene/3/scene3_group133309473.lua index 66b1e3181..7769f8077 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309473.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309473.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 473004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309474.lua b/Resources/Scripts/Scene/3/scene3_group133309474.lua index d1e31bd55..474f5d8b6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309474.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309474.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133309474 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309476.lua b/Resources/Scripts/Scene/3/scene3_group133309476.lua index f571a059e..db1616f93 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309476.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309476.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 476005, gadget_2 = 476006 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309484.lua b/Resources/Scripts/Scene/3/scene3_group133309484.lua index eb6e7854e..828bf4ed1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309484.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309484.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133309484, gadget_riddle_hint = 484001, gadget_riddle_1 = 484002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309485.lua b/Resources/Scripts/Scene/3/scene3_group133309485.lua index 51433bf39..16b5c65ff 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309485.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309485.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133309485, gadget_riddle_hint = 485001, gadget_riddle_1 = 485002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309489.lua b/Resources/Scripts/Scene/3/scene3_group133309489.lua index 9588915ad..ab07493dd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309489.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309489.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 489002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309491.lua b/Resources/Scripts/Scene/3/scene3_group133309491.lua index b094c06b7..c81bdd1c9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309491.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309491.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133309491, pointarray_id = 330900049, gadget_ele = 491001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309493.lua b/Resources/Scripts/Scene/3/scene3_group133309493.lua index d4d9f2d67..b76dc2624 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309493.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309493.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 493002, gadget_fireBase1 = 493001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309496.lua b/Resources/Scripts/Scene/3/scene3_group133309496.lua index 3c7610e7d..100ae5cbb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309496.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309496.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133309496, point_camera = 496006, gadget_lookEntity = 496002, @@ -13,16 +13,11 @@ defs = { -- DEFS_MISCS local CameraLookSetting = { - blend_type = 1, - --镜头的移动路径,球面0,直线1 - blend_duration = 2, - --镜头的移动时间 - is_force_walk = false, - --强制玩家行走 - is_allow_input = false, - --允许输入 - delay = 0, - --触发延迟 + blend_type = 1, --镜头的移动路径,球面0,直线1 + blend_duration = 2, --镜头的移动时间 + is_force_walk = false, --强制玩家行走 + is_allow_input = false, --允许输入 + delay = 0, --触发延迟 } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133309498.lua b/Resources/Scripts/Scene/3/scene3_group133309498.lua index c552ed131..34454aa23 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309498.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309498.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133309498, pointarray_id = 330900038, gadget_ele = 498001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309502.lua b/Resources/Scripts/Scene/3/scene3_group133309502.lua index 92ccf45df..0c9386bcc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309502.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309502.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 502002, gadget_fireBase1 = 502001, @@ -22,16 +22,11 @@ defs = { -- DEFS_MISCS local CameraLookSetting = { - blend_type = 1, - --镜头的移动路径,球面0,直线1 - blend_duration = 1, - --镜头的移动时间 - is_force_walk = false, - --强制玩家行走 - is_allow_input = false, - --允许输入 - delay = 0, - --触发延迟 + blend_type = 1, --镜头的移动路径,球面0,直线1 + blend_duration = 1, --镜头的移动时间 + is_force_walk = false, --强制玩家行走 + is_allow_input = false, --允许输入 + delay = 0, --触发延迟 } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133309505.lua b/Resources/Scripts/Scene/3/scene3_group133309505.lua index 578ec89f0..ea0c5117d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309505.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309505.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_door = 505002, gadget_switch = 505001, group_id = 133309505, @@ -15,16 +15,11 @@ defs = { -- DEFS_MISCS local CameraLookSetting = { - blend_type = 0, - --镜头的移动路径,球面0,直线1 - blend_duration = 1, - --镜头的移动时间 - is_force_walk = false, - --强制玩家行走 - is_allow_input = false, - --允许输入 - delay = 0, - --触发延迟 + blend_type = 0, --镜头的移动路径,球面0,直线1 + blend_duration = 1, --镜头的移动时间 + is_force_walk = false, --强制玩家行走 + is_allow_input = false, --允许输入 + delay = 0, --触发延迟 } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133309511.lua b/Resources/Scripts/Scene/3/scene3_group133309511.lua index e80d5a3bb..c30284742 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309511.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309511.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_ele = 511001, gadget_floor = 511008, pointarray_id = 330900041, diff --git a/Resources/Scripts/Scene/3/scene3_group133309512.lua b/Resources/Scripts/Scene/3/scene3_group133309512.lua index e915d6e9f..e2464ef37 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309512.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309512.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_ele = 512001, gadget_floor = 512008, pointarray_id = 330900042, diff --git a/Resources/Scripts/Scene/3/scene3_group133309513.lua b/Resources/Scripts/Scene/3/scene3_group133309513.lua index 42ad818f5..e567ad11c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309513.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309513.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_ele = 513001, gadget_floor = 513009, pointarray_id = 330900043, diff --git a/Resources/Scripts/Scene/3/scene3_group133309514.lua b/Resources/Scripts/Scene/3/scene3_group133309514.lua index a436c86b1..823ef84a2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309514.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309514.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_ele = 514001, gadget_floor = 514008, pointarray_id = 330900040, diff --git a/Resources/Scripts/Scene/3/scene3_group133309515.lua b/Resources/Scripts/Scene/3/scene3_group133309515.lua index 3149e543c..17ea10b4a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309515.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309515.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_ele = 515001, gadget_floor = 515008, pointarray_id = 330900044, diff --git a/Resources/Scripts/Scene/3/scene3_group133309518.lua b/Resources/Scripts/Scene/3/scene3_group133309518.lua index cad4365e6..67f53226d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309518.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309518.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 518001, gadget_2 = 518002, gadget_3 = 518003 diff --git a/Resources/Scripts/Scene/3/scene3_group133309525.lua b/Resources/Scripts/Scene/3/scene3_group133309525.lua index fd8c5dd5a..b46f628e9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309525.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309525.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133309525, pointarray_id = 330900050, gadget_ele = 525001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309526.lua b/Resources/Scripts/Scene/3/scene3_group133309526.lua index 3843b097a..2c55c1a88 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309526.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309526.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_door = 526002, gadget_switch = 526001, group_id = 133309526, @@ -15,16 +15,11 @@ defs = { -- DEFS_MISCS local CameraLookSetting = { - blend_type = 0, - --镜头的移动路径,球面0,直线1 - blend_duration = 1, - --镜头的移动时间 - is_force_walk = false, - --强制玩家行走 - is_allow_input = false, - --允许输入 - delay = 0, - --触发延迟 + blend_type = 0, --镜头的移动路径,球面0,直线1 + blend_duration = 1, --镜头的移动时间 + is_force_walk = false, --强制玩家行走 + is_allow_input = false, --允许输入 + delay = 0, --触发延迟 } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133309533.lua b/Resources/Scripts/Scene/3/scene3_group133309533.lua index c245a1686..510fa98f8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309533.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309533.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = {0}, duration = 10, interval = 10, diff --git a/Resources/Scripts/Scene/3/scene3_group133309541.lua b/Resources/Scripts/Scene/3/scene3_group133309541.lua index a43c658e2..a0c14d3eb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309541.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309541.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900054, pointArrayNum = 3, gadget_shooter = 541002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309542.lua b/Resources/Scripts/Scene/3/scene3_group133309542.lua index c6085f5d8..68c3869ac 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309542.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309542.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 542002, gadget_receiver_2 = 542003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309543.lua b/Resources/Scripts/Scene/3/scene3_group133309543.lua index ad7cf03f2..837857d00 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309543.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309543.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 543002, gadget_receiver_2 = 543003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309544.lua b/Resources/Scripts/Scene/3/scene3_group133309544.lua index 67f478b62..c3a6f4ac4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309544.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309544.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 544002, gadget_receiver_2 = 544003, gadget_receiver_3 = 544004, diff --git a/Resources/Scripts/Scene/3/scene3_group133309546.lua b/Resources/Scripts/Scene/3/scene3_group133309546.lua index 4fff4a303..45138f6d5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309546.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309546.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { enter_region = 546017, leave_region = 546018, FindClue = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133309570.lua b/Resources/Scripts/Scene/3/scene3_group133309570.lua index e67c7a54d..5a469b6c2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309570.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309570.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 25, route_2 = 330900208, gadget_seelie = 570002 diff --git a/Resources/Scripts/Scene/3/scene3_group133309575.lua b/Resources/Scripts/Scene/3/scene3_group133309575.lua index a32d4751c..4d05237be 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309575.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309575.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { elevatorOptionID = 433, gadget_elevatorID = 575001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309578.lua b/Resources/Scripts/Scene/3/scene3_group133309578.lua index d7a0c93c2..f33dce072 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309578.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309578.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133309578, collectable_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133309583.lua b/Resources/Scripts/Scene/3/scene3_group133309583.lua index bab98d8ac..196555972 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309583.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309583.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 583002, gadget_receiver_2 = 583003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309584.lua b/Resources/Scripts/Scene/3/scene3_group133309584.lua index 9c9eb9ecf..bb98e7150 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309584.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309584.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900057, pointArrayNum = 2, gadget_shooter = 584002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309585.lua b/Resources/Scripts/Scene/3/scene3_group133309585.lua index e6ffa6c6a..bd9eaead5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309585.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309585.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900058, pointArrayNum = 2, gadget_shooter = 585002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309607.lua b/Resources/Scripts/Scene/3/scene3_group133309607.lua index 3ab21a7e3..ef3d87eb9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309607.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309607.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 607001, gadget_2 = 607002, gadget_3 = 607003 diff --git a/Resources/Scripts/Scene/3/scene3_group133309612.lua b/Resources/Scripts/Scene/3/scene3_group133309612.lua index 915e7d383..500b25eb5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309612.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309612.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133309612, gadget_sum = 6, diff --git a/Resources/Scripts/Scene/3/scene3_group133309617.lua b/Resources/Scripts/Scene/3/scene3_group133309617.lua index 20f8c2ec2..c33573524 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309617.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309617.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 1, group_id = 133309617, diff --git a/Resources/Scripts/Scene/3/scene3_group133309623.lua b/Resources/Scripts/Scene/3/scene3_group133309623.lua index c5dc41281..895f9b5c3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309623.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309623.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_door = 623002, gadget_switch = 623001, group_id = 133309623, @@ -15,16 +15,11 @@ defs = { -- DEFS_MISCS local CameraLookSetting = { - blend_type = 0, - --镜头的移动路径,球面0,直线1 - blend_duration = 1, - --镜头的移动时间 - is_force_walk = false, - --强制玩家行走 - is_allow_input = false, - --允许输入 - delay = 0, - --触发延迟 + blend_type = 0, --镜头的移动路径,球面0,直线1 + blend_duration = 1, --镜头的移动时间 + is_force_walk = false, --强制玩家行走 + is_allow_input = false, --允许输入 + delay = 0, --触发延迟 } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133309624.lua b/Resources/Scripts/Scene/3/scene3_group133309624.lua index 49e290ce3..f1bd9a317 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309624.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309624.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_door = 624002, gadget_switch = 624001, group_id = 133309624, @@ -15,16 +15,11 @@ defs = { -- DEFS_MISCS local CameraLookSetting = { - blend_type = 0, - --镜头的移动路径,球面0,直线1 - blend_duration = 1, - --镜头的移动时间 - is_force_walk = false, - --强制玩家行走 - is_allow_input = false, - --允许输入 - delay = 0, - --触发延迟 + blend_type = 0, --镜头的移动路径,球面0,直线1 + blend_duration = 1, --镜头的移动时间 + is_force_walk = false, --强制玩家行走 + is_allow_input = false, --允许输入 + delay = 0, --触发延迟 } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133309625.lua b/Resources/Scripts/Scene/3/scene3_group133309625.lua index 8bea601f4..a8033b922 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309625.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309625.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900059, pointArrayNum = 3, gadget_shooter = 625002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309626.lua b/Resources/Scripts/Scene/3/scene3_group133309626.lua index ea1cd403c..4989c5b79 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309626.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309626.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900060, pointArrayNum = 3, gadget_shooter = 626002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309627.lua b/Resources/Scripts/Scene/3/scene3_group133309627.lua index 434b0613f..2fca047f3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309627.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309627.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900061, pointArrayNum = 2, gadget_shooter = 627001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309628.lua b/Resources/Scripts/Scene/3/scene3_group133309628.lua index 5515f772c..3c081ea1d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309628.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309628.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 628002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309629.lua b/Resources/Scripts/Scene/3/scene3_group133309629.lua index 33f254f14..ce81e64f0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309629.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309629.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 629002, gadget_receiver_2 = 629003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309631.lua b/Resources/Scripts/Scene/3/scene3_group133309631.lua index 5b25cd959..f49165c91 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309631.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309631.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900062, pointArrayNum = 3, gadget_shooter = 631002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309632.lua b/Resources/Scripts/Scene/3/scene3_group133309632.lua index 9a55cd138..252b67c3f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309632.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309632.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 632002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309633.lua b/Resources/Scripts/Scene/3/scene3_group133309633.lua index 984e5b548..cbcbcc5b5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309633.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309633.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900063, pointArrayNum = 2, gadget_shooter = 633001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309634.lua b/Resources/Scripts/Scene/3/scene3_group133309634.lua index 17b9371ff..87fd6771c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309634.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309634.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133309634, pointarray_id = 330900064, gadget_ele = 634001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309639.lua b/Resources/Scripts/Scene/3/scene3_group133309639.lua index ec71ea2e7..a4abf3228 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309639.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309639.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900065, pointArrayNum = 3, gadget_shooter = 639002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309640.lua b/Resources/Scripts/Scene/3/scene3_group133309640.lua index 76f60eee6..af45d140e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309640.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309640.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900066, pointArrayNum = 3, gadget_shooter = 640002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309641.lua b/Resources/Scripts/Scene/3/scene3_group133309641.lua index c399bafca..aeaebfe22 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309641.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309641.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900067, pointArrayNum = 12, gadget_shooter = 641001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309642.lua b/Resources/Scripts/Scene/3/scene3_group133309642.lua index c4105d1bd..5a31e0cb8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309642.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309642.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 642002, gadget_receiver_2 = 642003, gadget_seelie = 642001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309643.lua b/Resources/Scripts/Scene/3/scene3_group133309643.lua index 16880baa2..9b80a4ba5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309643.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309643.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 643002, gadget_receiver_2 = 643003, gadget_seelie = 643001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309644.lua b/Resources/Scripts/Scene/3/scene3_group133309644.lua index a899d75c1..9c313e655 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309644.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309644.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 644002, gadget_fireBase1 = 644001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309645.lua b/Resources/Scripts/Scene/3/scene3_group133309645.lua index f4a033310..9fd212e9e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309645.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309645.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 645002, gadget_fireBase1 = 645001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309662.lua b/Resources/Scripts/Scene/3/scene3_group133309662.lua index 2965e3a87..f68483aff 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309662.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309662.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133309662, collectable_sum = 20, diff --git a/Resources/Scripts/Scene/3/scene3_group133309668.lua b/Resources/Scripts/Scene/3/scene3_group133309668.lua index a549588b4..e6629d871 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309668.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309668.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, group_id = 133309668, collectable_sum = 16 diff --git a/Resources/Scripts/Scene/3/scene3_group133309673.lua b/Resources/Scripts/Scene/3/scene3_group133309673.lua index c2c745877..1c283f2e3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309673.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309673.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 673001, pointarray_id = 330900068 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309680.lua b/Resources/Scripts/Scene/3/scene3_group133309680.lua index a4be35391..9367d6d98 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309680.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309680.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 680002, gadget_receiver_2 = 680003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309681.lua b/Resources/Scripts/Scene/3/scene3_group133309681.lua index 4a3349265..4af9b43b7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309681.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309681.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {681001,681002,681003,681004}, diff --git a/Resources/Scripts/Scene/3/scene3_group133309682.lua b/Resources/Scripts/Scene/3/scene3_group133309682.lua index 8da840f71..23bbce7a4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309682.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309682.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133309682, pointarray_id = 330900075, gadget_ele = 682001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309693.lua b/Resources/Scripts/Scene/3/scene3_group133309693.lua index 367389230..ed18798e1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309693.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309693.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_normal = 330900069, pointarray_hard = 330900070 } @@ -17,8 +17,7 @@ local challengeOptionID = 188 local holeConfigID = {693001, 693002, 693003, 693005} local checkOptionID = 916 -local arrayID = {330900069 -, 330900070} +local arrayID = {330900069 , 330900070} local randomVez = {min = 3, max = 5} diff --git a/Resources/Scripts/Scene/3/scene3_group133309719.lua b/Resources/Scripts/Scene/3/scene3_group133309719.lua index 0b5dac7c2..fef33c469 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309719.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309719.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 719005, gadget_2 = 719006 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309726.lua b/Resources/Scripts/Scene/3/scene3_group133309726.lua index 53bc437cb..954b73cae 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309726.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309726.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 726002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309727.lua b/Resources/Scripts/Scene/3/scene3_group133309727.lua index dd5294c54..b333722d1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309727.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309727.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900071, pointArrayNum = 3, gadget_shooter = 727002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309730.lua b/Resources/Scripts/Scene/3/scene3_group133309730.lua index 34be00146..6367af11e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309730.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309730.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = 0, duration = 10, interval = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133309732.lua b/Resources/Scripts/Scene/3/scene3_group133309732.lua index 0f9fce6f7..d3b7f1753 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309732.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309732.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900073, pointArrayNum = 6, gadget_shooter = 732001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309739.lua b/Resources/Scripts/Scene/3/scene3_group133309739.lua index e5c9ff806..d190a6d62 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309739.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309739.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 739002, gadget_fireBase1 = 739001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309741.lua b/Resources/Scripts/Scene/3/scene3_group133309741.lua index f0bb4ca2a..335ade038 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309741.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309741.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 741001, gadget_receiver_2 = 741002, gadget_receiver_3 = 0 diff --git a/Resources/Scripts/Scene/3/scene3_group133309742.lua b/Resources/Scripts/Scene/3/scene3_group133309742.lua index c1d9d40b9..14a51f8da 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309742.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309742.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900076, pointArrayNum = 3, gadget_shooter = 742002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309746.lua b/Resources/Scripts/Scene/3/scene3_group133309746.lua index 5136382c8..6b1cd8cd1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309746.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309746.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_door = 746002, gadget_switch = 746001, group_id = 133309746, @@ -15,16 +15,11 @@ defs = { -- DEFS_MISCS local CameraLookSetting = { - blend_type = 0, - --镜头的移动路径,球面0,直线1 - blend_duration = 1, - --镜头的移动时间 - is_force_walk = false, - --强制玩家行走 - is_allow_input = false, - --允许输入 - delay = 0, - --触发延迟 + blend_type = 0, --镜头的移动路径,球面0,直线1 + blend_duration = 1, --镜头的移动时间 + is_force_walk = false, --强制玩家行走 + is_allow_input = false, --允许输入 + delay = 0, --触发延迟 } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133309747.lua b/Resources/Scripts/Scene/3/scene3_group133309747.lua index 194bcc20e..c5929fb8a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309747.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309747.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900077, pointArrayNum = 3, gadget_shooter = 747002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309748.lua b/Resources/Scripts/Scene/3/scene3_group133309748.lua index b9eb4717e..ddc51d0c9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309748.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309748.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 748002, gadget_receiver_2 = 748003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309749.lua b/Resources/Scripts/Scene/3/scene3_group133309749.lua index cb9ef8130..ee48f0759 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309749.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309749.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = 0, duration = 10, interval = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133309750.lua b/Resources/Scripts/Scene/3/scene3_group133309750.lua index bc022feb9..55cb3b7ce 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309750.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309750.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = 0, duration = 10, interval = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133309751.lua b/Resources/Scripts/Scene/3/scene3_group133309751.lua index 9a0d21461..12fb159f6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309751.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309751.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {751001,751002,751003,751004}, diff --git a/Resources/Scripts/Scene/3/scene3_group133309755.lua b/Resources/Scripts/Scene/3/scene3_group133309755.lua index d130f4d5d..ffa782d06 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309755.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309755.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 755001, gadget_2 = 755002, gadget_3 = 755003 diff --git a/Resources/Scripts/Scene/3/scene3_group133309757.lua b/Resources/Scripts/Scene/3/scene3_group133309757.lua index 0b6a4fdd4..ded252d8a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309757.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309757.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = 0, duration = 10, interval = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133309761.lua b/Resources/Scripts/Scene/3/scene3_group133309761.lua index 853262b97..07a80c3af 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309761.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309761.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = 0, duration = 5, interval = 4 diff --git a/Resources/Scripts/Scene/3/scene3_group133309778.lua b/Resources/Scripts/Scene/3/scene3_group133309778.lua index 0181a6261..43a3bc63e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309778.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309778.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133309778, gadget_riddle_hint = 778001, gadget_riddle_1 = 778002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309780.lua b/Resources/Scripts/Scene/3/scene3_group133309780.lua index 0558549de..54e902c8a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309780.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309780.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 780002, gadget_receiver_2 = 780003, gadget_receiver_3 = 780004, diff --git a/Resources/Scripts/Scene/3/scene3_group133309781.lua b/Resources/Scripts/Scene/3/scene3_group133309781.lua index d5319b2b4..432e19df5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309781.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309781.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900078, pointArrayNum = 3, gadget_shooter = 781002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309782.lua b/Resources/Scripts/Scene/3/scene3_group133309782.lua index f7bd4d4c7..376409cc3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309782.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309782.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900079, pointArrayNum = 3, gadget_shooter = 782002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309783.lua b/Resources/Scripts/Scene/3/scene3_group133309783.lua index a5454d796..749d3c275 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309783.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309783.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900080, pointArrayNum = 3, gadget_shooter = 783002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309784.lua b/Resources/Scripts/Scene/3/scene3_group133309784.lua index 3379ce2c4..5651e1833 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309784.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309784.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900081, pointArrayNum = 3, gadget_shooter = 784002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309788.lua b/Resources/Scripts/Scene/3/scene3_group133309788.lua index d5f8bfff4..03bdc20b5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309788.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309788.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 788002, gadget_receiver_2 = 788003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133309789.lua b/Resources/Scripts/Scene/3/scene3_group133309789.lua index c0dbf17ee..eeba06f11 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309789.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309789.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900082, pointArrayNum = 3, gadget_shooter = 789002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309790.lua b/Resources/Scripts/Scene/3/scene3_group133309790.lua index 855c9d4b4..8a3bd81a8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309790.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309790.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900083, pointArrayNum = 2, gadget_shooter = 790001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309791.lua b/Resources/Scripts/Scene/3/scene3_group133309791.lua index 4f9850f16..0db94f6f0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309791.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309791.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900084, pointArrayNum = 2, gadget_shooter = 791001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309792.lua b/Resources/Scripts/Scene/3/scene3_group133309792.lua index b557b8655..6761d8f20 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309792.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309792.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900085, pointArrayNum = 2, gadget_shooter = 792001, diff --git a/Resources/Scripts/Scene/3/scene3_group133309793.lua b/Resources/Scripts/Scene/3/scene3_group133309793.lua index 8c2fde2b9..f7f760b17 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309793.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309793.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 793002, gadget_receiver_2 = 793003, gadget_receiver_3 = 793004 diff --git a/Resources/Scripts/Scene/3/scene3_group133309794.lua b/Resources/Scripts/Scene/3/scene3_group133309794.lua index 8de0e3951..87c988509 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309794.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309794.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 330900086, pointArrayNum = 3, gadget_shooter = 794002, diff --git a/Resources/Scripts/Scene/3/scene3_group133309811.lua b/Resources/Scripts/Scene/3/scene3_group133309811.lua index 847141411..80525cbd4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309811.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309811.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 330900266, gadget_seelie = 811002 diff --git a/Resources/Scripts/Scene/3/scene3_group133309815.lua b/Resources/Scripts/Scene/3/scene3_group133309815.lua index c6444d622..24e19abf1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133309815.lua +++ b/Resources/Scripts/Scene/3/scene3_group133309815.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wait = 0, duration = 6, interval = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133310011.lua b/Resources/Scripts/Scene/3/scene3_group133310011.lua index 61b07b23c..ad8ae707e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310011.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 35, group_id = 133310011, collectable_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133310019.lua b/Resources/Scripts/Scene/3/scene3_group133310019.lua index 8d8f9c147..93a42ca1c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310019.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310019.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 19001, gallery_id = 29009, region_id = 19005, diff --git a/Resources/Scripts/Scene/3/scene3_group133310025.lua b/Resources/Scripts/Scene/3/scene3_group133310025.lua index e26a1fb19..de16bad41 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310025.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310025.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 331000062, gadget_seelie = 25002 diff --git a/Resources/Scripts/Scene/3/scene3_group133310031.lua b/Resources/Scripts/Scene/3/scene3_group133310031.lua index 9da3de67c..958bd6ab0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310031.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310031.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 331000005, gadget_seelie = 31002 diff --git a/Resources/Scripts/Scene/3/scene3_group133310032.lua b/Resources/Scripts/Scene/3/scene3_group133310032.lua index bbef923d3..5ce96ed80 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310032.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310032.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 331000007, gadget_seelie = 32002 diff --git a/Resources/Scripts/Scene/3/scene3_group133310033.lua b/Resources/Scripts/Scene/3/scene3_group133310033.lua index a2c42966f..795b0b96e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310033.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310033.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 331000009, gadget_seelie = 33002 diff --git a/Resources/Scripts/Scene/3/scene3_group133310040.lua b/Resources/Scripts/Scene/3/scene3_group133310040.lua index c54cdb347..302b23d61 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310040.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310040.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 31, route_2 = 331000102, gadget_seelie = 40002 diff --git a/Resources/Scripts/Scene/3/scene3_group133310042.lua b/Resources/Scripts/Scene/3/scene3_group133310042.lua index e9e986548..d9b8abb59 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310042.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310042.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 331000011, gadget_seelie = 42002 diff --git a/Resources/Scripts/Scene/3/scene3_group133310046.lua b/Resources/Scripts/Scene/3/scene3_group133310046.lua index 231c91889..9c73ae135 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310046.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310046.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 240, kill_sum = 9, group_id = 133310046, diff --git a/Resources/Scripts/Scene/3/scene3_group133310066.lua b/Resources/Scripts/Scene/3/scene3_group133310066.lua index 9eb364dfc..61c8c8441 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310066.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310066.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_door = 66002, gadget_switch = 66001, group_id = 133310066 diff --git a/Resources/Scripts/Scene/3/scene3_group133310071.lua b/Resources/Scripts/Scene/3/scene3_group133310071.lua index 9b36935f8..663557ca4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310071.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310071.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { hintTime = 30, coinTime = 20, maxRegion = 71003, @@ -14,7 +14,7 @@ defs = { } -- DEFS_MISCS -defs_miscs = { +local defs_miscs = { specialCoinTable = { -- 每项格式如下 [71018] = {71019,71040,71041,71042,71043,71044,71045,71046,71047,71048,71049,71050,71059,71052,71053,71054,71055,71056,71057,71058}, diff --git a/Resources/Scripts/Scene/3/scene3_group133310077.lua b/Resources/Scripts/Scene/3/scene3_group133310077.lua index 57f1aa659..b1431e686 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310077.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310077.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_door = 77002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133310078.lua b/Resources/Scripts/Scene/3/scene3_group133310078.lua index c922f2582..e9360325e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310078.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310078.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 331000060, gadget_seelie = 78002 diff --git a/Resources/Scripts/Scene/3/scene3_group133310082.lua b/Resources/Scripts/Scene/3/scene3_group133310082.lua index 9661d95c5..f1ceb9770 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310082.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310082.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 82002, gadget_fireBase1 = 82001, diff --git a/Resources/Scripts/Scene/3/scene3_group133310083.lua b/Resources/Scripts/Scene/3/scene3_group133310083.lua index d45714dbd..66aa521a4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310083.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310083.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 83001, gallery_id = 29013, region_id = 83005, diff --git a/Resources/Scripts/Scene/3/scene3_group133310086.lua b/Resources/Scripts/Scene/3/scene3_group133310086.lua index b00302969..e4fa65c78 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310086.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310086.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 86003, monster_BossID = 86001, gadget_Point_1 = 86004, diff --git a/Resources/Scripts/Scene/3/scene3_group133310089.lua b/Resources/Scripts/Scene/3/scene3_group133310089.lua index 799fe1ad2..2fc6eb5db 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310089.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310089.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 31, route_2 = 331000024, gadget_seelie = 89002 diff --git a/Resources/Scripts/Scene/3/scene3_group133310093.lua b/Resources/Scripts/Scene/3/scene3_group133310093.lua index 2ecc880ec..dc6786020 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310093.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310093.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 93002, gadget_fireBase1 = 93001, diff --git a/Resources/Scripts/Scene/3/scene3_group133310097.lua b/Resources/Scripts/Scene/3/scene3_group133310097.lua index d454766f1..a6ad5ac13 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310097.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310097.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 97002, gadget_fireBase1 = 97001, diff --git a/Resources/Scripts/Scene/3/scene3_group133310098.lua b/Resources/Scripts/Scene/3/scene3_group133310098.lua index ac7990531..629f54666 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310098.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310098.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 98002, gadget_fireBase1 = 98001, diff --git a/Resources/Scripts/Scene/3/scene3_group133310105.lua b/Resources/Scripts/Scene/3/scene3_group133310105.lua index 12f1d6711..aca405749 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310105.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310105.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, kill_sum = 6, group_id = 133310105, diff --git a/Resources/Scripts/Scene/3/scene3_group133310121.lua b/Resources/Scripts/Scene/3/scene3_group133310121.lua index 23857a108..4c82b0156 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310121.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310121.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 121025, gadget_lookEntity = 121006, look_duration = 5 diff --git a/Resources/Scripts/Scene/3/scene3_group133310122.lua b/Resources/Scripts/Scene/3/scene3_group133310122.lua index aae7a7ec1..4d28a2560 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310122.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310122.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133310122, gadget_riddle_hint = 122001, gadget_riddle_1 = 122002, diff --git a/Resources/Scripts/Scene/3/scene3_group133310135.lua b/Resources/Scripts/Scene/3/scene3_group133310135.lua index 38b742946..5cbe41431 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310135.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310135.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_door = 135002, gadget_switch = 135001, group_id = 133310135, diff --git a/Resources/Scripts/Scene/3/scene3_group133310137.lua b/Resources/Scripts/Scene/3/scene3_group133310137.lua index 709853903..0cdf9ff2d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310137.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310137.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 331000043, gadget_seelie = 137002 diff --git a/Resources/Scripts/Scene/3/scene3_group133310144.lua b/Resources/Scripts/Scene/3/scene3_group133310144.lua index 2fb01749d..2a74fa16f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310144.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310144.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 180, group_id = 133310144, collectable_sum = 20 diff --git a/Resources/Scripts/Scene/3/scene3_group133310146.lua b/Resources/Scripts/Scene/3/scene3_group133310146.lua index 811865e7a..61d9a7273 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310146.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310146.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133310146, pointarray_id = 331000024, gadget_ele = 146001, diff --git a/Resources/Scripts/Scene/3/scene3_group133310150.lua b/Resources/Scripts/Scene/3/scene3_group133310150.lua index 22bc07ef3..4b0a2af4b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310150.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310150.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 150005, monster_BossID = 150002, gadget_Point_1 = 150006, diff --git a/Resources/Scripts/Scene/3/scene3_group133310158.lua b/Resources/Scripts/Scene/3/scene3_group133310158.lua index fb217dd56..99759fdfc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310158.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310158.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 4, group_id = 133310158, diff --git a/Resources/Scripts/Scene/3/scene3_group133310160.lua b/Resources/Scripts/Scene/3/scene3_group133310160.lua index 95c5b7d3f..568c9fd8a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310160.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310160.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133310160, gadget_riddle_hint = 160001, gadget_riddle_1 = 160002, diff --git a/Resources/Scripts/Scene/3/scene3_group133310161.lua b/Resources/Scripts/Scene/3/scene3_group133310161.lua index 5bdb697c0..3d867c93e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310161.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310161.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 161004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133310165.lua b/Resources/Scripts/Scene/3/scene3_group133310165.lua index 1be1fc98e..f4e9f9034 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310165.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310165.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 331000052, gadget_seelie = 165002 diff --git a/Resources/Scripts/Scene/3/scene3_group133310172.lua b/Resources/Scripts/Scene/3/scene3_group133310172.lua index a14907c29..8f99ffce9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310172.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310172.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 15, group_id = 133310172, diff --git a/Resources/Scripts/Scene/3/scene3_group133310176.lua b/Resources/Scripts/Scene/3/scene3_group133310176.lua index 3ad5a95de..806a85528 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310176.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310176.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 180, group_id = 133310176, collectable_sum = 30 diff --git a/Resources/Scripts/Scene/3/scene3_group133310179.lua b/Resources/Scripts/Scene/3/scene3_group133310179.lua index d9b728786..a73e7d235 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310179.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310179.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_door = 179002, gadget_switch = 179001, group_id = 133310179, diff --git a/Resources/Scripts/Scene/3/scene3_group133310180.lua b/Resources/Scripts/Scene/3/scene3_group133310180.lua index 08be4f02a..0ac5f6220 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310180.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310180.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_door = 180002, gadget_switch = 180001, group_id = 133310180 diff --git a/Resources/Scripts/Scene/3/scene3_group133310184.lua b/Resources/Scripts/Scene/3/scene3_group133310184.lua index 073c236a7..d533f3b01 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310184.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310184.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, group_id = 133310184, collectable_sum = 12 diff --git a/Resources/Scripts/Scene/3/scene3_group133310196.lua b/Resources/Scripts/Scene/3/scene3_group133310196.lua index 69f6a1ac7..1e76965ad 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310196.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310196.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 196001, gadget_2 = 196002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133310200.lua b/Resources/Scripts/Scene/3/scene3_group133310200.lua index 58e883e40..36eb76e23 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310200.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310200.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 331000022, pointArrayNum = 3, gadget_shooter = 200002, diff --git a/Resources/Scripts/Scene/3/scene3_group133310201.lua b/Resources/Scripts/Scene/3/scene3_group133310201.lua index e906bfff4..a8a5837ab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310201.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310201.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 331000023, pointArrayNum = 3, gadget_shooter = 201002, diff --git a/Resources/Scripts/Scene/3/scene3_group133310237.lua b/Resources/Scripts/Scene/3/scene3_group133310237.lua index b45b9c4de..bc2a61b8d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310237.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310237.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133310237, collectable_sum = 11 diff --git a/Resources/Scripts/Scene/3/scene3_group133310238.lua b/Resources/Scripts/Scene/3/scene3_group133310238.lua index d81516ea6..3132861f3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310238.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310238.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 21, route_2 = 331000078, gadget_seelie = 238002 diff --git a/Resources/Scripts/Scene/3/scene3_group133310247.lua b/Resources/Scripts/Scene/3/scene3_group133310247.lua index 9d89d8b70..c21636967 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310247.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310247.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 331000083, gadget_seelie = 247002 diff --git a/Resources/Scripts/Scene/3/scene3_group133310259.lua b/Resources/Scripts/Scene/3/scene3_group133310259.lua index 89e642d2b..2cd6fd7b2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310259.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310259.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_door = 259002, gadget_switch = 259001, group_id = 133310259 diff --git a/Resources/Scripts/Scene/3/scene3_group133310260.lua b/Resources/Scripts/Scene/3/scene3_group133310260.lua index 2891df140..006c232b4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310260.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310260.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133310260, collectable_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133310262.lua b/Resources/Scripts/Scene/3/scene3_group133310262.lua index 5793a13ce..493786b4b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310262.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310262.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 262007, operator_2 = 262008, chest = 262009 diff --git a/Resources/Scripts/Scene/3/scene3_group133310263.lua b/Resources/Scripts/Scene/3/scene3_group133310263.lua index 51dc3df91..b6598c6b3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310263.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310263.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 263007, operator_2 = 263008, chest = 263009 diff --git a/Resources/Scripts/Scene/3/scene3_group133310264.lua b/Resources/Scripts/Scene/3/scene3_group133310264.lua index 6c609e81b..ee3ca7bfb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310264.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310264.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 264007, operator_2 = 264008, chest = 264009 diff --git a/Resources/Scripts/Scene/3/scene3_group133310265.lua b/Resources/Scripts/Scene/3/scene3_group133310265.lua index d15ce1ff2..f3c8c9bdf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310265.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310265.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 265007, operator_2 = 265008, chest = 265009 diff --git a/Resources/Scripts/Scene/3/scene3_group133310286.lua b/Resources/Scripts/Scene/3/scene3_group133310286.lua index a7e37b2f1..2f11b6c8f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310286.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310286.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_temple = 286001, gadget_chest = 286002, group_ID = 133310286 diff --git a/Resources/Scripts/Scene/3/scene3_group133310295.lua b/Resources/Scripts/Scene/3/scene3_group133310295.lua index 4e2354553..ac984be4e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310295.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310295.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 331000159, gadget_seelie = 295002 diff --git a/Resources/Scripts/Scene/3/scene3_group133310321.lua b/Resources/Scripts/Scene/3/scene3_group133310321.lua index f8f01e4e8..84e454228 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310321.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310321.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { enter_region = 321014, leave_region = 321015, FindClue = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133310326.lua b/Resources/Scripts/Scene/3/scene3_group133310326.lua index 65ac881a5..c9f455438 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310326.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310326.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 326002, gadget_receiver_2 = 326003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133310327.lua b/Resources/Scripts/Scene/3/scene3_group133310327.lua index cce4211b4..41484470b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310327.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310327.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 331000011, pointArrayNum = 3, gadget_shooter = 327002, diff --git a/Resources/Scripts/Scene/3/scene3_group133310328.lua b/Resources/Scripts/Scene/3/scene3_group133310328.lua index a3265b3bf..829c95930 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310328.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310328.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 331000012, pointArrayNum = 3, gadget_shooter = 328002, diff --git a/Resources/Scripts/Scene/3/scene3_group133310345.lua b/Resources/Scripts/Scene/3/scene3_group133310345.lua index 2361ef37d..a942b276f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310345.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310345.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133310345, gadget_sum = 7 diff --git a/Resources/Scripts/Scene/3/scene3_group133310348.lua b/Resources/Scripts/Scene/3/scene3_group133310348.lua index 2ab9c1400..afc085d5d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310348.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310348.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { enter_region = 348012, leave_region = 348013, FindClue = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133310350.lua b/Resources/Scripts/Scene/3/scene3_group133310350.lua index 38648d171..0caf037ca 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310350.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310350.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 350001, gadget_2 = 350002, gadget_3 = 350003 diff --git a/Resources/Scripts/Scene/3/scene3_group133310379.lua b/Resources/Scripts/Scene/3/scene3_group133310379.lua index 0868fd253..7a38f053e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310379.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310379.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 379001, pointarray_id = 331000025, minPoint = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133310384.lua b/Resources/Scripts/Scene/3/scene3_group133310384.lua index b3f7cb4df..e7c727cc5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310384.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310384.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 384001, gadget_2 = 384002, gadget_3 = 384003 diff --git a/Resources/Scripts/Scene/3/scene3_group133310388.lua b/Resources/Scripts/Scene/3/scene3_group133310388.lua index 9655e95a6..807671618 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310388.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310388.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 7, group_id = 133310388, diff --git a/Resources/Scripts/Scene/3/scene3_group133310389.lua b/Resources/Scripts/Scene/3/scene3_group133310389.lua index a34eb6841..9b69e96f1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310389.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310389.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 331000116, gadget_seelie = 389002 diff --git a/Resources/Scripts/Scene/3/scene3_group133310403.lua b/Resources/Scripts/Scene/3/scene3_group133310403.lua index f0b50021d..9d90a2dfa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310403.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310403.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 403001, pointarray_id = 331000013, minPoint = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133310404.lua b/Resources/Scripts/Scene/3/scene3_group133310404.lua index c714571f4..25811c618 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310404.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310404.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 404001, pointarray_id = 331000014, minPoint = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133310441.lua b/Resources/Scripts/Scene/3/scene3_group133310441.lua index bbd4d2043..c2f5f1d8c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310441.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310441.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133310441, collectable_sum = 9 diff --git a/Resources/Scripts/Scene/3/scene3_group133310454.lua b/Resources/Scripts/Scene/3/scene3_group133310454.lua index af53db885..78dafc655 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310454.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310454.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133310454, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133310463.lua b/Resources/Scripts/Scene/3/scene3_group133310463.lua index fa129fedb..506275798 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310463.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310463.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 331000136, gadget_seelie = 463002 diff --git a/Resources/Scripts/Scene/3/scene3_group133310473.lua b/Resources/Scripts/Scene/3/scene3_group133310473.lua index 99002e3e2..9731b332e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310473.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310473.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 331000141, gadget_seelie = 473002 diff --git a/Resources/Scripts/Scene/3/scene3_group133310474.lua b/Resources/Scripts/Scene/3/scene3_group133310474.lua index 6cb3cb173..ed914e7b2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310474.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310474.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_normal = 331000020, pointarray_hard = 331000021 } @@ -17,8 +17,7 @@ local challengeOptionID = 188 local holeConfigID = {474001, 474002, 474003, 474005} local checkOptionID = 916 -local arrayID = {331000020 -, 331000021} +local arrayID = {331000020 , 331000021} local randomVez = {min = 3, max = 5} diff --git a/Resources/Scripts/Scene/3/scene3_group133310491.lua b/Resources/Scripts/Scene/3/scene3_group133310491.lua index 927b58609..df0999eec 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310491.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310491.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, group_id = 133310491 } diff --git a/Resources/Scripts/Scene/3/scene3_group133310493.lua b/Resources/Scripts/Scene/3/scene3_group133310493.lua index 2203b0516..4ddc99b5b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310493.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310493.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 493002, gadget_receiver_2 = 493003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133310524.lua b/Resources/Scripts/Scene/3/scene3_group133310524.lua index 9edf33d79..524ff7c37 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310524.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310524.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133310524, collectable_sum = 24 diff --git a/Resources/Scripts/Scene/3/scene3_group133310530.lua b/Resources/Scripts/Scene/3/scene3_group133310530.lua index 0b20d3a66..08a7bfb0b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310530.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310530.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 15, group_id = 133310530, diff --git a/Resources/Scripts/Scene/3/scene3_group133310561.lua b/Resources/Scripts/Scene/3/scene3_group133310561.lua index df75494d9..d20dd7eed 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310561.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310561.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, group_id = 133310561 } diff --git a/Resources/Scripts/Scene/3/scene3_group133310582.lua b/Resources/Scripts/Scene/3/scene3_group133310582.lua index 3f83d35b1..1febb1cbd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310582.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310582.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 582004, related_region = 582004, outer_region = 582004 diff --git a/Resources/Scripts/Scene/3/scene3_group133310587.lua b/Resources/Scripts/Scene/3/scene3_group133310587.lua index 6e1a9a041..5b9b306fd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310587.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310587.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133310587, gadget_riddle_hint = 587001, gadget_riddle_1 = 587002, diff --git a/Resources/Scripts/Scene/3/scene3_group133310601.lua b/Resources/Scripts/Scene/3/scene3_group133310601.lua index 7f7d3964d..a1d7a6791 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310601.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310601.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 601001, gadget_2 = 601002, gadget_3 = 601003 diff --git a/Resources/Scripts/Scene/3/scene3_group133310617.lua b/Resources/Scripts/Scene/3/scene3_group133310617.lua index d8c126bc5..299804294 100644 --- a/Resources/Scripts/Scene/3/scene3_group133310617.lua +++ b/Resources/Scripts/Scene/3/scene3_group133310617.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 2, group_id = 133310617, diff --git a/Resources/Scripts/Scene/3/scene3_group133312005.lua b/Resources/Scripts/Scene/3/scene3_group133312005.lua index a4bdf8807..893ca1ef4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133312005.lua +++ b/Resources/Scripts/Scene/3/scene3_group133312005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 331200024, gadget_seelie = 5002 diff --git a/Resources/Scripts/Scene/3/scene3_group133312010.lua b/Resources/Scripts/Scene/3/scene3_group133312010.lua index 7ae419c79..2d2ea2f76 100644 --- a/Resources/Scripts/Scene/3/scene3_group133312010.lua +++ b/Resources/Scripts/Scene/3/scene3_group133312010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 25, route_2 = 331200011, gadget_seelie = 10002 diff --git a/Resources/Scripts/Scene/3/scene3_group133312018.lua b/Resources/Scripts/Scene/3/scene3_group133312018.lua index 8e742b06a..984297344 100644 --- a/Resources/Scripts/Scene/3/scene3_group133312018.lua +++ b/Resources/Scripts/Scene/3/scene3_group133312018.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 23, route_2 = 331200009, gadget_seelie = 18002 diff --git a/Resources/Scripts/Scene/3/scene3_group133312028.lua b/Resources/Scripts/Scene/3/scene3_group133312028.lua index 802bcd036..e4e919840 100644 --- a/Resources/Scripts/Scene/3/scene3_group133312028.lua +++ b/Resources/Scripts/Scene/3/scene3_group133312028.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 31, route_2 = 331200019, gadget_seelie = 28002 diff --git a/Resources/Scripts/Scene/3/scene3_group133312029.lua b/Resources/Scripts/Scene/3/scene3_group133312029.lua index 1eb146308..f2d5f1d62 100644 --- a/Resources/Scripts/Scene/3/scene3_group133312029.lua +++ b/Resources/Scripts/Scene/3/scene3_group133312029.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 33, route_2 = 331200021, gadget_seelie = 29002 diff --git a/Resources/Scripts/Scene/3/scene3_group133312031.lua b/Resources/Scripts/Scene/3/scene3_group133312031.lua index 5f014bca3..468cae343 100644 --- a/Resources/Scripts/Scene/3/scene3_group133312031.lua +++ b/Resources/Scripts/Scene/3/scene3_group133312031.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 65, group_id = 133312031, collectable_sum = 14 diff --git a/Resources/Scripts/Scene/3/scene3_group133312037.lua b/Resources/Scripts/Scene/3/scene3_group133312037.lua index d9b787efa..cd6f4e616 100644 --- a/Resources/Scripts/Scene/3/scene3_group133312037.lua +++ b/Resources/Scripts/Scene/3/scene3_group133312037.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133312037, gadget_sum = 5 diff --git a/Resources/Scripts/Scene/3/scene3_group133312054.lua b/Resources/Scripts/Scene/3/scene3_group133312054.lua index 33d60a595..355bc22a1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133312054.lua +++ b/Resources/Scripts/Scene/3/scene3_group133312054.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 4, group_id = 133312054, diff --git a/Resources/Scripts/Scene/3/scene3_group133312056.lua b/Resources/Scripts/Scene/3/scene3_group133312056.lua index 79793ecc0..7957abae1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133312056.lua +++ b/Resources/Scripts/Scene/3/scene3_group133312056.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 39, route_2 = 331200027, gadget_seelie = 56002 diff --git a/Resources/Scripts/Scene/3/scene3_group133312087.lua b/Resources/Scripts/Scene/3/scene3_group133312087.lua index fcdbc173c..3fd66b898 100644 --- a/Resources/Scripts/Scene/3/scene3_group133312087.lua +++ b/Resources/Scripts/Scene/3/scene3_group133312087.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 20, group_id = 133312087, diff --git a/Resources/Scripts/Scene/3/scene3_group133312092.lua b/Resources/Scripts/Scene/3/scene3_group133312092.lua index 3b7480cda..ff9a11d24 100644 --- a/Resources/Scripts/Scene/3/scene3_group133312092.lua +++ b/Resources/Scripts/Scene/3/scene3_group133312092.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133312092, gadget_sum = 5 diff --git a/Resources/Scripts/Scene/3/scene3_group133312098.lua b/Resources/Scripts/Scene/3/scene3_group133312098.lua index eac96fa55..69135b7fb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133312098.lua +++ b/Resources/Scripts/Scene/3/scene3_group133312098.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 75, kill_sum = 3, group_id = 133312098, diff --git a/Resources/Scripts/Scene/3/scene3_group133312099.lua b/Resources/Scripts/Scene/3/scene3_group133312099.lua index 8014d3bc8..815a8fba2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133312099.lua +++ b/Resources/Scripts/Scene/3/scene3_group133312099.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 100, group_id = 133312099, collectable_sum = 22 diff --git a/Resources/Scripts/Scene/3/scene3_group133313018.lua b/Resources/Scripts/Scene/3/scene3_group133313018.lua index e72ffcddf..108817702 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313018.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313018.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 18019, gadget_lookEntity = 18008, look_duration = 4 @@ -12,16 +12,11 @@ defs = { -- DEFS_MISCS local CameraLookSetting = { - blend_type = 1, - --镜头的移动路径,球面0,直线1 - blend_duration = 1, - --镜头的移动时间 - is_force_walk = false, - --强制玩家行走 - is_allow_input = false, - --允许输入 - delay = 0, - --触发延迟 + blend_type = 1, --镜头的移动路径,球面0,直线1 + blend_duration = 1, --镜头的移动时间 + is_force_walk = false, --强制玩家行走 + is_allow_input = false, --允许输入 + delay = 0, --触发延迟 } local I_connectors = diff --git a/Resources/Scripts/Scene/3/scene3_group133313024.lua b/Resources/Scripts/Scene/3/scene3_group133313024.lua index 7859c2ad5..22057ebd3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313024.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313024.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_route = 331300001, chest_id = 24011, wordle_id = 24012 diff --git a/Resources/Scripts/Scene/3/scene3_group133313030.lua b/Resources/Scripts/Scene/3/scene3_group133313030.lua index b254cdd47..167af4d0b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313030.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313030.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 30002, gadget_fireBase1 = 30001, diff --git a/Resources/Scripts/Scene/3/scene3_group133313042.lua b/Resources/Scripts/Scene/3/scene3_group133313042.lua index 6419e3c79..78a50a71b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313042.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313042.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { gadget_ELCid = 42001, gadget_GearCid01 = 42003, gadget_GearCid02 = 42004, diff --git a/Resources/Scripts/Scene/3/scene3_group133313049.lua b/Resources/Scripts/Scene/3/scene3_group133313049.lua index 53e1fa814..c9064f119 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313049.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313049.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 23, route_2 = 331300053, gadget_seelie = 49002 diff --git a/Resources/Scripts/Scene/3/scene3_group133313051.lua b/Resources/Scripts/Scene/3/scene3_group133313051.lua index 3333a0573..91387e810 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313051.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313051.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 31, route_2 = 331300003, gadget_seelie = 51002 diff --git a/Resources/Scripts/Scene/3/scene3_group133313054.lua b/Resources/Scripts/Scene/3/scene3_group133313054.lua index 1a666cbd3..7225718b5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313054.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313054.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { gadget_ELCid = 54001, gadget_GearCid01 = 54003, gadget_GearCid02 = 54004, diff --git a/Resources/Scripts/Scene/3/scene3_group133313056.lua b/Resources/Scripts/Scene/3/scene3_group133313056.lua index caf9d86da..e5743cd7d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313056.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313056.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { maxPlayerEnergyLev = 2, titanRegion = 56025, @@ -14,8 +14,7 @@ defs = { -- [cell_config_id] = {cell = cell_config_id, lines = {line01_config_id, line02_config_id, ...}, nodes = {node01_config_id, ...}} [56002] = {cell = 56002, lines = {}, nodes = {}}, [56003] = {cell = 56003, lines = {}, nodes = {}} - } -, + } , -- 指定初始激活的电池id,未指定则默认初始未激活 activeCells = {}, diff --git a/Resources/Scripts/Scene/3/scene3_group133313072.lua b/Resources/Scripts/Scene/3/scene3_group133313072.lua index 51f2db205..8c9abb001 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313072.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313072.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { maxPlayerEnergyLev = 3, titanRegion = 72006, @@ -13,8 +13,7 @@ defs = { -- 每一项均需严格遵循下述格式,没有line或者node则留空,不能不创建! -- [cell_config_id] = {cell = cell_config_id, lines = {line01_config_id, line02_config_id, ...}, nodes = {node01_config_id, ...}} [0] = {cell = 0, lines = {}, nodes = {}} - } -, + } , -- 指定初始激活的电池id,未指定则默认初始未激活 activeCells = {}, diff --git a/Resources/Scripts/Scene/3/scene3_group133313074.lua b/Resources/Scripts/Scene/3/scene3_group133313074.lua index 13d8ecb0c..21cf3b337 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313074.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313074.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 55, group_id = 133313074, collectable_sum = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133313088.lua b/Resources/Scripts/Scene/3/scene3_group133313088.lua index 89944444e..58d2ae025 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313088.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313088.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 331300086, gadget_seelie = 88002 diff --git a/Resources/Scripts/Scene/3/scene3_group133313091.lua b/Resources/Scripts/Scene/3/scene3_group133313091.lua index 4ba1c7bee..9ff0ad7ff 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313091.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313091.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, group_id = 133313091 } diff --git a/Resources/Scripts/Scene/3/scene3_group133313093.lua b/Resources/Scripts/Scene/3/scene3_group133313093.lua index 13453d3b8..519463320 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313093.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313093.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133313093 } diff --git a/Resources/Scripts/Scene/3/scene3_group133313095.lua b/Resources/Scripts/Scene/3/scene3_group133313095.lua index ec11f5fa2..b8c35eaab 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313095.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313095.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 95002, gadget_fireBase1 = 95001, diff --git a/Resources/Scripts/Scene/3/scene3_group133313109.lua b/Resources/Scripts/Scene/3/scene3_group133313109.lua index b0d80dd4f..64647bb3f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313109.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313109.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 109002, gadget_fireBase1 = 109001, diff --git a/Resources/Scripts/Scene/3/scene3_group133313112.lua b/Resources/Scripts/Scene/3/scene3_group133313112.lua index 0e0f695ef..c5a36b200 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313112.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313112.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 112002, gadget_fireBase1 = 112001, diff --git a/Resources/Scripts/Scene/3/scene3_group133313113.lua b/Resources/Scripts/Scene/3/scene3_group133313113.lua index 5568ef0d4..4002a8e01 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313113.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313113.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 331300002, pointArrayNum = 2, gadget_shooter = 113002, diff --git a/Resources/Scripts/Scene/3/scene3_group133313118.lua b/Resources/Scripts/Scene/3/scene3_group133313118.lua index 4f631263a..53f8238db 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313118.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313118.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 118004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133313126.lua b/Resources/Scripts/Scene/3/scene3_group133313126.lua index d409a42fa..07e861e6a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313126.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313126.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 126002, gadget_fireBase1 = 126001, diff --git a/Resources/Scripts/Scene/3/scene3_group133313127.lua b/Resources/Scripts/Scene/3/scene3_group133313127.lua index 68800657f..f4c9122ff 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313127.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313127.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_route = 331300003, chest_id = 127010, wordle_id = 127011 diff --git a/Resources/Scripts/Scene/3/scene3_group133313128.lua b/Resources/Scripts/Scene/3/scene3_group133313128.lua index 9c7acec4d..60dc00888 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313128.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313128.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_route = 331300004, chest_id = 128010, wordle_id = 128011 diff --git a/Resources/Scripts/Scene/3/scene3_group133313134.lua b/Resources/Scripts/Scene/3/scene3_group133313134.lua index b5792ae9e..ec6d3a588 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313134.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313134.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 134002, gadget_fireBase1 = 134001, diff --git a/Resources/Scripts/Scene/3/scene3_group133313144.lua b/Resources/Scripts/Scene/3/scene3_group133313144.lua index da7323cf7..0716d2042 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313144.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313144.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, kill_sum = 5, group_id = 133313144, diff --git a/Resources/Scripts/Scene/3/scene3_group133313150.lua b/Resources/Scripts/Scene/3/scene3_group133313150.lua index 374f49ca3..d3b17c63b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313150.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313150.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 150002, gadget_fireBase1 = 150001, diff --git a/Resources/Scripts/Scene/3/scene3_group133313165.lua b/Resources/Scripts/Scene/3/scene3_group133313165.lua index a236c06b6..d267e4e81 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313165.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313165.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133313165, collectable_sum = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133313171.lua b/Resources/Scripts/Scene/3/scene3_group133313171.lua index 960aabfd5..3ce2cce76 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313171.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313171.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133313171, gadget_riddle_hint = 171001, gadget_riddle_1 = 171002, diff --git a/Resources/Scripts/Scene/3/scene3_group133313182.lua b/Resources/Scripts/Scene/3/scene3_group133313182.lua index 94ec61d43..5f259cc7e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313182.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313182.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { chest_id = 182007, hint_gadget_id = 182006, region_id = 182008 diff --git a/Resources/Scripts/Scene/3/scene3_group133313184.lua b/Resources/Scripts/Scene/3/scene3_group133313184.lua index 2807902ce..eada3752a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313184.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313184.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { gadget_ELCid = 184001, gadget_GearCid01 = 184003, gadget_GearCid02 = 184004, diff --git a/Resources/Scripts/Scene/3/scene3_group133313185.lua b/Resources/Scripts/Scene/3/scene3_group133313185.lua index 2c8fc459f..d3d9522a1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313185.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313185.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 25, route_2 = 331300061, gadget_seelie = 185002 diff --git a/Resources/Scripts/Scene/3/scene3_group133313189.lua b/Resources/Scripts/Scene/3/scene3_group133313189.lua index 7712f46b4..a0fa872db 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313189.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313189.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 23, route_2 = 331300063, gadget_seelie = 189002 diff --git a/Resources/Scripts/Scene/3/scene3_group133313197.lua b/Resources/Scripts/Scene/3/scene3_group133313197.lua index f0de4ce21..c3c75e374 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313197.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313197.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 197002, gadget_fireBase1 = 197001, diff --git a/Resources/Scripts/Scene/3/scene3_group133313201.lua b/Resources/Scripts/Scene/3/scene3_group133313201.lua index 0dc90cd92..4b32373dc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313201.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313201.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 201002, gadget_fireBase1 = 201001, diff --git a/Resources/Scripts/Scene/3/scene3_group133313225.lua b/Resources/Scripts/Scene/3/scene3_group133313225.lua index c7ecefd57..0fc99fa07 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313225.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313225.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { maxPlayerEnergyLev = 3, titanRegion = 225010, @@ -15,8 +15,7 @@ defs = { [225001] = {cell = 225001, lines = {}, nodes = {}}, [225002] = {cell = 225002, lines = {}, nodes = {}}, [225003] = {cell = 225003, lines = {}, nodes = {}} - } -, + } , -- 指定初始激活的电池id,未指定则默认初始未激活 activeCells = {225001,225002,225003}, diff --git a/Resources/Scripts/Scene/3/scene3_group133313230.lua b/Resources/Scripts/Scene/3/scene3_group133313230.lua index 30382580f..e632b6f82 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313230.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313230.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { maxPlayerEnergyLev = 3, titanRegion = 230004, @@ -15,8 +15,7 @@ defs = { [230001] = {cell = 230001, lines = {}, nodes = {}}, [230002] = {cell = 230002, lines = {}, nodes = {}}, [230003] = {cell = 230003, lines = {}, nodes = {}} - } -, + } , -- 指定初始激活的电池id,未指定则默认初始未激活 activeCells = {230001,230002,230003}, diff --git a/Resources/Scripts/Scene/3/scene3_group133313231.lua b/Resources/Scripts/Scene/3/scene3_group133313231.lua index 4affc659d..8bdfa5125 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313231.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313231.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { maxPlayerEnergyLev = 2, titanRegion = 231004, @@ -14,8 +14,7 @@ defs = { -- [cell_config_id] = {cell = cell_config_id, lines = {line01_config_id, line02_config_id, ...}, nodes = {node01_config_id, ...}} [231001] = {cell = 231001, lines = {}, nodes = {}}, [231002] = {cell = 231002, lines = {}, nodes = {}} - } -, + } , -- 指定初始激活的电池id,未指定则默认初始未激活 activeCells = {231001,231002}, diff --git a/Resources/Scripts/Scene/3/scene3_group133313232.lua b/Resources/Scripts/Scene/3/scene3_group133313232.lua index 78f5f3c5a..4fccfa3a0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313232.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313232.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { maxPlayerEnergyLev = 3, titanRegion = 232004, @@ -15,8 +15,7 @@ defs = { [232001] = {cell = 232001, lines = {}, nodes = {}}, [232002] = {cell = 232002, lines = {}, nodes = {}}, [232003] = {cell = 232003, lines = {}, nodes = {}} - } -, + } , -- 指定初始激活的电池id,未指定则默认初始未激活 activeCells = {232001,232002,232003}, diff --git a/Resources/Scripts/Scene/3/scene3_group133313233.lua b/Resources/Scripts/Scene/3/scene3_group133313233.lua index 545c74d95..b5106c1b3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313233.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313233.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { maxPlayerEnergyLev = 2, titanRegion = 233003, @@ -14,8 +14,7 @@ defs = { -- [cell_config_id] = {cell = cell_config_id, lines = {line01_config_id, line02_config_id, ...}, nodes = {node01_config_id, ...}} [233001] = {cell = 233001, lines = {}, nodes = {}}, [233002] = {cell = 233002, lines = {}, nodes = {}} - } -, + } , -- 指定初始激活的电池id,未指定则默认初始未激活 activeCells = {233001,233002}, diff --git a/Resources/Scripts/Scene/3/scene3_group133313242.lua b/Resources/Scripts/Scene/3/scene3_group133313242.lua index 3bd4e08d3..3292d08a6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313242.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313242.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 20, group_id = 133313242, collectable_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133313254.lua b/Resources/Scripts/Scene/3/scene3_group133313254.lua index e9e52175b..cf45d7ab8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313254.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313254.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 254004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133313259.lua b/Resources/Scripts/Scene/3/scene3_group133313259.lua index c19d0c794..daaf07260 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313259.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313259.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_worktop_id = 259001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133313274.lua b/Resources/Scripts/Scene/3/scene3_group133313274.lua index 7b4d452ba..70255b5ca 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313274.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313274.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 331300007, pointArrayNum = 3, gadget_shooter = 274002, diff --git a/Resources/Scripts/Scene/3/scene3_group133313277.lua b/Resources/Scripts/Scene/3/scene3_group133313277.lua index 4840c30b1..1635a79c4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313277.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313277.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 331300008, pointArrayNum = 2, gadget_shooter = 277002, diff --git a/Resources/Scripts/Scene/3/scene3_group133313283.lua b/Resources/Scripts/Scene/3/scene3_group133313283.lua index 86b7880ef..caf424583 100644 --- a/Resources/Scripts/Scene/3/scene3_group133313283.lua +++ b/Resources/Scripts/Scene/3/scene3_group133313283.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133313283, collectable_sum = 21 diff --git a/Resources/Scripts/Scene/3/scene3_group133314001.lua b/Resources/Scripts/Scene/3/scene3_group133314001.lua index 8c7a0a02b..6012bfce6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314001.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { alert_max_value = 1000, normal_sandworm_id = 1030, direct_sandworm_id = 1035 diff --git a/Resources/Scripts/Scene/3/scene3_group133314002.lua b/Resources/Scripts/Scene/3/scene3_group133314002.lua index 84fae5619..50ced7d6e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314002.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { direct_sandworm_id = 2015 } diff --git a/Resources/Scripts/Scene/3/scene3_group133314005.lua b/Resources/Scripts/Scene/3/scene3_group133314005.lua index 333c4e201..5ec9bc1e8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314005.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 5008, gadget_lookEntity = 5002, look_duration = 3 @@ -13,16 +13,11 @@ defs = { -- DEFS_MISCS local CameraLookSetting = { - blend_type = 1, - --镜头的移动路径,球面0,直线1 - blend_duration = 1, - --镜头的移动时间 - is_force_walk = false, - --强制玩家行走 - is_allow_input = false, - --允许输入 - delay = 0, - --触发延迟 + blend_type = 1, --镜头的移动路径,球面0,直线1 + blend_duration = 1, --镜头的移动时间 + is_force_walk = false, --强制玩家行走 + is_allow_input = false, --允许输入 + delay = 0, --触发延迟 } local I_connectors = diff --git a/Resources/Scripts/Scene/3/scene3_group133314011.lua b/Resources/Scripts/Scene/3/scene3_group133314011.lua index a0510622a..45b82254c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314011.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 11007, gadget_lookEntity = 11008, look_duration = 5 @@ -12,16 +12,11 @@ defs = { -- DEFS_MISCS local CameraLookSetting = { - blend_type = 1, - --镜头的移动路径,球面0,直线1 - blend_duration = 1, - --镜头的移动时间 - is_force_walk = false, - --强制玩家行走 - is_allow_input = false, - --允许输入 - delay = 0, - --触发延迟 + blend_type = 1, --镜头的移动路径,球面0,直线1 + blend_duration = 1, --镜头的移动时间 + is_force_walk = false, --强制玩家行走 + is_allow_input = false, --允许输入 + delay = 0, --触发延迟 } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133314016.lua b/Resources/Scripts/Scene/3/scene3_group133314016.lua index f82921462..ab69c99ae 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314016.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314016.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 16003, outer_region = 16003, related_region = 16003, diff --git a/Resources/Scripts/Scene/3/scene3_group133314018.lua b/Resources/Scripts/Scene/3/scene3_group133314018.lua index 0e2ffba82..e72944003 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314018.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314018.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_worktop_id = 18001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133314024.lua b/Resources/Scripts/Scene/3/scene3_group133314024.lua index 66aa72eca..12e195013 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314024.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314024.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { maxPlayerEnergyLev = 3, titanRegion = 24004, @@ -13,8 +13,7 @@ defs = { -- 每一项均需严格遵循下述格式,没有line或者node则留空,不能不创建! -- [cell_config_id] = {cell = cell_config_id, lines = {line01_config_id, line02_config_id, ...}, nodes = {node01_config_id, ...}} [0] = {cell = 0, lines = {}, nodes = {}} - } -, + } , -- 指定初始激活的电池id,未指定则默认初始未激活 activeCells = {}, diff --git a/Resources/Scripts/Scene/3/scene3_group133314025.lua b/Resources/Scripts/Scene/3/scene3_group133314025.lua index 22fe064a2..e1c8339ee 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314025.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314025.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 25019, gadget_lookEntity = 25020, look_duration = 4 @@ -12,16 +12,11 @@ defs = { -- DEFS_MISCS local CameraLookSetting = { - blend_type = 1, - --镜头的移动路径,球面0,直线1 - blend_duration = 1, - --镜头的移动时间 - is_force_walk = false, - --强制玩家行走 - is_allow_input = false, - --允许输入 - delay = 0, - --触发延迟 + blend_type = 1, --镜头的移动路径,球面0,直线1 + blend_duration = 1, --镜头的移动时间 + is_force_walk = false, --强制玩家行走 + is_allow_input = false, --允许输入 + delay = 0, --触发延迟 } local I_connectors = diff --git a/Resources/Scripts/Scene/3/scene3_group133314027.lua b/Resources/Scripts/Scene/3/scene3_group133314027.lua index 002be517a..3a9fb7066 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314027.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314027.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 331400001, pointArrayNum = 2, gadget_shooter = 27002, diff --git a/Resources/Scripts/Scene/3/scene3_group133314035.lua b/Resources/Scripts/Scene/3/scene3_group133314035.lua index 48b691cc4..47b76498b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314035.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314035.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 331400003, pointArrayNum = 3, gadget_shooter = 35002, diff --git a/Resources/Scripts/Scene/3/scene3_group133314036.lua b/Resources/Scripts/Scene/3/scene3_group133314036.lua index cf90188a6..573e91700 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314036.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314036.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 331400004, pointArrayNum = 2, gadget_shooter = 36002, diff --git a/Resources/Scripts/Scene/3/scene3_group133314037.lua b/Resources/Scripts/Scene/3/scene3_group133314037.lua index e399f5d65..18946c629 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314037.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314037.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 331400005, pointArrayNum = 2, gadget_shooter = 37002, diff --git a/Resources/Scripts/Scene/3/scene3_group133314039.lua b/Resources/Scripts/Scene/3/scene3_group133314039.lua index e66654a24..9b47baf6f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314039.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314039.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 331400006, pointArrayNum = 2, gadget_shooter = 39002, diff --git a/Resources/Scripts/Scene/3/scene3_group133314044.lua b/Resources/Scripts/Scene/3/scene3_group133314044.lua index 2ddf23f40..81bff36cb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314044.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314044.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 25, route_2 = 331400010, gadget_seelie = 44002 diff --git a/Resources/Scripts/Scene/3/scene3_group133314058.lua b/Resources/Scripts/Scene/3/scene3_group133314058.lua index ad32ead93..7393dd3c0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314058.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314058.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 331400015, gadget_seelie = 58002 diff --git a/Resources/Scripts/Scene/3/scene3_group133314059.lua b/Resources/Scripts/Scene/3/scene3_group133314059.lua index 0af0ac474..4ac16e7ad 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314059.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314059.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { move_sandworm_id = 59004, move_region = 59001, attack_region = 59002, diff --git a/Resources/Scripts/Scene/3/scene3_group133314070.lua b/Resources/Scripts/Scene/3/scene3_group133314070.lua index 495b2d8ad..e746bfe09 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314070.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314070.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { gadget_ELCid = 70001, gadget_GearCid01 = 70003, gadget_GearCid02 = 70004, diff --git a/Resources/Scripts/Scene/3/scene3_group133314071.lua b/Resources/Scripts/Scene/3/scene3_group133314071.lua index 09abbdc96..8c7d8a969 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314071.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314071.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { maxPlayerEnergyLev = 3, titanRegion = 71025, @@ -15,8 +15,7 @@ defs = { [71001] = {cell = 71001, lines = {}, nodes = {}}, [71002] = {cell = 71002, lines = {}, nodes = {}}, [71003] = {cell = 71003, lines = {}, nodes = {}} - } -, + } , -- 指定初始激活的电池id,未指定则默认初始未激活 activeCells = {71001}, diff --git a/Resources/Scripts/Scene/3/scene3_group133314075.lua b/Resources/Scripts/Scene/3/scene3_group133314075.lua index bd68629a2..fdc97c159 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314075.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314075.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133314075, collectable_sum = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133314084.lua b/Resources/Scripts/Scene/3/scene3_group133314084.lua index aa9535c5d..c88f5f365 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314084.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314084.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 84004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133314086.lua b/Resources/Scripts/Scene/3/scene3_group133314086.lua index 0c9122671..2ffff9cfc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314086.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314086.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 86008, gadget_lookEntity = 86003, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133314094.lua b/Resources/Scripts/Scene/3/scene3_group133314094.lua index 698fece44..28bb888be 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314094.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314094.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_worktop_id = 94001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133314095.lua b/Resources/Scripts/Scene/3/scene3_group133314095.lua index f91530667..3b162b48c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314095.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314095.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_worktop_id = 95001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133314096.lua b/Resources/Scripts/Scene/3/scene3_group133314096.lua index aa1da8c2a..9ff622945 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314096.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314096.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_worktop_id = 96001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133314097.lua b/Resources/Scripts/Scene/3/scene3_group133314097.lua index f2287f79e..d87dd55d0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314097.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314097.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_worktop_id = 97001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133314098.lua b/Resources/Scripts/Scene/3/scene3_group133314098.lua index a3ea4b27b..9101d561b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314098.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314098.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_worktop_id = 98001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133314099.lua b/Resources/Scripts/Scene/3/scene3_group133314099.lua index 035e0f3a0..81c2607b7 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314099.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314099.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 7, group_id = 133314099, diff --git a/Resources/Scripts/Scene/3/scene3_group133314102.lua b/Resources/Scripts/Scene/3/scene3_group133314102.lua index 5b3020ee6..0af441148 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314102.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314102.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_id = 2012002, sandworm_region = 102002, direct_sandworm_id = 102003, diff --git a/Resources/Scripts/Scene/3/scene3_group133314105.lua b/Resources/Scripts/Scene/3/scene3_group133314105.lua index feb61b005..f7b4fca4d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314105.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314105.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, group_id = 133314105, gadget_sum = 3, diff --git a/Resources/Scripts/Scene/3/scene3_group133314118.lua b/Resources/Scripts/Scene/3/scene3_group133314118.lua index 508aaf638..8692d8a0f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314118.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314118.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 118002, gadget_fireBase1 = 118001, diff --git a/Resources/Scripts/Scene/3/scene3_group133314122.lua b/Resources/Scripts/Scene/3/scene3_group133314122.lua index c1f1f9dc7..839aa845c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314122.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314122.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 122004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133314133.lua b/Resources/Scripts/Scene/3/scene3_group133314133.lua index aac820416..e0d82b00c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314133.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314133.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, group_id = 133314133, gadget_sum = 5, diff --git a/Resources/Scripts/Scene/3/scene3_group133314136.lua b/Resources/Scripts/Scene/3/scene3_group133314136.lua index 1f6cfd2ea..29242f545 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314136.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314136.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133314136, gadget_thunderThelfID = 136002, pointarray_ID = 330300003, diff --git a/Resources/Scripts/Scene/3/scene3_group133314137.lua b/Resources/Scripts/Scene/3/scene3_group133314137.lua index 0db25181f..1cd02b1af 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314137.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314137.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, group_id = 133314137, gadget_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133314138.lua b/Resources/Scripts/Scene/3/scene3_group133314138.lua index 1d61fea96..abd6504da 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314138.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314138.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133314138, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133314142.lua b/Resources/Scripts/Scene/3/scene3_group133314142.lua index 037119a8f..b15f81850 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314142.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314142.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_normal = 331000020, pointarray_hard = 331000021 } @@ -17,8 +17,7 @@ local challengeOptionID = 188 local holeConfigID = {474001, 474002, 474003, 474005} local checkOptionID = 916 -local arrayID = {331000020 -, 331000021} +local arrayID = {331000020 , 331000021} local randomVez = {min = 3, max = 5} diff --git a/Resources/Scripts/Scene/3/scene3_group133314169.lua b/Resources/Scripts/Scene/3/scene3_group133314169.lua index 98eddba7a..68f2fac28 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314169.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314169.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 80, group_id = 133314169, collectable_sum = 12 diff --git a/Resources/Scripts/Scene/3/scene3_group133314178.lua b/Resources/Scripts/Scene/3/scene3_group133314178.lua index b2d1b08f9..8f23814b6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314178.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314178.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 331400007, pointArrayNum = 2, gadget_shooter = 178002, diff --git a/Resources/Scripts/Scene/3/scene3_group133314181.lua b/Resources/Scripts/Scene/3/scene3_group133314181.lua index badd8a2dc..bbfa662b1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314181.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314181.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { interactOptionID = 430, gadget_fireTorch = 181002, gadget_fireBase1 = 181001, diff --git a/Resources/Scripts/Scene/3/scene3_group133314183.lua b/Resources/Scripts/Scene/3/scene3_group133314183.lua index e9f88ae12..eb5725674 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314183.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314183.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133314183, pointarray_id = 331400008, gadget_ele = 183001, diff --git a/Resources/Scripts/Scene/3/scene3_group133314194.lua b/Resources/Scripts/Scene/3/scene3_group133314194.lua index 4bfa57f54..fdfebf279 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314194.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314194.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133314194, pointarray_id = 331400009, gadget_ele = 194001, diff --git a/Resources/Scripts/Scene/3/scene3_group133314195.lua b/Resources/Scripts/Scene/3/scene3_group133314195.lua index 553cc4491..a37677619 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314195.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314195.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 195002, gadget_lookEntity = 195003, look_duration = 4 @@ -12,16 +12,11 @@ defs = { -- DEFS_MISCS local CameraLookSetting = { - blend_type = 1, - --镜头的移动路径,球面0,直线1 - blend_duration = 2, - --镜头的移动时间 - is_force_walk = false, - --强制玩家行走 - is_allow_input = false, - --允许输入 - delay = 0, - --触发延迟 + blend_type = 1, --镜头的移动路径,球面0,直线1 + blend_duration = 2, --镜头的移动时间 + is_force_walk = false, --强制玩家行走 + is_allow_input = false, --允许输入 + delay = 0, --触发延迟 } --================================================================ diff --git a/Resources/Scripts/Scene/3/scene3_group133314201.lua b/Resources/Scripts/Scene/3/scene3_group133314201.lua index 99fe9476c..2f460f4d5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314201.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314201.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 27, route_2 = 331400056, gadget_seelie = 201002 diff --git a/Resources/Scripts/Scene/3/scene3_group133314219.lua b/Resources/Scripts/Scene/3/scene3_group133314219.lua index 52371baca..eac4f5844 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314219.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314219.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 331400058, gadget_seelie = 219002 diff --git a/Resources/Scripts/Scene/3/scene3_group133314220.lua b/Resources/Scripts/Scene/3/scene3_group133314220.lua index 9e5907ff7..030076506 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314220.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314220.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133314220 } diff --git a/Resources/Scripts/Scene/3/scene3_group133314221.lua b/Resources/Scripts/Scene/3/scene3_group133314221.lua index 0b8498bba..0835ddd89 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314221.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314221.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 331400060, gadget_seelie = 221002 diff --git a/Resources/Scripts/Scene/3/scene3_group133314229.lua b/Resources/Scripts/Scene/3/scene3_group133314229.lua index 624485684..4b6115914 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314229.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314229.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133314229, gadget_riddle_hint = 229001, gadget_riddle_1 = 229002, diff --git a/Resources/Scripts/Scene/3/scene3_group133314235.lua b/Resources/Scripts/Scene/3/scene3_group133314235.lua index ea391c7c2..ceda74a51 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314235.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314235.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 235003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133314245.lua b/Resources/Scripts/Scene/3/scene3_group133314245.lua index 4806a685f..09c7a25ec 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314245.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314245.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { move_sandworm_id = 245001, move_region = 245002, attack_region = 245003, diff --git a/Resources/Scripts/Scene/3/scene3_group133314247.lua b/Resources/Scripts/Scene/3/scene3_group133314247.lua index 8f36784f5..55f4fbeed 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314247.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314247.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { move_sandworm_id = 247001, move_region = 247002, attack_region = 247003, diff --git a/Resources/Scripts/Scene/3/scene3_group133314256.lua b/Resources/Scripts/Scene/3/scene3_group133314256.lua index 32de1d307..7c21cd76b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314256.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314256.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133314256 } diff --git a/Resources/Scripts/Scene/3/scene3_group133314272.lua b/Resources/Scripts/Scene/3/scene3_group133314272.lua index 400a9c089..e2f48a4fb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314272.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314272.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { up_flow_speed = 5, down_flow_speed = 10, overflow_speed = 15 diff --git a/Resources/Scripts/Scene/3/scene3_group133314286.lua b/Resources/Scripts/Scene/3/scene3_group133314286.lua index 5e7270825..1c484b45a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314286.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314286.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133314286, collectable_sum = 10 diff --git a/Resources/Scripts/Scene/3/scene3_group133314307.lua b/Resources/Scripts/Scene/3/scene3_group133314307.lua index ea3ef9261..c3585e1a5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314307.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314307.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 331400013, pointArrayNum = 2, gadget_shooter = 307001, diff --git a/Resources/Scripts/Scene/3/scene3_group133314311.lua b/Resources/Scripts/Scene/3/scene3_group133314311.lua index fc47529c1..3eb20201e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314311.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314311.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133314311, gadget_sum = 3, diff --git a/Resources/Scripts/Scene/3/scene3_group133314315.lua b/Resources/Scripts/Scene/3/scene3_group133314315.lua index 73dd2ef20..893af50b3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314315.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314315.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 315002, gadget_receiver_2 = 315003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133314316.lua b/Resources/Scripts/Scene/3/scene3_group133314316.lua index 0955ee5d2..b691901f9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314316.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314316.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 331400014, pointArrayNum = 4, gadget_shooter = 316001, diff --git a/Resources/Scripts/Scene/3/scene3_group133314318.lua b/Resources/Scripts/Scene/3/scene3_group133314318.lua index ab37ef3c4..82957f267 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314318.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314318.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_receiver_1 = 318002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133314319.lua b/Resources/Scripts/Scene/3/scene3_group133314319.lua index 9a7764007..c45f2b428 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314319.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314319.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_ID = 331400015, pointArrayNum = 3, gadget_shooter = 319002, diff --git a/Resources/Scripts/Scene/3/scene3_group133314322.lua b/Resources/Scripts/Scene/3/scene3_group133314322.lua index 4b1980958..3ca13cbb9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314322.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314322.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { move_sandworm_id = 322001, move_region = 322002, attack_region = 322003, diff --git a/Resources/Scripts/Scene/3/scene3_group133314327.lua b/Resources/Scripts/Scene/3/scene3_group133314327.lua index 69aa553de..7d2468dd9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133314327.lua +++ b/Resources/Scripts/Scene/3/scene3_group133314327.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 70, kill_sum = 6, group_id = 133314327, diff --git a/Resources/Scripts/Scene/3/scene3_group133315001.lua b/Resources/Scripts/Scene/3/scene3_group133315001.lua index 5c745669f..b68a908ac 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315001.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 1007, operator_2 = 1008, chest = 1009 diff --git a/Resources/Scripts/Scene/3/scene3_group133315002.lua b/Resources/Scripts/Scene/3/scene3_group133315002.lua index 31c1622bd..e74f8e3c8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315002.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 2007, operator_2 = 2008, chest = 2009 diff --git a/Resources/Scripts/Scene/3/scene3_group133315003.lua b/Resources/Scripts/Scene/3/scene3_group133315003.lua index e9f7fdd54..010d49d01 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315003.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 3007, operator_2 = 3008, chest = 3009 diff --git a/Resources/Scripts/Scene/3/scene3_group133315004.lua b/Resources/Scripts/Scene/3/scene3_group133315004.lua index d2380ac01..4664e0bc6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315004.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 4007, operator_2 = 4008, chest = 4009 diff --git a/Resources/Scripts/Scene/3/scene3_group133315024.lua b/Resources/Scripts/Scene/3/scene3_group133315024.lua index 5e85a3ff4..73e60b5b5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315024.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315024.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133315024, gadget_thunderThelfID = 24002, pointarray_ID = 331500003, diff --git a/Resources/Scripts/Scene/3/scene3_group133315033.lua b/Resources/Scripts/Scene/3/scene3_group133315033.lua index 801646f41..a00b6eb0e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315033.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315033.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 特定Region或者Group可以写,每次EnterRegion会检测 -defs ={ +local defs ={ regionList = {33001}, -- 1,2,3,4对应4套等级 curCommander =2, diff --git a/Resources/Scripts/Scene/3/scene3_group133315034.lua b/Resources/Scripts/Scene/3/scene3_group133315034.lua index 2686f5afc..59ab1a923 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315034.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315034.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 特定Region或者Group可以写,每次EnterRegion会检测 -defs ={ +local defs ={ regionList = {34001}, -- 1,2,3,4对应4套等级 curCommander =3, diff --git a/Resources/Scripts/Scene/3/scene3_group133315035.lua b/Resources/Scripts/Scene/3/scene3_group133315035.lua index 3e1a5645b..40c6c97ec 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315035.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315035.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS -- 特定Region或者Group可以写,每次EnterRegion会检测 -defs ={ +local defs ={ regionList = {35001}, -- 1,2,3,4对应4套等级 curCommander =4, diff --git a/Resources/Scripts/Scene/3/scene3_group133315043.lua b/Resources/Scripts/Scene/3/scene3_group133315043.lua index fdccac6d2..c55576273 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315043.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315043.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { small_region_id = 43003, big_region_id = 43005, group_id = 133315043, diff --git a/Resources/Scripts/Scene/3/scene3_group133315044.lua b/Resources/Scripts/Scene/3/scene3_group133315044.lua index b459bfab5..558cd90f6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315044.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315044.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_CoreID = 44005, monster_BossID = 44002, gadget_Point_1 = 44006, diff --git a/Resources/Scripts/Scene/3/scene3_group133315045.lua b/Resources/Scripts/Scene/3/scene3_group133315045.lua index 7b18bf98a..a65ac0aaa 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315045.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315045.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 331500011, gadget_seelie = 45002 diff --git a/Resources/Scripts/Scene/3/scene3_group133315054.lua b/Resources/Scripts/Scene/3/scene3_group133315054.lua index 4813efe56..65fa0eda1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315054.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315054.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 80, group_id = 133315054, collectable_sum = 7 diff --git a/Resources/Scripts/Scene/3/scene3_group133315062.lua b/Resources/Scripts/Scene/3/scene3_group133315062.lua index 5a00c4539..d31d637f5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315062.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315062.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_iris = 62001, gadget_block = 62002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315063.lua b/Resources/Scripts/Scene/3/scene3_group133315063.lua index ee7699d0a..a46f16f45 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315063.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315063.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, gadget_seelie = 63002 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315064.lua b/Resources/Scripts/Scene/3/scene3_group133315064.lua index 6c3fa6761..771ad2c52 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315064.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315064.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133315064 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315068.lua b/Resources/Scripts/Scene/3/scene3_group133315068.lua index aa964af31..641e3a6f8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315068.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315068.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 68003, true_array = {68001,68006,68012} } diff --git a/Resources/Scripts/Scene/3/scene3_group133315072.lua b/Resources/Scripts/Scene/3/scene3_group133315072.lua index f8176a8b4..4e594b54a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315072.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315072.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { challenge_id = 2010057, diff --git a/Resources/Scripts/Scene/3/scene3_group133315074.lua b/Resources/Scripts/Scene/3/scene3_group133315074.lua index d3f3948d4..e44f8d0d1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315074.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315074.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 74004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315079.lua b/Resources/Scripts/Scene/3/scene3_group133315079.lua index e1eb8fd87..adda028ee 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315079.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315079.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { enter_region = 79003, leave_region = 79004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315081.lua b/Resources/Scripts/Scene/3/scene3_group133315081.lua index f0cd6c8cc..f1e1a983f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315081.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315081.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 80, group_id = 133315081, diff --git a/Resources/Scripts/Scene/3/scene3_group133315082.lua b/Resources/Scripts/Scene/3/scene3_group133315082.lua index bbd2651f1..159413e5d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315082.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315082.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 82001, pointarray_id = 331500005, minPoint = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133315087.lua b/Resources/Scripts/Scene/3/scene3_group133315087.lua index 9bf779530..61fdf587a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315087.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315087.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 87004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315089.lua b/Resources/Scripts/Scene/3/scene3_group133315089.lua index b8a1a2b1a..4bfa68f2b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315089.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315089.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 89017, gadget_lookEntity = 89018, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133315090.lua b/Resources/Scripts/Scene/3/scene3_group133315090.lua index bf26cef32..c105dc283 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315090.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315090.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133315090, gadget_riddle_hint = 90001, gadget_riddle_1 = 90002, diff --git a/Resources/Scripts/Scene/3/scene3_group133315096.lua b/Resources/Scripts/Scene/3/scene3_group133315096.lua index d54f2475b..0791c9d27 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315096.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315096.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 96003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315097.lua b/Resources/Scripts/Scene/3/scene3_group133315097.lua index 73021c3f8..8262d2a93 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315097.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315097.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 97003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315099.lua b/Resources/Scripts/Scene/3/scene3_group133315099.lua index a0d4fb52a..829f53387 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315099.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315099.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 99003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315100.lua b/Resources/Scripts/Scene/3/scene3_group133315100.lua index cb66c665b..0dfe232e6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315100.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315100.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 100003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315103.lua b/Resources/Scripts/Scene/3/scene3_group133315103.lua index af36c6767..b4f424011 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315103.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315103.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {103001,103002,103003,103004,103005}, diff --git a/Resources/Scripts/Scene/3/scene3_group133315107.lua b/Resources/Scripts/Scene/3/scene3_group133315107.lua index bd478584a..0f488bdbb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315107.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315107.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 39, route_2 = 331500061, gadget_seelie = 107002 diff --git a/Resources/Scripts/Scene/3/scene3_group133315108.lua b/Resources/Scripts/Scene/3/scene3_group133315108.lua index ac663f905..728eb3e08 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315108.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315108.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 108003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315111.lua b/Resources/Scripts/Scene/3/scene3_group133315111.lua index d5fd6bc84..d019c95ef 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315111.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315111.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 111009, gadget_lookEntity = 111001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133315115.lua b/Resources/Scripts/Scene/3/scene3_group133315115.lua index a3da82a7d..862467372 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315115.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315115.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { operator_1 = 115007, operator_2 = 115008, chest = 115009 diff --git a/Resources/Scripts/Scene/3/scene3_group133315119.lua b/Resources/Scripts/Scene/3/scene3_group133315119.lua index cc0f6862c..89e54eec8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315119.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315119.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 119003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315121.lua b/Resources/Scripts/Scene/3/scene3_group133315121.lua index f54997ef8..4460ab588 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315121.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315121.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 121003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315127.lua b/Resources/Scripts/Scene/3/scene3_group133315127.lua index 6b28d9d5a..d940ae6a3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315127.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315127.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { finishquest = "7304936_fin", group_reward = 133315129, keyNum = 2, diff --git a/Resources/Scripts/Scene/3/scene3_group133315132.lua b/Resources/Scripts/Scene/3/scene3_group133315132.lua index ae950009a..fa121201f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315132.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315132.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 331500037, gadget_seelie = 132002 diff --git a/Resources/Scripts/Scene/3/scene3_group133315134.lua b/Resources/Scripts/Scene/3/scene3_group133315134.lua index 437f25269..e07f3516b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315134.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315134.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 12, route_2 = 331500039, gadget_seelie = 134002 diff --git a/Resources/Scripts/Scene/3/scene3_group133315147.lua b/Resources/Scripts/Scene/3/scene3_group133315147.lua index 57e644b15..93c42ee16 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315147.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315147.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 3, group_id = 133315147, diff --git a/Resources/Scripts/Scene/3/scene3_group133315149.lua b/Resources/Scripts/Scene/3/scene3_group133315149.lua index 18b82ae66..ca90df900 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315149.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315149.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 149009, gadget_lookEntity = 149001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133315153.lua b/Resources/Scripts/Scene/3/scene3_group133315153.lua index 5a3e8212c..5cf739e24 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315153.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315153.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133315153 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315168.lua b/Resources/Scripts/Scene/3/scene3_group133315168.lua index 1c522a3ff..672db641e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315168.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315168.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 168003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315171.lua b/Resources/Scripts/Scene/3/scene3_group133315171.lua index b4190bc3c..117986697 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315171.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315171.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 171003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315172.lua b/Resources/Scripts/Scene/3/scene3_group133315172.lua index e4879d4e1..97b37a4bf 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315172.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315172.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { maxRegion = 172011, maxJumpTimes = 5, diff --git a/Resources/Scripts/Scene/3/scene3_group133315173.lua b/Resources/Scripts/Scene/3/scene3_group133315173.lua index 1a57f1619..1c2ee52e4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315173.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315173.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { maxRegion = 173011, maxJumpTimes = 5, diff --git a/Resources/Scripts/Scene/3/scene3_group133315174.lua b/Resources/Scripts/Scene/3/scene3_group133315174.lua index a2990e82a..77fe91cf9 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315174.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315174.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { maxRegion = 174011, maxJumpTimes = 5, diff --git a/Resources/Scripts/Scene/3/scene3_group133315175.lua b/Resources/Scripts/Scene/3/scene3_group133315175.lua index 5706ce0eb..884f92eda 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315175.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315175.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { regionId = 175008, targetScore = 5, maxTime = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133315176.lua b/Resources/Scripts/Scene/3/scene3_group133315176.lua index 463f49991..2270ac762 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315176.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315176.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { regionId = 176008, targetScore = 5, maxTime = 90, diff --git a/Resources/Scripts/Scene/3/scene3_group133315190.lua b/Resources/Scripts/Scene/3/scene3_group133315190.lua index 0c55e1bd1..52d473536 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315190.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315190.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133315190, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/3/scene3_group133315204.lua b/Resources/Scripts/Scene/3/scene3_group133315204.lua index 2be88470c..d8f8bd283 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315204.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315204.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 29, route_2 = 331500059, gadget_seelie = 204002 diff --git a/Resources/Scripts/Scene/3/scene3_group133315205.lua b/Resources/Scripts/Scene/3/scene3_group133315205.lua index 5775150c2..f82537cd5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315205.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315205.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 133315205, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133315206.lua b/Resources/Scripts/Scene/3/scene3_group133315206.lua index b3f4dec57..61cba26cb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315206.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315206.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 80, kill_sum = 3, group_id = 133315206, diff --git a/Resources/Scripts/Scene/3/scene3_group133315210.lua b/Resources/Scripts/Scene/3/scene3_group133315210.lua index 8b2b85cda..bffce5b64 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315210.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315210.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 1, group_id = 133315210, diff --git a/Resources/Scripts/Scene/3/scene3_group133315212.lua b/Resources/Scripts/Scene/3/scene3_group133315212.lua index 7e0d3bc88..1a4d08f8a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315212.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315212.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 212003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315217.lua b/Resources/Scripts/Scene/3/scene3_group133315217.lua index e16c3604b..0342e16c3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315217.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315217.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 49, route_2 = 331500071, gadget_seelie = 217002 diff --git a/Resources/Scripts/Scene/3/scene3_group133315221.lua b/Resources/Scripts/Scene/3/scene3_group133315221.lua index dccf8d089..17b214b12 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315221.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315221.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 221003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315223.lua b/Resources/Scripts/Scene/3/scene3_group133315223.lua index 63067930d..365739324 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315223.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315223.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 331500066, gadget_seelie = 223002 diff --git a/Resources/Scripts/Scene/3/scene3_group133315227.lua b/Resources/Scripts/Scene/3/scene3_group133315227.lua index 42efa49dc..7c8281680 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315227.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315227.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 227001, pointarray_id = 331500004, minPoint = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133315229.lua b/Resources/Scripts/Scene/3/scene3_group133315229.lua index 47c4abf99..a0c572c27 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315229.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315229.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 35, route_2 = 331500073, gadget_seelie = 229002 diff --git a/Resources/Scripts/Scene/3/scene3_group133315233.lua b/Resources/Scripts/Scene/3/scene3_group133315233.lua index 652ad2a8b..a1adbaf93 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315233.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315233.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_region = 233004, group_bundle_id = 20150139 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315234.lua b/Resources/Scripts/Scene/3/scene3_group133315234.lua index 28e462a48..1c2dfddc4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315234.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315234.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 234010, gadget_lookEntity = 234009, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133315239.lua b/Resources/Scripts/Scene/3/scene3_group133315239.lua index 35e662084..fe18b86b1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315239.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315239.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 239003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315240.lua b/Resources/Scripts/Scene/3/scene3_group133315240.lua index ac2da2819..c6757fd32 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315240.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315240.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 25, route_2 = 331500091, gadget_seelie = 240002 diff --git a/Resources/Scripts/Scene/3/scene3_group133315242.lua b/Resources/Scripts/Scene/3/scene3_group133315242.lua index 428e81ba2..e13843dea 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315242.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315242.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 242009, gadget_lookEntity = 242001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133315244.lua b/Resources/Scripts/Scene/3/scene3_group133315244.lua index f3e716143..d0b5a5da0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315244.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315244.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 244003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315245.lua b/Resources/Scripts/Scene/3/scene3_group133315245.lua index d1d8c136d..f6af76bc5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315245.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315245.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 245003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315249.lua b/Resources/Scripts/Scene/3/scene3_group133315249.lua index 564b2c514..e92377d18 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315249.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315249.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 249003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315251.lua b/Resources/Scripts/Scene/3/scene3_group133315251.lua index 47f77de4d..1eb6b9e2f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315251.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315251.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 251003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315253.lua b/Resources/Scripts/Scene/3/scene3_group133315253.lua index 586651183..4525e23f8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315253.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315253.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 253003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315258.lua b/Resources/Scripts/Scene/3/scene3_group133315258.lua index 20681aabb..dfc699ba1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315258.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315258.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 258003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315260.lua b/Resources/Scripts/Scene/3/scene3_group133315260.lua index 66d98c8a1..d7ca1fc33 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315260.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315260.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 260003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315262.lua b/Resources/Scripts/Scene/3/scene3_group133315262.lua index 9d3551662..c42087b80 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315262.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315262.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133315262 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315263.lua b/Resources/Scripts/Scene/3/scene3_group133315263.lua index 2eee1aea7..05c2b992c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315263.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315263.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 263003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315268.lua b/Resources/Scripts/Scene/3/scene3_group133315268.lua index e6f66cf05..815f4f6fd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315268.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315268.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 268001, pointarray_id = 331500006, minPoint = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133315272.lua b/Resources/Scripts/Scene/3/scene3_group133315272.lua index 7ccdc72ea..f3a868f1a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315272.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315272.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 272003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315275.lua b/Resources/Scripts/Scene/3/scene3_group133315275.lua index 3f3b39e02..34f93a363 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315275.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315275.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_VP = 275001, pointarray_id = 331500007, minPoint = 1, diff --git a/Resources/Scripts/Scene/3/scene3_group133315280.lua b/Resources/Scripts/Scene/3/scene3_group133315280.lua index 32b804dd2..023e70ed0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315280.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315280.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 280004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315305.lua b/Resources/Scripts/Scene/3/scene3_group133315305.lua index cc5ecca1b..164cde7d2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315305.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315305.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_region = 305004, gallery_id = 28024, exit_region = 305005 diff --git a/Resources/Scripts/Scene/3/scene3_group133315309.lua b/Resources/Scripts/Scene/3/scene3_group133315309.lua index 034db1b30..a783b5033 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315309.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315309.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133315309 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315311.lua b/Resources/Scripts/Scene/3/scene3_group133315311.lua index 778a5fb57..e5a1a26d1 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315311.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315311.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 311001, gallery_id = 29006, region_id = 311005, diff --git a/Resources/Scripts/Scene/3/scene3_group133315312.lua b/Resources/Scripts/Scene/3/scene3_group133315312.lua index aceac64f3..c52d24a11 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315312.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315312.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, kill_sum = 4, group_id = 133315312, diff --git a/Resources/Scripts/Scene/3/scene3_group133315313.lua b/Resources/Scripts/Scene/3/scene3_group133315313.lua index 6224ba9d5..fba3abc09 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315313.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315313.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 133315313 } diff --git a/Resources/Scripts/Scene/3/scene3_group133315314.lua b/Resources/Scripts/Scene/3/scene3_group133315314.lua index 0cfd95bf3..95279bd0d 100644 --- a/Resources/Scripts/Scene/3/scene3_group133315314.lua +++ b/Resources/Scripts/Scene/3/scene3_group133315314.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 331500135, gadget_seelie = 314002 diff --git a/Resources/Scripts/Scene/3/scene3_group133316007.lua b/Resources/Scripts/Scene/3/scene3_group133316007.lua index 43df15c79..6a04d0119 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316007.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133316007, gadget_thunderThelfID = 7001, pointarray_ID = 331600001, diff --git a/Resources/Scripts/Scene/3/scene3_group133316008.lua b/Resources/Scripts/Scene/3/scene3_group133316008.lua index d494a835b..0af76b108 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316008.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133316008, gadget_thunderThelfID = 8001, pointarray_ID = 331600002, diff --git a/Resources/Scripts/Scene/3/scene3_group133316010.lua b/Resources/Scripts/Scene/3/scene3_group133316010.lua index c2773f96d..d56fe40f4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316010.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133316010, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133316011.lua b/Resources/Scripts/Scene/3/scene3_group133316011.lua index f56d93887..7c24f4e8c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316011.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133316011, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133316014.lua b/Resources/Scripts/Scene/3/scene3_group133316014.lua index 008994514..d2a167260 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316014.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316014.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 14001, pointarray_move = 331600003 diff --git a/Resources/Scripts/Scene/3/scene3_group133316015.lua b/Resources/Scripts/Scene/3/scene3_group133316015.lua index 743163544..d6772b4ce 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316015.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316015.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133316015, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133316016.lua b/Resources/Scripts/Scene/3/scene3_group133316016.lua index fd7276c48..f7d3759ef 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316016.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316016.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 16001, pointarray_move = 331600004 diff --git a/Resources/Scripts/Scene/3/scene3_group133316021.lua b/Resources/Scripts/Scene/3/scene3_group133316021.lua index d4ef1280b..5576b6659 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316021.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316021.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS --配置时注意三段的顺序为下 中 上的ID递增 -defs = { +local defs = { pillar_top = 21001, pillar_mid = 21002, pillar_bot = 21003, diff --git a/Resources/Scripts/Scene/3/scene3_group133316023.lua b/Resources/Scripts/Scene/3/scene3_group133316023.lua index c7cfe0c90..028b516b4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316023.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316023.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133316023, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133316024.lua b/Resources/Scripts/Scene/3/scene3_group133316024.lua index 07193c650..3447ad070 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316024.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316024.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133316024, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133316025.lua b/Resources/Scripts/Scene/3/scene3_group133316025.lua index 9fdb362fe..90a4d3683 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316025.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316025.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133316025, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133316026.lua b/Resources/Scripts/Scene/3/scene3_group133316026.lua index 449cc46e6..5ec4bac5f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316026.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316026.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133316026, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133316027.lua b/Resources/Scripts/Scene/3/scene3_group133316027.lua index 8972fd27f..f98fbe632 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316027.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316027.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133316027, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133316028.lua b/Resources/Scripts/Scene/3/scene3_group133316028.lua index b1904c85c..ebefe43d2 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316028.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316028.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133316028, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133316029.lua b/Resources/Scripts/Scene/3/scene3_group133316029.lua index d67d11afd..128ea83c5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316029.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316029.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 29001, pointarray_move = 331600008 diff --git a/Resources/Scripts/Scene/3/scene3_group133316030.lua b/Resources/Scripts/Scene/3/scene3_group133316030.lua index 4c8cdd02a..1361cf8c5 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316030.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316030.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 30001, pointarray_move = 331600009 diff --git a/Resources/Scripts/Scene/3/scene3_group133316031.lua b/Resources/Scripts/Scene/3/scene3_group133316031.lua index 550ed8e46..c978ec182 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316031.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316031.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 31001, pointarray_move = 331600010 diff --git a/Resources/Scripts/Scene/3/scene3_group133316032.lua b/Resources/Scripts/Scene/3/scene3_group133316032.lua index afa3409d4..087005d5e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316032.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316032.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 32001, pointarray_move = 331600011 diff --git a/Resources/Scripts/Scene/3/scene3_group133316033.lua b/Resources/Scripts/Scene/3/scene3_group133316033.lua index 823043697..29e50925c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316033.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316033.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133316033, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133316045.lua b/Resources/Scripts/Scene/3/scene3_group133316045.lua index 7063b2cd5..9d0409d62 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316045.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316045.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { drum = 45001, --鼓的ConfigID interval = 2, --敲鼓的节奏间隔 reminder_success = 400112, --挑战成功Reminder diff --git a/Resources/Scripts/Scene/3/scene3_group133316054.lua b/Resources/Scripts/Scene/3/scene3_group133316054.lua index 74eca970b..d53fbf90c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316054.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316054.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 54001, pointarray_move = 331600014 diff --git a/Resources/Scripts/Scene/3/scene3_group133316061.lua b/Resources/Scripts/Scene/3/scene3_group133316061.lua index 9d9934318..2f71cf620 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316061.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316061.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { fire_seed = 61001, --火种的configID time_limit = 10, --点亮传导柱的间隔时间 } diff --git a/Resources/Scripts/Scene/3/scene3_group133316076.lua b/Resources/Scripts/Scene/3/scene3_group133316076.lua index 7d1b528b6..20d57b6f3 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316076.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316076.lua @@ -6,7 +6,7 @@ local base_info = { -- DEFS_MISCS local DIR = {Up = 0,Right = 1,Down = 2,Left = 3,None = 4,} --转换器的列表,1表示可移动 -defs = { +local defs = { pointarray_id = 331600021, --点阵ID graph_num = 1, len_x = 7, --长度 diff --git a/Resources/Scripts/Scene/3/scene3_group133316077.lua b/Resources/Scripts/Scene/3/scene3_group133316077.lua index c834453d9..8f9e4846a 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316077.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316077.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133316077, gadget_thunderThelfID = 77001, pointarray_ID = 331600022, diff --git a/Resources/Scripts/Scene/3/scene3_group133316078.lua b/Resources/Scripts/Scene/3/scene3_group133316078.lua index b0dfa5e91..a1862c767 100644 --- a/Resources/Scripts/Scene/3/scene3_group133316078.lua +++ b/Resources/Scripts/Scene/3/scene3_group133316078.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_id = 331600023, feather = 651001, target_pos = 6, diff --git a/Resources/Scripts/Scene/3/scene3_group133317001.lua b/Resources/Scripts/Scene/3/scene3_group133317001.lua index cb4bc3f08..f10f4907b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317001.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { bloom_time = 10, --石中花激活后到闭合的时间 } diff --git a/Resources/Scripts/Scene/3/scene3_group133317002.lua b/Resources/Scripts/Scene/3/scene3_group133317002.lua index 5e68bfc7f..eea2d9ac6 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317002.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317002.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { drum = 45001, --鼓的ConfigID interval = 2, --敲鼓的节奏间隔 reminder_success = 400112, --挑战成功Reminder diff --git a/Resources/Scripts/Scene/3/scene3_group133317003.lua b/Resources/Scripts/Scene/3/scene3_group133317003.lua index e5e090eb0..0903ed1b8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317003.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133317003, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133317004.lua b/Resources/Scripts/Scene/3/scene3_group133317004.lua index 64355fdb1..d17ce16fd 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317004.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317004.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { reset_region = 4004, --玩法的限制区域 gadget_id_bright = 70310498, } diff --git a/Resources/Scripts/Scene/3/scene3_group133317005.lua b/Resources/Scripts/Scene/3/scene3_group133317005.lua index 28228fb9e..1c038a198 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317005.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133317005, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133317006.lua b/Resources/Scripts/Scene/3/scene3_group133317006.lua index ca987d99f..838d0db4e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317006.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317006.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { drum = 45001, --鼓的ConfigID interval = 2, --敲鼓的节奏间隔 reminder_success = 400112, --挑战成功Reminder diff --git a/Resources/Scripts/Scene/3/scene3_group133317008.lua b/Resources/Scripts/Scene/3/scene3_group133317008.lua index c331ed398..0a1db8be0 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317008.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133317008, time_limit = 20, feather = 8001, diff --git a/Resources/Scripts/Scene/3/scene3_group133317009.lua b/Resources/Scripts/Scene/3/scene3_group133317009.lua index b0c66415e..ddec48634 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317009.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_id = 331700005, feather = 9001, target_pos = 6, diff --git a/Resources/Scripts/Scene/3/scene3_group133317011.lua b/Resources/Scripts/Scene/3/scene3_group133317011.lua index b6bb0669d..8511bc125 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317011.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133317011, time_limit = 90, feather = 11001, diff --git a/Resources/Scripts/Scene/3/scene3_group133317012.lua b/Resources/Scripts/Scene/3/scene3_group133317012.lua index 835c36acb..7c43cad5f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317012.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_id = 331700006, feather = 12001, target_pos = 6, diff --git a/Resources/Scripts/Scene/3/scene3_group133317013.lua b/Resources/Scripts/Scene/3/scene3_group133317013.lua index e331ac554..d16679368 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317013.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317013.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_id = 331700007, feather = 13001, target_pos = 6, diff --git a/Resources/Scripts/Scene/3/scene3_group133317014.lua b/Resources/Scripts/Scene/3/scene3_group133317014.lua index a605dc5eb..b4302668b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317014.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317014.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 133317014, time_limit = 90, feather = 14001, diff --git a/Resources/Scripts/Scene/3/scene3_group133317021.lua b/Resources/Scripts/Scene/3/scene3_group133317021.lua index 73421db37..d598d613c 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317021.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317021.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { drum = 21002, --鼓的ConfigID interval = 2, --敲鼓的节奏间隔 reminder_success = 400112, --挑战成功Reminder diff --git a/Resources/Scripts/Scene/3/scene3_group133317024.lua b/Resources/Scripts/Scene/3/scene3_group133317024.lua index c13fc2808..4ad517d13 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317024.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317024.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133317024, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133317026.lua b/Resources/Scripts/Scene/3/scene3_group133317026.lua index e28a919fc..506f17556 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317026.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317026.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { drum = 45001, --鼓的ConfigID interval = 2, --敲鼓的节奏间隔 reminder_success = 400112, --挑战成功Reminder diff --git a/Resources/Scripts/Scene/3/scene3_group133317028.lua b/Resources/Scripts/Scene/3/scene3_group133317028.lua index afe939d66..d6da87b18 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317028.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317028.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 133317028, gadget_thunderThelfID = 28001, pointarray_ID = 331700003, diff --git a/Resources/Scripts/Scene/3/scene3_group133317030.lua b/Resources/Scripts/Scene/3/scene3_group133317030.lua index ebaa2f33e..6f0e1b913 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317030.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317030.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133317030, collectable_sum = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133317031.lua b/Resources/Scripts/Scene/3/scene3_group133317031.lua index 1f86d7e2d..1bb345460 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317031.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317031.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133317031, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133317034.lua b/Resources/Scripts/Scene/3/scene3_group133317034.lua index b38529f5f..29371e43b 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317034.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317034.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 34003 } diff --git a/Resources/Scripts/Scene/3/scene3_group133317046.lua b/Resources/Scripts/Scene/3/scene3_group133317046.lua index 9511fb8a0..8d52e8a45 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317046.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317046.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { drum = 46002, --鼓的ConfigID interval = 2, --敲鼓的节奏间隔 reminder_success = 400112, --挑战成功Reminder diff --git a/Resources/Scripts/Scene/3/scene3_group133317048.lua b/Resources/Scripts/Scene/3/scene3_group133317048.lua index 56c2df50e..1c8b8cdde 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317048.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317048.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133317048, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133317049.lua b/Resources/Scripts/Scene/3/scene3_group133317049.lua index 472735c51..8879bd132 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317049.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317049.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { opt_id = 49004, --操作台ID rotor_top = 49003, --上层开关 rotor_mid = 49002, --中层开关 diff --git a/Resources/Scripts/Scene/3/scene3_group133317051.lua b/Resources/Scripts/Scene/3/scene3_group133317051.lua index 052a9da76..79671369e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317051.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317051.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133317051, collectable_sum = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133317067.lua b/Resources/Scripts/Scene/3/scene3_group133317067.lua index 0d8db14c4..e2eb4fcc4 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317067.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317067.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133317067, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133317073.lua b/Resources/Scripts/Scene/3/scene3_group133317073.lua index 3d0ef3af4..eed1f9501 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317073.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317073.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133317073, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133317074.lua b/Resources/Scripts/Scene/3/scene3_group133317074.lua index 55188b6ef..06e15d084 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317074.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317074.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133317074, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133317075.lua b/Resources/Scripts/Scene/3/scene3_group133317075.lua index 764ddb023..76032f87f 100644 --- a/Resources/Scripts/Scene/3/scene3_group133317075.lua +++ b/Resources/Scripts/Scene/3/scene3_group133317075.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133317075, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133401004.lua b/Resources/Scripts/Scene/3/scene3_group133401004.lua index 15425cb0e..a5f791a41 100644 --- a/Resources/Scripts/Scene/3/scene3_group133401004.lua +++ b/Resources/Scripts/Scene/3/scene3_group133401004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 4009, gadget_lookEntity = 4001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133401005.lua b/Resources/Scripts/Scene/3/scene3_group133401005.lua index 9427a1e42..3da2c5268 100644 --- a/Resources/Scripts/Scene/3/scene3_group133401005.lua +++ b/Resources/Scripts/Scene/3/scene3_group133401005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 5001, pointarray_id = 340100001 } diff --git a/Resources/Scripts/Scene/3/scene3_group133401006.lua b/Resources/Scripts/Scene/3/scene3_group133401006.lua index 36ddfc27c..4e587f6b8 100644 --- a/Resources/Scripts/Scene/3/scene3_group133401006.lua +++ b/Resources/Scripts/Scene/3/scene3_group133401006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { delay = 30, sumGadget = 16, resetTime = 5, diff --git a/Resources/Scripts/Scene/3/scene3_group133401011.lua b/Resources/Scripts/Scene/3/scene3_group133401011.lua index 262a6c688..17278d387 100644 --- a/Resources/Scripts/Scene/3/scene3_group133401011.lua +++ b/Resources/Scripts/Scene/3/scene3_group133401011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 11009, gadget_lookEntity = 11001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133401013.lua b/Resources/Scripts/Scene/3/scene3_group133401013.lua index c872609b3..126f1ba0e 100644 --- a/Resources/Scripts/Scene/3/scene3_group133401013.lua +++ b/Resources/Scripts/Scene/3/scene3_group133401013.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 13009, gadget_lookEntity = 13001, look_duration = 3 diff --git a/Resources/Scripts/Scene/3/scene3_group133401015.lua b/Resources/Scripts/Scene/3/scene3_group133401015.lua index 725d82438..811c0c005 100644 --- a/Resources/Scripts/Scene/3/scene3_group133401015.lua +++ b/Resources/Scripts/Scene/3/scene3_group133401015.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { delay = 15, sumGadget = 5, resetTime = 5, diff --git a/Resources/Scripts/Scene/3/scene3_group133401023.lua b/Resources/Scripts/Scene/3/scene3_group133401023.lua index 4d9f7db5e..070ccab47 100644 --- a/Resources/Scripts/Scene/3/scene3_group133401023.lua +++ b/Resources/Scripts/Scene/3/scene3_group133401023.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 340100007, gadget_seelie = 23002 diff --git a/Resources/Scripts/Scene/3/scene3_group133401028.lua b/Resources/Scripts/Scene/3/scene3_group133401028.lua index d02898a49..c061e9704 100644 --- a/Resources/Scripts/Scene/3/scene3_group133401028.lua +++ b/Resources/Scripts/Scene/3/scene3_group133401028.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 133401028, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/3/scene3_group133401030.lua b/Resources/Scripts/Scene/3/scene3_group133401030.lua index 3fb6310e6..e6916cddb 100644 --- a/Resources/Scripts/Scene/3/scene3_group133401030.lua +++ b/Resources/Scripts/Scene/3/scene3_group133401030.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 30004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133401032.lua b/Resources/Scripts/Scene/3/scene3_group133401032.lua index 7f098b4cc..23fe3b2dc 100644 --- a/Resources/Scripts/Scene/3/scene3_group133401032.lua +++ b/Resources/Scripts/Scene/3/scene3_group133401032.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 32004 } diff --git a/Resources/Scripts/Scene/3/scene3_group133401045.lua b/Resources/Scripts/Scene/3/scene3_group133401045.lua index 037aadf0b..811eae686 100644 --- a/Resources/Scripts/Scene/3/scene3_group133401045.lua +++ b/Resources/Scripts/Scene/3/scene3_group133401045.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_camera = 45009, gadget_lookEntity = 45001, look_duration = 3 diff --git a/Resources/Scripts/Scene/35800/scene35800_group235800002.lua b/Resources/Scripts/Scene/35800/scene35800_group235800002.lua index 113072c0e..320106c61 100644 --- a/Resources/Scripts/Scene/35800/scene35800_group235800002.lua +++ b/Resources/Scripts/Scene/35800/scene35800_group235800002.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { MainGroupID = 235800001, GroupID = 235800002, GalleryID = 6003, diff --git a/Resources/Scripts/Scene/35800/scene35800_group235800003.lua b/Resources/Scripts/Scene/35800/scene35800_group235800003.lua index bd36cb6e6..2c5226fc5 100644 --- a/Resources/Scripts/Scene/35800/scene35800_group235800003.lua +++ b/Resources/Scripts/Scene/35800/scene35800_group235800003.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { MainGroupID = 235800001, GroupID = 235800003, GalleryID = 6008, diff --git a/Resources/Scripts/Scene/35800/scene35800_group235800004.lua b/Resources/Scripts/Scene/35800/scene35800_group235800004.lua index 4453ea726..1f40f74a9 100644 --- a/Resources/Scripts/Scene/35800/scene35800_group235800004.lua +++ b/Resources/Scripts/Scene/35800/scene35800_group235800004.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { area_flower_suites = 2, static_flower_suites = {3,4,5}, area_flower_timer = {1,4,8,12,16,20,24,28,32,36,40,44}, diff --git a/Resources/Scripts/Scene/35800/scene35800_group235800005.lua b/Resources/Scripts/Scene/35800/scene35800_group235800005.lua index 75ce25598..98618073d 100644 --- a/Resources/Scripts/Scene/35800/scene35800_group235800005.lua +++ b/Resources/Scripts/Scene/35800/scene35800_group235800005.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { laser_group_id = 235800005, hurt_floor_id = 5293 } diff --git a/Resources/Scripts/Scene/35800/scene35800_group235800006.lua b/Resources/Scripts/Scene/35800/scene35800_group235800006.lua index 8214c78f9..8f962a342 100644 --- a/Resources/Scripts/Scene/35800/scene35800_group235800006.lua +++ b/Resources/Scripts/Scene/35800/scene35800_group235800006.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs ={ +local defs ={ GalleryID = 6001, MainGroupID = 235800001, GroupID = 235800006, @@ -30,7 +30,7 @@ defs ={ FlowerHeight = 2, FallRegionConfigID = 6073, RevivePoint = {pos = {x=224.4635, y= 21.55999, z=19.95908}, - radius = 2, rot = {x=0, y=180, z=0}}, + radius = 2, rot = {x=0, y=180, z=0}}, OverRegionConfigID = 6311 } diff --git a/Resources/Scripts/Scene/35801/scene35801_group235801002.lua b/Resources/Scripts/Scene/35801/scene35801_group235801002.lua index cc071ed37..069b844f1 100644 --- a/Resources/Scripts/Scene/35801/scene35801_group235801002.lua +++ b/Resources/Scripts/Scene/35801/scene35801_group235801002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 235801002, worktop_id = 2021, game_time = 240, @@ -25,8 +25,7 @@ defs = { -- DEFS_MISCS --fever进度升级节点 local fever_progress_table = { - 0,40,120,270,570 -,800 + 0,40,120,270,570 ,800 } --各等级fever的下降速率 local fever_attenuation = { @@ -41,8 +40,7 @@ local DungeonWeather = { --怪物潮 local monster_tide = { [1] = {2001,2002,2003,2004,2005,2006,2007,2008,2009,2010}, - [2] = {2011,2012,2013,2014,2015,2016,2017,2018,2019,2020} -, + [2] = {2011,2012,2013,2014,2015,2016,2017,2018,2019,2020} , [3] = {2038,2039,2040,2041,2042,2043,2044,2045,2046,2047} } diff --git a/Resources/Scripts/Scene/35802/scene35802_group235802002.lua b/Resources/Scripts/Scene/35802/scene35802_group235802002.lua index cfebfaa73..72a3067d8 100644 --- a/Resources/Scripts/Scene/35802/scene35802_group235802002.lua +++ b/Resources/Scripts/Scene/35802/scene35802_group235802002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 235802002, worktop_id = 2021, game_time = 240, @@ -25,8 +25,7 @@ defs = { -- DEFS_MISCS --fever进度升级节点 local fever_progress_table = { - 0,40,120,270,570 -,800 + 0,40,120,270,570 ,800 } --各等级fever的下降速率 local fever_attenuation = { @@ -40,8 +39,7 @@ local DungeonWeather = { --怪物潮 local monster_tide = { [1] = {2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2048,2049,2050,2051}, - [2] = {2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2052,2053,2054,2055} -, + [2] = {2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2052,2053,2054,2055} , [3] = {2038,2039,2040,2041,2042,2043,2044,2045,2046,2047,2056,2057,2058,2059} } diff --git a/Resources/Scripts/Scene/35803/scene35803_group235803002.lua b/Resources/Scripts/Scene/35803/scene35803_group235803002.lua index 69394dc63..0a8bfd981 100644 --- a/Resources/Scripts/Scene/35803/scene35803_group235803002.lua +++ b/Resources/Scripts/Scene/35803/scene35803_group235803002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 235803002, worktop_id = 2021, game_time = 240, @@ -25,8 +25,7 @@ defs = { -- DEFS_MISCS --fever进度升级节点 local fever_progress_table = { - 0,40,120,270,570 -,800 + 0,40,120,270,570 ,800 } --各等级fever的下降速率 local fever_attenuation = { @@ -40,8 +39,7 @@ DungeonWeather = { --怪物潮 local monster_tide = { [1] = {2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2048,2049,2050,2051}, - [2] = {2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2052,2053,2054,2055} -, + [2] = {2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2052,2053,2054,2055} , [3] = {2038,2039,2040,2041,2042,2043,2044,2045,2046,2047,2056,2057,2058,2059} } diff --git a/Resources/Scripts/Scene/35804/scene35804_group235804002.lua b/Resources/Scripts/Scene/35804/scene35804_group235804002.lua index 7e2917043..92de2a0b3 100644 --- a/Resources/Scripts/Scene/35804/scene35804_group235804002.lua +++ b/Resources/Scripts/Scene/35804/scene35804_group235804002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 235804002, worktop_id = 2021, game_time = 240, @@ -25,8 +25,7 @@ defs = { -- DEFS_MISCS --fever进度升级节点 local fever_progress_table = { - 0,40,120,270,570 -,800 + 0,40,120,270,570 ,800 } --各等级fever的下降速率 local fever_attenuation = { @@ -41,8 +40,7 @@ local DungeonWeather = { --怪物潮 local monster_tide = { [1] = {2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2080,2081,2082,2083}, - [2] = {2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2084,2085,2086,2087} -, + [2] = {2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2084,2085,2086,2087} , [3] = {2038,2039,2040,2041,2042,2043,2044,2045,2046,2047,2088,2089,2090,2091} } diff --git a/Resources/Scripts/Scene/35805/scene35805_group235805002.lua b/Resources/Scripts/Scene/35805/scene35805_group235805002.lua index 473676e0c..ad3af5030 100644 --- a/Resources/Scripts/Scene/35805/scene35805_group235805002.lua +++ b/Resources/Scripts/Scene/35805/scene35805_group235805002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 235805002, worktop_id = 2021, game_time = 240, @@ -25,8 +25,7 @@ defs = { -- DEFS_MISCS --fever进度升级节点 local fever_progress_table = { - 0,40,120,270,570 -,800 + 0,40,120,270,570 ,800 } --各等级fever的下降速率 local fever_attenuation = { @@ -41,8 +40,7 @@ local DungeonWeather = { --怪物潮 local monster_tide = { [1] = {2001,2002,2003,2004,2005,2006,2007,2008,2009,2010}, - [2] = {2011,2012,2013,2014,2015,2016,2017,2018,2019,2020} -, + [2] = {2011,2012,2013,2014,2015,2016,2017,2018,2019,2020} , [3] = {2038,2039,2040,2041,2042,2043,2044,2045,2046,2047} } diff --git a/Resources/Scripts/Scene/35806/scene35806_group235806002.lua b/Resources/Scripts/Scene/35806/scene35806_group235806002.lua index 3761563df..b183c668d 100644 --- a/Resources/Scripts/Scene/35806/scene35806_group235806002.lua +++ b/Resources/Scripts/Scene/35806/scene35806_group235806002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 235806002, worktop_id = 2021, game_time = 240, @@ -25,8 +25,7 @@ defs = { -- DEFS_MISCS --fever进度升级节点 local fever_progress_table = { - 0,40,120,270,570 -,800 + 0,40,120,270,570 ,800 } --各等级fever的下降速率 local fever_attenuation = { @@ -41,8 +40,7 @@ local DungeonWeather = { --怪物潮 local monster_tide = { [1] = {2001,2002,2003,2004,2005,2006,2007,2008,2009,2010}, - [2] = {2011,2012,2013,2014,2015,2016,2017,2018,2019,2020} -, + [2] = {2011,2012,2013,2014,2015,2016,2017,2018,2019,2020} , [3] = {2038,2039,2040,2041,2042,2043,2044,2045,2046,2047} } diff --git a/Resources/Scripts/Scene/35807/scene35807_group235807002.lua b/Resources/Scripts/Scene/35807/scene35807_group235807002.lua index 677272d3b..ce27c838b 100644 --- a/Resources/Scripts/Scene/35807/scene35807_group235807002.lua +++ b/Resources/Scripts/Scene/35807/scene35807_group235807002.lua @@ -37,7 +37,7 @@ local tide_suite_config = { [5] = {min=3,max=3} } -defs = { +local defs = { group_id = 235807002, worktop_id = 2021, --操作台对应的configID game_time = 240, --挑战时间 diff --git a/Resources/Scripts/Scene/35808/scene35808_group235808002.lua b/Resources/Scripts/Scene/35808/scene35808_group235808002.lua index 6351031ef..6bb6450d9 100644 --- a/Resources/Scripts/Scene/35808/scene35808_group235808002.lua +++ b/Resources/Scripts/Scene/35808/scene35808_group235808002.lua @@ -48,7 +48,7 @@ local elite_born_points = { 2022,2023,2024,2025,2026,2027,2028,2029 } -defs = { +local defs = { group_id = 235808002, worktop_id = 2021, --操作台对应的configID game_time = 240, --挑战时间 diff --git a/Resources/Scripts/Scene/35809/scene35809_group235809002.lua b/Resources/Scripts/Scene/35809/scene35809_group235809002.lua index 2b7054f91..04448468c 100644 --- a/Resources/Scripts/Scene/35809/scene35809_group235809002.lua +++ b/Resources/Scripts/Scene/35809/scene35809_group235809002.lua @@ -48,7 +48,7 @@ local elite_born_points = { 2022,2023,2024,2025,2026,2027,2028,2029 } -defs = { +local defs = { group_id = 235809002, worktop_id = 2021, --操作台对应的configID game_time = 240, --挑战时间 diff --git a/Resources/Scripts/Scene/35810/scene35810_group235810002.lua b/Resources/Scripts/Scene/35810/scene35810_group235810002.lua index 67dd58069..77b04734f 100644 --- a/Resources/Scripts/Scene/35810/scene35810_group235810002.lua +++ b/Resources/Scripts/Scene/35810/scene35810_group235810002.lua @@ -48,7 +48,7 @@ local elite_born_points = { 2022,2023,2024,2025,2026,2027,2028,2029 } -defs = { +local defs = { group_id = 235810002, worktop_id = 2021, --操作台对应的configID game_time = 240, --挑战时间 diff --git a/Resources/Scripts/Scene/35811/scene35811_group235811002.lua b/Resources/Scripts/Scene/35811/scene35811_group235811002.lua index b6cb8c046..26296512a 100644 --- a/Resources/Scripts/Scene/35811/scene35811_group235811002.lua +++ b/Resources/Scripts/Scene/35811/scene35811_group235811002.lua @@ -37,7 +37,7 @@ local tide_suite_config = { [5] = {min=1,max=2} } -defs = { +local defs = { group_id = 235811002, worktop_id = 2021, --操作台对应的configID game_time = 240, --挑战时间 diff --git a/Resources/Scripts/Scene/35812/scene35812_group235812002.lua b/Resources/Scripts/Scene/35812/scene35812_group235812002.lua index cb56af77e..b0d172f4f 100644 --- a/Resources/Scripts/Scene/35812/scene35812_group235812002.lua +++ b/Resources/Scripts/Scene/35812/scene35812_group235812002.lua @@ -37,7 +37,7 @@ local tide_suite_config = { [5] = {min=1,max=3} } -defs = { +local defs = { group_id = 235812002, worktop_id = 2021, --操作台对应的configID game_time = 240, --挑战时间 diff --git a/Resources/Scripts/Scene/35813/scene35813_group235813002.lua b/Resources/Scripts/Scene/35813/scene35813_group235813002.lua index 58ffec694..6576eabba 100644 --- a/Resources/Scripts/Scene/35813/scene35813_group235813002.lua +++ b/Resources/Scripts/Scene/35813/scene35813_group235813002.lua @@ -48,7 +48,7 @@ local elite_born_points = { 2022,2023,2024,2025,2026,2027,2028,2029 } -defs = { +local defs = { group_id = 235813002, worktop_id = 2021, --操作台对应的configID game_time = 240, --挑战时间 diff --git a/Resources/Scripts/Scene/35814/scene35814_group235814002.lua b/Resources/Scripts/Scene/35814/scene35814_group235814002.lua index 6e6216c84..cbb1cf7b7 100644 --- a/Resources/Scripts/Scene/35814/scene35814_group235814002.lua +++ b/Resources/Scripts/Scene/35814/scene35814_group235814002.lua @@ -37,7 +37,7 @@ local tide_suite_config = { [5] = {min=1,max=3} } -defs = { +local defs = { group_id = 235814002, worktop_id = 2021, --操作台对应的configID game_time = 240, --挑战时间 diff --git a/Resources/Scripts/Scene/35815/scene35815_group235815002.lua b/Resources/Scripts/Scene/35815/scene35815_group235815002.lua index 8a376b7a9..eb3405fc6 100644 --- a/Resources/Scripts/Scene/35815/scene35815_group235815002.lua +++ b/Resources/Scripts/Scene/35815/scene35815_group235815002.lua @@ -48,7 +48,7 @@ local elite_born_points = { 2022,2023,2024,2025,2026,2027,2028,2029 } -defs = { +local defs = { group_id = 235815002, worktop_id = 2021, --操作台对应的configID game_time = 240, --挑战时间 diff --git a/Resources/Scripts/Scene/35816/scene35816_group235816002.lua b/Resources/Scripts/Scene/35816/scene35816_group235816002.lua index 3a64b0bce..9eab12bb4 100644 --- a/Resources/Scripts/Scene/35816/scene35816_group235816002.lua +++ b/Resources/Scripts/Scene/35816/scene35816_group235816002.lua @@ -37,7 +37,7 @@ local tide_suite_config = { [5] = {min=1,max=3} } -defs = { +local defs = { group_id = 235816002, worktop_id = 2021, --操作台对应的configID game_time = 240, --挑战时间 diff --git a/Resources/Scripts/Scene/35817/scene35817_group235817002.lua b/Resources/Scripts/Scene/35817/scene35817_group235817002.lua index a9d3ed102..4dd79a0b8 100644 --- a/Resources/Scripts/Scene/35817/scene35817_group235817002.lua +++ b/Resources/Scripts/Scene/35817/scene35817_group235817002.lua @@ -37,7 +37,7 @@ local tide_suite_config = { [5] = {min=3,max=3} } -defs = { +local defs = { group_id = 235817002, worktop_id = 2021, --操作台对应的configID game_time = 240, --挑战时间 diff --git a/Resources/Scripts/Scene/35818/scene35818_group235818002.lua b/Resources/Scripts/Scene/35818/scene35818_group235818002.lua index 872939127..5beb7b5f5 100644 --- a/Resources/Scripts/Scene/35818/scene35818_group235818002.lua +++ b/Resources/Scripts/Scene/35818/scene35818_group235818002.lua @@ -48,7 +48,7 @@ local elite_born_points = { 2022,2023,2024,2025,2026,2027,2028,2029 } -defs = { +local defs = { group_id = 235818002, worktop_id = 2021, --操作台对应的configID game_time = 240, --挑战时间 diff --git a/Resources/Scripts/Scene/35840/scene35840_group235840001.lua b/Resources/Scripts/Scene/35840/scene35840_group235840001.lua index fc3719b11..a4e009291 100644 --- a/Resources/Scripts/Scene/35840/scene35840_group235840001.lua +++ b/Resources/Scripts/Scene/35840/scene35840_group235840001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_round = 1, next_play_group = 235840002, worktop_id = 1001, diff --git a/Resources/Scripts/Scene/35840/scene35840_group235840002.lua b/Resources/Scripts/Scene/35840/scene35840_group235840002.lua index 72b80059a..f8a9de026 100644 --- a/Resources/Scripts/Scene/35840/scene35840_group235840002.lua +++ b/Resources/Scripts/Scene/35840/scene35840_group235840002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_round = 2, next_play_group = 0, worktop_id = 2049, diff --git a/Resources/Scripts/Scene/35841/scene35841_group235841001.lua b/Resources/Scripts/Scene/35841/scene35841_group235841001.lua index 8b929ebc1..955afeeb2 100644 --- a/Resources/Scripts/Scene/35841/scene35841_group235841001.lua +++ b/Resources/Scripts/Scene/35841/scene35841_group235841001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_round = 1, next_play_group = 235841002, worktop_id = 1001, diff --git a/Resources/Scripts/Scene/35841/scene35841_group235841002.lua b/Resources/Scripts/Scene/35841/scene35841_group235841002.lua index 4daf92aff..b843eaecf 100644 --- a/Resources/Scripts/Scene/35841/scene35841_group235841002.lua +++ b/Resources/Scripts/Scene/35841/scene35841_group235841002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_round = 2, next_play_group = 0, worktop_id = 2049, diff --git a/Resources/Scripts/Scene/35842/scene35842_group235842001.lua b/Resources/Scripts/Scene/35842/scene35842_group235842001.lua index 1982c2f63..3196e29a9 100644 --- a/Resources/Scripts/Scene/35842/scene35842_group235842001.lua +++ b/Resources/Scripts/Scene/35842/scene35842_group235842001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_round = 1, next_play_group = 235842002, worktop_id = 1001, diff --git a/Resources/Scripts/Scene/35842/scene35842_group235842002.lua b/Resources/Scripts/Scene/35842/scene35842_group235842002.lua index 89c3fabba..ea2ef2d64 100644 --- a/Resources/Scripts/Scene/35842/scene35842_group235842002.lua +++ b/Resources/Scripts/Scene/35842/scene35842_group235842002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_round = 2, next_play_group = 0, worktop_id = 2049, diff --git a/Resources/Scripts/Scene/35843/scene35843_group235843001.lua b/Resources/Scripts/Scene/35843/scene35843_group235843001.lua index 1c82cdbae..1585e9775 100644 --- a/Resources/Scripts/Scene/35843/scene35843_group235843001.lua +++ b/Resources/Scripts/Scene/35843/scene35843_group235843001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_round = 1, next_play_group = 235843002, worktop_id = 1001, diff --git a/Resources/Scripts/Scene/35843/scene35843_group235843002.lua b/Resources/Scripts/Scene/35843/scene35843_group235843002.lua index a293cb335..779f3eadd 100644 --- a/Resources/Scripts/Scene/35843/scene35843_group235843002.lua +++ b/Resources/Scripts/Scene/35843/scene35843_group235843002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_round = 2, next_play_group = 0, worktop_id = 2049, diff --git a/Resources/Scripts/Scene/35844/scene35844_group235844001.lua b/Resources/Scripts/Scene/35844/scene35844_group235844001.lua index 580859136..ff6ec5210 100644 --- a/Resources/Scripts/Scene/35844/scene35844_group235844001.lua +++ b/Resources/Scripts/Scene/35844/scene35844_group235844001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_round = 1, next_play_group = 235844002, worktop_id = 1001, diff --git a/Resources/Scripts/Scene/35844/scene35844_group235844002.lua b/Resources/Scripts/Scene/35844/scene35844_group235844002.lua index 4819374f2..aa5ba0777 100644 --- a/Resources/Scripts/Scene/35844/scene35844_group235844002.lua +++ b/Resources/Scripts/Scene/35844/scene35844_group235844002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_round = 2, next_play_group = 0, worktop_id = 2049, diff --git a/Resources/Scripts/Scene/35845/scene35845_group235845001.lua b/Resources/Scripts/Scene/35845/scene35845_group235845001.lua index 456305152..fc94c5fd1 100644 --- a/Resources/Scripts/Scene/35845/scene35845_group235845001.lua +++ b/Resources/Scripts/Scene/35845/scene35845_group235845001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_round = 1, next_play_group = 235845002, worktop_id = 1001, diff --git a/Resources/Scripts/Scene/35845/scene35845_group235845002.lua b/Resources/Scripts/Scene/35845/scene35845_group235845002.lua index 9d2c8e1bc..0c6ef2a73 100644 --- a/Resources/Scripts/Scene/35845/scene35845_group235845002.lua +++ b/Resources/Scripts/Scene/35845/scene35845_group235845002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_round = 2, next_play_group = 0, worktop_id = 2049, diff --git a/Resources/Scripts/Scene/35846/scene35846_group235846019.lua b/Resources/Scripts/Scene/35846/scene35846_group235846019.lua index b73a7b358..52fb6e3ec 100644 --- a/Resources/Scripts/Scene/35846/scene35846_group235846019.lua +++ b/Resources/Scripts/Scene/35846/scene35846_group235846019.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { challenge_id = 2010046, --起始操作台 starter = 19001, diff --git a/Resources/Scripts/Scene/35846/scene35846_group235846035.lua b/Resources/Scripts/Scene/35846/scene35846_group235846035.lua index d493ad63a..540e55cc5 100644 --- a/Resources/Scripts/Scene/35846/scene35846_group235846035.lua +++ b/Resources/Scripts/Scene/35846/scene35846_group235846035.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { challenge_id = 2010054, --是否教学关 diff --git a/Resources/Scripts/Scene/35846/scene35846_group235846036.lua b/Resources/Scripts/Scene/35846/scene35846_group235846036.lua index 92d6af499..6cb0412fa 100644 --- a/Resources/Scripts/Scene/35846/scene35846_group235846036.lua +++ b/Resources/Scripts/Scene/35846/scene35846_group235846036.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { challenge_id = 2010054, --是否教学关 is_tutorial = 1, diff --git a/Resources/Scripts/Scene/35847/scene35847_group235847019.lua b/Resources/Scripts/Scene/35847/scene35847_group235847019.lua index 7f2394ac9..d9e0e1d33 100644 --- a/Resources/Scripts/Scene/35847/scene35847_group235847019.lua +++ b/Resources/Scripts/Scene/35847/scene35847_group235847019.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { challenge_id = 2010046, --起始操作台 starter = 19031, diff --git a/Resources/Scripts/Scene/35848/scene35848_group235848001.lua b/Resources/Scripts/Scene/35848/scene35848_group235848001.lua index 333860ae4..d00576401 100644 --- a/Resources/Scripts/Scene/35848/scene35848_group235848001.lua +++ b/Resources/Scripts/Scene/35848/scene35848_group235848001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --起始操作台 starter = 1041, --起始操作台选项 @@ -26,9 +26,9 @@ defs = { [2] = { monsters = {1009,1010,1011,1012}, min = 4, max = 4}, [3] = { monsters = {1014,1016}, min = 2, max = 2}, [4] = { monsters = {1013}, min = 1, max = 1}, - [5] = { monsters = {1047}, min = 1, max = 1}, - [6] = { monsters = {1048}, min = 1, max = 1}, - [7] = { monsters = {1049}, min = 1, max = 1}, + [5] = { monsters = {1047}, min = 1, max = 1}, + [6] = { monsters = {1048}, min = 1, max = 1}, + [7] = { monsters = {1049}, min = 1, max = 1}, }, --怪物潮随机表 --随机固定顺序怪物潮组合 每次进地城随机取key。 diff --git a/Resources/Scripts/Scene/35848/scene35848_group235848003.lua b/Resources/Scripts/Scene/35848/scene35848_group235848003.lua index 2d5601130..644704dec 100644 --- a/Resources/Scripts/Scene/35848/scene35848_group235848003.lua +++ b/Resources/Scripts/Scene/35848/scene35848_group235848003.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --起始操作台 starter =3003, --起始操作台选项 diff --git a/Resources/Scripts/Scene/35848/scene35848_group235848005.lua b/Resources/Scripts/Scene/35848/scene35848_group235848005.lua index 36d98b106..29453cb37 100644 --- a/Resources/Scripts/Scene/35848/scene35848_group235848005.lua +++ b/Resources/Scripts/Scene/35848/scene35848_group235848005.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --起始操作台 starter = 5002, --起始操作台选项 diff --git a/Resources/Scripts/Scene/35848/scene35848_group235848006.lua b/Resources/Scripts/Scene/35848/scene35848_group235848006.lua index f789f63ac..a05528958 100644 --- a/Resources/Scripts/Scene/35848/scene35848_group235848006.lua +++ b/Resources/Scripts/Scene/35848/scene35848_group235848006.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --起始操作台 starter =6002, --起始操作台选项 diff --git a/Resources/Scripts/Scene/35849/scene35849_group235849001.lua b/Resources/Scripts/Scene/35849/scene35849_group235849001.lua index 3f30fbd23..225ecb5be 100644 --- a/Resources/Scripts/Scene/35849/scene35849_group235849001.lua +++ b/Resources/Scripts/Scene/35849/scene35849_group235849001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --起始操作台 starter = 1040, --起始操作台选项 @@ -28,7 +28,7 @@ defs = { [4] = { monsters = {1012}, min = 1, max = 1}, [5] = { monsters = {1015}, min = 1, max = 1}, [6] = { monsters = {1045}, min = 1, max = 1}, - [7] = { monsters = {1046}, min = 1, max = 1}, + [7] = { monsters = {1046}, min = 1, max = 1}, }, --怪物潮随机表 --随机固定顺序怪物潮组合 每次进地城随机取key。 diff --git a/Resources/Scripts/Scene/35850/scene35850_group235850001.lua b/Resources/Scripts/Scene/35850/scene35850_group235850001.lua index 03fe37587..bab37666c 100644 --- a/Resources/Scripts/Scene/35850/scene35850_group235850001.lua +++ b/Resources/Scripts/Scene/35850/scene35850_group235850001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --起始操作台 starter = 1001, --起始操作台选项 diff --git a/Resources/Scripts/Scene/35850/scene35850_group235850002.lua b/Resources/Scripts/Scene/35850/scene35850_group235850002.lua index b9319cc8c..74948cbc1 100644 --- a/Resources/Scripts/Scene/35850/scene35850_group235850002.lua +++ b/Resources/Scripts/Scene/35850/scene35850_group235850002.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --起始操作台 starter = 2001, --起始操作台选项 diff --git a/Resources/Scripts/Scene/35851/scene35851_group235851001.lua b/Resources/Scripts/Scene/35851/scene35851_group235851001.lua index 5fee5eb2c..cb6201b62 100644 --- a/Resources/Scripts/Scene/35851/scene35851_group235851001.lua +++ b/Resources/Scripts/Scene/35851/scene35851_group235851001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --起始操作台 starter = 1001, --起始操作台选项 diff --git a/Resources/Scripts/Scene/35852/scene35852_group235852001.lua b/Resources/Scripts/Scene/35852/scene35852_group235852001.lua index 2c2641362..6ea65fa92 100644 --- a/Resources/Scripts/Scene/35852/scene35852_group235852001.lua +++ b/Resources/Scripts/Scene/35852/scene35852_group235852001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --起始操作台 starter = 1001 , --起始操作台选项 diff --git a/Resources/Scripts/Scene/35852/scene35852_group235852004.lua b/Resources/Scripts/Scene/35852/scene35852_group235852004.lua index c9ec2e919..fa5e26d94 100644 --- a/Resources/Scripts/Scene/35852/scene35852_group235852004.lua +++ b/Resources/Scripts/Scene/35852/scene35852_group235852004.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --起始操作台 starter = 4001 , --起始操作台选项 diff --git a/Resources/Scripts/Scene/35853/scene35853_group235853001.lua b/Resources/Scripts/Scene/35853/scene35853_group235853001.lua index 4e86c3611..ae9d88236 100644 --- a/Resources/Scripts/Scene/35853/scene35853_group235853001.lua +++ b/Resources/Scripts/Scene/35853/scene35853_group235853001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --起始操作台 starter = 1001 , --起始操作台选项 diff --git a/Resources/Scripts/Scene/35860/scene35860_group235860001.lua b/Resources/Scripts/Scene/35860/scene35860_group235860001.lua index cccaac8ce..c54919542 100644 --- a/Resources/Scripts/Scene/35860/scene35860_group235860001.lua +++ b/Resources/Scripts/Scene/35860/scene35860_group235860001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { isStartLevel = true, nextGroupId = 235860002, diff --git a/Resources/Scripts/Scene/35860/scene35860_group235860002.lua b/Resources/Scripts/Scene/35860/scene35860_group235860002.lua index 20616ff16..7095db43a 100644 --- a/Resources/Scripts/Scene/35860/scene35860_group235860002.lua +++ b/Resources/Scripts/Scene/35860/scene35860_group235860002.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { isStartLevel = false, nextGroupId = 235860003, diff --git a/Resources/Scripts/Scene/35860/scene35860_group235860003.lua b/Resources/Scripts/Scene/35860/scene35860_group235860003.lua index b30b2ccfb..d2dc30a97 100644 --- a/Resources/Scripts/Scene/35860/scene35860_group235860003.lua +++ b/Resources/Scripts/Scene/35860/scene35860_group235860003.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { isStartLevel = false, nextGroupId = -1, diff --git a/Resources/Scripts/Scene/35861/scene35861_group235861001.lua b/Resources/Scripts/Scene/35861/scene35861_group235861001.lua index 87073e6e7..70134692c 100644 --- a/Resources/Scripts/Scene/35861/scene35861_group235861001.lua +++ b/Resources/Scripts/Scene/35861/scene35861_group235861001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { isStartLevel = true, nextGroupId = 235861002, diff --git a/Resources/Scripts/Scene/35861/scene35861_group235861002.lua b/Resources/Scripts/Scene/35861/scene35861_group235861002.lua index cf6c7965a..bb00fd27d 100644 --- a/Resources/Scripts/Scene/35861/scene35861_group235861002.lua +++ b/Resources/Scripts/Scene/35861/scene35861_group235861002.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { isStartLevel = false, nextGroupId = 235861003, diff --git a/Resources/Scripts/Scene/35861/scene35861_group235861003.lua b/Resources/Scripts/Scene/35861/scene35861_group235861003.lua index f82c3b620..dbc4fd444 100644 --- a/Resources/Scripts/Scene/35861/scene35861_group235861003.lua +++ b/Resources/Scripts/Scene/35861/scene35861_group235861003.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { isStartLevel = false, nextGroupId = -1, diff --git a/Resources/Scripts/Scene/35862/scene35862_group235862001.lua b/Resources/Scripts/Scene/35862/scene35862_group235862001.lua index 7c89d4240..4415dd187 100644 --- a/Resources/Scripts/Scene/35862/scene35862_group235862001.lua +++ b/Resources/Scripts/Scene/35862/scene35862_group235862001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { isStartLevel = true, nextGroupId = 235862002, diff --git a/Resources/Scripts/Scene/35862/scene35862_group235862002.lua b/Resources/Scripts/Scene/35862/scene35862_group235862002.lua index 8aed32f23..81c8542a1 100644 --- a/Resources/Scripts/Scene/35862/scene35862_group235862002.lua +++ b/Resources/Scripts/Scene/35862/scene35862_group235862002.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { isStartLevel = false, nextGroupId = 235862003, diff --git a/Resources/Scripts/Scene/35862/scene35862_group235862003.lua b/Resources/Scripts/Scene/35862/scene35862_group235862003.lua index 58b084c2d..3db8106f7 100644 --- a/Resources/Scripts/Scene/35862/scene35862_group235862003.lua +++ b/Resources/Scripts/Scene/35862/scene35862_group235862003.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { isStartLevel = false, nextGroupId = -1, diff --git a/Resources/Scripts/Scene/35863/scene35863_group235863001.lua b/Resources/Scripts/Scene/35863/scene35863_group235863001.lua index db6816291..d9bec094e 100644 --- a/Resources/Scripts/Scene/35863/scene35863_group235863001.lua +++ b/Resources/Scripts/Scene/35863/scene35863_group235863001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { isStartLevel = true, nextGroupId = 235863002, diff --git a/Resources/Scripts/Scene/35863/scene35863_group235863002.lua b/Resources/Scripts/Scene/35863/scene35863_group235863002.lua index 784effef3..13ac3e945 100644 --- a/Resources/Scripts/Scene/35863/scene35863_group235863002.lua +++ b/Resources/Scripts/Scene/35863/scene35863_group235863002.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { isStartLevel = false, nextGroupId = 235863003, diff --git a/Resources/Scripts/Scene/35863/scene35863_group235863003.lua b/Resources/Scripts/Scene/35863/scene35863_group235863003.lua index 958a498dd..3d86f70f9 100644 --- a/Resources/Scripts/Scene/35863/scene35863_group235863003.lua +++ b/Resources/Scripts/Scene/35863/scene35863_group235863003.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { isStartLevel = false, nextGroupId = -1, diff --git a/Resources/Scripts/Scene/35870/scene35870_group235870001.lua b/Resources/Scripts/Scene/35870/scene35870_group235870001.lua index b82695e2c..f30784921 100644 --- a/Resources/Scripts/Scene/35870/scene35870_group235870001.lua +++ b/Resources/Scripts/Scene/35870/scene35870_group235870001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_teleport = 1003, gadget_bricks = 1002, gadget_airWall = 1004, diff --git a/Resources/Scripts/Scene/35871/scene35871_group235871001.lua b/Resources/Scripts/Scene/35871/scene35871_group235871001.lua index 591a50a5c..4050637b8 100644 --- a/Resources/Scripts/Scene/35871/scene35871_group235871001.lua +++ b/Resources/Scripts/Scene/35871/scene35871_group235871001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_teleport = 1003, gadget_bricks = 1002, gadget_airWall = 1004, diff --git a/Resources/Scripts/Scene/35872/scene35872_group235872001.lua b/Resources/Scripts/Scene/35872/scene35872_group235872001.lua index d6c3d8fef..abb6c0cfd 100644 --- a/Resources/Scripts/Scene/35872/scene35872_group235872001.lua +++ b/Resources/Scripts/Scene/35872/scene35872_group235872001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_teleport = 1003, gadget_bricks = 1002, gadget_airWall = 1004, diff --git a/Resources/Scripts/Scene/35880/scene35880_group235880001.lua b/Resources/Scripts/Scene/35880/scene35880_group235880001.lua index 67da2887b..70434b1ef 100644 --- a/Resources/Scripts/Scene/35880/scene35880_group235880001.lua +++ b/Resources/Scripts/Scene/35880/scene35880_group235880001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { --操作台id starter_gadget = 1001, diff --git a/Resources/Scripts/Scene/35881/scene35881_group235881001.lua b/Resources/Scripts/Scene/35881/scene35881_group235881001.lua index 8ef7cb319..1835d76e2 100644 --- a/Resources/Scripts/Scene/35881/scene35881_group235881001.lua +++ b/Resources/Scripts/Scene/35881/scene35881_group235881001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { --操作台id starter_gadget = 1001, diff --git a/Resources/Scripts/Scene/35882/scene35882_group235882001.lua b/Resources/Scripts/Scene/35882/scene35882_group235882001.lua index c99bbf17a..23d736407 100644 --- a/Resources/Scripts/Scene/35882/scene35882_group235882001.lua +++ b/Resources/Scripts/Scene/35882/scene35882_group235882001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { --操作台id starter_gadget = 1001, diff --git a/Resources/Scripts/Scene/35883/scene35883_group235883001.lua b/Resources/Scripts/Scene/35883/scene35883_group235883001.lua index 9de653b34..1d59e5b98 100644 --- a/Resources/Scripts/Scene/35883/scene35883_group235883001.lua +++ b/Resources/Scripts/Scene/35883/scene35883_group235883001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { --操作台id starter_gadget = 1001, diff --git a/Resources/Scripts/Scene/35884/scene35884_group235884001.lua b/Resources/Scripts/Scene/35884/scene35884_group235884001.lua index cb4254313..a06048b85 100644 --- a/Resources/Scripts/Scene/35884/scene35884_group235884001.lua +++ b/Resources/Scripts/Scene/35884/scene35884_group235884001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { --操作台id starter_gadget = 1001, diff --git a/Resources/Scripts/Scene/4/scene4_group144001001.lua b/Resources/Scripts/Scene/4/scene4_group144001001.lua index 2c5b44c7d..bcfe4c7e5 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001001.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_up = 1003, gadget_down = 1002, gadget_water = 1001, diff --git a/Resources/Scripts/Scene/4/scene4_group144001006.lua b/Resources/Scripts/Scene/4/scene4_group144001006.lua index b0c25d6b9..107dd84f3 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001006.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_up = 6003, gadget_down = 6002, gadget_water = 6001, diff --git a/Resources/Scripts/Scene/4/scene4_group144001007.lua b/Resources/Scripts/Scene/4/scene4_group144001007.lua index 8d121d4f5..9751d4bdf 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001007.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_up = 7003, gadget_down = 7002, gadget_water = 7001, diff --git a/Resources/Scripts/Scene/4/scene4_group144001008.lua b/Resources/Scripts/Scene/4/scene4_group144001008.lua index df766b608..ffd859c01 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001008.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_up = 8003, gadget_down = 8002, gadget_water = 8001, diff --git a/Resources/Scripts/Scene/4/scene4_group144001009.lua b/Resources/Scripts/Scene/4/scene4_group144001009.lua index c5bb48f8d..f404d2f31 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001009.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_up = 9003, gadget_down = 9002, gadget_water = 9001, diff --git a/Resources/Scripts/Scene/4/scene4_group144001038.lua b/Resources/Scripts/Scene/4/scene4_group144001038.lua index b3d4901ac..d5dfe596b 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001038.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001038.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001038, gadget_target_1S = 38002, gadget_target_1E = 38005, diff --git a/Resources/Scripts/Scene/4/scene4_group144001042.lua b/Resources/Scripts/Scene/4/scene4_group144001042.lua index f0d9e29c6..eb24f6480 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001042.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001042.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001042, gadget_signal_id = 42001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144001072.lua b/Resources/Scripts/Scene/4/scene4_group144001072.lua index ac54526a3..856128a7d 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001072.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001072.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001072, gadget_target_1S = 72002, gadget_target_1E = 72005, diff --git a/Resources/Scripts/Scene/4/scene4_group144001074.lua b/Resources/Scripts/Scene/4/scene4_group144001074.lua index d970c535d..750349e01 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001074.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001074.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001074, monster_shaman = 0, gadget_barrier = {}, diff --git a/Resources/Scripts/Scene/4/scene4_group144001102.lua b/Resources/Scripts/Scene/4/scene4_group144001102.lua index 3cfcaeb43..5703194a2 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001102.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001102.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001102, monster_shaman = 102003, gadget_barrier = {102014,102016}, diff --git a/Resources/Scripts/Scene/4/scene4_group144001103.lua b/Resources/Scripts/Scene/4/scene4_group144001103.lua index 696d97008..d7ae80db4 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001103.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001103.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001103, monster_shaman = 103002, gadget_barrier = {103012,103014}, diff --git a/Resources/Scripts/Scene/4/scene4_group144001104.lua b/Resources/Scripts/Scene/4/scene4_group144001104.lua index aa4f3c930..e2db60b88 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001104.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001104.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001104, monster_shaman = 104003, gadget_barrier = {104014}, diff --git a/Resources/Scripts/Scene/4/scene4_group144001105.lua b/Resources/Scripts/Scene/4/scene4_group144001105.lua index 446de3094..d8fd6ff0b 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001105.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001105.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001105, monster_shaman = 0, gadget_barrier = {}, diff --git a/Resources/Scripts/Scene/4/scene4_group144001107.lua b/Resources/Scripts/Scene/4/scene4_group144001107.lua index 76ad9c4c9..d487b2981 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001107.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001107.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wave_1 = 0, wave_2 = 0, wave_3 = 0, diff --git a/Resources/Scripts/Scene/4/scene4_group144001108.lua b/Resources/Scripts/Scene/4/scene4_group144001108.lua index 296177edf..202290af9 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001108.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001108.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 144001108, --对应的GroupID need_kill_hint = true, gadget_init = {108013, 108014}, --defs.gadget_init里按顺序填入 开启挑战机关ConfigID、 限时终点ConfigID diff --git a/Resources/Scripts/Scene/4/scene4_group144001127.lua b/Resources/Scripts/Scene/4/scene4_group144001127.lua index 59d4153e4..f8843a303 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001127.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001127.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 144001127, --对应的GroupID need_kill_hint = true, gadget_init = {127006, 127007}, --defs.gadget_init里按顺序填入 开启挑战机关ConfigID、 限时终点ConfigID diff --git a/Resources/Scripts/Scene/4/scene4_group144001130.lua b/Resources/Scripts/Scene/4/scene4_group144001130.lua index 29335e332..a63dbcaaa 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001130.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001130.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 144001130, --对应的GroupID need_kill_hint = false, gadget_init = {130006, 130007}, --defs.gadget_init里按顺序填入 开启挑战机关ConfigID、 限时终点ConfigID diff --git a/Resources/Scripts/Scene/4/scene4_group144001131.lua b/Resources/Scripts/Scene/4/scene4_group144001131.lua index 0ed22a224..27a8e1dc8 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001131.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001131.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001131, monster_shaman = 131003, gadget_barrier = {131025}, diff --git a/Resources/Scripts/Scene/4/scene4_group144001132.lua b/Resources/Scripts/Scene/4/scene4_group144001132.lua index f260f4cc2..10b283942 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001132.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001132.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001132, gadget_signal_id = 132001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144001133.lua b/Resources/Scripts/Scene/4/scene4_group144001133.lua index 954054017..09f7d4141 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001133.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001133.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001133, gadget_signal_id = 133001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144001134.lua b/Resources/Scripts/Scene/4/scene4_group144001134.lua index 0f3a8c1c3..073b989a8 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001134.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001134.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001134, gadget_signal_id = 134001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144001135.lua b/Resources/Scripts/Scene/4/scene4_group144001135.lua index bcd5f5100..687cdfc2e 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001135.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001135.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001135, gadget_signal_id = 135001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144001136.lua b/Resources/Scripts/Scene/4/scene4_group144001136.lua index 2b195461a..a6261f0c7 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001136.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001136.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001136, gadget_signal_id = 136001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144001137.lua b/Resources/Scripts/Scene/4/scene4_group144001137.lua index ae9ff62ee..02d699286 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001137.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001137.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001137, gadget_signal_id = 137001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144001138.lua b/Resources/Scripts/Scene/4/scene4_group144001138.lua index 487b2e00d..8c91a1f08 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001138.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001138.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001138, gadget_signal_id = 138001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144001139.lua b/Resources/Scripts/Scene/4/scene4_group144001139.lua index 1bf4cd207..7cfe045c8 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001139.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001139.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001139, gadget_signal_id = 139001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144001140.lua b/Resources/Scripts/Scene/4/scene4_group144001140.lua index 24f7e7653..d70e93a17 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001140.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001140.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001140, gadget_signal_id = 140001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144001141.lua b/Resources/Scripts/Scene/4/scene4_group144001141.lua index 80d78baaa..60e06f4af 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001141.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001141.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001141, monster_shaman = 141002, gadget_barrier = {141030}, diff --git a/Resources/Scripts/Scene/4/scene4_group144001159.lua b/Resources/Scripts/Scene/4/scene4_group144001159.lua index 2ff5b111b..e87803027 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001159.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001159.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 4, pointarray_route = 400100008, gadget_bubble = 159002, diff --git a/Resources/Scripts/Scene/4/scene4_group144001164.lua b/Resources/Scripts/Scene/4/scene4_group144001164.lua index f9fc5e889..e3c64a6e5 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001164.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001164.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 5, pointarray_route = 400100011, gadget_bubble = 164002, diff --git a/Resources/Scripts/Scene/4/scene4_group144001165.lua b/Resources/Scripts/Scene/4/scene4_group144001165.lua index b0c70bc21..d8cdd5754 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001165.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001165.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 5, pointarray_route = 400100012, gadget_bubble = 165002, diff --git a/Resources/Scripts/Scene/4/scene4_group144001166.lua b/Resources/Scripts/Scene/4/scene4_group144001166.lua index a4ab7e504..4a41f7977 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001166.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001166.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 5, pointarray_route = 400100013, gadget_bubble = 166002, diff --git a/Resources/Scripts/Scene/4/scene4_group144001167.lua b/Resources/Scripts/Scene/4/scene4_group144001167.lua index 8708bf708..6b35539a9 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001167.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001167.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 5, pointarray_route = 400100014, gadget_bubble = 167002, diff --git a/Resources/Scripts/Scene/4/scene4_group144001168.lua b/Resources/Scripts/Scene/4/scene4_group144001168.lua index 6f92a70ee..a9c8518a1 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001168.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001168.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 5, pointarray_route = 400100015, gadget_bubble = 168002, diff --git a/Resources/Scripts/Scene/4/scene4_group144001169.lua b/Resources/Scripts/Scene/4/scene4_group144001169.lua index b301cd2c8..c7bc95e9b 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001169.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001169.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 5, pointarray_route = 400100016, gadget_bubble = 169002, diff --git a/Resources/Scripts/Scene/4/scene4_group144001170.lua b/Resources/Scripts/Scene/4/scene4_group144001170.lua index 79e1264c3..0515b62a0 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001170.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001170.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_id = 344011 } diff --git a/Resources/Scripts/Scene/4/scene4_group144001171.lua b/Resources/Scripts/Scene/4/scene4_group144001171.lua index ffeabd60f..aa96d97e9 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001171.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001171.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_id = 344011 } diff --git a/Resources/Scripts/Scene/4/scene4_group144001172.lua b/Resources/Scripts/Scene/4/scene4_group144001172.lua index 1fafa03f1..77af560c7 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001172.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001172.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_id = 172009 } diff --git a/Resources/Scripts/Scene/4/scene4_group144001175.lua b/Resources/Scripts/Scene/4/scene4_group144001175.lua index a9f3228b5..ee94811fd 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001175.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001175.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 144001175, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/4/scene4_group144001176.lua b/Resources/Scripts/Scene/4/scene4_group144001176.lua index 9e6a7e373..2f4bd5180 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001176.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001176.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_id = 176009 } diff --git a/Resources/Scripts/Scene/4/scene4_group144001177.lua b/Resources/Scripts/Scene/4/scene4_group144001177.lua index d2eb05379..7f73b78b0 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001177.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001177.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_id = 346011 } diff --git a/Resources/Scripts/Scene/4/scene4_group144001178.lua b/Resources/Scripts/Scene/4/scene4_group144001178.lua index 84737f721..a1ec58add 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001178.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001178.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_id = 346011 } diff --git a/Resources/Scripts/Scene/4/scene4_group144001179.lua b/Resources/Scripts/Scene/4/scene4_group144001179.lua index fe389512d..164f2651d 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001179.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001179.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 144001179, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/4/scene4_group144001189.lua b/Resources/Scripts/Scene/4/scene4_group144001189.lua index 510c2b40e..a989c7619 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001189.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001189.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001189, gadget_signal_id = 189001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144001193.lua b/Resources/Scripts/Scene/4/scene4_group144001193.lua index 2495f5fe5..99abd646e 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001193.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001193.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, group_id = 144001193 } diff --git a/Resources/Scripts/Scene/4/scene4_group144001198.lua b/Resources/Scripts/Scene/4/scene4_group144001198.lua index 095fd7b72..88beda787 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001198.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001198.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001198, gadget_riddle_hint = 198001, gadget_riddle_1 = 198002, diff --git a/Resources/Scripts/Scene/4/scene4_group144001199.lua b/Resources/Scripts/Scene/4/scene4_group144001199.lua index 3f08f11c6..d76b901f8 100644 --- a/Resources/Scripts/Scene/4/scene4_group144001199.lua +++ b/Resources/Scripts/Scene/4/scene4_group144001199.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144001199, gadget_riddle_hint = 199001, gadget_riddle_1 = 199002, diff --git a/Resources/Scripts/Scene/4/scene4_group144002004.lua b/Resources/Scripts/Scene/4/scene4_group144002004.lua index 762a8cca8..e1411c4bd 100644 --- a/Resources/Scripts/Scene/4/scene4_group144002004.lua +++ b/Resources/Scripts/Scene/4/scene4_group144002004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144002004, gadget_target_1S = 4002, gadget_target_1E = 4005, diff --git a/Resources/Scripts/Scene/4/scene4_group144002040.lua b/Resources/Scripts/Scene/4/scene4_group144002040.lua index 6d0cabd71..ed3658e35 100644 --- a/Resources/Scripts/Scene/4/scene4_group144002040.lua +++ b/Resources/Scripts/Scene/4/scene4_group144002040.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 5, pointarray_route = 400200012, gadget_bubble = 40002, diff --git a/Resources/Scripts/Scene/4/scene4_group144002047.lua b/Resources/Scripts/Scene/4/scene4_group144002047.lua index 6f3bfe2dc..868527604 100644 --- a/Resources/Scripts/Scene/4/scene4_group144002047.lua +++ b/Resources/Scripts/Scene/4/scene4_group144002047.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144002047, monster_shaman = 0, gadget_barrier = {}, diff --git a/Resources/Scripts/Scene/4/scene4_group144002049.lua b/Resources/Scripts/Scene/4/scene4_group144002049.lua index 0491d13c1..0b197b530 100644 --- a/Resources/Scripts/Scene/4/scene4_group144002049.lua +++ b/Resources/Scripts/Scene/4/scene4_group144002049.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 144002049, --对应的GroupID need_kill_hint = true, gadget_init = {49006, 49007}, --defs.gadget_init里按顺序填入 开启挑战机关ConfigID、 限时终点ConfigID @@ -17,8 +17,7 @@ defs = { suites_heraldry_loot = { --怪物死亡时刷新对应的Suites里的纹章,结构为[configid] = suiteid, [49002] = 7, [49003] = 8, - [49004] = 9, - + [49004] = 9, }, gadget_heraldry_count = 13, --收集的激流纹章数量 diff --git a/Resources/Scripts/Scene/4/scene4_group144002071.lua b/Resources/Scripts/Scene/4/scene4_group144002071.lua index 28c9c96d4..780a01c28 100644 --- a/Resources/Scripts/Scene/4/scene4_group144002071.lua +++ b/Resources/Scripts/Scene/4/scene4_group144002071.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144002071, gadget_signal_id = 71001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144002072.lua b/Resources/Scripts/Scene/4/scene4_group144002072.lua index 5347a6b78..d403afe8a 100644 --- a/Resources/Scripts/Scene/4/scene4_group144002072.lua +++ b/Resources/Scripts/Scene/4/scene4_group144002072.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144002072, gadget_signal_id = 72001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144002073.lua b/Resources/Scripts/Scene/4/scene4_group144002073.lua index 6288adf7c..416f59ae3 100644 --- a/Resources/Scripts/Scene/4/scene4_group144002073.lua +++ b/Resources/Scripts/Scene/4/scene4_group144002073.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144002073, gadget_signal_id = 73001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144002074.lua b/Resources/Scripts/Scene/4/scene4_group144002074.lua index afae038f8..a230541e9 100644 --- a/Resources/Scripts/Scene/4/scene4_group144002074.lua +++ b/Resources/Scripts/Scene/4/scene4_group144002074.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144002074, gadget_signal_id = 74001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144002075.lua b/Resources/Scripts/Scene/4/scene4_group144002075.lua index 80cbfa86c..2b77808af 100644 --- a/Resources/Scripts/Scene/4/scene4_group144002075.lua +++ b/Resources/Scripts/Scene/4/scene4_group144002075.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144002075, gadget_signal_id = 75001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144002076.lua b/Resources/Scripts/Scene/4/scene4_group144002076.lua index dbeb88e35..55ea8e60a 100644 --- a/Resources/Scripts/Scene/4/scene4_group144002076.lua +++ b/Resources/Scripts/Scene/4/scene4_group144002076.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144002076, gadget_signal_id = 76001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144002085.lua b/Resources/Scripts/Scene/4/scene4_group144002085.lua index 38353cf97..95c3d1624 100644 --- a/Resources/Scripts/Scene/4/scene4_group144002085.lua +++ b/Resources/Scripts/Scene/4/scene4_group144002085.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 5, pointarray_route = 400200013, gadget_bubble = 85002, diff --git a/Resources/Scripts/Scene/4/scene4_group144002086.lua b/Resources/Scripts/Scene/4/scene4_group144002086.lua index 29f49e7bf..a614a94e0 100644 --- a/Resources/Scripts/Scene/4/scene4_group144002086.lua +++ b/Resources/Scripts/Scene/4/scene4_group144002086.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 6, pointarray_route = 400200014, gadget_bubble = 86002, diff --git a/Resources/Scripts/Scene/4/scene4_group144002087.lua b/Resources/Scripts/Scene/4/scene4_group144002087.lua index 28724c24d..f399d9b4d 100644 --- a/Resources/Scripts/Scene/4/scene4_group144002087.lua +++ b/Resources/Scripts/Scene/4/scene4_group144002087.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 5, pointarray_route = 400200015, gadget_bubble = 87002, diff --git a/Resources/Scripts/Scene/4/scene4_group144002088.lua b/Resources/Scripts/Scene/4/scene4_group144002088.lua index 0fa5c2abd..dc3ec9d43 100644 --- a/Resources/Scripts/Scene/4/scene4_group144002088.lua +++ b/Resources/Scripts/Scene/4/scene4_group144002088.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 3, pointarray_route = 400200016, gadget_bubble = 88002, diff --git a/Resources/Scripts/Scene/4/scene4_group144002090.lua b/Resources/Scripts/Scene/4/scene4_group144002090.lua index eb7e66688..d38c2c513 100644 --- a/Resources/Scripts/Scene/4/scene4_group144002090.lua +++ b/Resources/Scripts/Scene/4/scene4_group144002090.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_id = 90005 } diff --git a/Resources/Scripts/Scene/4/scene4_group144002093.lua b/Resources/Scripts/Scene/4/scene4_group144002093.lua index 3314b5007..8b188ccaa 100644 --- a/Resources/Scripts/Scene/4/scene4_group144002093.lua +++ b/Resources/Scripts/Scene/4/scene4_group144002093.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144002093, gadget_signal_id = 93001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144002094.lua b/Resources/Scripts/Scene/4/scene4_group144002094.lua index fb54594fa..e25dc9f14 100644 --- a/Resources/Scripts/Scene/4/scene4_group144002094.lua +++ b/Resources/Scripts/Scene/4/scene4_group144002094.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 144002094 } diff --git a/Resources/Scripts/Scene/4/scene4_group144002097.lua b/Resources/Scripts/Scene/4/scene4_group144002097.lua index 45539681c..dc717d1df 100644 --- a/Resources/Scripts/Scene/4/scene4_group144002097.lua +++ b/Resources/Scripts/Scene/4/scene4_group144002097.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 144002097, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/4/scene4_group144002101.lua b/Resources/Scripts/Scene/4/scene4_group144002101.lua index ae22f1523..028f9458f 100644 --- a/Resources/Scripts/Scene/4/scene4_group144002101.lua +++ b/Resources/Scripts/Scene/4/scene4_group144002101.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_id = 101009 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003006.lua b/Resources/Scripts/Scene/4/scene4_group144003006.lua index c11dece15..ba251f09b 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003006.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003006.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 144003006, tide_sum = 25, tide_max = 8, diff --git a/Resources/Scripts/Scene/4/scene4_group144003007.lua b/Resources/Scripts/Scene/4/scene4_group144003007.lua index 2ecf459fa..1307112cd 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003007.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 144003007 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003008.lua b/Resources/Scripts/Scene/4/scene4_group144003008.lua index 0a0d068aa..a29650b3b 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003008.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003008.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 144003008, tide_sum = 25, tide_max = 8, diff --git a/Resources/Scripts/Scene/4/scene4_group144003009.lua b/Resources/Scripts/Scene/4/scene4_group144003009.lua index a0cee87d9..440d0468d 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003009.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003009.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 144003009, tide_sum = 8, tide_max = 5, diff --git a/Resources/Scripts/Scene/4/scene4_group144003010.lua b/Resources/Scripts/Scene/4/scene4_group144003010.lua index 357535178..6486cc015 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003010.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003010.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 144003010, tide_sum = 6, tide_max = 3, diff --git a/Resources/Scripts/Scene/4/scene4_group144003011.lua b/Resources/Scripts/Scene/4/scene4_group144003011.lua index 7db51ba34..974b98bf6 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003011.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003011.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 144003011, tide_sum = 3, tide_max = 3, diff --git a/Resources/Scripts/Scene/4/scene4_group144003012.lua b/Resources/Scripts/Scene/4/scene4_group144003012.lua index ec487daa3..f13f874bc 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003012.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003012.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 144003012, tide_sum = 3, tide_max = 3, diff --git a/Resources/Scripts/Scene/4/scene4_group144003034.lua b/Resources/Scripts/Scene/4/scene4_group144003034.lua index c5a9aa42d..6ffb0d2e1 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003034.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003034.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003034, gadget_signal_id = 34001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003035.lua b/Resources/Scripts/Scene/4/scene4_group144003035.lua index 159d5eddd..792558e01 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003035.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003035.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003035, gadget_signal_id = 35001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003036.lua b/Resources/Scripts/Scene/4/scene4_group144003036.lua index 9f25d31b0..3912535ec 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003036.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003036.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003036, gadget_signal_id = 36001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003037.lua b/Resources/Scripts/Scene/4/scene4_group144003037.lua index 824a83df1..e4b26f39c 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003037.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003037.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003037, gadget_signal_id = 37001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003038.lua b/Resources/Scripts/Scene/4/scene4_group144003038.lua index 99cd6d6e9..b90d1331c 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003038.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003038.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003038, gadget_signal_id = 38001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003039.lua b/Resources/Scripts/Scene/4/scene4_group144003039.lua index 176110ba4..605269d58 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003039.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003039.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003039, gadget_signal_id = 39001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003040.lua b/Resources/Scripts/Scene/4/scene4_group144003040.lua index d64cc34cc..d24d3dd49 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003040.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003040.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003040, gadget_signal_id = 40001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003041.lua b/Resources/Scripts/Scene/4/scene4_group144003041.lua index 6401e0b69..88730a66a 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003041.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003041.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003041, gadget_signal_id = 41001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003042.lua b/Resources/Scripts/Scene/4/scene4_group144003042.lua index 5fb16090f..33f8f039f 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003042.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003042.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003042, gadget_signal_id = 42001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003043.lua b/Resources/Scripts/Scene/4/scene4_group144003043.lua index 7ceb5e1de..1a04ea352 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003043.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003043.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003043, gadget_signal_id = 43001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003044.lua b/Resources/Scripts/Scene/4/scene4_group144003044.lua index 99b420430..67f3f80e3 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003044.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003044.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003044, gadget_signal_id = 44001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003045.lua b/Resources/Scripts/Scene/4/scene4_group144003045.lua index 415b63b47..91b08afd6 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003045.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003045.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003045, gadget_signal_id = 45001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003046.lua b/Resources/Scripts/Scene/4/scene4_group144003046.lua index 62aa5ab75..36e0af34e 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003046.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003046.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003046, gadget_signal_id = 46001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003047.lua b/Resources/Scripts/Scene/4/scene4_group144003047.lua index 424723286..08f3b532e 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003047.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003047.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003047, gadget_signal_id = 47001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003054.lua b/Resources/Scripts/Scene/4/scene4_group144003054.lua index 83cb7db4f..84660c0bf 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003054.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003054.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 5, pointarray_route = 400300003, gadget_bubble = 54002, diff --git a/Resources/Scripts/Scene/4/scene4_group144003055.lua b/Resources/Scripts/Scene/4/scene4_group144003055.lua index 4f0cf310f..4f5f81bf3 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003055.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003055.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 5, pointarray_route = 400300004, gadget_bubble = 55002, diff --git a/Resources/Scripts/Scene/4/scene4_group144003056.lua b/Resources/Scripts/Scene/4/scene4_group144003056.lua index 228c3c4a8..f330f8b78 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003056.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003056.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 5, pointarray_route = 400300005, gadget_bubble = 56002, diff --git a/Resources/Scripts/Scene/4/scene4_group144003057.lua b/Resources/Scripts/Scene/4/scene4_group144003057.lua index f426e9d4c..12dfbffc1 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003057.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003057.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 5, pointarray_route = 400300006, gadget_bubble = 57002, diff --git a/Resources/Scripts/Scene/4/scene4_group144003059.lua b/Resources/Scripts/Scene/4/scene4_group144003059.lua index 70926c00e..b8551b801 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003059.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003059.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003059, gadget_signal_id = 59001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003061.lua b/Resources/Scripts/Scene/4/scene4_group144003061.lua index f447ac112..dbffad9c1 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003061.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003061.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003061, gadget_signal_id = 61001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003062.lua b/Resources/Scripts/Scene/4/scene4_group144003062.lua index 683156d93..f33e800d7 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003062.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003062.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003062, gadget_signal_id = 62001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003063.lua b/Resources/Scripts/Scene/4/scene4_group144003063.lua index 503361c05..da2f4cccc 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003063.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003063.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003063, gadget_signal_id = 63001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003064.lua b/Resources/Scripts/Scene/4/scene4_group144003064.lua index 1755040ce..8c77b293a 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003064.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003064.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003064, gadget_signal_id = 64001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003065.lua b/Resources/Scripts/Scene/4/scene4_group144003065.lua index 13e573dea..a049fdd6f 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003065.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003065.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003065, gadget_signal_id = 65001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003066.lua b/Resources/Scripts/Scene/4/scene4_group144003066.lua index 081d69489..706e291cf 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003066.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003066.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003066, gadget_signal_id = 66001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144003067.lua b/Resources/Scripts/Scene/4/scene4_group144003067.lua index e72c5e7d8..b6ecfd554 100644 --- a/Resources/Scripts/Scene/4/scene4_group144003067.lua +++ b/Resources/Scripts/Scene/4/scene4_group144003067.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144003067, gadget_signal_id = 67001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004005.lua b/Resources/Scripts/Scene/4/scene4_group144004005.lua index 949f61c47..013d3476a 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004005.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 400400001, gadget_seelie = 5002 diff --git a/Resources/Scripts/Scene/4/scene4_group144004009.lua b/Resources/Scripts/Scene/4/scene4_group144004009.lua index 2d1e688ee..d914bc6f9 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004009.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { regionid = 9005 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004016.lua b/Resources/Scripts/Scene/4/scene4_group144004016.lua index caffb9dcd..d2ee0b0ff 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004016.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004016.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, group_id = 144004016 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004027.lua b/Resources/Scripts/Scene/4/scene4_group144004027.lua index b418a3210..93676d119 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004027.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004027.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004027, gadget_target_1S = 27002, gadget_target_1E = 27005, diff --git a/Resources/Scripts/Scene/4/scene4_group144004053.lua b/Resources/Scripts/Scene/4/scene4_group144004053.lua index 5be2074a4..841cbb608 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004053.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004053.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, group_id = 144004053 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004057.lua b/Resources/Scripts/Scene/4/scene4_group144004057.lua index b6f3b7688..6acf6bd0d 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004057.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004057.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 144004057 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004058.lua b/Resources/Scripts/Scene/4/scene4_group144004058.lua index e19faaf38..a16012aac 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004058.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004058.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 25, group_id = 144004058, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/4/scene4_group144004063.lua b/Resources/Scripts/Scene/4/scene4_group144004063.lua index f93a21fa5..f4cf21369 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004063.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004063.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 144004063, --对应的GroupID need_kill_hint = true, gadget_init = {63006, 63007}, --defs.gadget_init里按顺序填入 开启挑战机关ConfigID、 限时终点ConfigID diff --git a/Resources/Scripts/Scene/4/scene4_group144004065.lua b/Resources/Scripts/Scene/4/scene4_group144004065.lua index 571b8a044..e044dd955 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004065.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004065.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 144004065, --对应的GroupID need_kill_hint = true, gadget_init = {65006, 65007}, --defs.gadget_init里按顺序填入 开启挑战机关ConfigID、 限时终点ConfigID diff --git a/Resources/Scripts/Scene/4/scene4_group144004067.lua b/Resources/Scripts/Scene/4/scene4_group144004067.lua index 62b90f98d..52f5d4933 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004067.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004067.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004067, gadget_signal_id = 67001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004068.lua b/Resources/Scripts/Scene/4/scene4_group144004068.lua index a3aca6fd3..6e0f8b04a 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004068.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004068.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004068, gadget_signal_id = 68001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004069.lua b/Resources/Scripts/Scene/4/scene4_group144004069.lua index ab87aefee..bd7d81a59 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004069.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004069.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004069, gadget_signal_id = 69001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004070.lua b/Resources/Scripts/Scene/4/scene4_group144004070.lua index cedc8156e..719e043f4 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004070.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004070.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004070, gadget_signal_id = 70001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004071.lua b/Resources/Scripts/Scene/4/scene4_group144004071.lua index 12fd34507..903b36ddd 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004071.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004071.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004071, gadget_signal_id = 71001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004072.lua b/Resources/Scripts/Scene/4/scene4_group144004072.lua index a9ab68a69..37213ddc7 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004072.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004072.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004072, gadget_signal_id = 72001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004073.lua b/Resources/Scripts/Scene/4/scene4_group144004073.lua index 87974d8cb..fb9f35978 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004073.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004073.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004073, gadget_signal_id = 73001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004074.lua b/Resources/Scripts/Scene/4/scene4_group144004074.lua index fbb3b28da..6ec90b3e9 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004074.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004074.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004074, gadget_signal_id = 74001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004075.lua b/Resources/Scripts/Scene/4/scene4_group144004075.lua index 52fe65e6b..6c9b089de 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004075.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004075.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004075, gadget_signal_id = 75001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004076.lua b/Resources/Scripts/Scene/4/scene4_group144004076.lua index 1cc8715d8..9b54fbcec 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004076.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004076.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004076, gadget_signal_id = 76001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004077.lua b/Resources/Scripts/Scene/4/scene4_group144004077.lua index 636151af0..2247cb8cd 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004077.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004077.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004077, monster_shaman = 0, gadget_barrier = {}, diff --git a/Resources/Scripts/Scene/4/scene4_group144004078.lua b/Resources/Scripts/Scene/4/scene4_group144004078.lua index 75e424c75..968335605 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004078.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004078.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004078, monster_shaman = 78003, gadget_barrier = {78021,78024}, diff --git a/Resources/Scripts/Scene/4/scene4_group144004095.lua b/Resources/Scripts/Scene/4/scene4_group144004095.lua index 841b5ca05..8a5f7c66f 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004095.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004095.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004095, gadget_target_1S = 95002, gadget_target_1E = 95005, diff --git a/Resources/Scripts/Scene/4/scene4_group144004098.lua b/Resources/Scripts/Scene/4/scene4_group144004098.lua index e8ff397e0..03a43f97f 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004098.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004098.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004098, gadget_signal_id = 98001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004103.lua b/Resources/Scripts/Scene/4/scene4_group144004103.lua index d0e971584..f49fca978 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004103.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004103.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_id = 103005 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004105.lua b/Resources/Scripts/Scene/4/scene4_group144004105.lua index d048cd204..dcb0b8b5d 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004105.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004105.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 6, pointarray_route = 400100022, gadget_bubble = 105002, diff --git a/Resources/Scripts/Scene/4/scene4_group144004106.lua b/Resources/Scripts/Scene/4/scene4_group144004106.lua index 20189a00c..9c576fd06 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004106.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004106.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 5, pointarray_route = 400400008, gadget_bubble = 106002, diff --git a/Resources/Scripts/Scene/4/scene4_group144004109.lua b/Resources/Scripts/Scene/4/scene4_group144004109.lua index 76b9557a0..079f3600e 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004109.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004109.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, group_id = 144004109, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/4/scene4_group144004110.lua b/Resources/Scripts/Scene/4/scene4_group144004110.lua index 100f4b7a1..bab0f6792 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004110.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004110.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 5, pointarray_route = 400400010, gadget_bubble = 110002, diff --git a/Resources/Scripts/Scene/4/scene4_group144004111.lua b/Resources/Scripts/Scene/4/scene4_group144004111.lua index 455de37fe..0168da206 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004111.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004111.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { maxPathNode = 7, pointarray_route = 400300007, gadget_bubble = 111002, diff --git a/Resources/Scripts/Scene/4/scene4_group144004112.lua b/Resources/Scripts/Scene/4/scene4_group144004112.lua index 297288561..007f441cb 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004112.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004112.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 20, group_id = 144004112, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/4/scene4_group144004120.lua b/Resources/Scripts/Scene/4/scene4_group144004120.lua index aedf0660c..be206ba0c 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004120.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004120.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004120, gadget_signal_id = 120001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004121.lua b/Resources/Scripts/Scene/4/scene4_group144004121.lua index 2792d5529..26fc8c155 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004121.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004121.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004121, gadget_signal_id = 121001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004122.lua b/Resources/Scripts/Scene/4/scene4_group144004122.lua index 452c65b9c..8bc80601c 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004122.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004122.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004122, gadget_signal_id = 122001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004123.lua b/Resources/Scripts/Scene/4/scene4_group144004123.lua index ff8876795..1f1a18de4 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004123.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004123.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004123, gadget_signal_id = 123001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004124.lua b/Resources/Scripts/Scene/4/scene4_group144004124.lua index 184d04544..cf07be7e4 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004124.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004124.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004124, gadget_signal_id = 124001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004125.lua b/Resources/Scripts/Scene/4/scene4_group144004125.lua index 5e3990f3a..2a0d30ac2 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004125.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004125.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004125, gadget_signal_id = 125001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004126.lua b/Resources/Scripts/Scene/4/scene4_group144004126.lua index 38e47cdfa..bec0e9944 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004126.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004126.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004126, gadget_signal_id = 126001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004127.lua b/Resources/Scripts/Scene/4/scene4_group144004127.lua index 67a9bff41..de112bb4b 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004127.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004127.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004127, gadget_signal_id = 127001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004128.lua b/Resources/Scripts/Scene/4/scene4_group144004128.lua index 8edd22a3a..2c47ee0da 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004128.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004128.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 144004128, gadget_signal_id = 128001 } diff --git a/Resources/Scripts/Scene/4/scene4_group144004133.lua b/Resources/Scripts/Scene/4/scene4_group144004133.lua index 79a019e02..ab3f1381d 100644 --- a/Resources/Scripts/Scene/4/scene4_group144004133.lua +++ b/Resources/Scripts/Scene/4/scene4_group144004133.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { region_id = 133009 } diff --git a/Resources/Scripts/Scene/40004/scene40004_group240004003.lua b/Resources/Scripts/Scene/40004/scene40004_group240004003.lua index 22b436111..a16f407ad 100644 --- a/Resources/Scripts/Scene/40004/scene40004_group240004003.lua +++ b/Resources/Scripts/Scene/40004/scene40004_group240004003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 11, gadget_id_2 = 2009 } diff --git a/Resources/Scripts/Scene/40004/scene40004_group240004004.lua b/Resources/Scripts/Scene/40004/scene40004_group240004004.lua index 39320bb4b..eeba9c8fc 100644 --- a/Resources/Scripts/Scene/40004/scene40004_group240004004.lua +++ b/Resources/Scripts/Scene/40004/scene40004_group240004004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 13, gadget_id_2 = 12 } diff --git a/Resources/Scripts/Scene/40041/scene40041_group240041001.lua b/Resources/Scripts/Scene/40041/scene40041_group240041001.lua index 5378a90eb..bd083cd50 100644 --- a/Resources/Scripts/Scene/40041/scene40041_group240041001.lua +++ b/Resources/Scripts/Scene/40041/scene40041_group240041001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { monster_boss = 1007, summon_region_list = {1016,1017,1018}, --region出怪的list summon_interval = 15, --自动出怪时间 diff --git a/Resources/Scripts/Scene/40042/scene40042_group240042001.lua b/Resources/Scripts/Scene/40042/scene40042_group240042001.lua index 60ce1a43a..bc1a67dfe 100644 --- a/Resources/Scripts/Scene/40042/scene40042_group240042001.lua +++ b/Resources/Scripts/Scene/40042/scene40042_group240042001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { monster_boss = 1007, summon_region_list = {1037,1038,1039}, --region出怪的list summon_interval = 15, --自动出怪时间 diff --git a/Resources/Scripts/Scene/40043/scene40043_group240043001.lua b/Resources/Scripts/Scene/40043/scene40043_group240043001.lua index 25ade9f65..221b1ecea 100644 --- a/Resources/Scripts/Scene/40043/scene40043_group240043001.lua +++ b/Resources/Scripts/Scene/40043/scene40043_group240043001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { monster_boss = 1046, summon_region_list = {1041,1042,1043}, --region出怪的list summon_interval = 15, --自动出怪时间 diff --git a/Resources/Scripts/Scene/40052/scene40052_group240052007.lua b/Resources/Scripts/Scene/40052/scene40052_group240052007.lua index f6302650d..5b2f27df0 100644 --- a/Resources/Scripts/Scene/40052/scene40052_group240052007.lua +++ b/Resources/Scripts/Scene/40052/scene40052_group240052007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 7002 } diff --git a/Resources/Scripts/Scene/40054/scene40054_group240054002.lua b/Resources/Scripts/Scene/40054/scene40054_group240054002.lua index e6f133d5e..575de79f9 100644 --- a/Resources/Scripts/Scene/40054/scene40054_group240054002.lua +++ b/Resources/Scripts/Scene/40054/scene40054_group240054002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_LookHookCid = 2002 } diff --git a/Resources/Scripts/Scene/40055/scene40055_group240055001.lua b/Resources/Scripts/Scene/40055/scene40055_group240055001.lua index 581bd45d0..0eb9d9e06 100644 --- a/Resources/Scripts/Scene/40055/scene40055_group240055001.lua +++ b/Resources/Scripts/Scene/40055/scene40055_group240055001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { worktop_id = 1003, --操作台gadget的id battle_region_id = 1040, --td region的id gallery_id = 29015, --对应gallery的id diff --git a/Resources/Scripts/Scene/40055/scene40055_group240055002.lua b/Resources/Scripts/Scene/40055/scene40055_group240055002.lua index 8c7bc6364..b69caa152 100644 --- a/Resources/Scripts/Scene/40055/scene40055_group240055002.lua +++ b/Resources/Scripts/Scene/40055/scene40055_group240055002.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { worktop_id = 2007, --操作台gadget的id gallery_id = 29016, --对应gallery的id battle_region_id = 2048, --td region的id diff --git a/Resources/Scripts/Scene/40055/scene40055_group240055003.lua b/Resources/Scripts/Scene/40055/scene40055_group240055003.lua index 5bcde208e..dcf5ff4c8 100644 --- a/Resources/Scripts/Scene/40055/scene40055_group240055003.lua +++ b/Resources/Scripts/Scene/40055/scene40055_group240055003.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { worktop_id = 3007, --操作台gadget的id gallery_id = 29017, --对应gallery的id battle_region_id = 3035, --td region的id diff --git a/Resources/Scripts/Scene/40055/scene40055_group240055004.lua b/Resources/Scripts/Scene/40055/scene40055_group240055004.lua index 170f08f9d..c5c7aab15 100644 --- a/Resources/Scripts/Scene/40055/scene40055_group240055004.lua +++ b/Resources/Scripts/Scene/40055/scene40055_group240055004.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { worktop_id = 4007, --操作台gadget的id gallery_id = 29018, --对应gallery的id recovergadget_id = 4009, --恢复gadget的id diff --git a/Resources/Scripts/Scene/40056/scene40056_group240056001.lua b/Resources/Scripts/Scene/40056/scene40056_group240056001.lua index 58679db7a..90704cb9c 100644 --- a/Resources/Scripts/Scene/40056/scene40056_group240056001.lua +++ b/Resources/Scripts/Scene/40056/scene40056_group240056001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { worktop_id = 1003, --操作台gadget的id gallery_id = 29019, --对应gallery的id recovergadget_id = 1009, --恢复gadget的id diff --git a/Resources/Scripts/Scene/40056/scene40056_group240056002.lua b/Resources/Scripts/Scene/40056/scene40056_group240056002.lua index 1be63df43..1415a0f36 100644 --- a/Resources/Scripts/Scene/40056/scene40056_group240056002.lua +++ b/Resources/Scripts/Scene/40056/scene40056_group240056002.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { worktop_id = 2007, --操作台gadget的id gallery_id = 29020, --对应gallery的id recovergadget_id = 2009, --恢复gadget的id diff --git a/Resources/Scripts/Scene/40056/scene40056_group240056003.lua b/Resources/Scripts/Scene/40056/scene40056_group240056003.lua index c71431584..315685d35 100644 --- a/Resources/Scripts/Scene/40056/scene40056_group240056003.lua +++ b/Resources/Scripts/Scene/40056/scene40056_group240056003.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { worktop_id = 3007, --操作台gadget的id gallery_id = 29021, --对应gallery的id recovergadget_id = 3009, --恢复gadget的id diff --git a/Resources/Scripts/Scene/40056/scene40056_group240056004.lua b/Resources/Scripts/Scene/40056/scene40056_group240056004.lua index 87ee89555..606d9ea89 100644 --- a/Resources/Scripts/Scene/40056/scene40056_group240056004.lua +++ b/Resources/Scripts/Scene/40056/scene40056_group240056004.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { worktop_id = 4007, --操作台gadget的id gallery_id = 29022, --对应gallery的id recovergadget_id = 4009, --恢复gadget的id diff --git a/Resources/Scripts/Scene/40057/scene40057_group240057001.lua b/Resources/Scripts/Scene/40057/scene40057_group240057001.lua index 2367d99c4..fd8287220 100644 --- a/Resources/Scripts/Scene/40057/scene40057_group240057001.lua +++ b/Resources/Scripts/Scene/40057/scene40057_group240057001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { worktop_id = 1003, --操作台gadget的id gallery_id = 29023, --对应gallery的id recovergadget_id = 1009, --恢复gadget的id diff --git a/Resources/Scripts/Scene/40057/scene40057_group240057002.lua b/Resources/Scripts/Scene/40057/scene40057_group240057002.lua index ca598e5fa..f769020c8 100644 --- a/Resources/Scripts/Scene/40057/scene40057_group240057002.lua +++ b/Resources/Scripts/Scene/40057/scene40057_group240057002.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { worktop_id = 2007, --操作台gadget的id gallery_id = 29024, --对应gallery的id recovergadget_id = 2009, --恢复gadget的id diff --git a/Resources/Scripts/Scene/40057/scene40057_group240057003.lua b/Resources/Scripts/Scene/40057/scene40057_group240057003.lua index 93cf5fd43..0bb05c220 100644 --- a/Resources/Scripts/Scene/40057/scene40057_group240057003.lua +++ b/Resources/Scripts/Scene/40057/scene40057_group240057003.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { worktop_id = 3007, --操作台gadget的id gallery_id = 29025, --对应gallery的id recovergadget_id = 3009, --恢复gadget的id diff --git a/Resources/Scripts/Scene/40057/scene40057_group240057004.lua b/Resources/Scripts/Scene/40057/scene40057_group240057004.lua index e160b7f90..49a2dd442 100644 --- a/Resources/Scripts/Scene/40057/scene40057_group240057004.lua +++ b/Resources/Scripts/Scene/40057/scene40057_group240057004.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { worktop_id = 4007, --操作台gadget的id gallery_id = 29026, --对应gallery的id recovergadget_id = 4009, --恢复gadget的id diff --git a/Resources/Scripts/Scene/40058/scene40058_group240058001.lua b/Resources/Scripts/Scene/40058/scene40058_group240058001.lua index d2c3ea7b5..63d4d7f0f 100644 --- a/Resources/Scripts/Scene/40058/scene40058_group240058001.lua +++ b/Resources/Scripts/Scene/40058/scene40058_group240058001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { worktop_id = 1003, --操作台gadget的id gallery_id = 29027, --对应gallery的id recovergadget_id = 1009, --恢复gadget的id diff --git a/Resources/Scripts/Scene/40058/scene40058_group240058002.lua b/Resources/Scripts/Scene/40058/scene40058_group240058002.lua index 2d10af090..c691b7617 100644 --- a/Resources/Scripts/Scene/40058/scene40058_group240058002.lua +++ b/Resources/Scripts/Scene/40058/scene40058_group240058002.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { worktop_id = 2007, --操作台gadget的id gallery_id = 29028, --对应gallery的id recovergadget_id = 2009, --恢复gadget的id diff --git a/Resources/Scripts/Scene/40058/scene40058_group240058003.lua b/Resources/Scripts/Scene/40058/scene40058_group240058003.lua index 7ad71b037..03edef82f 100644 --- a/Resources/Scripts/Scene/40058/scene40058_group240058003.lua +++ b/Resources/Scripts/Scene/40058/scene40058_group240058003.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { worktop_id = 3007, --操作台gadget的id gallery_id = 29029, --对应gallery的id recovergadget_id = 3009, --恢复gadget的id diff --git a/Resources/Scripts/Scene/40058/scene40058_group240058004.lua b/Resources/Scripts/Scene/40058/scene40058_group240058004.lua index ace1bea94..f81fb77f0 100644 --- a/Resources/Scripts/Scene/40058/scene40058_group240058004.lua +++ b/Resources/Scripts/Scene/40058/scene40058_group240058004.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { worktop_id = 4007, --操作台gadget的id gallery_id = 29030, --对应gallery的id recovergadget_id = 4009, --恢复gadget的id diff --git a/Resources/Scripts/Scene/40059/scene40059_group240059001.lua b/Resources/Scripts/Scene/40059/scene40059_group240059001.lua index 8730a89fd..bfcda7206 100644 --- a/Resources/Scripts/Scene/40059/scene40059_group240059001.lua +++ b/Resources/Scripts/Scene/40059/scene40059_group240059001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { worktop_id = 1003, --操作台gadget的id gallery_id = 29031, --对应gallery的id battle_region_id = 1018, --td region的id diff --git a/Resources/Scripts/Scene/40060/scene40060_group240060001.lua b/Resources/Scripts/Scene/40060/scene40060_group240060001.lua index 626b73914..9b9864404 100644 --- a/Resources/Scripts/Scene/40060/scene40060_group240060001.lua +++ b/Resources/Scripts/Scene/40060/scene40060_group240060001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { worktop_id = 1003, --操作台gadget的id gallery_id = 29032, --对应gallery的id battle_region_id = 1012, --td region的id diff --git a/Resources/Scripts/Scene/40061/scene40061_group240061001.lua b/Resources/Scripts/Scene/40061/scene40061_group240061001.lua index c74c6fc9f..db6225fae 100644 --- a/Resources/Scripts/Scene/40061/scene40061_group240061001.lua +++ b/Resources/Scripts/Scene/40061/scene40061_group240061001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { worktop_id = 1003, --操作台gadget的id gallery_id = 29033, --对应gallery的id battle_region_id = 1012, --td region的id diff --git a/Resources/Scripts/Scene/40062/scene40062_group240062001.lua b/Resources/Scripts/Scene/40062/scene40062_group240062001.lua index 8afeea960..b357cb0e5 100644 --- a/Resources/Scripts/Scene/40062/scene40062_group240062001.lua +++ b/Resources/Scripts/Scene/40062/scene40062_group240062001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { worktop_id = 1003, --操作台gadget的id gallery_id = 29034, --对应gallery的id battle_region_id = 1012, --td region的id diff --git a/Resources/Scripts/Scene/40950/scene40950_group240950001.lua b/Resources/Scripts/Scene/40950/scene40950_group240950001.lua index baff05398..e48768b2d 100644 --- a/Resources/Scripts/Scene/40950/scene40950_group240950001.lua +++ b/Resources/Scripts/Scene/40950/scene40950_group240950001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --GroupID group_id = 240950001, diff --git a/Resources/Scripts/Scene/40951/scene40951_group240951001.lua b/Resources/Scripts/Scene/40951/scene40951_group240951001.lua index 5a1cb3a6d..e39e054b6 100644 --- a/Resources/Scripts/Scene/40951/scene40951_group240951001.lua +++ b/Resources/Scripts/Scene/40951/scene40951_group240951001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --GroupID group_id = 240951001, diff --git a/Resources/Scripts/Scene/40952/scene40952_group240952001.lua b/Resources/Scripts/Scene/40952/scene40952_group240952001.lua index de0b598ba..649e7f3ae 100644 --- a/Resources/Scripts/Scene/40952/scene40952_group240952001.lua +++ b/Resources/Scripts/Scene/40952/scene40952_group240952001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --GroupID group_id = 240952001, diff --git a/Resources/Scripts/Scene/40953/scene40953_group240953001.lua b/Resources/Scripts/Scene/40953/scene40953_group240953001.lua index 3d4b41e9a..820fa5250 100644 --- a/Resources/Scripts/Scene/40953/scene40953_group240953001.lua +++ b/Resources/Scripts/Scene/40953/scene40953_group240953001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --GroupID group_id = 240953001, diff --git a/Resources/Scripts/Scene/42001/scene42001_group242001001.lua b/Resources/Scripts/Scene/42001/scene42001_group242001001.lua index fc26ada98..8eb37f612 100644 --- a/Resources/Scripts/Scene/42001/scene42001_group242001001.lua +++ b/Resources/Scripts/Scene/42001/scene42001_group242001001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242001001, gear_group_id = 242001002, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/42001/scene42001_group242001002.lua b/Resources/Scripts/Scene/42001/scene42001_group242001002.lua index 9e321baf1..cedb72a72 100644 --- a/Resources/Scripts/Scene/42001/scene42001_group242001002.lua +++ b/Resources/Scripts/Scene/42001/scene42001_group242001002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242001002, monster_points = 1, max_points = 100, diff --git a/Resources/Scripts/Scene/42001/scene42001_group242001003.lua b/Resources/Scripts/Scene/42001/scene42001_group242001003.lua index 39f669dbf..eab8e6ddc 100644 --- a/Resources/Scripts/Scene/42001/scene42001_group242001003.lua +++ b/Resources/Scripts/Scene/42001/scene42001_group242001003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242001003, gear_group_id = 242001002 } diff --git a/Resources/Scripts/Scene/42001/scene42001_group242001004.lua b/Resources/Scripts/Scene/42001/scene42001_group242001004.lua index 012fd4fd9..87e90bc7e 100644 --- a/Resources/Scripts/Scene/42001/scene42001_group242001004.lua +++ b/Resources/Scripts/Scene/42001/scene42001_group242001004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242001004, gear_group_id = 242001002 } diff --git a/Resources/Scripts/Scene/42001/scene42001_group242001005.lua b/Resources/Scripts/Scene/42001/scene42001_group242001005.lua index f3fa64ea8..b26beeddb 100644 --- a/Resources/Scripts/Scene/42001/scene42001_group242001005.lua +++ b/Resources/Scripts/Scene/42001/scene42001_group242001005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242001005, gear_group_id = 242001002 } diff --git a/Resources/Scripts/Scene/42001/scene42001_group242001006.lua b/Resources/Scripts/Scene/42001/scene42001_group242001006.lua index 952fd2a27..a8f0826b2 100644 --- a/Resources/Scripts/Scene/42001/scene42001_group242001006.lua +++ b/Resources/Scripts/Scene/42001/scene42001_group242001006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242001006, gear_group_id = 242001002 } diff --git a/Resources/Scripts/Scene/42001/scene42001_group242001007.lua b/Resources/Scripts/Scene/42001/scene42001_group242001007.lua index cb9f907ae..c961cf47f 100644 --- a/Resources/Scripts/Scene/42001/scene42001_group242001007.lua +++ b/Resources/Scripts/Scene/42001/scene42001_group242001007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242001007, gear_group_id = 242001002 } diff --git a/Resources/Scripts/Scene/42001/scene42001_group242001008.lua b/Resources/Scripts/Scene/42001/scene42001_group242001008.lua index a2cd7a39b..1aa5d26e7 100644 --- a/Resources/Scripts/Scene/42001/scene42001_group242001008.lua +++ b/Resources/Scripts/Scene/42001/scene42001_group242001008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242001008, gear_group_id = 242001002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42001/scene42001_group242001009.lua b/Resources/Scripts/Scene/42001/scene42001_group242001009.lua index 60b142f5f..c47d38e54 100644 --- a/Resources/Scripts/Scene/42001/scene42001_group242001009.lua +++ b/Resources/Scripts/Scene/42001/scene42001_group242001009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242001009, gear_group_id = 242001002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42001/scene42001_group242001010.lua b/Resources/Scripts/Scene/42001/scene42001_group242001010.lua index 3cf4f7793..3a4caa5b7 100644 --- a/Resources/Scripts/Scene/42001/scene42001_group242001010.lua +++ b/Resources/Scripts/Scene/42001/scene42001_group242001010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242001010, gear_group_id = 242001002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42001/scene42001_group242001011.lua b/Resources/Scripts/Scene/42001/scene42001_group242001011.lua index 55029715c..d37431259 100644 --- a/Resources/Scripts/Scene/42001/scene42001_group242001011.lua +++ b/Resources/Scripts/Scene/42001/scene42001_group242001011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242001011, gear_group_id = 242001002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42001/scene42001_group242001012.lua b/Resources/Scripts/Scene/42001/scene42001_group242001012.lua index af596e636..97f579330 100644 --- a/Resources/Scripts/Scene/42001/scene42001_group242001012.lua +++ b/Resources/Scripts/Scene/42001/scene42001_group242001012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242001012, gear_group_id = 242001002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42001/scene42001_group242001013.lua b/Resources/Scripts/Scene/42001/scene42001_group242001013.lua index 871f8b345..e933aaf75 100644 --- a/Resources/Scripts/Scene/42001/scene42001_group242001013.lua +++ b/Resources/Scripts/Scene/42001/scene42001_group242001013.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 242001013, challange_group_id = 242001001 diff --git a/Resources/Scripts/Scene/42002/scene42002_group242002001.lua b/Resources/Scripts/Scene/42002/scene42002_group242002001.lua index 6a884f7e0..b76830c9d 100644 --- a/Resources/Scripts/Scene/42002/scene42002_group242002001.lua +++ b/Resources/Scripts/Scene/42002/scene42002_group242002001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242002001, gear_group_id = 242002002, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/42002/scene42002_group242002002.lua b/Resources/Scripts/Scene/42002/scene42002_group242002002.lua index 52757d3b6..523b259a3 100644 --- a/Resources/Scripts/Scene/42002/scene42002_group242002002.lua +++ b/Resources/Scripts/Scene/42002/scene42002_group242002002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242002002, monster_points = 1, max_points = 100, diff --git a/Resources/Scripts/Scene/42002/scene42002_group242002003.lua b/Resources/Scripts/Scene/42002/scene42002_group242002003.lua index 65e755ad2..e404c080a 100644 --- a/Resources/Scripts/Scene/42002/scene42002_group242002003.lua +++ b/Resources/Scripts/Scene/42002/scene42002_group242002003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242002003, gear_group_id = 242002002 } diff --git a/Resources/Scripts/Scene/42002/scene42002_group242002004.lua b/Resources/Scripts/Scene/42002/scene42002_group242002004.lua index e55df92fe..fd2cf0b5a 100644 --- a/Resources/Scripts/Scene/42002/scene42002_group242002004.lua +++ b/Resources/Scripts/Scene/42002/scene42002_group242002004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242002004, gear_group_id = 242002002 } diff --git a/Resources/Scripts/Scene/42002/scene42002_group242002005.lua b/Resources/Scripts/Scene/42002/scene42002_group242002005.lua index c49c47bb8..0e86bec08 100644 --- a/Resources/Scripts/Scene/42002/scene42002_group242002005.lua +++ b/Resources/Scripts/Scene/42002/scene42002_group242002005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242002005, gear_group_id = 242002002 } diff --git a/Resources/Scripts/Scene/42002/scene42002_group242002006.lua b/Resources/Scripts/Scene/42002/scene42002_group242002006.lua index e81bd85fa..739478af2 100644 --- a/Resources/Scripts/Scene/42002/scene42002_group242002006.lua +++ b/Resources/Scripts/Scene/42002/scene42002_group242002006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242002006, gear_group_id = 242002002 } diff --git a/Resources/Scripts/Scene/42002/scene42002_group242002007.lua b/Resources/Scripts/Scene/42002/scene42002_group242002007.lua index 2ff7ae281..0b1479a05 100644 --- a/Resources/Scripts/Scene/42002/scene42002_group242002007.lua +++ b/Resources/Scripts/Scene/42002/scene42002_group242002007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242002007, gear_group_id = 242002002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42002/scene42002_group242002008.lua b/Resources/Scripts/Scene/42002/scene42002_group242002008.lua index 121ed4718..60a23ad85 100644 --- a/Resources/Scripts/Scene/42002/scene42002_group242002008.lua +++ b/Resources/Scripts/Scene/42002/scene42002_group242002008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242002008, gear_group_id = 242002002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42002/scene42002_group242002009.lua b/Resources/Scripts/Scene/42002/scene42002_group242002009.lua index be03aebf0..af04a1edf 100644 --- a/Resources/Scripts/Scene/42002/scene42002_group242002009.lua +++ b/Resources/Scripts/Scene/42002/scene42002_group242002009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242002009, gear_group_id = 242002002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42002/scene42002_group242002010.lua b/Resources/Scripts/Scene/42002/scene42002_group242002010.lua index b413fdab9..28c2ac71f 100644 --- a/Resources/Scripts/Scene/42002/scene42002_group242002010.lua +++ b/Resources/Scripts/Scene/42002/scene42002_group242002010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242002010, gear_group_id = 242002002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42002/scene42002_group242002011.lua b/Resources/Scripts/Scene/42002/scene42002_group242002011.lua index 08df5849f..75bb732c7 100644 --- a/Resources/Scripts/Scene/42002/scene42002_group242002011.lua +++ b/Resources/Scripts/Scene/42002/scene42002_group242002011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242002011, gear_group_id = 242002002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42002/scene42002_group242002012.lua b/Resources/Scripts/Scene/42002/scene42002_group242002012.lua index 08799d81b..8ff3a637e 100644 --- a/Resources/Scripts/Scene/42002/scene42002_group242002012.lua +++ b/Resources/Scripts/Scene/42002/scene42002_group242002012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242002012, gear_group_id = 242002002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42002/scene42002_group242002013.lua b/Resources/Scripts/Scene/42002/scene42002_group242002013.lua index c774b2c38..e37a3ea62 100644 --- a/Resources/Scripts/Scene/42002/scene42002_group242002013.lua +++ b/Resources/Scripts/Scene/42002/scene42002_group242002013.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 242002013, challange_group_id = 242002001 @@ -14,8 +14,7 @@ defs = { local light_bridge={ {operator_id=13001,effect_id=13002,gadget_id={13003}} } -local wind_field={ -} +local wind_field={ } --================================================================ -- diff --git a/Resources/Scripts/Scene/42003/scene42003_group242003006.lua b/Resources/Scripts/Scene/42003/scene42003_group242003006.lua index 2897f5a9d..b05bf6997 100644 --- a/Resources/Scripts/Scene/42003/scene42003_group242003006.lua +++ b/Resources/Scripts/Scene/42003/scene42003_group242003006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242003006, timer = 60, challange_group_id = 242003010 @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS local light_bridge={ - - {operator_id=6010,effect_id=6034,gadget_id={6001,6002}} + {operator_id=6010,effect_id=6034,gadget_id={6001,6002}} } local wind_field={ diff --git a/Resources/Scripts/Scene/42003/scene42003_group242003007.lua b/Resources/Scripts/Scene/42003/scene42003_group242003007.lua index 0c408931d..8ee6f270e 100644 --- a/Resources/Scripts/Scene/42003/scene42003_group242003007.lua +++ b/Resources/Scripts/Scene/42003/scene42003_group242003007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242003007, challange_group_id = 242003010, monster_points = 1, diff --git a/Resources/Scripts/Scene/42003/scene42003_group242003010.lua b/Resources/Scripts/Scene/42003/scene42003_group242003010.lua index 0dc6f6a2f..e2930e13a 100644 --- a/Resources/Scripts/Scene/42003/scene42003_group242003010.lua +++ b/Resources/Scripts/Scene/42003/scene42003_group242003010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242003010, gear_group_id = 242003007, route_guide_timer = 5, @@ -21,8 +21,7 @@ tide_group_defs ={ [2] = {group = 242003012, delay = 60, next_group = 3, buff = {1,2,3},guide_routes={3,4},enter={10003},exit={10002,10006},enter_id={15},exit_id={16,17}}, [3] = {group = 242003013, delay = 60, next_group = 4, buff = {1,2,3},guide_routes={1,2,3,4},enter={10001,10003},exit={10002,10006},enter_id={14,15},exit_id={16,17}}, [4] = {group = 242003014, delay = 60, next_group = 5, buff = {1,2,3},guide_routes={1,2,3,4},enter={10001,10003},exit={10002,10006},enter_id={14,15},exit_id={16,17}}, - - [5] = {group = 242003017, delay = 60, next_group = 0, buff = {1,2,3},guide_routes={1,2,3,4},enter={10001,10003},exit={10002,10006},enter_id={14,15},exit_id={16,17}}, + [5] = {group = 242003017, delay = 60, next_group = 0, buff = {1,2,3},guide_routes={1,2,3,4},enter={10001,10003},exit={10002,10006},enter_id={14,15},exit_id={16,17}}, } routes_start_point={ diff --git a/Resources/Scripts/Scene/42003/scene42003_group242003011.lua b/Resources/Scripts/Scene/42003/scene42003_group242003011.lua index 69a6df52d..f93a1aad5 100644 --- a/Resources/Scripts/Scene/42003/scene42003_group242003011.lua +++ b/Resources/Scripts/Scene/42003/scene42003_group242003011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242003011, gear_group_id = 242001007 } diff --git a/Resources/Scripts/Scene/42003/scene42003_group242003012.lua b/Resources/Scripts/Scene/42003/scene42003_group242003012.lua index 50396890d..7b15ae9bb 100644 --- a/Resources/Scripts/Scene/42003/scene42003_group242003012.lua +++ b/Resources/Scripts/Scene/42003/scene42003_group242003012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242003012, gear_group_id = 242001007 } diff --git a/Resources/Scripts/Scene/42003/scene42003_group242003013.lua b/Resources/Scripts/Scene/42003/scene42003_group242003013.lua index fa6b3d128..e6c8104c9 100644 --- a/Resources/Scripts/Scene/42003/scene42003_group242003013.lua +++ b/Resources/Scripts/Scene/42003/scene42003_group242003013.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242003013, gear_group_id = 242001007 } diff --git a/Resources/Scripts/Scene/42003/scene42003_group242003014.lua b/Resources/Scripts/Scene/42003/scene42003_group242003014.lua index ff59184dc..4bf699594 100644 --- a/Resources/Scripts/Scene/42003/scene42003_group242003014.lua +++ b/Resources/Scripts/Scene/42003/scene42003_group242003014.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242003014, gear_group_id = 242001007 } diff --git a/Resources/Scripts/Scene/42003/scene42003_group242003017.lua b/Resources/Scripts/Scene/42003/scene42003_group242003017.lua index d6e46d514..8be18f3d2 100644 --- a/Resources/Scripts/Scene/42003/scene42003_group242003017.lua +++ b/Resources/Scripts/Scene/42003/scene42003_group242003017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242003017, gear_group_id = 242001007 } diff --git a/Resources/Scripts/Scene/42004/scene42004_group242004001.lua b/Resources/Scripts/Scene/42004/scene42004_group242004001.lua index 6e086f601..ca51d0f3f 100644 --- a/Resources/Scripts/Scene/42004/scene42004_group242004001.lua +++ b/Resources/Scripts/Scene/42004/scene42004_group242004001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242004001, gear_group_id = 242004002, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/42004/scene42004_group242004002.lua b/Resources/Scripts/Scene/42004/scene42004_group242004002.lua index 8ec0ec1ea..e7a80b264 100644 --- a/Resources/Scripts/Scene/42004/scene42004_group242004002.lua +++ b/Resources/Scripts/Scene/42004/scene42004_group242004002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242004002, monster_points = 1, max_points = 100, diff --git a/Resources/Scripts/Scene/42004/scene42004_group242004003.lua b/Resources/Scripts/Scene/42004/scene42004_group242004003.lua index f94231c33..adc1a2288 100644 --- a/Resources/Scripts/Scene/42004/scene42004_group242004003.lua +++ b/Resources/Scripts/Scene/42004/scene42004_group242004003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242004003, gear_group_id = 242004002 } diff --git a/Resources/Scripts/Scene/42004/scene42004_group242004004.lua b/Resources/Scripts/Scene/42004/scene42004_group242004004.lua index 414d3f0b0..e27a144dd 100644 --- a/Resources/Scripts/Scene/42004/scene42004_group242004004.lua +++ b/Resources/Scripts/Scene/42004/scene42004_group242004004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242004004, gear_group_id = 242004002 } diff --git a/Resources/Scripts/Scene/42004/scene42004_group242004005.lua b/Resources/Scripts/Scene/42004/scene42004_group242004005.lua index ac8a737c8..5982a871e 100644 --- a/Resources/Scripts/Scene/42004/scene42004_group242004005.lua +++ b/Resources/Scripts/Scene/42004/scene42004_group242004005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242004005, gear_group_id = 242004002 } diff --git a/Resources/Scripts/Scene/42004/scene42004_group242004006.lua b/Resources/Scripts/Scene/42004/scene42004_group242004006.lua index 45adbb5fb..649c2a6c3 100644 --- a/Resources/Scripts/Scene/42004/scene42004_group242004006.lua +++ b/Resources/Scripts/Scene/42004/scene42004_group242004006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242004006, gear_group_id = 242004002 } diff --git a/Resources/Scripts/Scene/42004/scene42004_group242004007.lua b/Resources/Scripts/Scene/42004/scene42004_group242004007.lua index 94f217b18..d6dae3033 100644 --- a/Resources/Scripts/Scene/42004/scene42004_group242004007.lua +++ b/Resources/Scripts/Scene/42004/scene42004_group242004007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242004007, gear_group_id = 242004002 } diff --git a/Resources/Scripts/Scene/42004/scene42004_group242004008.lua b/Resources/Scripts/Scene/42004/scene42004_group242004008.lua index 8a6e111c2..2e8e9f9bd 100644 --- a/Resources/Scripts/Scene/42004/scene42004_group242004008.lua +++ b/Resources/Scripts/Scene/42004/scene42004_group242004008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242004008, gear_group_id = 242004002 } diff --git a/Resources/Scripts/Scene/42004/scene42004_group242004009.lua b/Resources/Scripts/Scene/42004/scene42004_group242004009.lua index a7dd1bc03..308465c46 100644 --- a/Resources/Scripts/Scene/42004/scene42004_group242004009.lua +++ b/Resources/Scripts/Scene/42004/scene42004_group242004009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242004009, gear_group_id = 242004002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42004/scene42004_group242004010.lua b/Resources/Scripts/Scene/42004/scene42004_group242004010.lua index 473dc24c6..7767ba9be 100644 --- a/Resources/Scripts/Scene/42004/scene42004_group242004010.lua +++ b/Resources/Scripts/Scene/42004/scene42004_group242004010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242004010, gear_group_id = 242004002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42004/scene42004_group242004011.lua b/Resources/Scripts/Scene/42004/scene42004_group242004011.lua index 18328d6c5..1d53eb6e0 100644 --- a/Resources/Scripts/Scene/42004/scene42004_group242004011.lua +++ b/Resources/Scripts/Scene/42004/scene42004_group242004011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242004011, gear_group_id = 242004002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42004/scene42004_group242004012.lua b/Resources/Scripts/Scene/42004/scene42004_group242004012.lua index f36507f7d..258f1f0d7 100644 --- a/Resources/Scripts/Scene/42004/scene42004_group242004012.lua +++ b/Resources/Scripts/Scene/42004/scene42004_group242004012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242004012, gear_group_id = 242004002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42004/scene42004_group242004013.lua b/Resources/Scripts/Scene/42004/scene42004_group242004013.lua index 1dec1e946..29ac37c6d 100644 --- a/Resources/Scripts/Scene/42004/scene42004_group242004013.lua +++ b/Resources/Scripts/Scene/42004/scene42004_group242004013.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 242004013, challange_group_id = 242004001 diff --git a/Resources/Scripts/Scene/42005/scene42005_group242005001.lua b/Resources/Scripts/Scene/42005/scene42005_group242005001.lua index 932a219b7..28ac4c4f8 100644 --- a/Resources/Scripts/Scene/42005/scene42005_group242005001.lua +++ b/Resources/Scripts/Scene/42005/scene42005_group242005001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242005001, gear_group_id = 242005002, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/42005/scene42005_group242005002.lua b/Resources/Scripts/Scene/42005/scene42005_group242005002.lua index 2a23bc834..192eb9cc4 100644 --- a/Resources/Scripts/Scene/42005/scene42005_group242005002.lua +++ b/Resources/Scripts/Scene/42005/scene42005_group242005002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242005002, monster_points = 1, max_points = 100, diff --git a/Resources/Scripts/Scene/42005/scene42005_group242005003.lua b/Resources/Scripts/Scene/42005/scene42005_group242005003.lua index 94110dbf4..56ce725c2 100644 --- a/Resources/Scripts/Scene/42005/scene42005_group242005003.lua +++ b/Resources/Scripts/Scene/42005/scene42005_group242005003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242005003, gear_group_id = 242005002 } diff --git a/Resources/Scripts/Scene/42005/scene42005_group242005004.lua b/Resources/Scripts/Scene/42005/scene42005_group242005004.lua index 979d04c90..edc8f657e 100644 --- a/Resources/Scripts/Scene/42005/scene42005_group242005004.lua +++ b/Resources/Scripts/Scene/42005/scene42005_group242005004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242005004, gear_group_id = 242005002 } diff --git a/Resources/Scripts/Scene/42005/scene42005_group242005005.lua b/Resources/Scripts/Scene/42005/scene42005_group242005005.lua index 1e3d3e4de..f15ea8c80 100644 --- a/Resources/Scripts/Scene/42005/scene42005_group242005005.lua +++ b/Resources/Scripts/Scene/42005/scene42005_group242005005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242005005, gear_group_id = 242005002 } diff --git a/Resources/Scripts/Scene/42005/scene42005_group242005006.lua b/Resources/Scripts/Scene/42005/scene42005_group242005006.lua index 7dab75650..2571cb65f 100644 --- a/Resources/Scripts/Scene/42005/scene42005_group242005006.lua +++ b/Resources/Scripts/Scene/42005/scene42005_group242005006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242005006, gear_group_id = 242005002 } diff --git a/Resources/Scripts/Scene/42005/scene42005_group242005007.lua b/Resources/Scripts/Scene/42005/scene42005_group242005007.lua index a169b9799..5458bbc71 100644 --- a/Resources/Scripts/Scene/42005/scene42005_group242005007.lua +++ b/Resources/Scripts/Scene/42005/scene42005_group242005007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242005007, gear_group_id = 242005002 } diff --git a/Resources/Scripts/Scene/42005/scene42005_group242005008.lua b/Resources/Scripts/Scene/42005/scene42005_group242005008.lua index 279a7e9cd..95d255032 100644 --- a/Resources/Scripts/Scene/42005/scene42005_group242005008.lua +++ b/Resources/Scripts/Scene/42005/scene42005_group242005008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242005008, gear_group_id = 242005002 } diff --git a/Resources/Scripts/Scene/42005/scene42005_group242005009.lua b/Resources/Scripts/Scene/42005/scene42005_group242005009.lua index 1479b3569..b888d7ef2 100644 --- a/Resources/Scripts/Scene/42005/scene42005_group242005009.lua +++ b/Resources/Scripts/Scene/42005/scene42005_group242005009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242005009, gear_group_id = 242005002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42005/scene42005_group242005010.lua b/Resources/Scripts/Scene/42005/scene42005_group242005010.lua index 4bdaf23d8..36cd1ca39 100644 --- a/Resources/Scripts/Scene/42005/scene42005_group242005010.lua +++ b/Resources/Scripts/Scene/42005/scene42005_group242005010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242005010, gear_group_id = 242005002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42005/scene42005_group242005011.lua b/Resources/Scripts/Scene/42005/scene42005_group242005011.lua index 5c553735a..6a351fa2c 100644 --- a/Resources/Scripts/Scene/42005/scene42005_group242005011.lua +++ b/Resources/Scripts/Scene/42005/scene42005_group242005011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242005011, gear_group_id = 242005002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42005/scene42005_group242005012.lua b/Resources/Scripts/Scene/42005/scene42005_group242005012.lua index 1051b1cc1..9838f2ea2 100644 --- a/Resources/Scripts/Scene/42005/scene42005_group242005012.lua +++ b/Resources/Scripts/Scene/42005/scene42005_group242005012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242005012, gear_group_id = 242005002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42005/scene42005_group242005013.lua b/Resources/Scripts/Scene/42005/scene42005_group242005013.lua index 1403c1461..704a870be 100644 --- a/Resources/Scripts/Scene/42005/scene42005_group242005013.lua +++ b/Resources/Scripts/Scene/42005/scene42005_group242005013.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 242005013, challange_group_id = 242005001 @@ -14,8 +14,7 @@ defs = { local light_bridge={ {operator_id=13001,effect_id=13002,gadget_id={13003,13008}} } -local wind_field={ -} +local wind_field={ } --================================================================ -- diff --git a/Resources/Scripts/Scene/42006/scene42006_group242006031.lua b/Resources/Scripts/Scene/42006/scene42006_group242006031.lua index ffd323be8..6866e5a17 100644 --- a/Resources/Scripts/Scene/42006/scene42006_group242006031.lua +++ b/Resources/Scripts/Scene/42006/scene42006_group242006031.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242006031, gear_group_id = 242006037, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/42006/scene42006_group242006033.lua b/Resources/Scripts/Scene/42006/scene42006_group242006033.lua index c4d126076..a631a0e59 100644 --- a/Resources/Scripts/Scene/42006/scene42006_group242006033.lua +++ b/Resources/Scripts/Scene/42006/scene42006_group242006033.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242006033, gear_group_id = 242006037 } diff --git a/Resources/Scripts/Scene/42006/scene42006_group242006034.lua b/Resources/Scripts/Scene/42006/scene42006_group242006034.lua index 4c4ac8963..a1cc5c3d6 100644 --- a/Resources/Scripts/Scene/42006/scene42006_group242006034.lua +++ b/Resources/Scripts/Scene/42006/scene42006_group242006034.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242006034, gear_group_id = 242006037 } diff --git a/Resources/Scripts/Scene/42006/scene42006_group242006035.lua b/Resources/Scripts/Scene/42006/scene42006_group242006035.lua index 0d68fbd63..142d4f623 100644 --- a/Resources/Scripts/Scene/42006/scene42006_group242006035.lua +++ b/Resources/Scripts/Scene/42006/scene42006_group242006035.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242006035, gear_group_id = 242006037 } diff --git a/Resources/Scripts/Scene/42006/scene42006_group242006036.lua b/Resources/Scripts/Scene/42006/scene42006_group242006036.lua index b71d535cb..15c4d7c3f 100644 --- a/Resources/Scripts/Scene/42006/scene42006_group242006036.lua +++ b/Resources/Scripts/Scene/42006/scene42006_group242006036.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242006036, gear_group_id = 242006037 } diff --git a/Resources/Scripts/Scene/42006/scene42006_group242006037.lua b/Resources/Scripts/Scene/42006/scene42006_group242006037.lua index 44b53d789..ef62bc5a8 100644 --- a/Resources/Scripts/Scene/42006/scene42006_group242006037.lua +++ b/Resources/Scripts/Scene/42006/scene42006_group242006037.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242006037, challange_group_id = 242006031, monster_points = 1, diff --git a/Resources/Scripts/Scene/42006/scene42006_group242006038.lua b/Resources/Scripts/Scene/42006/scene42006_group242006038.lua index 4bdec47d3..fdeb92cac 100644 --- a/Resources/Scripts/Scene/42006/scene42006_group242006038.lua +++ b/Resources/Scripts/Scene/42006/scene42006_group242006038.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 242006038, challange_group_id = 242006031 diff --git a/Resources/Scripts/Scene/42007/scene42007_group242007001.lua b/Resources/Scripts/Scene/42007/scene42007_group242007001.lua index 5b4bb78a0..05c95f933 100644 --- a/Resources/Scripts/Scene/42007/scene42007_group242007001.lua +++ b/Resources/Scripts/Scene/42007/scene42007_group242007001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242007001, challange_group_id = 242007017, monster_points = 1, diff --git a/Resources/Scripts/Scene/42007/scene42007_group242007017.lua b/Resources/Scripts/Scene/42007/scene42007_group242007017.lua index a9448eb71..89f0460af 100644 --- a/Resources/Scripts/Scene/42007/scene42007_group242007017.lua +++ b/Resources/Scripts/Scene/42007/scene42007_group242007017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242007017, gear_group_id = 242007001, init_building_points = 750, diff --git a/Resources/Scripts/Scene/42007/scene42007_group242007018.lua b/Resources/Scripts/Scene/42007/scene42007_group242007018.lua index 4501340d0..ec0f5f25c 100644 --- a/Resources/Scripts/Scene/42007/scene42007_group242007018.lua +++ b/Resources/Scripts/Scene/42007/scene42007_group242007018.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242007018, gear_group_id = 242007001 } diff --git a/Resources/Scripts/Scene/42007/scene42007_group242007019.lua b/Resources/Scripts/Scene/42007/scene42007_group242007019.lua index e7664c5d0..1178584e5 100644 --- a/Resources/Scripts/Scene/42007/scene42007_group242007019.lua +++ b/Resources/Scripts/Scene/42007/scene42007_group242007019.lua @@ -4,14 +4,13 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242007019, gear_group_id = 242007001 } -- DEFS_MISCS -package_tide_defs={ - [1]={{monster_package={12019},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21},tags=2,count=12,max=5,min=5},{monster_package={12010,12011,12012},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,38,39,40,41,43,44},tags=4,count=12,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12019},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21},tags=2,count=12,max=5,min=5},{monster_package={12010,12011,12012},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,38,39,40,41,43,44},tags=4,count=12,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/42007/scene42007_group242007020.lua b/Resources/Scripts/Scene/42007/scene42007_group242007020.lua index 3afeb2f6c..5a3aa59e4 100644 --- a/Resources/Scripts/Scene/42007/scene42007_group242007020.lua +++ b/Resources/Scripts/Scene/42007/scene42007_group242007020.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242007020, gear_group_id = 242007001 } diff --git a/Resources/Scripts/Scene/42007/scene42007_group242007021.lua b/Resources/Scripts/Scene/42007/scene42007_group242007021.lua index 52d2c0df1..dad744483 100644 --- a/Resources/Scripts/Scene/42007/scene42007_group242007021.lua +++ b/Resources/Scripts/Scene/42007/scene42007_group242007021.lua @@ -4,14 +4,13 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242007021, gear_group_id = 242007001 } -- DEFS_MISCS -package_tide_defs={ - [1]={{monster_package={12030,12031},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21},tags=2,count=10,max=5,min=5},{monster_package={12039},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,38,39,40,41,43,44},tags=4,count=10,max=5,min=5},{monster_package={12033,12035},route=3,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,37},tags=8,count=5,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12030,12031},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21},tags=2,count=10,max=5,min=5},{monster_package={12039},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,38,39,40,41,43,44},tags=4,count=10,max=5,min=5},{monster_package={12033,12035},route=3,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,37},tags=8,count=5,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/42007/scene42007_group242007022.lua b/Resources/Scripts/Scene/42007/scene42007_group242007022.lua index b5fbc8f5a..77a09dd4d 100644 --- a/Resources/Scripts/Scene/42007/scene42007_group242007022.lua +++ b/Resources/Scripts/Scene/42007/scene42007_group242007022.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 242007022, challange_group_id = 242007017 diff --git a/Resources/Scripts/Scene/42007/scene42007_group242007023.lua b/Resources/Scripts/Scene/42007/scene42007_group242007023.lua index 148969459..dac90f6df 100644 --- a/Resources/Scripts/Scene/42007/scene42007_group242007023.lua +++ b/Resources/Scripts/Scene/42007/scene42007_group242007023.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 242007023, challange_group_id = 242007017 diff --git a/Resources/Scripts/Scene/42007/scene42007_group242007024.lua b/Resources/Scripts/Scene/42007/scene42007_group242007024.lua index 049bae8e4..34fdbb9f7 100644 --- a/Resources/Scripts/Scene/42007/scene42007_group242007024.lua +++ b/Resources/Scripts/Scene/42007/scene42007_group242007024.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242007024, gear_group_id = 242007001 } diff --git a/Resources/Scripts/Scene/42008/scene42008_group242008001.lua b/Resources/Scripts/Scene/42008/scene42008_group242008001.lua index b5333e1cd..b5895205c 100644 --- a/Resources/Scripts/Scene/42008/scene42008_group242008001.lua +++ b/Resources/Scripts/Scene/42008/scene42008_group242008001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242008001, gear_group_id = 242008002, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/42008/scene42008_group242008002.lua b/Resources/Scripts/Scene/42008/scene42008_group242008002.lua index ed7503818..5e70d319f 100644 --- a/Resources/Scripts/Scene/42008/scene42008_group242008002.lua +++ b/Resources/Scripts/Scene/42008/scene42008_group242008002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242008002, monster_points = 1, max_points = 100, diff --git a/Resources/Scripts/Scene/42008/scene42008_group242008003.lua b/Resources/Scripts/Scene/42008/scene42008_group242008003.lua index 77c52df74..a79b2af41 100644 --- a/Resources/Scripts/Scene/42008/scene42008_group242008003.lua +++ b/Resources/Scripts/Scene/42008/scene42008_group242008003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242008003, gear_group_id = 242008002 } diff --git a/Resources/Scripts/Scene/42008/scene42008_group242008004.lua b/Resources/Scripts/Scene/42008/scene42008_group242008004.lua index 2178b0231..2f2b94369 100644 --- a/Resources/Scripts/Scene/42008/scene42008_group242008004.lua +++ b/Resources/Scripts/Scene/42008/scene42008_group242008004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242008004, gear_group_id = 242008002 } diff --git a/Resources/Scripts/Scene/42008/scene42008_group242008005.lua b/Resources/Scripts/Scene/42008/scene42008_group242008005.lua index 34d02391e..62dff81b9 100644 --- a/Resources/Scripts/Scene/42008/scene42008_group242008005.lua +++ b/Resources/Scripts/Scene/42008/scene42008_group242008005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242008005, gear_group_id = 242008002 } diff --git a/Resources/Scripts/Scene/42008/scene42008_group242008006.lua b/Resources/Scripts/Scene/42008/scene42008_group242008006.lua index d9211442d..2dff61f29 100644 --- a/Resources/Scripts/Scene/42008/scene42008_group242008006.lua +++ b/Resources/Scripts/Scene/42008/scene42008_group242008006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242008006, gear_group_id = 242008002 } diff --git a/Resources/Scripts/Scene/42008/scene42008_group242008007.lua b/Resources/Scripts/Scene/42008/scene42008_group242008007.lua index 520c86dfc..fcdad61c7 100644 --- a/Resources/Scripts/Scene/42008/scene42008_group242008007.lua +++ b/Resources/Scripts/Scene/42008/scene42008_group242008007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242008007, gear_group_id = 242008002 } diff --git a/Resources/Scripts/Scene/42008/scene42008_group242008008.lua b/Resources/Scripts/Scene/42008/scene42008_group242008008.lua index ff28f40e8..17b0e5774 100644 --- a/Resources/Scripts/Scene/42008/scene42008_group242008008.lua +++ b/Resources/Scripts/Scene/42008/scene42008_group242008008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242008008, gear_group_id = 242008002 } diff --git a/Resources/Scripts/Scene/42008/scene42008_group242008009.lua b/Resources/Scripts/Scene/42008/scene42008_group242008009.lua index b5d1be466..3ad68d165 100644 --- a/Resources/Scripts/Scene/42008/scene42008_group242008009.lua +++ b/Resources/Scripts/Scene/42008/scene42008_group242008009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242008009, gear_group_id = 242008002 } diff --git a/Resources/Scripts/Scene/42008/scene42008_group242008010.lua b/Resources/Scripts/Scene/42008/scene42008_group242008010.lua index 5b4c888b5..ccda25b16 100644 --- a/Resources/Scripts/Scene/42008/scene42008_group242008010.lua +++ b/Resources/Scripts/Scene/42008/scene42008_group242008010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242008010, gear_group_id = 242008002 } diff --git a/Resources/Scripts/Scene/42008/scene42008_group242008011.lua b/Resources/Scripts/Scene/42008/scene42008_group242008011.lua index 856520310..f99cf1b9e 100644 --- a/Resources/Scripts/Scene/42008/scene42008_group242008011.lua +++ b/Resources/Scripts/Scene/42008/scene42008_group242008011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242008011, gear_group_id = 242008002 } diff --git a/Resources/Scripts/Scene/42008/scene42008_group242008012.lua b/Resources/Scripts/Scene/42008/scene42008_group242008012.lua index e4ea4efc9..1978562ab 100644 --- a/Resources/Scripts/Scene/42008/scene42008_group242008012.lua +++ b/Resources/Scripts/Scene/42008/scene42008_group242008012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242008012, gear_group_id = 242008002 } diff --git a/Resources/Scripts/Scene/42008/scene42008_group242008013.lua b/Resources/Scripts/Scene/42008/scene42008_group242008013.lua index 248057574..beb3c98bf 100644 --- a/Resources/Scripts/Scene/42008/scene42008_group242008013.lua +++ b/Resources/Scripts/Scene/42008/scene42008_group242008013.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 242008013, challange_group_id = 242008001 @@ -14,8 +14,7 @@ defs = { local light_bridge={ {operator_id=13001,effect_id=13002,gadget_id={13003,13008}} } -local wind_field={ -} +local wind_field={ } --================================================================ -- diff --git a/Resources/Scripts/Scene/42009/scene42009_group242009001.lua b/Resources/Scripts/Scene/42009/scene42009_group242009001.lua index 7c733aeda..6a3cf3cea 100644 --- a/Resources/Scripts/Scene/42009/scene42009_group242009001.lua +++ b/Resources/Scripts/Scene/42009/scene42009_group242009001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242009001, gear_group_id = 242009002, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/42009/scene42009_group242009002.lua b/Resources/Scripts/Scene/42009/scene42009_group242009002.lua index 8a141b320..575dd24d5 100644 --- a/Resources/Scripts/Scene/42009/scene42009_group242009002.lua +++ b/Resources/Scripts/Scene/42009/scene42009_group242009002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242009002, monster_points = 1, max_points = 100, diff --git a/Resources/Scripts/Scene/42009/scene42009_group242009003.lua b/Resources/Scripts/Scene/42009/scene42009_group242009003.lua index 615f6839b..157411133 100644 --- a/Resources/Scripts/Scene/42009/scene42009_group242009003.lua +++ b/Resources/Scripts/Scene/42009/scene42009_group242009003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242009003, gear_group_id = 242009002 } diff --git a/Resources/Scripts/Scene/42009/scene42009_group242009004.lua b/Resources/Scripts/Scene/42009/scene42009_group242009004.lua index 8b6df03bb..9a11ec227 100644 --- a/Resources/Scripts/Scene/42009/scene42009_group242009004.lua +++ b/Resources/Scripts/Scene/42009/scene42009_group242009004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242009004, gear_group_id = 242009002 } diff --git a/Resources/Scripts/Scene/42009/scene42009_group242009005.lua b/Resources/Scripts/Scene/42009/scene42009_group242009005.lua index 5ed92b5b9..697899500 100644 --- a/Resources/Scripts/Scene/42009/scene42009_group242009005.lua +++ b/Resources/Scripts/Scene/42009/scene42009_group242009005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242009005, gear_group_id = 242009002 } diff --git a/Resources/Scripts/Scene/42009/scene42009_group242009006.lua b/Resources/Scripts/Scene/42009/scene42009_group242009006.lua index 76452508a..68485b341 100644 --- a/Resources/Scripts/Scene/42009/scene42009_group242009006.lua +++ b/Resources/Scripts/Scene/42009/scene42009_group242009006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242009006, gear_group_id = 242009002 } diff --git a/Resources/Scripts/Scene/42009/scene42009_group242009007.lua b/Resources/Scripts/Scene/42009/scene42009_group242009007.lua index b57d71704..afbd46b12 100644 --- a/Resources/Scripts/Scene/42009/scene42009_group242009007.lua +++ b/Resources/Scripts/Scene/42009/scene42009_group242009007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242009007, gear_group_id = 242009002 } diff --git a/Resources/Scripts/Scene/42009/scene42009_group242009008.lua b/Resources/Scripts/Scene/42009/scene42009_group242009008.lua index 3f1231c04..a043f87af 100644 --- a/Resources/Scripts/Scene/42009/scene42009_group242009008.lua +++ b/Resources/Scripts/Scene/42009/scene42009_group242009008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242009008, gear_group_id = 242009002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42009/scene42009_group242009009.lua b/Resources/Scripts/Scene/42009/scene42009_group242009009.lua index a74d12c15..b15c37c21 100644 --- a/Resources/Scripts/Scene/42009/scene42009_group242009009.lua +++ b/Resources/Scripts/Scene/42009/scene42009_group242009009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242009009, gear_group_id = 242009002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42009/scene42009_group242009010.lua b/Resources/Scripts/Scene/42009/scene42009_group242009010.lua index 00beaddad..95e434c33 100644 --- a/Resources/Scripts/Scene/42009/scene42009_group242009010.lua +++ b/Resources/Scripts/Scene/42009/scene42009_group242009010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242009010, gear_group_id = 242009002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42009/scene42009_group242009011.lua b/Resources/Scripts/Scene/42009/scene42009_group242009011.lua index dffb2d5ba..7173e02e0 100644 --- a/Resources/Scripts/Scene/42009/scene42009_group242009011.lua +++ b/Resources/Scripts/Scene/42009/scene42009_group242009011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242009011, gear_group_id = 242009002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42009/scene42009_group242009012.lua b/Resources/Scripts/Scene/42009/scene42009_group242009012.lua index a0ef4a24c..1e28156cc 100644 --- a/Resources/Scripts/Scene/42009/scene42009_group242009012.lua +++ b/Resources/Scripts/Scene/42009/scene42009_group242009012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242009012, gear_group_id = 242009002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42009/scene42009_group242009013.lua b/Resources/Scripts/Scene/42009/scene42009_group242009013.lua index a48662812..831bdb71b 100644 --- a/Resources/Scripts/Scene/42009/scene42009_group242009013.lua +++ b/Resources/Scripts/Scene/42009/scene42009_group242009013.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 242009013, challange_group_id = 242009001 @@ -14,8 +14,7 @@ defs = { local light_bridge={ {operator_id=13001,effect_id=13002,gadget_id={13003}} } -local wind_field={ -} +local wind_field={ } --================================================================ -- diff --git a/Resources/Scripts/Scene/42010/scene42010_group242010001.lua b/Resources/Scripts/Scene/42010/scene42010_group242010001.lua index 25b75fdd0..e55ad9190 100644 --- a/Resources/Scripts/Scene/42010/scene42010_group242010001.lua +++ b/Resources/Scripts/Scene/42010/scene42010_group242010001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242010001, gear_group_id = 242010002, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/42010/scene42010_group242010002.lua b/Resources/Scripts/Scene/42010/scene42010_group242010002.lua index 9942c87ea..3a9058a8e 100644 --- a/Resources/Scripts/Scene/42010/scene42010_group242010002.lua +++ b/Resources/Scripts/Scene/42010/scene42010_group242010002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242010002, monster_points = 1, max_points = 100, diff --git a/Resources/Scripts/Scene/42010/scene42010_group242010003.lua b/Resources/Scripts/Scene/42010/scene42010_group242010003.lua index 031cfdff3..069f0f9d3 100644 --- a/Resources/Scripts/Scene/42010/scene42010_group242010003.lua +++ b/Resources/Scripts/Scene/42010/scene42010_group242010003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242010003, gear_group_id = 242010002 } diff --git a/Resources/Scripts/Scene/42010/scene42010_group242010004.lua b/Resources/Scripts/Scene/42010/scene42010_group242010004.lua index dd3745274..87a602c03 100644 --- a/Resources/Scripts/Scene/42010/scene42010_group242010004.lua +++ b/Resources/Scripts/Scene/42010/scene42010_group242010004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242010004, gear_group_id = 242010002 } diff --git a/Resources/Scripts/Scene/42010/scene42010_group242010005.lua b/Resources/Scripts/Scene/42010/scene42010_group242010005.lua index 9addad2f7..c439f9f1d 100644 --- a/Resources/Scripts/Scene/42010/scene42010_group242010005.lua +++ b/Resources/Scripts/Scene/42010/scene42010_group242010005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242010005, gear_group_id = 242010002 } diff --git a/Resources/Scripts/Scene/42010/scene42010_group242010006.lua b/Resources/Scripts/Scene/42010/scene42010_group242010006.lua index 05dda89fb..7b8886b3e 100644 --- a/Resources/Scripts/Scene/42010/scene42010_group242010006.lua +++ b/Resources/Scripts/Scene/42010/scene42010_group242010006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242010006, gear_group_id = 242010002 } diff --git a/Resources/Scripts/Scene/42010/scene42010_group242010007.lua b/Resources/Scripts/Scene/42010/scene42010_group242010007.lua index fef6098cb..ba7d7385e 100644 --- a/Resources/Scripts/Scene/42010/scene42010_group242010007.lua +++ b/Resources/Scripts/Scene/42010/scene42010_group242010007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242010007, gear_group_id = 242010002 } diff --git a/Resources/Scripts/Scene/42010/scene42010_group242010008.lua b/Resources/Scripts/Scene/42010/scene42010_group242010008.lua index 73be272dc..c4a1a7a77 100644 --- a/Resources/Scripts/Scene/42010/scene42010_group242010008.lua +++ b/Resources/Scripts/Scene/42010/scene42010_group242010008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242010008, gear_group_id = 242010002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42010/scene42010_group242010009.lua b/Resources/Scripts/Scene/42010/scene42010_group242010009.lua index aeda7ea9c..15fe5f319 100644 --- a/Resources/Scripts/Scene/42010/scene42010_group242010009.lua +++ b/Resources/Scripts/Scene/42010/scene42010_group242010009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242010009, gear_group_id = 242010002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42010/scene42010_group242010010.lua b/Resources/Scripts/Scene/42010/scene42010_group242010010.lua index 7b08a61ce..4fafc0d39 100644 --- a/Resources/Scripts/Scene/42010/scene42010_group242010010.lua +++ b/Resources/Scripts/Scene/42010/scene42010_group242010010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242010010, gear_group_id = 242010002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42010/scene42010_group242010011.lua b/Resources/Scripts/Scene/42010/scene42010_group242010011.lua index a5442fc6b..8d8cb682e 100644 --- a/Resources/Scripts/Scene/42010/scene42010_group242010011.lua +++ b/Resources/Scripts/Scene/42010/scene42010_group242010011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242010011, gear_group_id = 242010002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42010/scene42010_group242010012.lua b/Resources/Scripts/Scene/42010/scene42010_group242010012.lua index 4412580bd..9ed31fee4 100644 --- a/Resources/Scripts/Scene/42010/scene42010_group242010012.lua +++ b/Resources/Scripts/Scene/42010/scene42010_group242010012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242010012, gear_group_id = 242010002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42010/scene42010_group242010013.lua b/Resources/Scripts/Scene/42010/scene42010_group242010013.lua index 83f8a5e35..7471dc038 100644 --- a/Resources/Scripts/Scene/42010/scene42010_group242010013.lua +++ b/Resources/Scripts/Scene/42010/scene42010_group242010013.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 242010013, challange_group_id = 242010001 diff --git a/Resources/Scripts/Scene/42011/scene42011_group242011001.lua b/Resources/Scripts/Scene/42011/scene42011_group242011001.lua index 67271976b..b453e8eda 100644 --- a/Resources/Scripts/Scene/42011/scene42011_group242011001.lua +++ b/Resources/Scripts/Scene/42011/scene42011_group242011001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242011001, gear_group_id = 242011002, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/42011/scene42011_group242011002.lua b/Resources/Scripts/Scene/42011/scene42011_group242011002.lua index 7f53359fc..fb752aaef 100644 --- a/Resources/Scripts/Scene/42011/scene42011_group242011002.lua +++ b/Resources/Scripts/Scene/42011/scene42011_group242011002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242011002, monster_points = 1, max_points = 100, diff --git a/Resources/Scripts/Scene/42011/scene42011_group242011003.lua b/Resources/Scripts/Scene/42011/scene42011_group242011003.lua index d1ec79d0b..209e29169 100644 --- a/Resources/Scripts/Scene/42011/scene42011_group242011003.lua +++ b/Resources/Scripts/Scene/42011/scene42011_group242011003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242011003, gear_group_id = 242011002 } diff --git a/Resources/Scripts/Scene/42011/scene42011_group242011004.lua b/Resources/Scripts/Scene/42011/scene42011_group242011004.lua index 6aa9d528a..4ce4b18a5 100644 --- a/Resources/Scripts/Scene/42011/scene42011_group242011004.lua +++ b/Resources/Scripts/Scene/42011/scene42011_group242011004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242011004, gear_group_id = 242011002 } diff --git a/Resources/Scripts/Scene/42011/scene42011_group242011005.lua b/Resources/Scripts/Scene/42011/scene42011_group242011005.lua index 0702dbb66..b8be27394 100644 --- a/Resources/Scripts/Scene/42011/scene42011_group242011005.lua +++ b/Resources/Scripts/Scene/42011/scene42011_group242011005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242011005, gear_group_id = 242011002 } diff --git a/Resources/Scripts/Scene/42011/scene42011_group242011006.lua b/Resources/Scripts/Scene/42011/scene42011_group242011006.lua index f5606522b..ad513503a 100644 --- a/Resources/Scripts/Scene/42011/scene42011_group242011006.lua +++ b/Resources/Scripts/Scene/42011/scene42011_group242011006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242011006, gear_group_id = 242011002 } diff --git a/Resources/Scripts/Scene/42011/scene42011_group242011007.lua b/Resources/Scripts/Scene/42011/scene42011_group242011007.lua index bbd0b4867..bb6b2ecee 100644 --- a/Resources/Scripts/Scene/42011/scene42011_group242011007.lua +++ b/Resources/Scripts/Scene/42011/scene42011_group242011007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242011007, gear_group_id = 242011002 } diff --git a/Resources/Scripts/Scene/42011/scene42011_group242011008.lua b/Resources/Scripts/Scene/42011/scene42011_group242011008.lua index c3b6f30dd..a7dfb23ea 100644 --- a/Resources/Scripts/Scene/42011/scene42011_group242011008.lua +++ b/Resources/Scripts/Scene/42011/scene42011_group242011008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242011008, gear_group_id = 242011002 } diff --git a/Resources/Scripts/Scene/42011/scene42011_group242011009.lua b/Resources/Scripts/Scene/42011/scene42011_group242011009.lua index b2137c47f..18858a9cc 100644 --- a/Resources/Scripts/Scene/42011/scene42011_group242011009.lua +++ b/Resources/Scripts/Scene/42011/scene42011_group242011009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242011009, gear_group_id = 242011002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42011/scene42011_group242011010.lua b/Resources/Scripts/Scene/42011/scene42011_group242011010.lua index c50c01af4..7365d91a9 100644 --- a/Resources/Scripts/Scene/42011/scene42011_group242011010.lua +++ b/Resources/Scripts/Scene/42011/scene42011_group242011010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242011010, gear_group_id = 242011002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42011/scene42011_group242011011.lua b/Resources/Scripts/Scene/42011/scene42011_group242011011.lua index 3366512f0..6690389ed 100644 --- a/Resources/Scripts/Scene/42011/scene42011_group242011011.lua +++ b/Resources/Scripts/Scene/42011/scene42011_group242011011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242011011, gear_group_id = 242011002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42011/scene42011_group242011012.lua b/Resources/Scripts/Scene/42011/scene42011_group242011012.lua index 9b6686165..b9c34b054 100644 --- a/Resources/Scripts/Scene/42011/scene42011_group242011012.lua +++ b/Resources/Scripts/Scene/42011/scene42011_group242011012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242011012, gear_group_id = 242011002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/42011/scene42011_group242011013.lua b/Resources/Scripts/Scene/42011/scene42011_group242011013.lua index ac0cc22de..5463ca409 100644 --- a/Resources/Scripts/Scene/42011/scene42011_group242011013.lua +++ b/Resources/Scripts/Scene/42011/scene42011_group242011013.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 242011013, challange_group_id = 242011001 @@ -14,8 +14,7 @@ defs = { local light_bridge={ {operator_id=13001,effect_id=13002,gadget_id={13003,13008}} } -local wind_field={ -} +local wind_field={ } --================================================================ -- diff --git a/Resources/Scripts/Scene/42012/scene42012_group242012001.lua b/Resources/Scripts/Scene/42012/scene42012_group242012001.lua index dd82d17e5..f13976c2a 100644 --- a/Resources/Scripts/Scene/42012/scene42012_group242012001.lua +++ b/Resources/Scripts/Scene/42012/scene42012_group242012001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242012001, challange_group_id = 242012017, monster_points = 1, diff --git a/Resources/Scripts/Scene/42012/scene42012_group242012017.lua b/Resources/Scripts/Scene/42012/scene42012_group242012017.lua index 58372dfb9..de3a0c8f7 100644 --- a/Resources/Scripts/Scene/42012/scene42012_group242012017.lua +++ b/Resources/Scripts/Scene/42012/scene42012_group242012017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242012017, gear_group_id = 242012001, init_building_points = 750, diff --git a/Resources/Scripts/Scene/42012/scene42012_group242012018.lua b/Resources/Scripts/Scene/42012/scene42012_group242012018.lua index 26db1508e..f7fa9016e 100644 --- a/Resources/Scripts/Scene/42012/scene42012_group242012018.lua +++ b/Resources/Scripts/Scene/42012/scene42012_group242012018.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242012018, gear_group_id = 242012001 } diff --git a/Resources/Scripts/Scene/42012/scene42012_group242012019.lua b/Resources/Scripts/Scene/42012/scene42012_group242012019.lua index 619c92920..6fd00f42d 100644 --- a/Resources/Scripts/Scene/42012/scene42012_group242012019.lua +++ b/Resources/Scripts/Scene/42012/scene42012_group242012019.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242012019, gear_group_id = 242012001 } diff --git a/Resources/Scripts/Scene/42012/scene42012_group242012020.lua b/Resources/Scripts/Scene/42012/scene42012_group242012020.lua index 4c5ae0a17..08c7573a7 100644 --- a/Resources/Scripts/Scene/42012/scene42012_group242012020.lua +++ b/Resources/Scripts/Scene/42012/scene42012_group242012020.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242012020, gear_group_id = 242012001 } diff --git a/Resources/Scripts/Scene/42012/scene42012_group242012021.lua b/Resources/Scripts/Scene/42012/scene42012_group242012021.lua index c94ed52cb..31084f3f7 100644 --- a/Resources/Scripts/Scene/42012/scene42012_group242012021.lua +++ b/Resources/Scripts/Scene/42012/scene42012_group242012021.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242012021, gear_group_id = 242012001 } diff --git a/Resources/Scripts/Scene/42012/scene42012_group242012022.lua b/Resources/Scripts/Scene/42012/scene42012_group242012022.lua index 9263e85e1..aa30736df 100644 --- a/Resources/Scripts/Scene/42012/scene42012_group242012022.lua +++ b/Resources/Scripts/Scene/42012/scene42012_group242012022.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 242012022, challange_group_id = 242012017 diff --git a/Resources/Scripts/Scene/42012/scene42012_group242012023.lua b/Resources/Scripts/Scene/42012/scene42012_group242012023.lua index 7ff7a99ca..15cad8fdb 100644 --- a/Resources/Scripts/Scene/42012/scene42012_group242012023.lua +++ b/Resources/Scripts/Scene/42012/scene42012_group242012023.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 242012023, challange_group_id = 242012017 diff --git a/Resources/Scripts/Scene/42012/scene42012_group242012024.lua b/Resources/Scripts/Scene/42012/scene42012_group242012024.lua index 4a57f9edd..fa27ac80a 100644 --- a/Resources/Scripts/Scene/42012/scene42012_group242012024.lua +++ b/Resources/Scripts/Scene/42012/scene42012_group242012024.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242012024, gear_group_id = 242012001 } diff --git a/Resources/Scripts/Scene/42012/scene42012_group242012025.lua b/Resources/Scripts/Scene/42012/scene42012_group242012025.lua index aa70a38ee..a632580f8 100644 --- a/Resources/Scripts/Scene/42012/scene42012_group242012025.lua +++ b/Resources/Scripts/Scene/42012/scene42012_group242012025.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242012025, gear_group_id = 242012001 } diff --git a/Resources/Scripts/Scene/42013/scene42013_group242013006.lua b/Resources/Scripts/Scene/42013/scene42013_group242013006.lua index 25f683b2d..830da1775 100644 --- a/Resources/Scripts/Scene/42013/scene42013_group242013006.lua +++ b/Resources/Scripts/Scene/42013/scene42013_group242013006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242013006, timer = 60, challange_group_id = 242013010 @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS local light_bridge={ - - {operator_id=6010,effect_id=6034,gadget_id={6001,6002}} + {operator_id=6010,effect_id=6034,gadget_id={6001,6002}} } local wind_field={ diff --git a/Resources/Scripts/Scene/42013/scene42013_group242013007.lua b/Resources/Scripts/Scene/42013/scene42013_group242013007.lua index 0dc370c1d..68b09cd5a 100644 --- a/Resources/Scripts/Scene/42013/scene42013_group242013007.lua +++ b/Resources/Scripts/Scene/42013/scene42013_group242013007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242013007, challange_group_id = 242013010, monster_points = 1, diff --git a/Resources/Scripts/Scene/42013/scene42013_group242013010.lua b/Resources/Scripts/Scene/42013/scene42013_group242013010.lua index c5feebc28..e78f32aa2 100644 --- a/Resources/Scripts/Scene/42013/scene42013_group242013010.lua +++ b/Resources/Scripts/Scene/42013/scene42013_group242013010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242013010, gear_group_id = 242013007, route_guide_timer = 5, @@ -22,12 +22,9 @@ tide_group_defs ={ [2] = {group = 242013012, delay = 20, next_group = 3, buff = {1,2,3},guide_routes={3,4},enter={10003},exit={10002,10006},enter_id={15},exit_id={16,17}}, [3] = {group = 242013013, delay = 20, next_group = 4, buff = {1,2,3},guide_routes={1,2,3,4},enter={10001,10003},exit={10002,10006},enter_id={14,15},exit_id={16,17}}, [5] = {group = 242013017, delay = 20, next_group = 0, buff = {1,2,3},guide_routes={1,2,3,4},enter={10001,10003},exit={10002,10006},enter_id={14,15},exit_id={16,17}}, - -[4] = {group = 242013014, delay = 20, next_group = 0, buff = {1,2,3},guide_routes={1,2,3,4},enter={10001,10003},exit={10002,10006},enter_id={14,15},exit_id={16,17}}, - - [6] = {group = 242013018, delay = 20, next_group = 0, buff = {1,2,3},guide_routes={1,2,3,4},enter={10001,10003},exit={10002,10006},enter_id={14,15},exit_id={16,17}}, - -[4] = {group = 242013014, delay = 20, next_group = 0, buff = {1,2,3},guide_routes={1,2,3,4},enter={10001,10003},exit={10002,10006},enter_id={14,15},exit_id={16,17}}, + [4] = {group = 242013014, delay = 20, next_group = 0, buff = {1,2,3},guide_routes={1,2,3,4},enter={10001,10003},exit={10002,10006},enter_id={14,15},exit_id={16,17}}, + [6] = {group = 242013018, delay = 20, next_group = 0, buff = {1,2,3},guide_routes={1,2,3,4},enter={10001,10003},exit={10002,10006},enter_id={14,15},exit_id={16,17}}, + [4] = {group = 242013014, delay = 20, next_group = 0, buff = {1,2,3},guide_routes={1,2,3,4},enter={10001,10003},exit={10002,10006},enter_id={14,15},exit_id={16,17}}, } routes_start_point={ diff --git a/Resources/Scripts/Scene/42013/scene42013_group242013011.lua b/Resources/Scripts/Scene/42013/scene42013_group242013011.lua index d597174a8..b09cdaf36 100644 --- a/Resources/Scripts/Scene/42013/scene42013_group242013011.lua +++ b/Resources/Scripts/Scene/42013/scene42013_group242013011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242013011, gear_group_id = 242001007 } diff --git a/Resources/Scripts/Scene/42013/scene42013_group242013012.lua b/Resources/Scripts/Scene/42013/scene42013_group242013012.lua index b229190f3..63d71ae8a 100644 --- a/Resources/Scripts/Scene/42013/scene42013_group242013012.lua +++ b/Resources/Scripts/Scene/42013/scene42013_group242013012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242013012, gear_group_id = 242001007 } diff --git a/Resources/Scripts/Scene/42013/scene42013_group242013013.lua b/Resources/Scripts/Scene/42013/scene42013_group242013013.lua index 6c4b652ae..b263e5e9b 100644 --- a/Resources/Scripts/Scene/42013/scene42013_group242013013.lua +++ b/Resources/Scripts/Scene/42013/scene42013_group242013013.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242013013, gear_group_id = 242001007 } diff --git a/Resources/Scripts/Scene/42013/scene42013_group242013014.lua b/Resources/Scripts/Scene/42013/scene42013_group242013014.lua index 7c9bd2178..fddbab3a5 100644 --- a/Resources/Scripts/Scene/42013/scene42013_group242013014.lua +++ b/Resources/Scripts/Scene/42013/scene42013_group242013014.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242013014, gear_group_id = 242001007 } diff --git a/Resources/Scripts/Scene/42013/scene42013_group242013017.lua b/Resources/Scripts/Scene/42013/scene42013_group242013017.lua index 5d426946c..441c1382b 100644 --- a/Resources/Scripts/Scene/42013/scene42013_group242013017.lua +++ b/Resources/Scripts/Scene/42013/scene42013_group242013017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242013017, gear_group_id = 242001007 } diff --git a/Resources/Scripts/Scene/42013/scene42013_group242013018.lua b/Resources/Scripts/Scene/42013/scene42013_group242013018.lua index ce382ade2..2b490c0ae 100644 --- a/Resources/Scripts/Scene/42013/scene42013_group242013018.lua +++ b/Resources/Scripts/Scene/42013/scene42013_group242013018.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242013018, gear_group_id = 242001007 } diff --git a/Resources/Scripts/Scene/42014/scene42014_group242014031.lua b/Resources/Scripts/Scene/42014/scene42014_group242014031.lua index 390c6de0b..94537ac2a 100644 --- a/Resources/Scripts/Scene/42014/scene42014_group242014031.lua +++ b/Resources/Scripts/Scene/42014/scene42014_group242014031.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242014031, gear_group_id = 242014037, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/42014/scene42014_group242014033.lua b/Resources/Scripts/Scene/42014/scene42014_group242014033.lua index 9a849007a..d5ee927f9 100644 --- a/Resources/Scripts/Scene/42014/scene42014_group242014033.lua +++ b/Resources/Scripts/Scene/42014/scene42014_group242014033.lua @@ -4,14 +4,13 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242014033, gear_group_id = 242014037 } -- DEFS_MISCS -package_tide_defs={ - [1]={{monster_package={12003},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=5,max=5,min=5},{monster_package={12003},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=5,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12003},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=5,max=5,min=5},{monster_package={12003},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=5,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/42014/scene42014_group242014034.lua b/Resources/Scripts/Scene/42014/scene42014_group242014034.lua index bc8932d96..e89d4db28 100644 --- a/Resources/Scripts/Scene/42014/scene42014_group242014034.lua +++ b/Resources/Scripts/Scene/42014/scene42014_group242014034.lua @@ -4,14 +4,13 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242014034, gear_group_id = 242014037 } -- DEFS_MISCS -package_tide_defs={ - [1]={{monster_package={12003},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=8,max=5,min=5},{monster_package={12003},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=8,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12003},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=8,max=5,min=5},{monster_package={12003},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=8,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/42014/scene42014_group242014035.lua b/Resources/Scripts/Scene/42014/scene42014_group242014035.lua index 4e17a057e..f609c5e72 100644 --- a/Resources/Scripts/Scene/42014/scene42014_group242014035.lua +++ b/Resources/Scripts/Scene/42014/scene42014_group242014035.lua @@ -4,14 +4,13 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242014035, gear_group_id = 242014037 } -- DEFS_MISCS -package_tide_defs={ - [1]={{monster_package={12001},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=10,max=5,min=5},{monster_package={12001},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=10,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12001},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=10,max=5,min=5},{monster_package={12001},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=10,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/42014/scene42014_group242014036.lua b/Resources/Scripts/Scene/42014/scene42014_group242014036.lua index 6e3d594cd..7fe9e5bc4 100644 --- a/Resources/Scripts/Scene/42014/scene42014_group242014036.lua +++ b/Resources/Scripts/Scene/42014/scene42014_group242014036.lua @@ -4,14 +4,13 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242014036, gear_group_id = 242014037 } -- DEFS_MISCS -package_tide_defs={ - [1]={{monster_package={12001,12002},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=12,max=5,min=5},{monster_package={12001,12002},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=12,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12001,12002},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=12,max=5,min=5},{monster_package={12001,12002},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=12,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/42014/scene42014_group242014037.lua b/Resources/Scripts/Scene/42014/scene42014_group242014037.lua index 80694b322..1027377ce 100644 --- a/Resources/Scripts/Scene/42014/scene42014_group242014037.lua +++ b/Resources/Scripts/Scene/42014/scene42014_group242014037.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 242014037, challange_group_id = 242014031, monster_points = 1, diff --git a/Resources/Scripts/Scene/42014/scene42014_group242014038.lua b/Resources/Scripts/Scene/42014/scene42014_group242014038.lua index 00e278e64..83a751ee8 100644 --- a/Resources/Scripts/Scene/42014/scene42014_group242014038.lua +++ b/Resources/Scripts/Scene/42014/scene42014_group242014038.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 242014038, challange_group_id = 242014031 diff --git a/Resources/Scripts/Scene/43001/scene43001_group243001001.lua b/Resources/Scripts/Scene/43001/scene43001_group243001001.lua index d333ff40e..a0b9efd58 100644 --- a/Resources/Scripts/Scene/43001/scene43001_group243001001.lua +++ b/Resources/Scripts/Scene/43001/scene43001_group243001001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 1003, group_1 = 243001001, monster_1 = 1004, diff --git a/Resources/Scripts/Scene/43001/scene43001_group243001004.lua b/Resources/Scripts/Scene/43001/scene43001_group243001004.lua index 6c061bccc..85010e009 100644 --- a/Resources/Scripts/Scene/43001/scene43001_group243001004.lua +++ b/Resources/Scripts/Scene/43001/scene43001_group243001004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 4001, group_1 = 243001004, monster_1 = 4007, diff --git a/Resources/Scripts/Scene/43001/scene43001_group243001005.lua b/Resources/Scripts/Scene/43001/scene43001_group243001005.lua index 515d0ce3d..faf618bad 100644 --- a/Resources/Scripts/Scene/43001/scene43001_group243001005.lua +++ b/Resources/Scripts/Scene/43001/scene43001_group243001005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243001005, gadget_switch = 5013, gadget_floor = 5016, diff --git a/Resources/Scripts/Scene/43001/scene43001_group243001007.lua b/Resources/Scripts/Scene/43001/scene43001_group243001007.lua index 53ff80125..679ed28e7 100644 --- a/Resources/Scripts/Scene/43001/scene43001_group243001007.lua +++ b/Resources/Scripts/Scene/43001/scene43001_group243001007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 7001, gadget_2 = 7002, gadget_3 = 7003, diff --git a/Resources/Scripts/Scene/43001/scene43001_group243001008.lua b/Resources/Scripts/Scene/43001/scene43001_group243001008.lua index 1824926ee..4d66c42f5 100644 --- a/Resources/Scripts/Scene/43001/scene43001_group243001008.lua +++ b/Resources/Scripts/Scene/43001/scene43001_group243001008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243001007, group_1 = 243001008, monster_1 = 8001, diff --git a/Resources/Scripts/Scene/43001/scene43001_group243001009.lua b/Resources/Scripts/Scene/43001/scene43001_group243001009.lua index 5f41944ef..53314052a 100644 --- a/Resources/Scripts/Scene/43001/scene43001_group243001009.lua +++ b/Resources/Scripts/Scene/43001/scene43001_group243001009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243001007, group_1 = 243001009, monster_1 = 9001, diff --git a/Resources/Scripts/Scene/43001/scene43001_group243001010.lua b/Resources/Scripts/Scene/43001/scene43001_group243001010.lua index 25d9c5477..c88e86741 100644 --- a/Resources/Scripts/Scene/43001/scene43001_group243001010.lua +++ b/Resources/Scripts/Scene/43001/scene43001_group243001010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243001007, group_1 = 243001010, monster_1 = 10007, diff --git a/Resources/Scripts/Scene/43001/scene43001_group243001011.lua b/Resources/Scripts/Scene/43001/scene43001_group243001011.lua index 2269c6b82..170050e67 100644 --- a/Resources/Scripts/Scene/43001/scene43001_group243001011.lua +++ b/Resources/Scripts/Scene/43001/scene43001_group243001011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243001007, group_1 = 243001011, monster_1 = 11001, diff --git a/Resources/Scripts/Scene/43001/scene43001_group243001016.lua b/Resources/Scripts/Scene/43001/scene43001_group243001016.lua index 69cc09749..59829d2ec 100644 --- a/Resources/Scripts/Scene/43001/scene43001_group243001016.lua +++ b/Resources/Scripts/Scene/43001/scene43001_group243001016.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 16006, group_1 = 243001016, monster_1 = 16001, diff --git a/Resources/Scripts/Scene/43001/scene43001_group243001017.lua b/Resources/Scripts/Scene/43001/scene43001_group243001017.lua index 7dcf5adce..c530115dc 100644 --- a/Resources/Scripts/Scene/43001/scene43001_group243001017.lua +++ b/Resources/Scripts/Scene/43001/scene43001_group243001017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 17006, group_1 = 243001017, monster_1 = 17001, diff --git a/Resources/Scripts/Scene/43002/scene43002_group243002001.lua b/Resources/Scripts/Scene/43002/scene43002_group243002001.lua index 9065468d7..b9eacfdfc 100644 --- a/Resources/Scripts/Scene/43002/scene43002_group243002001.lua +++ b/Resources/Scripts/Scene/43002/scene43002_group243002001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 1003, group_1 = 243002001, monster_1 = 1004, diff --git a/Resources/Scripts/Scene/43002/scene43002_group243002004.lua b/Resources/Scripts/Scene/43002/scene43002_group243002004.lua index e1d3728c2..c08f2b200 100644 --- a/Resources/Scripts/Scene/43002/scene43002_group243002004.lua +++ b/Resources/Scripts/Scene/43002/scene43002_group243002004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 4001, group_1 = 243002004, monster_1 = 4007, diff --git a/Resources/Scripts/Scene/43002/scene43002_group243002005.lua b/Resources/Scripts/Scene/43002/scene43002_group243002005.lua index 27afaf0af..8263d8b7d 100644 --- a/Resources/Scripts/Scene/43002/scene43002_group243002005.lua +++ b/Resources/Scripts/Scene/43002/scene43002_group243002005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243002005, gadget_switch = 5013, gadget_floor = 5016, diff --git a/Resources/Scripts/Scene/43002/scene43002_group243002007.lua b/Resources/Scripts/Scene/43002/scene43002_group243002007.lua index d3de8551b..4e809a3ca 100644 --- a/Resources/Scripts/Scene/43002/scene43002_group243002007.lua +++ b/Resources/Scripts/Scene/43002/scene43002_group243002007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 7001, gadget_2 = 7002, gadget_3 = 7003, diff --git a/Resources/Scripts/Scene/43002/scene43002_group243002008.lua b/Resources/Scripts/Scene/43002/scene43002_group243002008.lua index 8504daed4..23a062080 100644 --- a/Resources/Scripts/Scene/43002/scene43002_group243002008.lua +++ b/Resources/Scripts/Scene/43002/scene43002_group243002008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243002007, group_1 = 243002008, monster_1 = 8004, diff --git a/Resources/Scripts/Scene/43002/scene43002_group243002009.lua b/Resources/Scripts/Scene/43002/scene43002_group243002009.lua index 0550e4b09..23ab2bf64 100644 --- a/Resources/Scripts/Scene/43002/scene43002_group243002009.lua +++ b/Resources/Scripts/Scene/43002/scene43002_group243002009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243002007, group_1 = 243002009, monster_1 = 9003, diff --git a/Resources/Scripts/Scene/43002/scene43002_group243002010.lua b/Resources/Scripts/Scene/43002/scene43002_group243002010.lua index 7e1fe5c9a..9d3170ff0 100644 --- a/Resources/Scripts/Scene/43002/scene43002_group243002010.lua +++ b/Resources/Scripts/Scene/43002/scene43002_group243002010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243002007, group_1 = 243002010, monster_1 = 10007, diff --git a/Resources/Scripts/Scene/43002/scene43002_group243002011.lua b/Resources/Scripts/Scene/43002/scene43002_group243002011.lua index ff2d70eb5..737c3c35b 100644 --- a/Resources/Scripts/Scene/43002/scene43002_group243002011.lua +++ b/Resources/Scripts/Scene/43002/scene43002_group243002011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243002007, group_1 = 243002011, monster_1 = 11003, diff --git a/Resources/Scripts/Scene/43002/scene43002_group243002016.lua b/Resources/Scripts/Scene/43002/scene43002_group243002016.lua index 75d5ca0df..6cfc78218 100644 --- a/Resources/Scripts/Scene/43002/scene43002_group243002016.lua +++ b/Resources/Scripts/Scene/43002/scene43002_group243002016.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 16006, group_1 = 243002016, monster_1 = 16014, diff --git a/Resources/Scripts/Scene/43002/scene43002_group243002017.lua b/Resources/Scripts/Scene/43002/scene43002_group243002017.lua index d251a8c4d..3ef104de2 100644 --- a/Resources/Scripts/Scene/43002/scene43002_group243002017.lua +++ b/Resources/Scripts/Scene/43002/scene43002_group243002017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 17006, group_1 = 243002017, monster_1 = 17014, diff --git a/Resources/Scripts/Scene/43003/scene43003_group243003001.lua b/Resources/Scripts/Scene/43003/scene43003_group243003001.lua index e83afbde7..a0a212f8a 100644 --- a/Resources/Scripts/Scene/43003/scene43003_group243003001.lua +++ b/Resources/Scripts/Scene/43003/scene43003_group243003001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 1003, group_1 = 243003001, monster_1 = 1004, diff --git a/Resources/Scripts/Scene/43003/scene43003_group243003004.lua b/Resources/Scripts/Scene/43003/scene43003_group243003004.lua index 0c13d9efb..a5de33a82 100644 --- a/Resources/Scripts/Scene/43003/scene43003_group243003004.lua +++ b/Resources/Scripts/Scene/43003/scene43003_group243003004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 4001, group_1 = 243003004, monster_1 = 4007, diff --git a/Resources/Scripts/Scene/43003/scene43003_group243003005.lua b/Resources/Scripts/Scene/43003/scene43003_group243003005.lua index 9218e8135..4f79c1e7b 100644 --- a/Resources/Scripts/Scene/43003/scene43003_group243003005.lua +++ b/Resources/Scripts/Scene/43003/scene43003_group243003005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243003005, gadget_switch = 5013, gadget_floor = 5016, diff --git a/Resources/Scripts/Scene/43003/scene43003_group243003007.lua b/Resources/Scripts/Scene/43003/scene43003_group243003007.lua index 51b4e31c8..2bb88b36c 100644 --- a/Resources/Scripts/Scene/43003/scene43003_group243003007.lua +++ b/Resources/Scripts/Scene/43003/scene43003_group243003007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 7001, gadget_2 = 7002, gadget_3 = 7003, diff --git a/Resources/Scripts/Scene/43003/scene43003_group243003008.lua b/Resources/Scripts/Scene/43003/scene43003_group243003008.lua index 95e850a24..126632b56 100644 --- a/Resources/Scripts/Scene/43003/scene43003_group243003008.lua +++ b/Resources/Scripts/Scene/43003/scene43003_group243003008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243003007, group_1 = 243003008, monster_1 = 8004, diff --git a/Resources/Scripts/Scene/43003/scene43003_group243003009.lua b/Resources/Scripts/Scene/43003/scene43003_group243003009.lua index 26279b964..3267985cf 100644 --- a/Resources/Scripts/Scene/43003/scene43003_group243003009.lua +++ b/Resources/Scripts/Scene/43003/scene43003_group243003009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243003007, group_1 = 243003009, monster_1 = 9003, diff --git a/Resources/Scripts/Scene/43003/scene43003_group243003010.lua b/Resources/Scripts/Scene/43003/scene43003_group243003010.lua index a39db4377..a92e42918 100644 --- a/Resources/Scripts/Scene/43003/scene43003_group243003010.lua +++ b/Resources/Scripts/Scene/43003/scene43003_group243003010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243003007, group_1 = 243003010, monster_1 = 10007, diff --git a/Resources/Scripts/Scene/43003/scene43003_group243003011.lua b/Resources/Scripts/Scene/43003/scene43003_group243003011.lua index 550053d68..76af4a820 100644 --- a/Resources/Scripts/Scene/43003/scene43003_group243003011.lua +++ b/Resources/Scripts/Scene/43003/scene43003_group243003011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243003007, group_1 = 243003011, monster_1 = 11003, diff --git a/Resources/Scripts/Scene/43003/scene43003_group243003016.lua b/Resources/Scripts/Scene/43003/scene43003_group243003016.lua index d020ac8f0..b695cba47 100644 --- a/Resources/Scripts/Scene/43003/scene43003_group243003016.lua +++ b/Resources/Scripts/Scene/43003/scene43003_group243003016.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 16006, group_1 = 243003016, monster_1 = 16012, diff --git a/Resources/Scripts/Scene/43003/scene43003_group243003017.lua b/Resources/Scripts/Scene/43003/scene43003_group243003017.lua index e50f5e7f7..6bf9cc4b8 100644 --- a/Resources/Scripts/Scene/43003/scene43003_group243003017.lua +++ b/Resources/Scripts/Scene/43003/scene43003_group243003017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 17006, group_1 = 243003017, monster_1 = 17014, diff --git a/Resources/Scripts/Scene/43004/scene43004_group243004001.lua b/Resources/Scripts/Scene/43004/scene43004_group243004001.lua index 3a1f8292c..a4037cb5f 100644 --- a/Resources/Scripts/Scene/43004/scene43004_group243004001.lua +++ b/Resources/Scripts/Scene/43004/scene43004_group243004001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 1003, group_1 = 243004001, monster_1 = 1004, diff --git a/Resources/Scripts/Scene/43004/scene43004_group243004004.lua b/Resources/Scripts/Scene/43004/scene43004_group243004004.lua index 86a0e861e..309617c4a 100644 --- a/Resources/Scripts/Scene/43004/scene43004_group243004004.lua +++ b/Resources/Scripts/Scene/43004/scene43004_group243004004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 4001, group_1 = 243004004, monster_1 = 4007, diff --git a/Resources/Scripts/Scene/43004/scene43004_group243004005.lua b/Resources/Scripts/Scene/43004/scene43004_group243004005.lua index 1301a8cde..40ff1e4b4 100644 --- a/Resources/Scripts/Scene/43004/scene43004_group243004005.lua +++ b/Resources/Scripts/Scene/43004/scene43004_group243004005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243004005, gadget_switch = 5013, gadget_floor = 5016, diff --git a/Resources/Scripts/Scene/43004/scene43004_group243004007.lua b/Resources/Scripts/Scene/43004/scene43004_group243004007.lua index bd365b728..6804709f9 100644 --- a/Resources/Scripts/Scene/43004/scene43004_group243004007.lua +++ b/Resources/Scripts/Scene/43004/scene43004_group243004007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 7001, gadget_2 = 7002, gadget_3 = 7003, diff --git a/Resources/Scripts/Scene/43004/scene43004_group243004008.lua b/Resources/Scripts/Scene/43004/scene43004_group243004008.lua index 8fe4c68ff..9760fa056 100644 --- a/Resources/Scripts/Scene/43004/scene43004_group243004008.lua +++ b/Resources/Scripts/Scene/43004/scene43004_group243004008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243004007, group_1 = 243004008, monster_1 = 8004, diff --git a/Resources/Scripts/Scene/43004/scene43004_group243004009.lua b/Resources/Scripts/Scene/43004/scene43004_group243004009.lua index 248308eb2..de0574b91 100644 --- a/Resources/Scripts/Scene/43004/scene43004_group243004009.lua +++ b/Resources/Scripts/Scene/43004/scene43004_group243004009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243004007, group_1 = 243004009, monster_1 = 9003, diff --git a/Resources/Scripts/Scene/43004/scene43004_group243004010.lua b/Resources/Scripts/Scene/43004/scene43004_group243004010.lua index d529dd930..13ebcc228 100644 --- a/Resources/Scripts/Scene/43004/scene43004_group243004010.lua +++ b/Resources/Scripts/Scene/43004/scene43004_group243004010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243004007, group_1 = 243004010, monster_1 = 10007, diff --git a/Resources/Scripts/Scene/43004/scene43004_group243004011.lua b/Resources/Scripts/Scene/43004/scene43004_group243004011.lua index b1846b12a..8e01621e3 100644 --- a/Resources/Scripts/Scene/43004/scene43004_group243004011.lua +++ b/Resources/Scripts/Scene/43004/scene43004_group243004011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243004007, group_1 = 243004011, monster_1 = 11003, diff --git a/Resources/Scripts/Scene/43004/scene43004_group243004016.lua b/Resources/Scripts/Scene/43004/scene43004_group243004016.lua index 1aa8be7fc..653e11ed3 100644 --- a/Resources/Scripts/Scene/43004/scene43004_group243004016.lua +++ b/Resources/Scripts/Scene/43004/scene43004_group243004016.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 16006, group_1 = 243004016, monster_1 = 16012, diff --git a/Resources/Scripts/Scene/43004/scene43004_group243004017.lua b/Resources/Scripts/Scene/43004/scene43004_group243004017.lua index 7c7c3c3d5..4cea0ca41 100644 --- a/Resources/Scripts/Scene/43004/scene43004_group243004017.lua +++ b/Resources/Scripts/Scene/43004/scene43004_group243004017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 17006, group_1 = 243004017, monster_1 = 17014, diff --git a/Resources/Scripts/Scene/43005/scene43005_group243005001.lua b/Resources/Scripts/Scene/43005/scene43005_group243005001.lua index 18295fd4d..9be2f569a 100644 --- a/Resources/Scripts/Scene/43005/scene43005_group243005001.lua +++ b/Resources/Scripts/Scene/43005/scene43005_group243005001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 1003, group_1 = 243005001, monster_1 = 1004, diff --git a/Resources/Scripts/Scene/43005/scene43005_group243005004.lua b/Resources/Scripts/Scene/43005/scene43005_group243005004.lua index 6178ecae7..ce588bea1 100644 --- a/Resources/Scripts/Scene/43005/scene43005_group243005004.lua +++ b/Resources/Scripts/Scene/43005/scene43005_group243005004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 4001, group_1 = 243005004, monster_1 = 4007, diff --git a/Resources/Scripts/Scene/43005/scene43005_group243005005.lua b/Resources/Scripts/Scene/43005/scene43005_group243005005.lua index b91571f83..562fa80ad 100644 --- a/Resources/Scripts/Scene/43005/scene43005_group243005005.lua +++ b/Resources/Scripts/Scene/43005/scene43005_group243005005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243005005, gadget_switch = 5013, gadget_floor = 5016, diff --git a/Resources/Scripts/Scene/43005/scene43005_group243005007.lua b/Resources/Scripts/Scene/43005/scene43005_group243005007.lua index 5d000495c..0c6af69ac 100644 --- a/Resources/Scripts/Scene/43005/scene43005_group243005007.lua +++ b/Resources/Scripts/Scene/43005/scene43005_group243005007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 7001, gadget_2 = 7002, gadget_3 = 7003, diff --git a/Resources/Scripts/Scene/43005/scene43005_group243005008.lua b/Resources/Scripts/Scene/43005/scene43005_group243005008.lua index faddf272e..fc41389b7 100644 --- a/Resources/Scripts/Scene/43005/scene43005_group243005008.lua +++ b/Resources/Scripts/Scene/43005/scene43005_group243005008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243005007, group_1 = 243005008, monster_1 = 8005, diff --git a/Resources/Scripts/Scene/43005/scene43005_group243005009.lua b/Resources/Scripts/Scene/43005/scene43005_group243005009.lua index 448f7fe57..950a74ae3 100644 --- a/Resources/Scripts/Scene/43005/scene43005_group243005009.lua +++ b/Resources/Scripts/Scene/43005/scene43005_group243005009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243005007, group_1 = 243005009, monster_1 = 9003, diff --git a/Resources/Scripts/Scene/43005/scene43005_group243005010.lua b/Resources/Scripts/Scene/43005/scene43005_group243005010.lua index 31ea4bf1c..a83695bf4 100644 --- a/Resources/Scripts/Scene/43005/scene43005_group243005010.lua +++ b/Resources/Scripts/Scene/43005/scene43005_group243005010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243005007, group_1 = 243005010, monster_1 = 10007, diff --git a/Resources/Scripts/Scene/43005/scene43005_group243005011.lua b/Resources/Scripts/Scene/43005/scene43005_group243005011.lua index fc147d6da..02a52315e 100644 --- a/Resources/Scripts/Scene/43005/scene43005_group243005011.lua +++ b/Resources/Scripts/Scene/43005/scene43005_group243005011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243005007, group_1 = 243005011, monster_1 = 11003, diff --git a/Resources/Scripts/Scene/43005/scene43005_group243005016.lua b/Resources/Scripts/Scene/43005/scene43005_group243005016.lua index 8a6fd11d4..f7dc3dbd4 100644 --- a/Resources/Scripts/Scene/43005/scene43005_group243005016.lua +++ b/Resources/Scripts/Scene/43005/scene43005_group243005016.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 16006, group_1 = 243005016, monster_1 = 16012, diff --git a/Resources/Scripts/Scene/43005/scene43005_group243005017.lua b/Resources/Scripts/Scene/43005/scene43005_group243005017.lua index 094d6e10d..36377339b 100644 --- a/Resources/Scripts/Scene/43005/scene43005_group243005017.lua +++ b/Resources/Scripts/Scene/43005/scene43005_group243005017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 17006, group_1 = 243005017, monster_1 = 17014, diff --git a/Resources/Scripts/Scene/43006/scene43006_group243006001.lua b/Resources/Scripts/Scene/43006/scene43006_group243006001.lua index 043d37cea..686c7cd11 100644 --- a/Resources/Scripts/Scene/43006/scene43006_group243006001.lua +++ b/Resources/Scripts/Scene/43006/scene43006_group243006001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 1003, group_1 = 243006001, monster_1 = 1004, diff --git a/Resources/Scripts/Scene/43006/scene43006_group243006004.lua b/Resources/Scripts/Scene/43006/scene43006_group243006004.lua index 7e2e2d789..0931eac7d 100644 --- a/Resources/Scripts/Scene/43006/scene43006_group243006004.lua +++ b/Resources/Scripts/Scene/43006/scene43006_group243006004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 4001, group_1 = 243006004, monster_1 = 4007, diff --git a/Resources/Scripts/Scene/43006/scene43006_group243006005.lua b/Resources/Scripts/Scene/43006/scene43006_group243006005.lua index 9f84a7a71..81f9b77ce 100644 --- a/Resources/Scripts/Scene/43006/scene43006_group243006005.lua +++ b/Resources/Scripts/Scene/43006/scene43006_group243006005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243006005, gadget_switch = 5013, gadget_floor = 5016, diff --git a/Resources/Scripts/Scene/43006/scene43006_group243006007.lua b/Resources/Scripts/Scene/43006/scene43006_group243006007.lua index 3e473d7f5..c27f174b9 100644 --- a/Resources/Scripts/Scene/43006/scene43006_group243006007.lua +++ b/Resources/Scripts/Scene/43006/scene43006_group243006007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 7001, gadget_2 = 7002, gadget_3 = 7003, diff --git a/Resources/Scripts/Scene/43006/scene43006_group243006008.lua b/Resources/Scripts/Scene/43006/scene43006_group243006008.lua index a64187748..ef650629b 100644 --- a/Resources/Scripts/Scene/43006/scene43006_group243006008.lua +++ b/Resources/Scripts/Scene/43006/scene43006_group243006008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243006007, group_1 = 243006008, monster_1 = 8004, diff --git a/Resources/Scripts/Scene/43006/scene43006_group243006009.lua b/Resources/Scripts/Scene/43006/scene43006_group243006009.lua index b741b90de..43c5d963e 100644 --- a/Resources/Scripts/Scene/43006/scene43006_group243006009.lua +++ b/Resources/Scripts/Scene/43006/scene43006_group243006009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243006007, group_1 = 243006009, monster_1 = 9003, diff --git a/Resources/Scripts/Scene/43006/scene43006_group243006010.lua b/Resources/Scripts/Scene/43006/scene43006_group243006010.lua index 6b4701392..4343f9408 100644 --- a/Resources/Scripts/Scene/43006/scene43006_group243006010.lua +++ b/Resources/Scripts/Scene/43006/scene43006_group243006010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243006007, group_1 = 243006010, monster_1 = 10007, diff --git a/Resources/Scripts/Scene/43006/scene43006_group243006011.lua b/Resources/Scripts/Scene/43006/scene43006_group243006011.lua index d5e844118..48ecc200a 100644 --- a/Resources/Scripts/Scene/43006/scene43006_group243006011.lua +++ b/Resources/Scripts/Scene/43006/scene43006_group243006011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_main = 243006007, group_1 = 243006011, monster_1 = 11003, diff --git a/Resources/Scripts/Scene/43006/scene43006_group243006016.lua b/Resources/Scripts/Scene/43006/scene43006_group243006016.lua index 51599b178..7b6cb7b6e 100644 --- a/Resources/Scripts/Scene/43006/scene43006_group243006016.lua +++ b/Resources/Scripts/Scene/43006/scene43006_group243006016.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 16006, group_1 = 243006016, monster_1 = 16012, diff --git a/Resources/Scripts/Scene/43006/scene43006_group243006017.lua b/Resources/Scripts/Scene/43006/scene43006_group243006017.lua index a157d2898..f12ee6e4f 100644 --- a/Resources/Scripts/Scene/43006/scene43006_group243006017.lua +++ b/Resources/Scripts/Scene/43006/scene43006_group243006017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 17006, group_1 = 243006017, monster_1 = 17014, diff --git a/Resources/Scripts/Scene/43007/scene43007_group243007001.lua b/Resources/Scripts/Scene/43007/scene43007_group243007001.lua index bf0f7e21c..12ee965ac 100644 --- a/Resources/Scripts/Scene/43007/scene43007_group243007001.lua +++ b/Resources/Scripts/Scene/43007/scene43007_group243007001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 1003, group_1 = 243007001, Region1 = 1015, diff --git a/Resources/Scripts/Scene/43007/scene43007_group243007004.lua b/Resources/Scripts/Scene/43007/scene43007_group243007004.lua index c864da438..bf1de2c93 100644 --- a/Resources/Scripts/Scene/43007/scene43007_group243007004.lua +++ b/Resources/Scripts/Scene/43007/scene43007_group243007004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 4001, group_1 = 243007004, group_core = 243007005, diff --git a/Resources/Scripts/Scene/43007/scene43007_group243007005.lua b/Resources/Scripts/Scene/43007/scene43007_group243007005.lua index 5a895ba28..7fcb90e2e 100644 --- a/Resources/Scripts/Scene/43007/scene43007_group243007005.lua +++ b/Resources/Scripts/Scene/43007/scene43007_group243007005.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --galleryID gallery_id = 7035, diff --git a/Resources/Scripts/Scene/43007/scene43007_group243007008.lua b/Resources/Scripts/Scene/43007/scene43007_group243007008.lua index 9f19573ee..32ee7c18c 100644 --- a/Resources/Scripts/Scene/43007/scene43007_group243007008.lua +++ b/Resources/Scripts/Scene/43007/scene43007_group243007008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243007008, challenge1 = 101, Region1 = 8011, diff --git a/Resources/Scripts/Scene/43007/scene43007_group243007009.lua b/Resources/Scripts/Scene/43007/scene43007_group243007009.lua index f036efa46..46775c977 100644 --- a/Resources/Scripts/Scene/43007/scene43007_group243007009.lua +++ b/Resources/Scripts/Scene/43007/scene43007_group243007009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243007009, challenge1 = 201, Region1 = 9011, diff --git a/Resources/Scripts/Scene/43007/scene43007_group243007010.lua b/Resources/Scripts/Scene/43007/scene43007_group243007010.lua index 906707a73..23b0ad0d3 100644 --- a/Resources/Scripts/Scene/43007/scene43007_group243007010.lua +++ b/Resources/Scripts/Scene/43007/scene43007_group243007010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243007010, challenge1 = 301, Region1 = 10012, diff --git a/Resources/Scripts/Scene/43007/scene43007_group243007011.lua b/Resources/Scripts/Scene/43007/scene43007_group243007011.lua index eca235128..c7ebaa811 100644 --- a/Resources/Scripts/Scene/43007/scene43007_group243007011.lua +++ b/Resources/Scripts/Scene/43007/scene43007_group243007011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243007011, challenge1 = 401, Region1 = 11012, diff --git a/Resources/Scripts/Scene/43007/scene43007_group243007016.lua b/Resources/Scripts/Scene/43007/scene43007_group243007016.lua index d6144ab9a..5114ba4d3 100644 --- a/Resources/Scripts/Scene/43007/scene43007_group243007016.lua +++ b/Resources/Scripts/Scene/43007/scene43007_group243007016.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 16006, group_1 = 243007016, Region1 = 16015, diff --git a/Resources/Scripts/Scene/43007/scene43007_group243007017.lua b/Resources/Scripts/Scene/43007/scene43007_group243007017.lua index 579f9c70a..4afbd6653 100644 --- a/Resources/Scripts/Scene/43007/scene43007_group243007017.lua +++ b/Resources/Scripts/Scene/43007/scene43007_group243007017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 17006, group_1 = 243007017, Region1 = 17015, diff --git a/Resources/Scripts/Scene/43008/scene43008_group243008001.lua b/Resources/Scripts/Scene/43008/scene43008_group243008001.lua index 466664c93..26996ccc0 100644 --- a/Resources/Scripts/Scene/43008/scene43008_group243008001.lua +++ b/Resources/Scripts/Scene/43008/scene43008_group243008001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 1003, group_1 = 243008001, Region1 = 1010, diff --git a/Resources/Scripts/Scene/43008/scene43008_group243008004.lua b/Resources/Scripts/Scene/43008/scene43008_group243008004.lua index 22026cae8..caa579173 100644 --- a/Resources/Scripts/Scene/43008/scene43008_group243008004.lua +++ b/Resources/Scripts/Scene/43008/scene43008_group243008004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 4001, group_1 = 243008004, group_core = 243008005, diff --git a/Resources/Scripts/Scene/43008/scene43008_group243008005.lua b/Resources/Scripts/Scene/43008/scene43008_group243008005.lua index 7db698767..d22053616 100644 --- a/Resources/Scripts/Scene/43008/scene43008_group243008005.lua +++ b/Resources/Scripts/Scene/43008/scene43008_group243008005.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --galleryID gallery_id = 7036, diff --git a/Resources/Scripts/Scene/43008/scene43008_group243008008.lua b/Resources/Scripts/Scene/43008/scene43008_group243008008.lua index bf7466025..a5e369542 100644 --- a/Resources/Scripts/Scene/43008/scene43008_group243008008.lua +++ b/Resources/Scripts/Scene/43008/scene43008_group243008008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243008008, challenge1 = 101, Region1 = 8010, diff --git a/Resources/Scripts/Scene/43008/scene43008_group243008009.lua b/Resources/Scripts/Scene/43008/scene43008_group243008009.lua index ad5a5acf3..8a2f422a5 100644 --- a/Resources/Scripts/Scene/43008/scene43008_group243008009.lua +++ b/Resources/Scripts/Scene/43008/scene43008_group243008009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243008009, challenge1 = 201, Region1 = 9011, diff --git a/Resources/Scripts/Scene/43008/scene43008_group243008010.lua b/Resources/Scripts/Scene/43008/scene43008_group243008010.lua index e8e5a6664..2dc94503b 100644 --- a/Resources/Scripts/Scene/43008/scene43008_group243008010.lua +++ b/Resources/Scripts/Scene/43008/scene43008_group243008010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243008010, challenge1 = 301, Region1 = 10012, diff --git a/Resources/Scripts/Scene/43008/scene43008_group243008011.lua b/Resources/Scripts/Scene/43008/scene43008_group243008011.lua index a093c0f3c..87026e1b2 100644 --- a/Resources/Scripts/Scene/43008/scene43008_group243008011.lua +++ b/Resources/Scripts/Scene/43008/scene43008_group243008011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243008011, challenge1 = 401, Region1 = 11012, diff --git a/Resources/Scripts/Scene/43008/scene43008_group243008016.lua b/Resources/Scripts/Scene/43008/scene43008_group243008016.lua index a6c4c8a17..354879c5b 100644 --- a/Resources/Scripts/Scene/43008/scene43008_group243008016.lua +++ b/Resources/Scripts/Scene/43008/scene43008_group243008016.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 16006, group_1 = 243008016, Region1 = 16015, diff --git a/Resources/Scripts/Scene/43008/scene43008_group243008017.lua b/Resources/Scripts/Scene/43008/scene43008_group243008017.lua index 5ac41457d..5cc9865eb 100644 --- a/Resources/Scripts/Scene/43008/scene43008_group243008017.lua +++ b/Resources/Scripts/Scene/43008/scene43008_group243008017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 17006, group_1 = 243008017, Region1 = 17011, diff --git a/Resources/Scripts/Scene/43009/scene43009_group243009001.lua b/Resources/Scripts/Scene/43009/scene43009_group243009001.lua index 787915cc3..66c48a305 100644 --- a/Resources/Scripts/Scene/43009/scene43009_group243009001.lua +++ b/Resources/Scripts/Scene/43009/scene43009_group243009001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 1001, group_1 = 243009001, Region1 = 1005, diff --git a/Resources/Scripts/Scene/43009/scene43009_group243009002.lua b/Resources/Scripts/Scene/43009/scene43009_group243009002.lua index b59f07dbe..af3ec8269 100644 --- a/Resources/Scripts/Scene/43009/scene43009_group243009002.lua +++ b/Resources/Scripts/Scene/43009/scene43009_group243009002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 2001, group_1 = 243009002, group_core = 243009003, diff --git a/Resources/Scripts/Scene/43009/scene43009_group243009003.lua b/Resources/Scripts/Scene/43009/scene43009_group243009003.lua index ac0f8a242..9f0aa8a84 100644 --- a/Resources/Scripts/Scene/43009/scene43009_group243009003.lua +++ b/Resources/Scripts/Scene/43009/scene43009_group243009003.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --galleryID gallery_id = 7037, diff --git a/Resources/Scripts/Scene/43009/scene43009_group243009005.lua b/Resources/Scripts/Scene/43009/scene43009_group243009005.lua index d851f3db3..7d6a1d40c 100644 --- a/Resources/Scripts/Scene/43009/scene43009_group243009005.lua +++ b/Resources/Scripts/Scene/43009/scene43009_group243009005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243009005, challenge1 = 101, Region1 = 5006, diff --git a/Resources/Scripts/Scene/43009/scene43009_group243009006.lua b/Resources/Scripts/Scene/43009/scene43009_group243009006.lua index 9da2f61fe..4f2c0ed72 100644 --- a/Resources/Scripts/Scene/43009/scene43009_group243009006.lua +++ b/Resources/Scripts/Scene/43009/scene43009_group243009006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243009006, challenge1 = 201, Region1 = 6007, diff --git a/Resources/Scripts/Scene/43009/scene43009_group243009007.lua b/Resources/Scripts/Scene/43009/scene43009_group243009007.lua index 7612fe70c..48605da93 100644 --- a/Resources/Scripts/Scene/43009/scene43009_group243009007.lua +++ b/Resources/Scripts/Scene/43009/scene43009_group243009007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243009007, challenge1 = 301, Region1 = 7007, diff --git a/Resources/Scripts/Scene/43009/scene43009_group243009008.lua b/Resources/Scripts/Scene/43009/scene43009_group243009008.lua index 80a901294..66239a261 100644 --- a/Resources/Scripts/Scene/43009/scene43009_group243009008.lua +++ b/Resources/Scripts/Scene/43009/scene43009_group243009008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243009008, challenge1 = 401, Region1 = 8007, diff --git a/Resources/Scripts/Scene/43009/scene43009_group243009011.lua b/Resources/Scripts/Scene/43009/scene43009_group243009011.lua index 5e0dc0d2e..128e28ef1 100644 --- a/Resources/Scripts/Scene/43009/scene43009_group243009011.lua +++ b/Resources/Scripts/Scene/43009/scene43009_group243009011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 11001, group_1 = 243009011, Region1 = 11006, diff --git a/Resources/Scripts/Scene/43009/scene43009_group243009012.lua b/Resources/Scripts/Scene/43009/scene43009_group243009012.lua index 8d26f5d6e..da5397252 100644 --- a/Resources/Scripts/Scene/43009/scene43009_group243009012.lua +++ b/Resources/Scripts/Scene/43009/scene43009_group243009012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 12001, group_1 = 243009012, Region1 = 12006, diff --git a/Resources/Scripts/Scene/43010/scene43010_group243010001.lua b/Resources/Scripts/Scene/43010/scene43010_group243010001.lua index 9f15bd437..5514a4964 100644 --- a/Resources/Scripts/Scene/43010/scene43010_group243010001.lua +++ b/Resources/Scripts/Scene/43010/scene43010_group243010001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 1001, group_1 = 243010001, Region1 = 1005, diff --git a/Resources/Scripts/Scene/43010/scene43010_group243010002.lua b/Resources/Scripts/Scene/43010/scene43010_group243010002.lua index 0851674a3..90478ea94 100644 --- a/Resources/Scripts/Scene/43010/scene43010_group243010002.lua +++ b/Resources/Scripts/Scene/43010/scene43010_group243010002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 2001, group_1 = 243010002, group_core = 243010003, diff --git a/Resources/Scripts/Scene/43010/scene43010_group243010003.lua b/Resources/Scripts/Scene/43010/scene43010_group243010003.lua index 4210dfae9..4532c1bb6 100644 --- a/Resources/Scripts/Scene/43010/scene43010_group243010003.lua +++ b/Resources/Scripts/Scene/43010/scene43010_group243010003.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --galleryID gallery_id = 7038, diff --git a/Resources/Scripts/Scene/43010/scene43010_group243010005.lua b/Resources/Scripts/Scene/43010/scene43010_group243010005.lua index 02c1195c7..6ef577525 100644 --- a/Resources/Scripts/Scene/43010/scene43010_group243010005.lua +++ b/Resources/Scripts/Scene/43010/scene43010_group243010005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243010005, challenge1 = 101, Region1 = 5006, diff --git a/Resources/Scripts/Scene/43010/scene43010_group243010006.lua b/Resources/Scripts/Scene/43010/scene43010_group243010006.lua index e95415ee8..ca5fbdc60 100644 --- a/Resources/Scripts/Scene/43010/scene43010_group243010006.lua +++ b/Resources/Scripts/Scene/43010/scene43010_group243010006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243010006, challenge1 = 201, Region1 = 6007, diff --git a/Resources/Scripts/Scene/43010/scene43010_group243010007.lua b/Resources/Scripts/Scene/43010/scene43010_group243010007.lua index dde7ed7d4..0b1bbfb69 100644 --- a/Resources/Scripts/Scene/43010/scene43010_group243010007.lua +++ b/Resources/Scripts/Scene/43010/scene43010_group243010007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243010007, challenge1 = 301, Region1 = 7007, diff --git a/Resources/Scripts/Scene/43010/scene43010_group243010008.lua b/Resources/Scripts/Scene/43010/scene43010_group243010008.lua index ac5cf9411..86a2269d8 100644 --- a/Resources/Scripts/Scene/43010/scene43010_group243010008.lua +++ b/Resources/Scripts/Scene/43010/scene43010_group243010008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243010008, challenge1 = 401, Region1 = 8007, diff --git a/Resources/Scripts/Scene/43010/scene43010_group243010011.lua b/Resources/Scripts/Scene/43010/scene43010_group243010011.lua index 1e78375d5..08f06beb5 100644 --- a/Resources/Scripts/Scene/43010/scene43010_group243010011.lua +++ b/Resources/Scripts/Scene/43010/scene43010_group243010011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 11001, group_1 = 243010011, Region1 = 11006, diff --git a/Resources/Scripts/Scene/43010/scene43010_group243010012.lua b/Resources/Scripts/Scene/43010/scene43010_group243010012.lua index d7d31cb74..0abf13bf0 100644 --- a/Resources/Scripts/Scene/43010/scene43010_group243010012.lua +++ b/Resources/Scripts/Scene/43010/scene43010_group243010012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 12001, group_1 = 243010012, Region1 = 12006, diff --git a/Resources/Scripts/Scene/43011/scene43011_group243011001.lua b/Resources/Scripts/Scene/43011/scene43011_group243011001.lua index 8512f4a15..b9a127b20 100644 --- a/Resources/Scripts/Scene/43011/scene43011_group243011001.lua +++ b/Resources/Scripts/Scene/43011/scene43011_group243011001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 1001, group_1 = 243011001, Region1 = 1005, diff --git a/Resources/Scripts/Scene/43011/scene43011_group243011002.lua b/Resources/Scripts/Scene/43011/scene43011_group243011002.lua index 4aa676901..487f5068c 100644 --- a/Resources/Scripts/Scene/43011/scene43011_group243011002.lua +++ b/Resources/Scripts/Scene/43011/scene43011_group243011002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 2001, group_1 = 243011002, group_core = 243011003, diff --git a/Resources/Scripts/Scene/43011/scene43011_group243011003.lua b/Resources/Scripts/Scene/43011/scene43011_group243011003.lua index 10b5db2e4..ac85fcff4 100644 --- a/Resources/Scripts/Scene/43011/scene43011_group243011003.lua +++ b/Resources/Scripts/Scene/43011/scene43011_group243011003.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --galleryID gallery_id = 7039, diff --git a/Resources/Scripts/Scene/43011/scene43011_group243011005.lua b/Resources/Scripts/Scene/43011/scene43011_group243011005.lua index 102131d19..c5980e9a0 100644 --- a/Resources/Scripts/Scene/43011/scene43011_group243011005.lua +++ b/Resources/Scripts/Scene/43011/scene43011_group243011005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243011005, challenge1 = 101, Region1 = 5006, diff --git a/Resources/Scripts/Scene/43011/scene43011_group243011006.lua b/Resources/Scripts/Scene/43011/scene43011_group243011006.lua index 6b1d0afe1..1c404f811 100644 --- a/Resources/Scripts/Scene/43011/scene43011_group243011006.lua +++ b/Resources/Scripts/Scene/43011/scene43011_group243011006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243011006, challenge1 = 201, Region1 = 6007, diff --git a/Resources/Scripts/Scene/43011/scene43011_group243011007.lua b/Resources/Scripts/Scene/43011/scene43011_group243011007.lua index 5ab874db5..38114e54e 100644 --- a/Resources/Scripts/Scene/43011/scene43011_group243011007.lua +++ b/Resources/Scripts/Scene/43011/scene43011_group243011007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243011007, challenge1 = 301, Region1 = 7007, diff --git a/Resources/Scripts/Scene/43011/scene43011_group243011008.lua b/Resources/Scripts/Scene/43011/scene43011_group243011008.lua index f263bd75f..169dff02c 100644 --- a/Resources/Scripts/Scene/43011/scene43011_group243011008.lua +++ b/Resources/Scripts/Scene/43011/scene43011_group243011008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243011008, challenge1 = 401, Region1 = 8007, diff --git a/Resources/Scripts/Scene/43011/scene43011_group243011011.lua b/Resources/Scripts/Scene/43011/scene43011_group243011011.lua index 1ffca4514..a542d3b66 100644 --- a/Resources/Scripts/Scene/43011/scene43011_group243011011.lua +++ b/Resources/Scripts/Scene/43011/scene43011_group243011011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 11001, group_1 = 243011011, Region1 = 11006, diff --git a/Resources/Scripts/Scene/43011/scene43011_group243011012.lua b/Resources/Scripts/Scene/43011/scene43011_group243011012.lua index 4451f1e51..429bf1ce8 100644 --- a/Resources/Scripts/Scene/43011/scene43011_group243011012.lua +++ b/Resources/Scripts/Scene/43011/scene43011_group243011012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 12001, group_1 = 243011012, Region1 = 12006, diff --git a/Resources/Scripts/Scene/43012/scene43012_group243012001.lua b/Resources/Scripts/Scene/43012/scene43012_group243012001.lua index 9563d3c2d..e269aa0a7 100644 --- a/Resources/Scripts/Scene/43012/scene43012_group243012001.lua +++ b/Resources/Scripts/Scene/43012/scene43012_group243012001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 1001, group_1 = 243012001, Region1 = 1005, diff --git a/Resources/Scripts/Scene/43012/scene43012_group243012002.lua b/Resources/Scripts/Scene/43012/scene43012_group243012002.lua index 2c552442c..d5aa617d7 100644 --- a/Resources/Scripts/Scene/43012/scene43012_group243012002.lua +++ b/Resources/Scripts/Scene/43012/scene43012_group243012002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 2001, group_1 = 243012002, group_core = 243012003, diff --git a/Resources/Scripts/Scene/43012/scene43012_group243012003.lua b/Resources/Scripts/Scene/43012/scene43012_group243012003.lua index aa4b2dc34..f0649f4d9 100644 --- a/Resources/Scripts/Scene/43012/scene43012_group243012003.lua +++ b/Resources/Scripts/Scene/43012/scene43012_group243012003.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --galleryID gallery_id = 7040, diff --git a/Resources/Scripts/Scene/43012/scene43012_group243012005.lua b/Resources/Scripts/Scene/43012/scene43012_group243012005.lua index bb3bd072f..03ef88302 100644 --- a/Resources/Scripts/Scene/43012/scene43012_group243012005.lua +++ b/Resources/Scripts/Scene/43012/scene43012_group243012005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243012005, challenge1 = 101, Region1 = 5006, diff --git a/Resources/Scripts/Scene/43012/scene43012_group243012006.lua b/Resources/Scripts/Scene/43012/scene43012_group243012006.lua index 9271f6248..38aa4da1a 100644 --- a/Resources/Scripts/Scene/43012/scene43012_group243012006.lua +++ b/Resources/Scripts/Scene/43012/scene43012_group243012006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243012006, challenge1 = 201, Region1 = 6007, diff --git a/Resources/Scripts/Scene/43012/scene43012_group243012007.lua b/Resources/Scripts/Scene/43012/scene43012_group243012007.lua index ee1f36bb0..cdfac259e 100644 --- a/Resources/Scripts/Scene/43012/scene43012_group243012007.lua +++ b/Resources/Scripts/Scene/43012/scene43012_group243012007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243012007, challenge1 = 301, Region1 = 7007, diff --git a/Resources/Scripts/Scene/43012/scene43012_group243012008.lua b/Resources/Scripts/Scene/43012/scene43012_group243012008.lua index f3afb05a1..05e62de11 100644 --- a/Resources/Scripts/Scene/43012/scene43012_group243012008.lua +++ b/Resources/Scripts/Scene/43012/scene43012_group243012008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243012008, challenge1 = 401, Region1 = 8007, diff --git a/Resources/Scripts/Scene/43012/scene43012_group243012011.lua b/Resources/Scripts/Scene/43012/scene43012_group243012011.lua index e2fd65697..9e94821a6 100644 --- a/Resources/Scripts/Scene/43012/scene43012_group243012011.lua +++ b/Resources/Scripts/Scene/43012/scene43012_group243012011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 11001, group_1 = 243012011, Region1 = 11006, diff --git a/Resources/Scripts/Scene/43012/scene43012_group243012012.lua b/Resources/Scripts/Scene/43012/scene43012_group243012012.lua index b59e963e5..aa908b844 100644 --- a/Resources/Scripts/Scene/43012/scene43012_group243012012.lua +++ b/Resources/Scripts/Scene/43012/scene43012_group243012012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 12001, group_1 = 243012012, Region1 = 12006, diff --git a/Resources/Scripts/Scene/43013/scene43013_group243013001.lua b/Resources/Scripts/Scene/43013/scene43013_group243013001.lua index 7e001b0d5..8d57ebbb6 100644 --- a/Resources/Scripts/Scene/43013/scene43013_group243013001.lua +++ b/Resources/Scripts/Scene/43013/scene43013_group243013001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 1003, group_1 = 243013001, Region1 = 1015, diff --git a/Resources/Scripts/Scene/43013/scene43013_group243013002.lua b/Resources/Scripts/Scene/43013/scene43013_group243013002.lua index 9d9909c06..2913ac913 100644 --- a/Resources/Scripts/Scene/43013/scene43013_group243013002.lua +++ b/Resources/Scripts/Scene/43013/scene43013_group243013002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243013002, challenge1 = 101, Region1 = 2006, diff --git a/Resources/Scripts/Scene/43013/scene43013_group243013003.lua b/Resources/Scripts/Scene/43013/scene43013_group243013003.lua index ce942b28c..cd1d515af 100644 --- a/Resources/Scripts/Scene/43013/scene43013_group243013003.lua +++ b/Resources/Scripts/Scene/43013/scene43013_group243013003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243013003, challenge1 = 201, Region1 = 3006, diff --git a/Resources/Scripts/Scene/43013/scene43013_group243013004.lua b/Resources/Scripts/Scene/43013/scene43013_group243013004.lua index 13d685773..d2b180b38 100644 --- a/Resources/Scripts/Scene/43013/scene43013_group243013004.lua +++ b/Resources/Scripts/Scene/43013/scene43013_group243013004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 4001, group_1 = 243013004, group_core = 243013005, diff --git a/Resources/Scripts/Scene/43013/scene43013_group243013005.lua b/Resources/Scripts/Scene/43013/scene43013_group243013005.lua index 8b6ba625e..5bc3cb368 100644 --- a/Resources/Scripts/Scene/43013/scene43013_group243013005.lua +++ b/Resources/Scripts/Scene/43013/scene43013_group243013005.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --galleryID gallery_id = 7041, diff --git a/Resources/Scripts/Scene/43013/scene43013_group243013007.lua b/Resources/Scripts/Scene/43013/scene43013_group243013007.lua index ba4af31fc..a8d0ff7e8 100644 --- a/Resources/Scripts/Scene/43013/scene43013_group243013007.lua +++ b/Resources/Scripts/Scene/43013/scene43013_group243013007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243013007, challenge1 = 301, Region1 = 7006, diff --git a/Resources/Scripts/Scene/43013/scene43013_group243013008.lua b/Resources/Scripts/Scene/43013/scene43013_group243013008.lua index e0ed4be26..87e80d66b 100644 --- a/Resources/Scripts/Scene/43013/scene43013_group243013008.lua +++ b/Resources/Scripts/Scene/43013/scene43013_group243013008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_1 = 243013008, challenge1 = 401, Region1 = 8006, diff --git a/Resources/Scripts/Scene/43013/scene43013_group243013016.lua b/Resources/Scripts/Scene/43013/scene43013_group243013016.lua index 54a5c772a..e77ccdb39 100644 --- a/Resources/Scripts/Scene/43013/scene43013_group243013016.lua +++ b/Resources/Scripts/Scene/43013/scene43013_group243013016.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 16006, group_1 = 243013016, Region1 = 16015, diff --git a/Resources/Scripts/Scene/43013/scene43013_group243013017.lua b/Resources/Scripts/Scene/43013/scene43013_group243013017.lua index fc664e0f7..dc6988acd 100644 --- a/Resources/Scripts/Scene/43013/scene43013_group243013017.lua +++ b/Resources/Scripts/Scene/43013/scene43013_group243013017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 17006, group_1 = 243013017, Region1 = 17015, diff --git a/Resources/Scripts/Scene/44013/scene44013_group244013001.lua b/Resources/Scripts/Scene/44013/scene44013_group244013001.lua index 1e38e40dd..1b3e668e2 100644 --- a/Resources/Scripts/Scene/44013/scene44013_group244013001.lua +++ b/Resources/Scripts/Scene/44013/scene44013_group244013001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { buff_gadget = 1013 } diff --git a/Resources/Scripts/Scene/45000/scene45000_group245000001.lua b/Resources/Scripts/Scene/45000/scene45000_group245000001.lua index 38488516b..350fd0825 100644 --- a/Resources/Scripts/Scene/45000/scene45000_group245000001.lua +++ b/Resources/Scripts/Scene/45000/scene45000_group245000001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245000001, gear_group_id = 245000002, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/45000/scene45000_group245000002.lua b/Resources/Scripts/Scene/45000/scene45000_group245000002.lua index 81d78ba02..9f57edc48 100644 --- a/Resources/Scripts/Scene/45000/scene45000_group245000002.lua +++ b/Resources/Scripts/Scene/45000/scene45000_group245000002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245000002, monster_points = 1, max_points = 100, diff --git a/Resources/Scripts/Scene/45000/scene45000_group245000003.lua b/Resources/Scripts/Scene/45000/scene45000_group245000003.lua index 736809a52..044764b30 100644 --- a/Resources/Scripts/Scene/45000/scene45000_group245000003.lua +++ b/Resources/Scripts/Scene/45000/scene45000_group245000003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245000003, gear_group_id = 245000002 } diff --git a/Resources/Scripts/Scene/45000/scene45000_group245000004.lua b/Resources/Scripts/Scene/45000/scene45000_group245000004.lua index 0d1ad47ae..5b8d7e706 100644 --- a/Resources/Scripts/Scene/45000/scene45000_group245000004.lua +++ b/Resources/Scripts/Scene/45000/scene45000_group245000004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245000004, gear_group_id = 245000002 } diff --git a/Resources/Scripts/Scene/45000/scene45000_group245000005.lua b/Resources/Scripts/Scene/45000/scene45000_group245000005.lua index 6b0990fb3..349a9a9e9 100644 --- a/Resources/Scripts/Scene/45000/scene45000_group245000005.lua +++ b/Resources/Scripts/Scene/45000/scene45000_group245000005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245000005, gear_group_id = 245000002 } diff --git a/Resources/Scripts/Scene/45000/scene45000_group245000006.lua b/Resources/Scripts/Scene/45000/scene45000_group245000006.lua index 58c19ac6f..07ab8cd5a 100644 --- a/Resources/Scripts/Scene/45000/scene45000_group245000006.lua +++ b/Resources/Scripts/Scene/45000/scene45000_group245000006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245000006, gear_group_id = 245000002 } diff --git a/Resources/Scripts/Scene/45000/scene45000_group245000007.lua b/Resources/Scripts/Scene/45000/scene45000_group245000007.lua index f3f4a7530..521081eeb 100644 --- a/Resources/Scripts/Scene/45000/scene45000_group245000007.lua +++ b/Resources/Scripts/Scene/45000/scene45000_group245000007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245000007, gear_group_id = 245000002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45000/scene45000_group245000008.lua b/Resources/Scripts/Scene/45000/scene45000_group245000008.lua index 80666fd3a..d916a15ff 100644 --- a/Resources/Scripts/Scene/45000/scene45000_group245000008.lua +++ b/Resources/Scripts/Scene/45000/scene45000_group245000008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245000008, gear_group_id = 245000002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45000/scene45000_group245000009.lua b/Resources/Scripts/Scene/45000/scene45000_group245000009.lua index f591d502b..de8f3a760 100644 --- a/Resources/Scripts/Scene/45000/scene45000_group245000009.lua +++ b/Resources/Scripts/Scene/45000/scene45000_group245000009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245000009, gear_group_id = 245000002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45000/scene45000_group245000010.lua b/Resources/Scripts/Scene/45000/scene45000_group245000010.lua index ad22ad49f..25be7f256 100644 --- a/Resources/Scripts/Scene/45000/scene45000_group245000010.lua +++ b/Resources/Scripts/Scene/45000/scene45000_group245000010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245000010, gear_group_id = 245000002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45000/scene45000_group245000011.lua b/Resources/Scripts/Scene/45000/scene45000_group245000011.lua index 699b83c58..751ad384e 100644 --- a/Resources/Scripts/Scene/45000/scene45000_group245000011.lua +++ b/Resources/Scripts/Scene/45000/scene45000_group245000011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245000011, gear_group_id = 245000002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45000/scene45000_group245000012.lua b/Resources/Scripts/Scene/45000/scene45000_group245000012.lua index 9118fe424..f25038aef 100644 --- a/Resources/Scripts/Scene/45000/scene45000_group245000012.lua +++ b/Resources/Scripts/Scene/45000/scene45000_group245000012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245000012, gear_group_id = 245000002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45000/scene45000_group245000013.lua b/Resources/Scripts/Scene/45000/scene45000_group245000013.lua index bbff75777..8919adb72 100644 --- a/Resources/Scripts/Scene/45000/scene45000_group245000013.lua +++ b/Resources/Scripts/Scene/45000/scene45000_group245000013.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 245000013, challange_group_id = 245000001 @@ -14,8 +14,7 @@ defs = { local light_bridge={ {operator_id=13001,effect_id=13002,gadget_id={13003}} } -local wind_field={ -} +local wind_field={ } --================================================================ -- diff --git a/Resources/Scripts/Scene/45001/scene45001_group245001001.lua b/Resources/Scripts/Scene/45001/scene45001_group245001001.lua index d478c3de8..3105cb5fa 100644 --- a/Resources/Scripts/Scene/45001/scene45001_group245001001.lua +++ b/Resources/Scripts/Scene/45001/scene45001_group245001001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245001001, gear_group_id = 245001002, route_guide_timer = 5, @@ -30,8 +30,7 @@ tide_defs_01 ={ local challenge_programme={ [1]=tide_defs_01, - - [2]=tide_defs_01, + [2]=tide_defs_01, } routes_start_point={ [1]={start_point={x=77.129,y=4.623077,z=-50.57449},points={1,2,3,4,5,6,7,8,9,10}}, diff --git a/Resources/Scripts/Scene/45001/scene45001_group245001002.lua b/Resources/Scripts/Scene/45001/scene45001_group245001002.lua index a892169fb..fb9929a65 100644 --- a/Resources/Scripts/Scene/45001/scene45001_group245001002.lua +++ b/Resources/Scripts/Scene/45001/scene45001_group245001002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245001002, monster_points = 1, max_points = 100, diff --git a/Resources/Scripts/Scene/45001/scene45001_group245001003.lua b/Resources/Scripts/Scene/45001/scene45001_group245001003.lua index a67636210..ca988c570 100644 --- a/Resources/Scripts/Scene/45001/scene45001_group245001003.lua +++ b/Resources/Scripts/Scene/45001/scene45001_group245001003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245001003, gear_group_id = 245001002 } diff --git a/Resources/Scripts/Scene/45001/scene45001_group245001004.lua b/Resources/Scripts/Scene/45001/scene45001_group245001004.lua index 1d9c06013..922a285f4 100644 --- a/Resources/Scripts/Scene/45001/scene45001_group245001004.lua +++ b/Resources/Scripts/Scene/45001/scene45001_group245001004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245001004, gear_group_id = 245001002 } diff --git a/Resources/Scripts/Scene/45001/scene45001_group245001005.lua b/Resources/Scripts/Scene/45001/scene45001_group245001005.lua index f087ec385..2f4581c5b 100644 --- a/Resources/Scripts/Scene/45001/scene45001_group245001005.lua +++ b/Resources/Scripts/Scene/45001/scene45001_group245001005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245001005, gear_group_id = 245001002 } diff --git a/Resources/Scripts/Scene/45001/scene45001_group245001006.lua b/Resources/Scripts/Scene/45001/scene45001_group245001006.lua index 718b464f2..cb01e9dd9 100644 --- a/Resources/Scripts/Scene/45001/scene45001_group245001006.lua +++ b/Resources/Scripts/Scene/45001/scene45001_group245001006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245001006, gear_group_id = 245001002 } diff --git a/Resources/Scripts/Scene/45001/scene45001_group245001007.lua b/Resources/Scripts/Scene/45001/scene45001_group245001007.lua index 12a876779..755a94350 100644 --- a/Resources/Scripts/Scene/45001/scene45001_group245001007.lua +++ b/Resources/Scripts/Scene/45001/scene45001_group245001007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245001007, gear_group_id = 245001002 } diff --git a/Resources/Scripts/Scene/45001/scene45001_group245001008.lua b/Resources/Scripts/Scene/45001/scene45001_group245001008.lua index 35fb859ab..b4d6f49ef 100644 --- a/Resources/Scripts/Scene/45001/scene45001_group245001008.lua +++ b/Resources/Scripts/Scene/45001/scene45001_group245001008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245001008, gear_group_id = 245001002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45001/scene45001_group245001009.lua b/Resources/Scripts/Scene/45001/scene45001_group245001009.lua index d5d18b104..06a9f2a3c 100644 --- a/Resources/Scripts/Scene/45001/scene45001_group245001009.lua +++ b/Resources/Scripts/Scene/45001/scene45001_group245001009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245001009, gear_group_id = 245001002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45001/scene45001_group245001010.lua b/Resources/Scripts/Scene/45001/scene45001_group245001010.lua index 100991d1d..91b513422 100644 --- a/Resources/Scripts/Scene/45001/scene45001_group245001010.lua +++ b/Resources/Scripts/Scene/45001/scene45001_group245001010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245001010, gear_group_id = 245001002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45001/scene45001_group245001011.lua b/Resources/Scripts/Scene/45001/scene45001_group245001011.lua index 4a3ee14f0..161963736 100644 --- a/Resources/Scripts/Scene/45001/scene45001_group245001011.lua +++ b/Resources/Scripts/Scene/45001/scene45001_group245001011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245001011, gear_group_id = 245001002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45001/scene45001_group245001012.lua b/Resources/Scripts/Scene/45001/scene45001_group245001012.lua index bd75a5233..3a47c4da0 100644 --- a/Resources/Scripts/Scene/45001/scene45001_group245001012.lua +++ b/Resources/Scripts/Scene/45001/scene45001_group245001012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245001012, gear_group_id = 245001002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45002/scene45002_group245002001.lua b/Resources/Scripts/Scene/45002/scene45002_group245002001.lua index f5a2cbb3d..c7daa45e4 100644 --- a/Resources/Scripts/Scene/45002/scene45002_group245002001.lua +++ b/Resources/Scripts/Scene/45002/scene45002_group245002001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245002001, gear_group_id = 245002002, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/45002/scene45002_group245002002.lua b/Resources/Scripts/Scene/45002/scene45002_group245002002.lua index ed9b62311..0d2a2db00 100644 --- a/Resources/Scripts/Scene/45002/scene45002_group245002002.lua +++ b/Resources/Scripts/Scene/45002/scene45002_group245002002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245002002, monster_points = 1, max_points = 100, diff --git a/Resources/Scripts/Scene/45002/scene45002_group245002003.lua b/Resources/Scripts/Scene/45002/scene45002_group245002003.lua index 66f577ff8..1837b897a 100644 --- a/Resources/Scripts/Scene/45002/scene45002_group245002003.lua +++ b/Resources/Scripts/Scene/45002/scene45002_group245002003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245002003, gear_group_id = 245002002 } diff --git a/Resources/Scripts/Scene/45002/scene45002_group245002004.lua b/Resources/Scripts/Scene/45002/scene45002_group245002004.lua index d4a78769a..eba25012c 100644 --- a/Resources/Scripts/Scene/45002/scene45002_group245002004.lua +++ b/Resources/Scripts/Scene/45002/scene45002_group245002004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245002004, gear_group_id = 245002002 } diff --git a/Resources/Scripts/Scene/45002/scene45002_group245002005.lua b/Resources/Scripts/Scene/45002/scene45002_group245002005.lua index 7a3377561..be5ca8513 100644 --- a/Resources/Scripts/Scene/45002/scene45002_group245002005.lua +++ b/Resources/Scripts/Scene/45002/scene45002_group245002005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245002005, gear_group_id = 245002002 } diff --git a/Resources/Scripts/Scene/45002/scene45002_group245002006.lua b/Resources/Scripts/Scene/45002/scene45002_group245002006.lua index 3266ec47c..d22c280f3 100644 --- a/Resources/Scripts/Scene/45002/scene45002_group245002006.lua +++ b/Resources/Scripts/Scene/45002/scene45002_group245002006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245002006, gear_group_id = 245002002 } diff --git a/Resources/Scripts/Scene/45002/scene45002_group245002007.lua b/Resources/Scripts/Scene/45002/scene45002_group245002007.lua index 193685572..4b3781828 100644 --- a/Resources/Scripts/Scene/45002/scene45002_group245002007.lua +++ b/Resources/Scripts/Scene/45002/scene45002_group245002007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245002007, gear_group_id = 245002002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45002/scene45002_group245002008.lua b/Resources/Scripts/Scene/45002/scene45002_group245002008.lua index b4beaaf39..4132407de 100644 --- a/Resources/Scripts/Scene/45002/scene45002_group245002008.lua +++ b/Resources/Scripts/Scene/45002/scene45002_group245002008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245002008, gear_group_id = 245002002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45002/scene45002_group245002009.lua b/Resources/Scripts/Scene/45002/scene45002_group245002009.lua index 9e3a2a2e7..4d4356a9d 100644 --- a/Resources/Scripts/Scene/45002/scene45002_group245002009.lua +++ b/Resources/Scripts/Scene/45002/scene45002_group245002009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245002009, gear_group_id = 245002002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45002/scene45002_group245002010.lua b/Resources/Scripts/Scene/45002/scene45002_group245002010.lua index 4d0064736..6f280674d 100644 --- a/Resources/Scripts/Scene/45002/scene45002_group245002010.lua +++ b/Resources/Scripts/Scene/45002/scene45002_group245002010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245002010, gear_group_id = 245002002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45002/scene45002_group245002011.lua b/Resources/Scripts/Scene/45002/scene45002_group245002011.lua index 904cf787e..2bdb88898 100644 --- a/Resources/Scripts/Scene/45002/scene45002_group245002011.lua +++ b/Resources/Scripts/Scene/45002/scene45002_group245002011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245002011, gear_group_id = 245002002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45002/scene45002_group245002012.lua b/Resources/Scripts/Scene/45002/scene45002_group245002012.lua index 336afb95d..fa0eef1dd 100644 --- a/Resources/Scripts/Scene/45002/scene45002_group245002012.lua +++ b/Resources/Scripts/Scene/45002/scene45002_group245002012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245002012, gear_group_id = 245002002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45003/scene45003_group245003031.lua b/Resources/Scripts/Scene/45003/scene45003_group245003031.lua index 0d40d6482..64d9d9cf4 100644 --- a/Resources/Scripts/Scene/45003/scene45003_group245003031.lua +++ b/Resources/Scripts/Scene/45003/scene45003_group245003031.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245003031, gear_group_id = 245003037, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/45003/scene45003_group245003033.lua b/Resources/Scripts/Scene/45003/scene45003_group245003033.lua index 3b2af0ce3..894549568 100644 --- a/Resources/Scripts/Scene/45003/scene45003_group245003033.lua +++ b/Resources/Scripts/Scene/45003/scene45003_group245003033.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245003033, gear_group_id = 245003037 } diff --git a/Resources/Scripts/Scene/45003/scene45003_group245003034.lua b/Resources/Scripts/Scene/45003/scene45003_group245003034.lua index bfb8a7812..0b25337e3 100644 --- a/Resources/Scripts/Scene/45003/scene45003_group245003034.lua +++ b/Resources/Scripts/Scene/45003/scene45003_group245003034.lua @@ -4,14 +4,13 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245003034, gear_group_id = 245003037 } -- DEFS_MISCS -package_tide_defs={ - [1]={{monster_package={12003},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=8,max=5,min=5},{monster_package={12003},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=8,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12003},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=8,max=5,min=5},{monster_package={12003},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=8,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/45003/scene45003_group245003035.lua b/Resources/Scripts/Scene/45003/scene45003_group245003035.lua index 1a5a5a35e..8db973c70 100644 --- a/Resources/Scripts/Scene/45003/scene45003_group245003035.lua +++ b/Resources/Scripts/Scene/45003/scene45003_group245003035.lua @@ -4,14 +4,13 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245003035, gear_group_id = 245003037 } -- DEFS_MISCS -package_tide_defs={ - [1]={{monster_package={12001},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=10,max=5,min=5},{monster_package={12001},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=10,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12001},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=10,max=5,min=5},{monster_package={12001},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=10,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/45003/scene45003_group245003036.lua b/Resources/Scripts/Scene/45003/scene45003_group245003036.lua index 2d333ff81..cf6ef8cca 100644 --- a/Resources/Scripts/Scene/45003/scene45003_group245003036.lua +++ b/Resources/Scripts/Scene/45003/scene45003_group245003036.lua @@ -4,14 +4,13 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245003036, gear_group_id = 245003037 } -- DEFS_MISCS -package_tide_defs={ - [1]={{monster_package={12001,12002},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=12,max=5,min=5},{monster_package={12001,12002},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=12,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12001,12002},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=12,max=5,min=5},{monster_package={12001,12002},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=12,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/45003/scene45003_group245003037.lua b/Resources/Scripts/Scene/45003/scene45003_group245003037.lua index d2d9959f2..a977be680 100644 --- a/Resources/Scripts/Scene/45003/scene45003_group245003037.lua +++ b/Resources/Scripts/Scene/45003/scene45003_group245003037.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245003037, challange_group_id = 245003031, monster_points = 1, diff --git a/Resources/Scripts/Scene/45003/scene45003_group245003038.lua b/Resources/Scripts/Scene/45003/scene45003_group245003038.lua index bde93b6d0..17ee371b2 100644 --- a/Resources/Scripts/Scene/45003/scene45003_group245003038.lua +++ b/Resources/Scripts/Scene/45003/scene45003_group245003038.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 245003038, challange_group_id = 245003031 diff --git a/Resources/Scripts/Scene/45004/scene45004_group245004001.lua b/Resources/Scripts/Scene/45004/scene45004_group245004001.lua index 1dd0f475a..6c776dd4b 100644 --- a/Resources/Scripts/Scene/45004/scene45004_group245004001.lua +++ b/Resources/Scripts/Scene/45004/scene45004_group245004001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245004001, challange_group_id = 245004017, monster_points = 1, diff --git a/Resources/Scripts/Scene/45004/scene45004_group245004017.lua b/Resources/Scripts/Scene/45004/scene45004_group245004017.lua index f934afc85..cd227e1b5 100644 --- a/Resources/Scripts/Scene/45004/scene45004_group245004017.lua +++ b/Resources/Scripts/Scene/45004/scene45004_group245004017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245004017, gear_group_id = 245004001, init_building_points = 750, diff --git a/Resources/Scripts/Scene/45004/scene45004_group245004018.lua b/Resources/Scripts/Scene/45004/scene45004_group245004018.lua index c41b51bbf..20a12f2fd 100644 --- a/Resources/Scripts/Scene/45004/scene45004_group245004018.lua +++ b/Resources/Scripts/Scene/45004/scene45004_group245004018.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245004018, gear_group_id = 245004001 } diff --git a/Resources/Scripts/Scene/45004/scene45004_group245004019.lua b/Resources/Scripts/Scene/45004/scene45004_group245004019.lua index 8ba112a84..1103ab3a6 100644 --- a/Resources/Scripts/Scene/45004/scene45004_group245004019.lua +++ b/Resources/Scripts/Scene/45004/scene45004_group245004019.lua @@ -4,14 +4,13 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245004019, gear_group_id = 245004001 } -- DEFS_MISCS -package_tide_defs={ - [1]={{monster_package={12019},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21},tags=2,count=12,max=5,min=5},{monster_package={12010,12011,12012},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,38,39,40,41,43,44},tags=4,count=12,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12019},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21},tags=2,count=12,max=5,min=5},{monster_package={12010,12011,12012},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,38,39,40,41,43,44},tags=4,count=12,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/45004/scene45004_group245004020.lua b/Resources/Scripts/Scene/45004/scene45004_group245004020.lua index a0a7144c7..e57f3291f 100644 --- a/Resources/Scripts/Scene/45004/scene45004_group245004020.lua +++ b/Resources/Scripts/Scene/45004/scene45004_group245004020.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245004020, gear_group_id = 245004001 } diff --git a/Resources/Scripts/Scene/45004/scene45004_group245004021.lua b/Resources/Scripts/Scene/45004/scene45004_group245004021.lua index 8f89f9486..b78f697fb 100644 --- a/Resources/Scripts/Scene/45004/scene45004_group245004021.lua +++ b/Resources/Scripts/Scene/45004/scene45004_group245004021.lua @@ -4,14 +4,13 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245004021, gear_group_id = 245004001 } -- DEFS_MISCS -package_tide_defs={ - [1]={{monster_package={12030,12031},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21},tags=2,count=10,max=5,min=5},{monster_package={12039},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,38,39,40,41,43,44},tags=4,count=10,max=5,min=5},{monster_package={12033,12035},route=3,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,37},tags=8,count=5,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12030,12031},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21},tags=2,count=10,max=5,min=5},{monster_package={12039},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,38,39,40,41,43,44},tags=4,count=10,max=5,min=5},{monster_package={12033,12035},route=3,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,37},tags=8,count=5,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/45004/scene45004_group245004022.lua b/Resources/Scripts/Scene/45004/scene45004_group245004022.lua index b526c6f68..db066ad63 100644 --- a/Resources/Scripts/Scene/45004/scene45004_group245004022.lua +++ b/Resources/Scripts/Scene/45004/scene45004_group245004022.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 245004022, challange_group_id = 245004017 diff --git a/Resources/Scripts/Scene/45004/scene45004_group245004023.lua b/Resources/Scripts/Scene/45004/scene45004_group245004023.lua index d42f8bb80..cc2eb6272 100644 --- a/Resources/Scripts/Scene/45004/scene45004_group245004023.lua +++ b/Resources/Scripts/Scene/45004/scene45004_group245004023.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 245004023, challange_group_id = 245004017 diff --git a/Resources/Scripts/Scene/45004/scene45004_group245004024.lua b/Resources/Scripts/Scene/45004/scene45004_group245004024.lua index 8ecc8a0da..8784141d2 100644 --- a/Resources/Scripts/Scene/45004/scene45004_group245004024.lua +++ b/Resources/Scripts/Scene/45004/scene45004_group245004024.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245004024, gear_group_id = 245004001 } diff --git a/Resources/Scripts/Scene/45005/scene45005_group245005001.lua b/Resources/Scripts/Scene/45005/scene45005_group245005001.lua index f490bbc5c..ffd7e96e7 100644 --- a/Resources/Scripts/Scene/45005/scene45005_group245005001.lua +++ b/Resources/Scripts/Scene/45005/scene45005_group245005001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245005001, gear_group_id = 245005002, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/45005/scene45005_group245005002.lua b/Resources/Scripts/Scene/45005/scene45005_group245005002.lua index 12bbd6038..f82720d9b 100644 --- a/Resources/Scripts/Scene/45005/scene45005_group245005002.lua +++ b/Resources/Scripts/Scene/45005/scene45005_group245005002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245005002, monster_points = 1, max_points = 100, diff --git a/Resources/Scripts/Scene/45005/scene45005_group245005003.lua b/Resources/Scripts/Scene/45005/scene45005_group245005003.lua index a2c3d4602..0432ed435 100644 --- a/Resources/Scripts/Scene/45005/scene45005_group245005003.lua +++ b/Resources/Scripts/Scene/45005/scene45005_group245005003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245005003, gear_group_id = 245005002 } diff --git a/Resources/Scripts/Scene/45005/scene45005_group245005004.lua b/Resources/Scripts/Scene/45005/scene45005_group245005004.lua index ccc2a4442..f3a873027 100644 --- a/Resources/Scripts/Scene/45005/scene45005_group245005004.lua +++ b/Resources/Scripts/Scene/45005/scene45005_group245005004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245005004, gear_group_id = 245005002 } diff --git a/Resources/Scripts/Scene/45005/scene45005_group245005005.lua b/Resources/Scripts/Scene/45005/scene45005_group245005005.lua index 8f523a88f..20df9d8fe 100644 --- a/Resources/Scripts/Scene/45005/scene45005_group245005005.lua +++ b/Resources/Scripts/Scene/45005/scene45005_group245005005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245005005, gear_group_id = 245005002 } diff --git a/Resources/Scripts/Scene/45005/scene45005_group245005006.lua b/Resources/Scripts/Scene/45005/scene45005_group245005006.lua index 85c01ed81..74f88fa5f 100644 --- a/Resources/Scripts/Scene/45005/scene45005_group245005006.lua +++ b/Resources/Scripts/Scene/45005/scene45005_group245005006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245005006, gear_group_id = 245005002 } diff --git a/Resources/Scripts/Scene/45005/scene45005_group245005007.lua b/Resources/Scripts/Scene/45005/scene45005_group245005007.lua index ebba0322a..76b13834b 100644 --- a/Resources/Scripts/Scene/45005/scene45005_group245005007.lua +++ b/Resources/Scripts/Scene/45005/scene45005_group245005007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245005007, gear_group_id = 245005002 } diff --git a/Resources/Scripts/Scene/45005/scene45005_group245005008.lua b/Resources/Scripts/Scene/45005/scene45005_group245005008.lua index 5a88b427f..22c8b6a63 100644 --- a/Resources/Scripts/Scene/45005/scene45005_group245005008.lua +++ b/Resources/Scripts/Scene/45005/scene45005_group245005008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245005008, gear_group_id = 245005002 } diff --git a/Resources/Scripts/Scene/45005/scene45005_group245005009.lua b/Resources/Scripts/Scene/45005/scene45005_group245005009.lua index 3198b82f2..f9f9b6f93 100644 --- a/Resources/Scripts/Scene/45005/scene45005_group245005009.lua +++ b/Resources/Scripts/Scene/45005/scene45005_group245005009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245005009, gear_group_id = 245005002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45005/scene45005_group245005010.lua b/Resources/Scripts/Scene/45005/scene45005_group245005010.lua index 95d792e9c..74235d0cf 100644 --- a/Resources/Scripts/Scene/45005/scene45005_group245005010.lua +++ b/Resources/Scripts/Scene/45005/scene45005_group245005010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245005010, gear_group_id = 245005002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45005/scene45005_group245005011.lua b/Resources/Scripts/Scene/45005/scene45005_group245005011.lua index 5735b9e48..441ff3bc5 100644 --- a/Resources/Scripts/Scene/45005/scene45005_group245005011.lua +++ b/Resources/Scripts/Scene/45005/scene45005_group245005011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245005011, gear_group_id = 245005002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45005/scene45005_group245005012.lua b/Resources/Scripts/Scene/45005/scene45005_group245005012.lua index 173fef218..d094d8f84 100644 --- a/Resources/Scripts/Scene/45005/scene45005_group245005012.lua +++ b/Resources/Scripts/Scene/45005/scene45005_group245005012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245005012, gear_group_id = 245005002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45007/scene45007_group245007001.lua b/Resources/Scripts/Scene/45007/scene45007_group245007001.lua index e09e2ca71..162fc4b9c 100644 --- a/Resources/Scripts/Scene/45007/scene45007_group245007001.lua +++ b/Resources/Scripts/Scene/45007/scene45007_group245007001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245007001, gear_group_id = 245007002, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/45007/scene45007_group245007002.lua b/Resources/Scripts/Scene/45007/scene45007_group245007002.lua index 6dd88356d..a062c59c7 100644 --- a/Resources/Scripts/Scene/45007/scene45007_group245007002.lua +++ b/Resources/Scripts/Scene/45007/scene45007_group245007002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245007002, monster_points = 1, max_points = 100, diff --git a/Resources/Scripts/Scene/45007/scene45007_group245007003.lua b/Resources/Scripts/Scene/45007/scene45007_group245007003.lua index d503df7e1..f53e6c09a 100644 --- a/Resources/Scripts/Scene/45007/scene45007_group245007003.lua +++ b/Resources/Scripts/Scene/45007/scene45007_group245007003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245007003, gear_group_id = 245007002 } diff --git a/Resources/Scripts/Scene/45007/scene45007_group245007004.lua b/Resources/Scripts/Scene/45007/scene45007_group245007004.lua index 344740dc9..57407ba2b 100644 --- a/Resources/Scripts/Scene/45007/scene45007_group245007004.lua +++ b/Resources/Scripts/Scene/45007/scene45007_group245007004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245007004, gear_group_id = 245007002 } diff --git a/Resources/Scripts/Scene/45007/scene45007_group245007005.lua b/Resources/Scripts/Scene/45007/scene45007_group245007005.lua index 68ce06e50..1f3029c17 100644 --- a/Resources/Scripts/Scene/45007/scene45007_group245007005.lua +++ b/Resources/Scripts/Scene/45007/scene45007_group245007005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245007005, gear_group_id = 245007002 } diff --git a/Resources/Scripts/Scene/45007/scene45007_group245007006.lua b/Resources/Scripts/Scene/45007/scene45007_group245007006.lua index 63641c97d..3061cdc73 100644 --- a/Resources/Scripts/Scene/45007/scene45007_group245007006.lua +++ b/Resources/Scripts/Scene/45007/scene45007_group245007006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245007006, gear_group_id = 245007002 } diff --git a/Resources/Scripts/Scene/45007/scene45007_group245007007.lua b/Resources/Scripts/Scene/45007/scene45007_group245007007.lua index 449a73a1d..da049ccc4 100644 --- a/Resources/Scripts/Scene/45007/scene45007_group245007007.lua +++ b/Resources/Scripts/Scene/45007/scene45007_group245007007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245007007, gear_group_id = 245007002 } diff --git a/Resources/Scripts/Scene/45007/scene45007_group245007008.lua b/Resources/Scripts/Scene/45007/scene45007_group245007008.lua index dfbc640df..8532a31d8 100644 --- a/Resources/Scripts/Scene/45007/scene45007_group245007008.lua +++ b/Resources/Scripts/Scene/45007/scene45007_group245007008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245007008, gear_group_id = 245007002 } diff --git a/Resources/Scripts/Scene/45007/scene45007_group245007009.lua b/Resources/Scripts/Scene/45007/scene45007_group245007009.lua index 2dc212724..a29215b35 100644 --- a/Resources/Scripts/Scene/45007/scene45007_group245007009.lua +++ b/Resources/Scripts/Scene/45007/scene45007_group245007009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245007009, gear_group_id = 245007002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45007/scene45007_group245007010.lua b/Resources/Scripts/Scene/45007/scene45007_group245007010.lua index 0d915a02d..b1d150417 100644 --- a/Resources/Scripts/Scene/45007/scene45007_group245007010.lua +++ b/Resources/Scripts/Scene/45007/scene45007_group245007010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245007010, gear_group_id = 245007002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45007/scene45007_group245007011.lua b/Resources/Scripts/Scene/45007/scene45007_group245007011.lua index bb1e3c118..7a7858913 100644 --- a/Resources/Scripts/Scene/45007/scene45007_group245007011.lua +++ b/Resources/Scripts/Scene/45007/scene45007_group245007011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245007011, gear_group_id = 245007002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45007/scene45007_group245007012.lua b/Resources/Scripts/Scene/45007/scene45007_group245007012.lua index 45332fed0..d80e0214c 100644 --- a/Resources/Scripts/Scene/45007/scene45007_group245007012.lua +++ b/Resources/Scripts/Scene/45007/scene45007_group245007012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245007012, gear_group_id = 245007002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45007/scene45007_group245007013.lua b/Resources/Scripts/Scene/45007/scene45007_group245007013.lua index c2316f4f2..84d0a6581 100644 --- a/Resources/Scripts/Scene/45007/scene45007_group245007013.lua +++ b/Resources/Scripts/Scene/45007/scene45007_group245007013.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 245007013, challange_group_id = 245007001 @@ -14,8 +14,7 @@ defs = { local light_bridge={ {operator_id=13001,effect_id=13002,gadget_id={13003,13008}} } -local wind_field={ -} +local wind_field={ } --================================================================ -- diff --git a/Resources/Scripts/Scene/45008/scene45008_group245008001.lua b/Resources/Scripts/Scene/45008/scene45008_group245008001.lua index 6ddcdc001..8d30bff5c 100644 --- a/Resources/Scripts/Scene/45008/scene45008_group245008001.lua +++ b/Resources/Scripts/Scene/45008/scene45008_group245008001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245008001, gear_group_id = 245008002, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/45008/scene45008_group245008002.lua b/Resources/Scripts/Scene/45008/scene45008_group245008002.lua index c24995d37..c68c71cbe 100644 --- a/Resources/Scripts/Scene/45008/scene45008_group245008002.lua +++ b/Resources/Scripts/Scene/45008/scene45008_group245008002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245008002, monster_points = 1, max_points = 100, diff --git a/Resources/Scripts/Scene/45008/scene45008_group245008003.lua b/Resources/Scripts/Scene/45008/scene45008_group245008003.lua index fc11e9336..ffe8a3b72 100644 --- a/Resources/Scripts/Scene/45008/scene45008_group245008003.lua +++ b/Resources/Scripts/Scene/45008/scene45008_group245008003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245008003, gear_group_id = 245008002 } diff --git a/Resources/Scripts/Scene/45008/scene45008_group245008004.lua b/Resources/Scripts/Scene/45008/scene45008_group245008004.lua index 091df51af..3b1db3ef6 100644 --- a/Resources/Scripts/Scene/45008/scene45008_group245008004.lua +++ b/Resources/Scripts/Scene/45008/scene45008_group245008004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245008004, gear_group_id = 245008002 } diff --git a/Resources/Scripts/Scene/45008/scene45008_group245008005.lua b/Resources/Scripts/Scene/45008/scene45008_group245008005.lua index 7183520d0..c8f0565ff 100644 --- a/Resources/Scripts/Scene/45008/scene45008_group245008005.lua +++ b/Resources/Scripts/Scene/45008/scene45008_group245008005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245008005, gear_group_id = 245008002 } diff --git a/Resources/Scripts/Scene/45008/scene45008_group245008006.lua b/Resources/Scripts/Scene/45008/scene45008_group245008006.lua index 2c166eb7a..9ba8d4d36 100644 --- a/Resources/Scripts/Scene/45008/scene45008_group245008006.lua +++ b/Resources/Scripts/Scene/45008/scene45008_group245008006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245008006, gear_group_id = 245008002 } diff --git a/Resources/Scripts/Scene/45008/scene45008_group245008007.lua b/Resources/Scripts/Scene/45008/scene45008_group245008007.lua index 18a913901..2d2851cf4 100644 --- a/Resources/Scripts/Scene/45008/scene45008_group245008007.lua +++ b/Resources/Scripts/Scene/45008/scene45008_group245008007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245008007, gear_group_id = 245008002 } diff --git a/Resources/Scripts/Scene/45008/scene45008_group245008008.lua b/Resources/Scripts/Scene/45008/scene45008_group245008008.lua index 6c931b092..db86d7f87 100644 --- a/Resources/Scripts/Scene/45008/scene45008_group245008008.lua +++ b/Resources/Scripts/Scene/45008/scene45008_group245008008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245008008, gear_group_id = 245008002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45008/scene45008_group245008009.lua b/Resources/Scripts/Scene/45008/scene45008_group245008009.lua index 671bcd181..a7d75f7e2 100644 --- a/Resources/Scripts/Scene/45008/scene45008_group245008009.lua +++ b/Resources/Scripts/Scene/45008/scene45008_group245008009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245008009, gear_group_id = 245008002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45008/scene45008_group245008010.lua b/Resources/Scripts/Scene/45008/scene45008_group245008010.lua index 2f1e3db11..f82c0242f 100644 --- a/Resources/Scripts/Scene/45008/scene45008_group245008010.lua +++ b/Resources/Scripts/Scene/45008/scene45008_group245008010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245008010, gear_group_id = 245008002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45008/scene45008_group245008011.lua b/Resources/Scripts/Scene/45008/scene45008_group245008011.lua index fe6128d1c..d419fbaf4 100644 --- a/Resources/Scripts/Scene/45008/scene45008_group245008011.lua +++ b/Resources/Scripts/Scene/45008/scene45008_group245008011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245008011, gear_group_id = 245008002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45008/scene45008_group245008012.lua b/Resources/Scripts/Scene/45008/scene45008_group245008012.lua index 2e0e15acc..5ee1046bb 100644 --- a/Resources/Scripts/Scene/45008/scene45008_group245008012.lua +++ b/Resources/Scripts/Scene/45008/scene45008_group245008012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245008012, gear_group_id = 245008002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45009/scene45009_group245009001.lua b/Resources/Scripts/Scene/45009/scene45009_group245009001.lua index 8a6744fe9..c5f4c2172 100644 --- a/Resources/Scripts/Scene/45009/scene45009_group245009001.lua +++ b/Resources/Scripts/Scene/45009/scene45009_group245009001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245009001, gear_group_id = 245009002, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/45009/scene45009_group245009002.lua b/Resources/Scripts/Scene/45009/scene45009_group245009002.lua index 6b0b2fab8..641752364 100644 --- a/Resources/Scripts/Scene/45009/scene45009_group245009002.lua +++ b/Resources/Scripts/Scene/45009/scene45009_group245009002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245009002, monster_points = 1, max_points = 100, diff --git a/Resources/Scripts/Scene/45009/scene45009_group245009003.lua b/Resources/Scripts/Scene/45009/scene45009_group245009003.lua index 980cacf07..dcf175765 100644 --- a/Resources/Scripts/Scene/45009/scene45009_group245009003.lua +++ b/Resources/Scripts/Scene/45009/scene45009_group245009003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245009003, gear_group_id = 245009002 } diff --git a/Resources/Scripts/Scene/45009/scene45009_group245009004.lua b/Resources/Scripts/Scene/45009/scene45009_group245009004.lua index 465158f08..886a9006b 100644 --- a/Resources/Scripts/Scene/45009/scene45009_group245009004.lua +++ b/Resources/Scripts/Scene/45009/scene45009_group245009004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245009004, gear_group_id = 245009002 } diff --git a/Resources/Scripts/Scene/45009/scene45009_group245009005.lua b/Resources/Scripts/Scene/45009/scene45009_group245009005.lua index c80c8c912..647fd2142 100644 --- a/Resources/Scripts/Scene/45009/scene45009_group245009005.lua +++ b/Resources/Scripts/Scene/45009/scene45009_group245009005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245009005, gear_group_id = 245009002 } diff --git a/Resources/Scripts/Scene/45009/scene45009_group245009006.lua b/Resources/Scripts/Scene/45009/scene45009_group245009006.lua index 7fd299606..6afa0482f 100644 --- a/Resources/Scripts/Scene/45009/scene45009_group245009006.lua +++ b/Resources/Scripts/Scene/45009/scene45009_group245009006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245009006, gear_group_id = 245009002 } diff --git a/Resources/Scripts/Scene/45009/scene45009_group245009007.lua b/Resources/Scripts/Scene/45009/scene45009_group245009007.lua index 21ff30278..ad3e832c3 100644 --- a/Resources/Scripts/Scene/45009/scene45009_group245009007.lua +++ b/Resources/Scripts/Scene/45009/scene45009_group245009007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245009007, gear_group_id = 245009002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45009/scene45009_group245009008.lua b/Resources/Scripts/Scene/45009/scene45009_group245009008.lua index 80cf35366..a88153564 100644 --- a/Resources/Scripts/Scene/45009/scene45009_group245009008.lua +++ b/Resources/Scripts/Scene/45009/scene45009_group245009008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245009008, gear_group_id = 245009002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45009/scene45009_group245009009.lua b/Resources/Scripts/Scene/45009/scene45009_group245009009.lua index f6596584b..1cba2c598 100644 --- a/Resources/Scripts/Scene/45009/scene45009_group245009009.lua +++ b/Resources/Scripts/Scene/45009/scene45009_group245009009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245009009, gear_group_id = 245009002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45009/scene45009_group245009010.lua b/Resources/Scripts/Scene/45009/scene45009_group245009010.lua index 5334d54a9..01de2724a 100644 --- a/Resources/Scripts/Scene/45009/scene45009_group245009010.lua +++ b/Resources/Scripts/Scene/45009/scene45009_group245009010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245009010, gear_group_id = 245009002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45009/scene45009_group245009011.lua b/Resources/Scripts/Scene/45009/scene45009_group245009011.lua index 21e821a6a..a44300913 100644 --- a/Resources/Scripts/Scene/45009/scene45009_group245009011.lua +++ b/Resources/Scripts/Scene/45009/scene45009_group245009011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245009011, gear_group_id = 245009002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45009/scene45009_group245009012.lua b/Resources/Scripts/Scene/45009/scene45009_group245009012.lua index 717a38f61..55112a42e 100644 --- a/Resources/Scripts/Scene/45009/scene45009_group245009012.lua +++ b/Resources/Scripts/Scene/45009/scene45009_group245009012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245009012, gear_group_id = 245009002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45010/scene45010_group245010031.lua b/Resources/Scripts/Scene/45010/scene45010_group245010031.lua index bb33b31c1..f038839f8 100644 --- a/Resources/Scripts/Scene/45010/scene45010_group245010031.lua +++ b/Resources/Scripts/Scene/45010/scene45010_group245010031.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245010031, gear_group_id = 245010037, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/45010/scene45010_group245010033.lua b/Resources/Scripts/Scene/45010/scene45010_group245010033.lua index 85521c710..066fd203a 100644 --- a/Resources/Scripts/Scene/45010/scene45010_group245010033.lua +++ b/Resources/Scripts/Scene/45010/scene45010_group245010033.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245010033, gear_group_id = 245010037 } diff --git a/Resources/Scripts/Scene/45010/scene45010_group245010034.lua b/Resources/Scripts/Scene/45010/scene45010_group245010034.lua index a3534075c..211b55a7c 100644 --- a/Resources/Scripts/Scene/45010/scene45010_group245010034.lua +++ b/Resources/Scripts/Scene/45010/scene45010_group245010034.lua @@ -4,14 +4,13 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245010034, gear_group_id = 245010037 } -- DEFS_MISCS -package_tide_defs={ - [1]={{monster_package={12003},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=8,max=5,min=5},{monster_package={12003},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=8,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12003},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=8,max=5,min=5},{monster_package={12003},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=8,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/45010/scene45010_group245010035.lua b/Resources/Scripts/Scene/45010/scene45010_group245010035.lua index d90dfef73..d2f3959f9 100644 --- a/Resources/Scripts/Scene/45010/scene45010_group245010035.lua +++ b/Resources/Scripts/Scene/45010/scene45010_group245010035.lua @@ -4,14 +4,13 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245010035, gear_group_id = 245010037 } -- DEFS_MISCS -package_tide_defs={ - [1]={{monster_package={12001},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=10,max=5,min=5},{monster_package={12001},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=10,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12001},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=10,max=5,min=5},{monster_package={12001},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=10,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/45010/scene45010_group245010036.lua b/Resources/Scripts/Scene/45010/scene45010_group245010036.lua index 0b7dbf9c9..c4ef10ee0 100644 --- a/Resources/Scripts/Scene/45010/scene45010_group245010036.lua +++ b/Resources/Scripts/Scene/45010/scene45010_group245010036.lua @@ -4,14 +4,13 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245010036, gear_group_id = 245010037 } -- DEFS_MISCS -package_tide_defs={ - [1]={{monster_package={12001,12002},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=12,max=5,min=5},{monster_package={12001,12002},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=12,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12001,12002},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=12,max=5,min=5},{monster_package={12001,12002},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=12,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/45010/scene45010_group245010037.lua b/Resources/Scripts/Scene/45010/scene45010_group245010037.lua index 070d02686..26436df78 100644 --- a/Resources/Scripts/Scene/45010/scene45010_group245010037.lua +++ b/Resources/Scripts/Scene/45010/scene45010_group245010037.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245010037, challange_group_id = 245010031, monster_points = 1, diff --git a/Resources/Scripts/Scene/45010/scene45010_group245010038.lua b/Resources/Scripts/Scene/45010/scene45010_group245010038.lua index 12a3f9967..69c2844b5 100644 --- a/Resources/Scripts/Scene/45010/scene45010_group245010038.lua +++ b/Resources/Scripts/Scene/45010/scene45010_group245010038.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 245010038, challange_group_id = 245010031 diff --git a/Resources/Scripts/Scene/45011/scene45011_group245011001.lua b/Resources/Scripts/Scene/45011/scene45011_group245011001.lua index 99536f001..b08d695d4 100644 --- a/Resources/Scripts/Scene/45011/scene45011_group245011001.lua +++ b/Resources/Scripts/Scene/45011/scene45011_group245011001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245011001, challange_group_id = 245011017, monster_points = 1, diff --git a/Resources/Scripts/Scene/45011/scene45011_group245011017.lua b/Resources/Scripts/Scene/45011/scene45011_group245011017.lua index 0828d4cde..7c19ca62d 100644 --- a/Resources/Scripts/Scene/45011/scene45011_group245011017.lua +++ b/Resources/Scripts/Scene/45011/scene45011_group245011017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245011017, gear_group_id = 245011001, init_building_points = 750, diff --git a/Resources/Scripts/Scene/45011/scene45011_group245011018.lua b/Resources/Scripts/Scene/45011/scene45011_group245011018.lua index 0142f6063..e21ef868f 100644 --- a/Resources/Scripts/Scene/45011/scene45011_group245011018.lua +++ b/Resources/Scripts/Scene/45011/scene45011_group245011018.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245011018, gear_group_id = 245011001 } diff --git a/Resources/Scripts/Scene/45011/scene45011_group245011019.lua b/Resources/Scripts/Scene/45011/scene45011_group245011019.lua index f7cf7abde..d49ef68b8 100644 --- a/Resources/Scripts/Scene/45011/scene45011_group245011019.lua +++ b/Resources/Scripts/Scene/45011/scene45011_group245011019.lua @@ -4,14 +4,13 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245011019, gear_group_id = 245011001 } -- DEFS_MISCS -package_tide_defs={ - [1]={{monster_package={12019},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21},tags=2,count=12,max=5,min=5},{monster_package={12010,12011,12012},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,38,39,40,41,43,44},tags=4,count=12,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12019},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21},tags=2,count=12,max=5,min=5},{monster_package={12010,12011,12012},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,38,39,40,41,43,44},tags=4,count=12,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/45011/scene45011_group245011020.lua b/Resources/Scripts/Scene/45011/scene45011_group245011020.lua index 797ae2544..cca965725 100644 --- a/Resources/Scripts/Scene/45011/scene45011_group245011020.lua +++ b/Resources/Scripts/Scene/45011/scene45011_group245011020.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245011020, gear_group_id = 245011001 } diff --git a/Resources/Scripts/Scene/45011/scene45011_group245011021.lua b/Resources/Scripts/Scene/45011/scene45011_group245011021.lua index 6b4f1601b..a06a13cda 100644 --- a/Resources/Scripts/Scene/45011/scene45011_group245011021.lua +++ b/Resources/Scripts/Scene/45011/scene45011_group245011021.lua @@ -4,14 +4,13 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245011021, gear_group_id = 245011001 } -- DEFS_MISCS -package_tide_defs={ - [1]={{monster_package={12030,12031},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21},tags=2,count=10,max=5,min=5},{monster_package={12039},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,38,39,40,41,43,44},tags=4,count=10,max=5,min=5},{monster_package={12033,12035},route=3,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,37},tags=8,count=5,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12030,12031},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21},tags=2,count=10,max=5,min=5},{monster_package={12039},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,38,39,40,41,43,44},tags=4,count=10,max=5,min=5},{monster_package={12033,12035},route=3,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,37},tags=8,count=5,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/45011/scene45011_group245011022.lua b/Resources/Scripts/Scene/45011/scene45011_group245011022.lua index e07ffd52a..79f4bf608 100644 --- a/Resources/Scripts/Scene/45011/scene45011_group245011022.lua +++ b/Resources/Scripts/Scene/45011/scene45011_group245011022.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 245011022, challange_group_id = 245011017 diff --git a/Resources/Scripts/Scene/45011/scene45011_group245011023.lua b/Resources/Scripts/Scene/45011/scene45011_group245011023.lua index 7b833598f..48937cadb 100644 --- a/Resources/Scripts/Scene/45011/scene45011_group245011023.lua +++ b/Resources/Scripts/Scene/45011/scene45011_group245011023.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 60, group_id = 245011023, challange_group_id = 245011017 diff --git a/Resources/Scripts/Scene/45011/scene45011_group245011024.lua b/Resources/Scripts/Scene/45011/scene45011_group245011024.lua index 65f3939af..d9d5f3815 100644 --- a/Resources/Scripts/Scene/45011/scene45011_group245011024.lua +++ b/Resources/Scripts/Scene/45011/scene45011_group245011024.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245011024, gear_group_id = 245011001 } diff --git a/Resources/Scripts/Scene/45012/scene45012_group245012001.lua b/Resources/Scripts/Scene/45012/scene45012_group245012001.lua index f5f69f16d..c84b2b26f 100644 --- a/Resources/Scripts/Scene/45012/scene45012_group245012001.lua +++ b/Resources/Scripts/Scene/45012/scene45012_group245012001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245012001, gear_group_id = 245012002, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/45012/scene45012_group245012002.lua b/Resources/Scripts/Scene/45012/scene45012_group245012002.lua index f86bb1ea0..11dcbbbe6 100644 --- a/Resources/Scripts/Scene/45012/scene45012_group245012002.lua +++ b/Resources/Scripts/Scene/45012/scene45012_group245012002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245012002, monster_points = 1, max_points = 100, diff --git a/Resources/Scripts/Scene/45012/scene45012_group245012003.lua b/Resources/Scripts/Scene/45012/scene45012_group245012003.lua index a2bce1214..a00617902 100644 --- a/Resources/Scripts/Scene/45012/scene45012_group245012003.lua +++ b/Resources/Scripts/Scene/45012/scene45012_group245012003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245012003, gear_group_id = 245012002 } diff --git a/Resources/Scripts/Scene/45012/scene45012_group245012004.lua b/Resources/Scripts/Scene/45012/scene45012_group245012004.lua index 5db71b34d..b4a58aec9 100644 --- a/Resources/Scripts/Scene/45012/scene45012_group245012004.lua +++ b/Resources/Scripts/Scene/45012/scene45012_group245012004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245012004, gear_group_id = 245012002 } diff --git a/Resources/Scripts/Scene/45012/scene45012_group245012005.lua b/Resources/Scripts/Scene/45012/scene45012_group245012005.lua index c08a7f663..0f4d7ebd0 100644 --- a/Resources/Scripts/Scene/45012/scene45012_group245012005.lua +++ b/Resources/Scripts/Scene/45012/scene45012_group245012005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245012005, gear_group_id = 245012002 } diff --git a/Resources/Scripts/Scene/45012/scene45012_group245012006.lua b/Resources/Scripts/Scene/45012/scene45012_group245012006.lua index 2b47f2618..3c22c459a 100644 --- a/Resources/Scripts/Scene/45012/scene45012_group245012006.lua +++ b/Resources/Scripts/Scene/45012/scene45012_group245012006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245012006, gear_group_id = 245012002 } diff --git a/Resources/Scripts/Scene/45012/scene45012_group245012007.lua b/Resources/Scripts/Scene/45012/scene45012_group245012007.lua index 2cf50271f..b844f757b 100644 --- a/Resources/Scripts/Scene/45012/scene45012_group245012007.lua +++ b/Resources/Scripts/Scene/45012/scene45012_group245012007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245012007, gear_group_id = 245012002 } diff --git a/Resources/Scripts/Scene/45012/scene45012_group245012008.lua b/Resources/Scripts/Scene/45012/scene45012_group245012008.lua index 18829c94d..2c0a99719 100644 --- a/Resources/Scripts/Scene/45012/scene45012_group245012008.lua +++ b/Resources/Scripts/Scene/45012/scene45012_group245012008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245012008, gear_group_id = 245012002 } diff --git a/Resources/Scripts/Scene/45012/scene45012_group245012009.lua b/Resources/Scripts/Scene/45012/scene45012_group245012009.lua index d257dd697..0af2da773 100644 --- a/Resources/Scripts/Scene/45012/scene45012_group245012009.lua +++ b/Resources/Scripts/Scene/45012/scene45012_group245012009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245012009, gear_group_id = 245012002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45012/scene45012_group245012010.lua b/Resources/Scripts/Scene/45012/scene45012_group245012010.lua index 9186aba63..6aae2b6ac 100644 --- a/Resources/Scripts/Scene/45012/scene45012_group245012010.lua +++ b/Resources/Scripts/Scene/45012/scene45012_group245012010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245012010, gear_group_id = 245012002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45012/scene45012_group245012011.lua b/Resources/Scripts/Scene/45012/scene45012_group245012011.lua index fecf6847f..e2565f73e 100644 --- a/Resources/Scripts/Scene/45012/scene45012_group245012011.lua +++ b/Resources/Scripts/Scene/45012/scene45012_group245012011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245012011, gear_group_id = 245012002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45012/scene45012_group245012012.lua b/Resources/Scripts/Scene/45012/scene45012_group245012012.lua index b42616fab..e77c91599 100644 --- a/Resources/Scripts/Scene/45012/scene45012_group245012012.lua +++ b/Resources/Scripts/Scene/45012/scene45012_group245012012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245012012, gear_group_id = 245012002 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 6, max = 6,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, - - + } package_tide_defs={ [1]={{monster_package={12001,12002,12003},route=1,route_points={1,2,3,4,5,6,7,8},tags=2,count=100,max=6,min=5},{monster_package={12001,12002,12003},route=2,route_points={1,2,3,4,5,6,7,8,9,10},tags=4,count=20,max=6,min=5}}, diff --git a/Resources/Scripts/Scene/45013/scene45013_group245013001.lua b/Resources/Scripts/Scene/45013/scene45013_group245013001.lua index c9e705ea9..b3aadccb2 100644 --- a/Resources/Scripts/Scene/45013/scene45013_group245013001.lua +++ b/Resources/Scripts/Scene/45013/scene45013_group245013001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245013001, gear_group_id = 245013002, route_guide_timer = 5, @@ -24,8 +24,7 @@ local guide_routes={1,2,3} routes_start_point={ [1]={start_point={x=10,y=0,z=-37},points={1,2,3,4,5,6,7,8,9,10}}, - [2]={start_point={x=10,y=0,z=-37},points={1,2,3,4,5,6,7,8,9,10}}, - [3]={start_point={x=0,y=2.5,z=-4.5},points={1,2,3,4,5,6,7,8,9,10}}, + [2]={start_point={x=10,y=0,z=-37},points={1,2,3,4,5,6,7,8,9,10}}, [3]={start_point={x=0,y=2.5,z=-4.5},points={1,2,3,4,5,6,7,8,9,10}}, } diff --git a/Resources/Scripts/Scene/45013/scene45013_group245013002.lua b/Resources/Scripts/Scene/45013/scene45013_group245013002.lua index 81122c39b..aaf2e76d4 100644 --- a/Resources/Scripts/Scene/45013/scene45013_group245013002.lua +++ b/Resources/Scripts/Scene/45013/scene45013_group245013002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245013002, fundation_id = 70350145, challange_group_id = 245013001 diff --git a/Resources/Scripts/Scene/45013/scene45013_group245013003.lua b/Resources/Scripts/Scene/45013/scene45013_group245013003.lua index d6e59eed0..054a6f41c 100644 --- a/Resources/Scripts/Scene/45013/scene45013_group245013003.lua +++ b/Resources/Scripts/Scene/45013/scene45013_group245013003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245013003, gear_group_id = 245013002 } diff --git a/Resources/Scripts/Scene/45013/scene45013_group245013004.lua b/Resources/Scripts/Scene/45013/scene45013_group245013004.lua index 8d31dd565..3547704d3 100644 --- a/Resources/Scripts/Scene/45013/scene45013_group245013004.lua +++ b/Resources/Scripts/Scene/45013/scene45013_group245013004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245013004, challenge_group_id = 245013001, close_cd = 6, diff --git a/Resources/Scripts/Scene/45013/scene45013_group245013005.lua b/Resources/Scripts/Scene/45013/scene45013_group245013005.lua index 7d78d454d..afaf50553 100644 --- a/Resources/Scripts/Scene/45013/scene45013_group245013005.lua +++ b/Resources/Scripts/Scene/45013/scene45013_group245013005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245013005, challenge_group_id = 245013001, close_cd = 6, diff --git a/Resources/Scripts/Scene/45014/scene45014_group245014001.lua b/Resources/Scripts/Scene/45014/scene45014_group245014001.lua index e6a10ca63..3d8720390 100644 --- a/Resources/Scripts/Scene/45014/scene45014_group245014001.lua +++ b/Resources/Scripts/Scene/45014/scene45014_group245014001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245014001, gear_group_id = 245014002, route_guide_timer = 5, @@ -24,8 +24,7 @@ local guide_routes={1,2} routes_start_point={ [1]={start_point={x=35.3,y=-7.7,z=-86.5},points={1,2,3,4,5,6,7,8,9,10}}, - [2]={start_point={x=7.3,y=-7.7,z=-57.88},points={1,2,3,4,5,6,7,8,9,10}}, - + [2]={start_point={x=7.3,y=-7.7,z=-57.88},points={1,2,3,4,5,6,7,8,9,10}}, } diff --git a/Resources/Scripts/Scene/45014/scene45014_group245014002.lua b/Resources/Scripts/Scene/45014/scene45014_group245014002.lua index 38cb50447..74ae73812 100644 --- a/Resources/Scripts/Scene/45014/scene45014_group245014002.lua +++ b/Resources/Scripts/Scene/45014/scene45014_group245014002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245014002, fundation_id = 70350145, challange_group_id = 245014001 diff --git a/Resources/Scripts/Scene/45014/scene45014_group245014003.lua b/Resources/Scripts/Scene/45014/scene45014_group245014003.lua index 9afb38a1b..b0e8d493e 100644 --- a/Resources/Scripts/Scene/45014/scene45014_group245014003.lua +++ b/Resources/Scripts/Scene/45014/scene45014_group245014003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245014003, gear_group_id = 245014002 } diff --git a/Resources/Scripts/Scene/45014/scene45014_group245014004.lua b/Resources/Scripts/Scene/45014/scene45014_group245014004.lua index 91e802bcf..2872af0a4 100644 --- a/Resources/Scripts/Scene/45014/scene45014_group245014004.lua +++ b/Resources/Scripts/Scene/45014/scene45014_group245014004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245014004, challenge_group_id = 245014001, close_cd = 6, diff --git a/Resources/Scripts/Scene/45014/scene45014_group245014005.lua b/Resources/Scripts/Scene/45014/scene45014_group245014005.lua index d3d5a4df1..ece8d6488 100644 --- a/Resources/Scripts/Scene/45014/scene45014_group245014005.lua +++ b/Resources/Scripts/Scene/45014/scene45014_group245014005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245014005, challenge_group_id = 245014001, close_cd = 6, diff --git a/Resources/Scripts/Scene/45015/scene45015_group245015001.lua b/Resources/Scripts/Scene/45015/scene45015_group245015001.lua index bf75d13ac..faf6bed4d 100644 --- a/Resources/Scripts/Scene/45015/scene45015_group245015001.lua +++ b/Resources/Scripts/Scene/45015/scene45015_group245015001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245015001, gear_group_id = 245015002, route_guide_timer = 5, @@ -24,8 +24,7 @@ local guide_routes={1,2} routes_start_point={ [1]={start_point={x=-17,y=-0.35,z=-82},points={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26}}, - [2]={start_point={x=-16.6,y=-0.35,z=-58},points={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31}}, - + [2]={start_point={x=-16.6,y=-0.35,z=-58},points={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31}}, } diff --git a/Resources/Scripts/Scene/45015/scene45015_group245015002.lua b/Resources/Scripts/Scene/45015/scene45015_group245015002.lua index 7d8af03d9..4e4e8e2e6 100644 --- a/Resources/Scripts/Scene/45015/scene45015_group245015002.lua +++ b/Resources/Scripts/Scene/45015/scene45015_group245015002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245015002, fundation_id = 70350145, challange_group_id = 245015001 diff --git a/Resources/Scripts/Scene/45015/scene45015_group245015003.lua b/Resources/Scripts/Scene/45015/scene45015_group245015003.lua index c09f3cc46..e2f4ebc54 100644 --- a/Resources/Scripts/Scene/45015/scene45015_group245015003.lua +++ b/Resources/Scripts/Scene/45015/scene45015_group245015003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245015003, gear_group_id = 245015002 } diff --git a/Resources/Scripts/Scene/45016/scene45016_group245016001.lua b/Resources/Scripts/Scene/45016/scene45016_group245016001.lua index 9c4ae9ba6..40c597251 100644 --- a/Resources/Scripts/Scene/45016/scene45016_group245016001.lua +++ b/Resources/Scripts/Scene/45016/scene45016_group245016001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245016001, gear_group_id = 245016002, route_guide_timer = 5, @@ -24,8 +24,7 @@ local guide_routes={1,2,3} routes_start_point={ [1]={start_point={x=137,y=-13.4,z=-18.3},points={1,2,3,4,5,6,7,8,9,10}}, -[2]={start_point={x=106.1,y=-9.67,z=-48},points={1,2,3,4,5}}, - [3]={start_point={x=77.1,y=-13.4,z=-11},points={1,2,3,4,5,6,7,8,9,10}}, +[2]={start_point={x=106.1,y=-9.67,z=-48},points={1,2,3,4,5}}, [3]={start_point={x=77.1,y=-13.4,z=-11},points={1,2,3,4,5,6,7,8,9,10}}, } diff --git a/Resources/Scripts/Scene/45016/scene45016_group245016002.lua b/Resources/Scripts/Scene/45016/scene45016_group245016002.lua index 7fa28754d..bc7b44514 100644 --- a/Resources/Scripts/Scene/45016/scene45016_group245016002.lua +++ b/Resources/Scripts/Scene/45016/scene45016_group245016002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245016002, fundation_id = 70350145, challange_group_id = 245016001 diff --git a/Resources/Scripts/Scene/45016/scene45016_group245016003.lua b/Resources/Scripts/Scene/45016/scene45016_group245016003.lua index bda7765a0..acf00664b 100644 --- a/Resources/Scripts/Scene/45016/scene45016_group245016003.lua +++ b/Resources/Scripts/Scene/45016/scene45016_group245016003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245016003, gear_group_id = 245016002 } diff --git a/Resources/Scripts/Scene/45017/scene45017_group245017001.lua b/Resources/Scripts/Scene/45017/scene45017_group245017001.lua index c589e3850..7a1390c18 100644 --- a/Resources/Scripts/Scene/45017/scene45017_group245017001.lua +++ b/Resources/Scripts/Scene/45017/scene45017_group245017001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245017001, gear_group_id = 245017002, route_guide_timer = 5, @@ -24,8 +24,7 @@ local guide_routes={1,2,3} routes_start_point={ [1]={start_point={x=10,y=0,z=-37},points={1,2,3,4,5,6,7,8,9,10}}, - [2]={start_point={x=10,y=0,z=-37},points={1,2,3,4,5,6,7,8,9,10}}, - [3]={start_point={x=0,y=2.5,z=-4.5},points={1,2,3,4,5,6,7,8,9,10}}, + [2]={start_point={x=10,y=0,z=-37},points={1,2,3,4,5,6,7,8,9,10}}, [3]={start_point={x=0,y=2.5,z=-4.5},points={1,2,3,4,5,6,7,8,9,10}}, } diff --git a/Resources/Scripts/Scene/45017/scene45017_group245017002.lua b/Resources/Scripts/Scene/45017/scene45017_group245017002.lua index bb1a9a569..a203b0688 100644 --- a/Resources/Scripts/Scene/45017/scene45017_group245017002.lua +++ b/Resources/Scripts/Scene/45017/scene45017_group245017002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245017002, fundation_id = 70350145, challange_group_id = 245017001 diff --git a/Resources/Scripts/Scene/45017/scene45017_group245017003.lua b/Resources/Scripts/Scene/45017/scene45017_group245017003.lua index daec099a6..355d5f272 100644 --- a/Resources/Scripts/Scene/45017/scene45017_group245017003.lua +++ b/Resources/Scripts/Scene/45017/scene45017_group245017003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245017003, gear_group_id = 245017002 } diff --git a/Resources/Scripts/Scene/45017/scene45017_group245017004.lua b/Resources/Scripts/Scene/45017/scene45017_group245017004.lua index ae590c3c3..2dbdcc458 100644 --- a/Resources/Scripts/Scene/45017/scene45017_group245017004.lua +++ b/Resources/Scripts/Scene/45017/scene45017_group245017004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245017004, challenge_group_id = 245017001, close_cd = 6, diff --git a/Resources/Scripts/Scene/45017/scene45017_group245017005.lua b/Resources/Scripts/Scene/45017/scene45017_group245017005.lua index b42d4197a..ed51d47f3 100644 --- a/Resources/Scripts/Scene/45017/scene45017_group245017005.lua +++ b/Resources/Scripts/Scene/45017/scene45017_group245017005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245017005, challenge_group_id = 245017001, close_cd = 6, diff --git a/Resources/Scripts/Scene/45018/scene45018_group245018001.lua b/Resources/Scripts/Scene/45018/scene45018_group245018001.lua index adcb3a89c..ad37faf07 100644 --- a/Resources/Scripts/Scene/45018/scene45018_group245018001.lua +++ b/Resources/Scripts/Scene/45018/scene45018_group245018001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245018001, gear_group_id = 245018002, route_guide_timer = 5, @@ -24,8 +24,7 @@ local guide_routes={1,2} routes_start_point={ [1]={start_point={x=35.3,y=-7.7,z=-86.5},points={1,2,3,4,5,6,7,8,9,10}}, - [2]={start_point={x=7.3,y=-7.7,z=-57.88},points={1,2,3,4,5,6,7,8,9,10}}, - + [2]={start_point={x=7.3,y=-7.7,z=-57.88},points={1,2,3,4,5,6,7,8,9,10}}, } diff --git a/Resources/Scripts/Scene/45018/scene45018_group245018002.lua b/Resources/Scripts/Scene/45018/scene45018_group245018002.lua index ea5a1c126..2ca3d93ee 100644 --- a/Resources/Scripts/Scene/45018/scene45018_group245018002.lua +++ b/Resources/Scripts/Scene/45018/scene45018_group245018002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245018002, fundation_id = 70350145, challange_group_id = 245018001 diff --git a/Resources/Scripts/Scene/45018/scene45018_group245018003.lua b/Resources/Scripts/Scene/45018/scene45018_group245018003.lua index af6d430c3..c57574f90 100644 --- a/Resources/Scripts/Scene/45018/scene45018_group245018003.lua +++ b/Resources/Scripts/Scene/45018/scene45018_group245018003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245018003, gear_group_id = 245018002 } diff --git a/Resources/Scripts/Scene/45018/scene45018_group245018004.lua b/Resources/Scripts/Scene/45018/scene45018_group245018004.lua index ff7d5c7cf..2fc9e5f58 100644 --- a/Resources/Scripts/Scene/45018/scene45018_group245018004.lua +++ b/Resources/Scripts/Scene/45018/scene45018_group245018004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245018004, challenge_group_id = 245018001, close_cd = 6, diff --git a/Resources/Scripts/Scene/45018/scene45018_group245018005.lua b/Resources/Scripts/Scene/45018/scene45018_group245018005.lua index d37b820d9..458285c20 100644 --- a/Resources/Scripts/Scene/45018/scene45018_group245018005.lua +++ b/Resources/Scripts/Scene/45018/scene45018_group245018005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245018005, challenge_group_id = 245018001, close_cd = 6, diff --git a/Resources/Scripts/Scene/45019/scene45019_group245019001.lua b/Resources/Scripts/Scene/45019/scene45019_group245019001.lua index 140b73e9b..b2b558a1f 100644 --- a/Resources/Scripts/Scene/45019/scene45019_group245019001.lua +++ b/Resources/Scripts/Scene/45019/scene45019_group245019001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245019001, gear_group_id = 245019002, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/45019/scene45019_group245019002.lua b/Resources/Scripts/Scene/45019/scene45019_group245019002.lua index f0f9a3b32..f7f112255 100644 --- a/Resources/Scripts/Scene/45019/scene45019_group245019002.lua +++ b/Resources/Scripts/Scene/45019/scene45019_group245019002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245019002, fundation_id = 70350145, challange_group_id = 245019001 diff --git a/Resources/Scripts/Scene/45019/scene45019_group245019003.lua b/Resources/Scripts/Scene/45019/scene45019_group245019003.lua index 1747b2a5b..9ae5740e1 100644 --- a/Resources/Scripts/Scene/45019/scene45019_group245019003.lua +++ b/Resources/Scripts/Scene/45019/scene45019_group245019003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245019003, gear_group_id = 245019002 } @@ -14,7 +14,7 @@ require "V2_6/TowerDefense_MonsterWaveConfig_V3.0" route_map={ [1]={route_points={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25},tags=2}, -[2]={route_points={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30},tags=4}, +[2]={route_points={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30},tags=4}, } local entrance_point_map={ diff --git a/Resources/Scripts/Scene/45020/scene45020_group245020001.lua b/Resources/Scripts/Scene/45020/scene45020_group245020001.lua index 5b3ebd880..38288ec1d 100644 --- a/Resources/Scripts/Scene/45020/scene45020_group245020001.lua +++ b/Resources/Scripts/Scene/45020/scene45020_group245020001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245020001, gear_group_id = 245020002, route_guide_timer = 5, @@ -24,8 +24,7 @@ local guide_routes={1,2,3} routes_start_point={ [1]={start_point={x=137,y=-13.4,z=-18.7},points={1,2,3,4,5,6,7,8,9,10}}, -[2]={start_point={x=106.1,y=-9.67,z=-48},points={1,2,3,4,5}}, - [3]={start_point={x=77.1,y=-13.4,z=-12},points={1,2,3,4,5,6,7,8,9,10}}, +[2]={start_point={x=106.1,y=-9.67,z=-48},points={1,2,3,4,5}}, [3]={start_point={x=77.1,y=-13.4,z=-12},points={1,2,3,4,5,6,7,8,9,10}}, } diff --git a/Resources/Scripts/Scene/45020/scene45020_group245020002.lua b/Resources/Scripts/Scene/45020/scene45020_group245020002.lua index 5e15b92d3..0341f801e 100644 --- a/Resources/Scripts/Scene/45020/scene45020_group245020002.lua +++ b/Resources/Scripts/Scene/45020/scene45020_group245020002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245020002, fundation_id = 70350145, challange_group_id = 245020001 diff --git a/Resources/Scripts/Scene/45020/scene45020_group245020003.lua b/Resources/Scripts/Scene/45020/scene45020_group245020003.lua index 30abdda2a..7efe2c75b 100644 --- a/Resources/Scripts/Scene/45020/scene45020_group245020003.lua +++ b/Resources/Scripts/Scene/45020/scene45020_group245020003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 245020003, gear_group_id = 245020002 } diff --git a/Resources/Scripts/Scene/45050/scene45050_group245050001.lua b/Resources/Scripts/Scene/45050/scene45050_group245050001.lua index c99b85e92..2d783a7fd 100644 --- a/Resources/Scripts/Scene/45050/scene45050_group245050001.lua +++ b/Resources/Scripts/Scene/45050/scene45050_group245050001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { is_offical = false, startpoint = 1034, connect_region = 1036, diff --git a/Resources/Scripts/Scene/45051/scene45051_group245051001.lua b/Resources/Scripts/Scene/45051/scene45051_group245051001.lua index d7ba62fa9..a318d0561 100644 --- a/Resources/Scripts/Scene/45051/scene45051_group245051001.lua +++ b/Resources/Scripts/Scene/45051/scene45051_group245051001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { is_offical = false, startpoint = 1061, connect_region = 1062, diff --git a/Resources/Scripts/Scene/45055/scene45055_group245055001.lua b/Resources/Scripts/Scene/45055/scene45055_group245055001.lua index 780f5353c..20c8c713e 100644 --- a/Resources/Scripts/Scene/45055/scene45055_group245055001.lua +++ b/Resources/Scripts/Scene/45055/scene45055_group245055001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { is_offical = true, startpoint = 1034, connect_region = 1039, diff --git a/Resources/Scripts/Scene/45056/scene45056_group245056001.lua b/Resources/Scripts/Scene/45056/scene45056_group245056001.lua index 01687ad69..543408817 100644 --- a/Resources/Scripts/Scene/45056/scene45056_group245056001.lua +++ b/Resources/Scripts/Scene/45056/scene45056_group245056001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { is_offical = true, startpoint = 1061, connect_region = 1065, diff --git a/Resources/Scripts/Scene/46101/scene46101_group246101001.lua b/Resources/Scripts/Scene/46101/scene46101_group246101001.lua index bd26d03e9..526d898bc 100644 --- a/Resources/Scripts/Scene/46101/scene46101_group246101001.lua +++ b/Resources/Scripts/Scene/46101/scene46101_group246101001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 246101001, --Boss目标点 target_points = {1004,1005,1006,1007,1008,1009,1010,1011,1012} diff --git a/Resources/Scripts/Scene/46101/scene46101_group246101003.lua b/Resources/Scripts/Scene/46101/scene46101_group246101003.lua index a4bf0719f..72d12cb0e 100644 --- a/Resources/Scripts/Scene/46101/scene46101_group246101003.lua +++ b/Resources/Scripts/Scene/46101/scene46101_group246101003.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_id = 246101003, --Boss目标点 target_points = {3002,3003,3004,3005,3006,3007,3008,3009,3010} diff --git a/Resources/Scripts/Scene/46201/scene46201_group246201001.lua b/Resources/Scripts/Scene/46201/scene46201_group246201001.lua index e2ca4cf1b..ae38fe549 100644 --- a/Resources/Scripts/Scene/46201/scene46201_group246201001.lua +++ b/Resources/Scripts/Scene/46201/scene46201_group246201001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { center_point = 1008, air_wall = 1009, bridge = 1015 diff --git a/Resources/Scripts/Scene/46201/scene46201_group246201002.lua b/Resources/Scripts/Scene/46201/scene46201_group246201002.lua index d73696556..29cdb1837 100644 --- a/Resources/Scripts/Scene/46201/scene46201_group246201002.lua +++ b/Resources/Scripts/Scene/46201/scene46201_group246201002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { center_point = 2008, air_wall = 2009, bridge = 2015, diff --git a/Resources/Scripts/Scene/46201/scene46201_group246201003.lua b/Resources/Scripts/Scene/46201/scene46201_group246201003.lua index 5ee9146a0..a26075a43 100644 --- a/Resources/Scripts/Scene/46201/scene46201_group246201003.lua +++ b/Resources/Scripts/Scene/46201/scene46201_group246201003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { center_point = 3008, air_wall = 3009, bridge = 3015 diff --git a/Resources/Scripts/Scene/46201/scene46201_group246201004.lua b/Resources/Scripts/Scene/46201/scene46201_group246201004.lua index 4e1e645ac..8469c2afb 100644 --- a/Resources/Scripts/Scene/46201/scene46201_group246201004.lua +++ b/Resources/Scripts/Scene/46201/scene46201_group246201004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { center_point = 4009, air_wall = 4007, bridge = 4015 diff --git a/Resources/Scripts/Scene/46202/scene46202_group246202001.lua b/Resources/Scripts/Scene/46202/scene46202_group246202001.lua index ccd2366c1..d369e9ebf 100644 --- a/Resources/Scripts/Scene/46202/scene46202_group246202001.lua +++ b/Resources/Scripts/Scene/46202/scene46202_group246202001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { center_point = 1007, rogue_exit = 1015 } diff --git a/Resources/Scripts/Scene/46202/scene46202_group246202002.lua b/Resources/Scripts/Scene/46202/scene46202_group246202002.lua index 2d7a2ab53..a6cad4ac5 100644 --- a/Resources/Scripts/Scene/46202/scene46202_group246202002.lua +++ b/Resources/Scripts/Scene/46202/scene46202_group246202002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { center_point = 2007, rogue_exit = 2015 } diff --git a/Resources/Scripts/Scene/46202/scene46202_group246202003.lua b/Resources/Scripts/Scene/46202/scene46202_group246202003.lua index 9d232fa7e..d91048492 100644 --- a/Resources/Scripts/Scene/46202/scene46202_group246202003.lua +++ b/Resources/Scripts/Scene/46202/scene46202_group246202003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { center_point = 3007, rogue_exit = 3015 } diff --git a/Resources/Scripts/Scene/46202/scene46202_group246202004.lua b/Resources/Scripts/Scene/46202/scene46202_group246202004.lua index 066a635c8..6a3740cff 100644 --- a/Resources/Scripts/Scene/46202/scene46202_group246202004.lua +++ b/Resources/Scripts/Scene/46202/scene46202_group246202004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { rotate_center_1 = 4009, rotate_center_2 = 4012 } diff --git a/Resources/Scripts/Scene/46202/scene46202_group246202005.lua b/Resources/Scripts/Scene/46202/scene46202_group246202005.lua index b3c546599..5f95c3261 100644 --- a/Resources/Scripts/Scene/46202/scene46202_group246202005.lua +++ b/Resources/Scripts/Scene/46202/scene46202_group246202005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { center_point = 5007, rogue_exit = 5015 } diff --git a/Resources/Scripts/Scene/46202/scene46202_group246202006.lua b/Resources/Scripts/Scene/46202/scene46202_group246202006.lua index 1b6fab5b7..fe6413088 100644 --- a/Resources/Scripts/Scene/46202/scene46202_group246202006.lua +++ b/Resources/Scripts/Scene/46202/scene46202_group246202006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { center_point = 6007, rogue_exit = 6015 } diff --git a/Resources/Scripts/Scene/46202/scene46202_group246202007.lua b/Resources/Scripts/Scene/46202/scene46202_group246202007.lua index 90cb1f2a0..b84434e07 100644 --- a/Resources/Scripts/Scene/46202/scene46202_group246202007.lua +++ b/Resources/Scripts/Scene/46202/scene46202_group246202007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { center_point = 7007, rogue_exit = 7015 } diff --git a/Resources/Scripts/Scene/46203/scene46203_group246203001.lua b/Resources/Scripts/Scene/46203/scene46203_group246203001.lua index 906d4660d..cb701243d 100644 --- a/Resources/Scripts/Scene/46203/scene46203_group246203001.lua +++ b/Resources/Scripts/Scene/46203/scene46203_group246203001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { center_point = 1007, Portal_Eff = 1010, Portal_Trigger = 1009, diff --git a/Resources/Scripts/Scene/46203/scene46203_group246203002.lua b/Resources/Scripts/Scene/46203/scene46203_group246203002.lua index 2dff269e1..d3741239f 100644 --- a/Resources/Scripts/Scene/46203/scene46203_group246203002.lua +++ b/Resources/Scripts/Scene/46203/scene46203_group246203002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { center_point = 2007, Portal_Eff = 2009, Portal_Trigger = 2010, diff --git a/Resources/Scripts/Scene/46203/scene46203_group246203003.lua b/Resources/Scripts/Scene/46203/scene46203_group246203003.lua index 6f7a5195e..83cd7d51b 100644 --- a/Resources/Scripts/Scene/46203/scene46203_group246203003.lua +++ b/Resources/Scripts/Scene/46203/scene46203_group246203003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { center_point = 3007, Portal_Eff = 3009, Portal_Trigger = 3010, diff --git a/Resources/Scripts/Scene/46203/scene46203_group246203004.lua b/Resources/Scripts/Scene/46203/scene46203_group246203004.lua index 01ab7a1ab..b9ef11fbd 100644 --- a/Resources/Scripts/Scene/46203/scene46203_group246203004.lua +++ b/Resources/Scripts/Scene/46203/scene46203_group246203004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { center_point = 4007, Portal_Eff = 4009, Portal_Trigger = 4010, diff --git a/Resources/Scripts/Scene/47021/scene47021_group247021001.lua b/Resources/Scripts/Scene/47021/scene47021_group247021001.lua index 3616925c6..218beb18a 100644 --- a/Resources/Scripts/Scene/47021/scene47021_group247021001.lua +++ b/Resources/Scripts/Scene/47021/scene47021_group247021001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs ={ +local defs ={ gallery_id = 27004, finish_region = 1005, operator_time_1 = 10, diff --git a/Resources/Scripts/Scene/47022/scene47022_group247022002.lua b/Resources/Scripts/Scene/47022/scene47022_group247022002.lua index 73542bb16..491411047 100644 --- a/Resources/Scripts/Scene/47022/scene47022_group247022002.lua +++ b/Resources/Scripts/Scene/47022/scene47022_group247022002.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs ={ +local defs ={ gallery_id = 27005, finish_region = 2020, operator_time_1 = 20, diff --git a/Resources/Scripts/Scene/47023/scene47023_group247023001.lua b/Resources/Scripts/Scene/47023/scene47023_group247023001.lua index 4acc3fdbd..dc3db2f9e 100644 --- a/Resources/Scripts/Scene/47023/scene47023_group247023001.lua +++ b/Resources/Scripts/Scene/47023/scene47023_group247023001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs ={ +local defs ={ gallery_id = 27006, finish_region = 1094, --关闭机关持续时间 @@ -18,8 +18,7 @@ defs ={ challenge_id=14, ball_challenge_id=13, - - ability_region = 1196, + ability_region = 1196, } @@ -38,7 +37,7 @@ local operator_list = { [1021]={1017,1135,1136,1156}, [1023]={1127,1137,1138,1139}, [1024]={1019}, -[1184]={1145,1016}, +[1184]={1145,1016}, } diff --git a/Resources/Scripts/Scene/47024/scene47024_group247024001.lua b/Resources/Scripts/Scene/47024/scene47024_group247024001.lua index c35d89b3c..2c23ea648 100644 --- a/Resources/Scripts/Scene/47024/scene47024_group247024001.lua +++ b/Resources/Scripts/Scene/47024/scene47024_group247024001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs ={ +local defs ={ gallery_id = 27007, finish_region = 1104, operator_time_1 = 20, diff --git a/Resources/Scripts/Scene/47025/scene47025_group247025001.lua b/Resources/Scripts/Scene/47025/scene47025_group247025001.lua index 98ea34d34..0c0046219 100644 --- a/Resources/Scripts/Scene/47025/scene47025_group247025001.lua +++ b/Resources/Scripts/Scene/47025/scene47025_group247025001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs ={ +local defs ={ gallery_id = 27008, operator_time_1 = 20, --加强机关持续时间 diff --git a/Resources/Scripts/Scene/47101/scene47101_group247101001.lua b/Resources/Scripts/Scene/47101/scene47101_group247101001.lua index 48fb5ce47..886d614f7 100644 --- a/Resources/Scripts/Scene/47101/scene47101_group247101001.lua +++ b/Resources/Scripts/Scene/47101/scene47101_group247101001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { awardball_configid = 1011, fungus_group = 247101002, call_entity = 1010, diff --git a/Resources/Scripts/Scene/47101/scene47101_group247101002.lua b/Resources/Scripts/Scene/47101/scene47101_group247101002.lua index 8f1bc6325..928c60495 100644 --- a/Resources/Scripts/Scene/47101/scene47101_group247101002.lua +++ b/Resources/Scripts/Scene/47101/scene47101_group247101002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { battle_group = 247101001, reborn_gear = 2005 } diff --git a/Resources/Scripts/Scene/47102/scene47102_group247102001.lua b/Resources/Scripts/Scene/47102/scene47102_group247102001.lua index f9e86a1e4..774f13db3 100644 --- a/Resources/Scripts/Scene/47102/scene47102_group247102001.lua +++ b/Resources/Scripts/Scene/47102/scene47102_group247102001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { awardball_configid = 1011, defense_logicentity = 1012, defense_viewentity = 1013, diff --git a/Resources/Scripts/Scene/47102/scene47102_group247102002.lua b/Resources/Scripts/Scene/47102/scene47102_group247102002.lua index 02e662d19..6d2a850fc 100644 --- a/Resources/Scripts/Scene/47102/scene47102_group247102002.lua +++ b/Resources/Scripts/Scene/47102/scene47102_group247102002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { battle_group = 247102001, reborn_gear = 2005 } diff --git a/Resources/Scripts/Scene/47103/scene47103_group247103001.lua b/Resources/Scripts/Scene/47103/scene47103_group247103001.lua index 98534e4ee..110c37068 100644 --- a/Resources/Scripts/Scene/47103/scene47103_group247103001.lua +++ b/Resources/Scripts/Scene/47103/scene47103_group247103001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { monster_tide = {1009,1011,1012,1013}, total_count = 8, max_count = 4, diff --git a/Resources/Scripts/Scene/47201/scene47201_group247201001.lua b/Resources/Scripts/Scene/47201/scene47201_group247201001.lua index ad44e896d..d06c9ad9f 100644 --- a/Resources/Scripts/Scene/47201/scene47201_group247201001.lua +++ b/Resources/Scripts/Scene/47201/scene47201_group247201001.lua @@ -4,13 +4,12 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --【三期新增】电梯所在房间的region id,用于保底玩家离开之后又飞速冲回来 elevatorRegion = 1016, - ---【三期新增】离开区域关电梯厅的门 + --【三期新增】离开区域关电梯厅的门 elevatorCloseRegion = 1030, keyDoor = { diff --git a/Resources/Scripts/Scene/47201/scene47201_group247201002.lua b/Resources/Scripts/Scene/47201/scene47201_group247201002.lua index a22fa0dda..cd780678a 100644 --- a/Resources/Scripts/Scene/47201/scene47201_group247201002.lua +++ b/Resources/Scripts/Scene/47201/scene47201_group247201002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 2001, group_1 = 247201002, challenge1 = 1, diff --git a/Resources/Scripts/Scene/47201/scene47201_group247201003.lua b/Resources/Scripts/Scene/47201/scene47201_group247201003.lua index b6bd51684..179fdf357 100644 --- a/Resources/Scripts/Scene/47201/scene47201_group247201003.lua +++ b/Resources/Scripts/Scene/47201/scene47201_group247201003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 3001, group_1 = 247201003, challenge1 = 2, diff --git a/Resources/Scripts/Scene/47201/scene47201_group247201004.lua b/Resources/Scripts/Scene/47201/scene47201_group247201004.lua index eebb288bf..49a033176 100644 --- a/Resources/Scripts/Scene/47201/scene47201_group247201004.lua +++ b/Resources/Scripts/Scene/47201/scene47201_group247201004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 4001, group_1 = 247201004, challenge1 = 3, diff --git a/Resources/Scripts/Scene/47201/scene47201_group247201009.lua b/Resources/Scripts/Scene/47201/scene47201_group247201009.lua index 4d22cb506..98364fc7b 100644 --- a/Resources/Scripts/Scene/47201/scene47201_group247201009.lua +++ b/Resources/Scripts/Scene/47201/scene47201_group247201009.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247201009, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47201/scene47201_group247201010.lua b/Resources/Scripts/Scene/47201/scene47201_group247201010.lua index 8ca94f019..59692c6d8 100644 --- a/Resources/Scripts/Scene/47201/scene47201_group247201010.lua +++ b/Resources/Scripts/Scene/47201/scene47201_group247201010.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247201010, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47201/scene47201_group247201011.lua b/Resources/Scripts/Scene/47201/scene47201_group247201011.lua index a4af70ddc..4bfbb343a 100644 --- a/Resources/Scripts/Scene/47201/scene47201_group247201011.lua +++ b/Resources/Scripts/Scene/47201/scene47201_group247201011.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247201011, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47201/scene47201_group247201012.lua b/Resources/Scripts/Scene/47201/scene47201_group247201012.lua index 1f0ac06d5..b3585c6e4 100644 --- a/Resources/Scripts/Scene/47201/scene47201_group247201012.lua +++ b/Resources/Scripts/Scene/47201/scene47201_group247201012.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { gadget_1 = 12001, group_1 = 247201012, group_core = 247201001, diff --git a/Resources/Scripts/Scene/47202/scene47202_group247202001.lua b/Resources/Scripts/Scene/47202/scene47202_group247202001.lua index 5cbcd6644..7a651cb18 100644 --- a/Resources/Scripts/Scene/47202/scene47202_group247202001.lua +++ b/Resources/Scripts/Scene/47202/scene47202_group247202001.lua @@ -4,13 +4,12 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --【三期新增】电梯所在房间的region id,用于保底玩家离开之后又飞速冲回来 elevatorRegion = 1016, - ---【三期新增】离开区域关电梯厅的门 + --【三期新增】离开区域关电梯厅的门 elevatorCloseRegion = 1030, keyDoor = { diff --git a/Resources/Scripts/Scene/47202/scene47202_group247202002.lua b/Resources/Scripts/Scene/47202/scene47202_group247202002.lua index 3ee4ef0ad..5ccace327 100644 --- a/Resources/Scripts/Scene/47202/scene47202_group247202002.lua +++ b/Resources/Scripts/Scene/47202/scene47202_group247202002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 2001, group_1 = 247202002, challenge1 = 1, diff --git a/Resources/Scripts/Scene/47202/scene47202_group247202003.lua b/Resources/Scripts/Scene/47202/scene47202_group247202003.lua index a915252bf..8f70edf59 100644 --- a/Resources/Scripts/Scene/47202/scene47202_group247202003.lua +++ b/Resources/Scripts/Scene/47202/scene47202_group247202003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 3001, group_1 = 247202003, challenge1 = 2, diff --git a/Resources/Scripts/Scene/47202/scene47202_group247202004.lua b/Resources/Scripts/Scene/47202/scene47202_group247202004.lua index 46fed67b9..ab1d0e0b4 100644 --- a/Resources/Scripts/Scene/47202/scene47202_group247202004.lua +++ b/Resources/Scripts/Scene/47202/scene47202_group247202004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 4001, group_1 = 247202004, challenge1 = 3, diff --git a/Resources/Scripts/Scene/47202/scene47202_group247202009.lua b/Resources/Scripts/Scene/47202/scene47202_group247202009.lua index 482f954e6..ccb30733e 100644 --- a/Resources/Scripts/Scene/47202/scene47202_group247202009.lua +++ b/Resources/Scripts/Scene/47202/scene47202_group247202009.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247202009, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47202/scene47202_group247202010.lua b/Resources/Scripts/Scene/47202/scene47202_group247202010.lua index a94a84b24..0d6ea8ebb 100644 --- a/Resources/Scripts/Scene/47202/scene47202_group247202010.lua +++ b/Resources/Scripts/Scene/47202/scene47202_group247202010.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247202010, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47202/scene47202_group247202011.lua b/Resources/Scripts/Scene/47202/scene47202_group247202011.lua index 55233c8ca..b2d8394c8 100644 --- a/Resources/Scripts/Scene/47202/scene47202_group247202011.lua +++ b/Resources/Scripts/Scene/47202/scene47202_group247202011.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247202011, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47202/scene47202_group247202012.lua b/Resources/Scripts/Scene/47202/scene47202_group247202012.lua index 96d971a66..369c45d29 100644 --- a/Resources/Scripts/Scene/47202/scene47202_group247202012.lua +++ b/Resources/Scripts/Scene/47202/scene47202_group247202012.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { gadget_1 = 12001, group_1 = 247202012, group_core = 247202001, diff --git a/Resources/Scripts/Scene/47203/scene47203_group247203001.lua b/Resources/Scripts/Scene/47203/scene47203_group247203001.lua index 61c88b723..f39afd948 100644 --- a/Resources/Scripts/Scene/47203/scene47203_group247203001.lua +++ b/Resources/Scripts/Scene/47203/scene47203_group247203001.lua @@ -4,13 +4,12 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --【三期新增】电梯所在房间的region id,用于保底玩家离开之后又飞速冲回来 elevatorRegion = 1016, - ---【三期新增】离开区域关电梯厅的门 + --【三期新增】离开区域关电梯厅的门 elevatorCloseRegion = 1030, keyDoor = { diff --git a/Resources/Scripts/Scene/47203/scene47203_group247203002.lua b/Resources/Scripts/Scene/47203/scene47203_group247203002.lua index f85c0a064..d8552c511 100644 --- a/Resources/Scripts/Scene/47203/scene47203_group247203002.lua +++ b/Resources/Scripts/Scene/47203/scene47203_group247203002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 2001, group_1 = 247203002, challenge1 = 1, diff --git a/Resources/Scripts/Scene/47203/scene47203_group247203003.lua b/Resources/Scripts/Scene/47203/scene47203_group247203003.lua index 1c910c32c..2c2356e54 100644 --- a/Resources/Scripts/Scene/47203/scene47203_group247203003.lua +++ b/Resources/Scripts/Scene/47203/scene47203_group247203003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 3001, group_1 = 247203003, challenge1 = 2, diff --git a/Resources/Scripts/Scene/47203/scene47203_group247203004.lua b/Resources/Scripts/Scene/47203/scene47203_group247203004.lua index 895452302..ba0ad6317 100644 --- a/Resources/Scripts/Scene/47203/scene47203_group247203004.lua +++ b/Resources/Scripts/Scene/47203/scene47203_group247203004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 4001, group_1 = 247203004, challenge1 = 3, diff --git a/Resources/Scripts/Scene/47203/scene47203_group247203009.lua b/Resources/Scripts/Scene/47203/scene47203_group247203009.lua index 1c30e8f53..eaf82034f 100644 --- a/Resources/Scripts/Scene/47203/scene47203_group247203009.lua +++ b/Resources/Scripts/Scene/47203/scene47203_group247203009.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247203009, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47203/scene47203_group247203010.lua b/Resources/Scripts/Scene/47203/scene47203_group247203010.lua index c23fda6b7..855be4914 100644 --- a/Resources/Scripts/Scene/47203/scene47203_group247203010.lua +++ b/Resources/Scripts/Scene/47203/scene47203_group247203010.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247203010, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47203/scene47203_group247203011.lua b/Resources/Scripts/Scene/47203/scene47203_group247203011.lua index 48b40ba11..38ffdaee3 100644 --- a/Resources/Scripts/Scene/47203/scene47203_group247203011.lua +++ b/Resources/Scripts/Scene/47203/scene47203_group247203011.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247203011, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47203/scene47203_group247203012.lua b/Resources/Scripts/Scene/47203/scene47203_group247203012.lua index 310f63285..5138b54aa 100644 --- a/Resources/Scripts/Scene/47203/scene47203_group247203012.lua +++ b/Resources/Scripts/Scene/47203/scene47203_group247203012.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { gadget_1 = 12001, group_1 = 247203012, group_core = 247203001, diff --git a/Resources/Scripts/Scene/47204/scene47204_group247204001.lua b/Resources/Scripts/Scene/47204/scene47204_group247204001.lua index fa1752b27..7b58e0100 100644 --- a/Resources/Scripts/Scene/47204/scene47204_group247204001.lua +++ b/Resources/Scripts/Scene/47204/scene47204_group247204001.lua @@ -4,13 +4,12 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --【三期新增】电梯所在房间的region id,用于保底玩家离开之后又飞速冲回来 elevatorRegion = 1016, - ---【三期新增】离开区域关电梯厅的门 + --【三期新增】离开区域关电梯厅的门 elevatorCloseRegion = 1030, keyDoor = { diff --git a/Resources/Scripts/Scene/47204/scene47204_group247204002.lua b/Resources/Scripts/Scene/47204/scene47204_group247204002.lua index 915035446..30d58cb62 100644 --- a/Resources/Scripts/Scene/47204/scene47204_group247204002.lua +++ b/Resources/Scripts/Scene/47204/scene47204_group247204002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 2001, group_1 = 247204002, challenge1 = 1, diff --git a/Resources/Scripts/Scene/47204/scene47204_group247204003.lua b/Resources/Scripts/Scene/47204/scene47204_group247204003.lua index 9bba2b710..e8bff3ba8 100644 --- a/Resources/Scripts/Scene/47204/scene47204_group247204003.lua +++ b/Resources/Scripts/Scene/47204/scene47204_group247204003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 3001, group_1 = 247204003, challenge1 = 2, diff --git a/Resources/Scripts/Scene/47204/scene47204_group247204004.lua b/Resources/Scripts/Scene/47204/scene47204_group247204004.lua index 26f60b79e..312c8c01c 100644 --- a/Resources/Scripts/Scene/47204/scene47204_group247204004.lua +++ b/Resources/Scripts/Scene/47204/scene47204_group247204004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 4001, group_1 = 247204004, challenge1 = 3, diff --git a/Resources/Scripts/Scene/47204/scene47204_group247204009.lua b/Resources/Scripts/Scene/47204/scene47204_group247204009.lua index fc03f78fc..3ba61f7e6 100644 --- a/Resources/Scripts/Scene/47204/scene47204_group247204009.lua +++ b/Resources/Scripts/Scene/47204/scene47204_group247204009.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247204009, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47204/scene47204_group247204010.lua b/Resources/Scripts/Scene/47204/scene47204_group247204010.lua index 18eb2d45c..c9764b67f 100644 --- a/Resources/Scripts/Scene/47204/scene47204_group247204010.lua +++ b/Resources/Scripts/Scene/47204/scene47204_group247204010.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247204010, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47204/scene47204_group247204011.lua b/Resources/Scripts/Scene/47204/scene47204_group247204011.lua index 820dd35b0..7b38ecfd3 100644 --- a/Resources/Scripts/Scene/47204/scene47204_group247204011.lua +++ b/Resources/Scripts/Scene/47204/scene47204_group247204011.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247204011, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47204/scene47204_group247204012.lua b/Resources/Scripts/Scene/47204/scene47204_group247204012.lua index 5f9efdb2c..b2c3d88fc 100644 --- a/Resources/Scripts/Scene/47204/scene47204_group247204012.lua +++ b/Resources/Scripts/Scene/47204/scene47204_group247204012.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { gadget_1 = 12001, group_1 = 247204012, group_core = 247204001, diff --git a/Resources/Scripts/Scene/47205/scene47205_group247205001.lua b/Resources/Scripts/Scene/47205/scene47205_group247205001.lua index e93a63162..158c47e42 100644 --- a/Resources/Scripts/Scene/47205/scene47205_group247205001.lua +++ b/Resources/Scripts/Scene/47205/scene47205_group247205001.lua @@ -4,13 +4,12 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --【三期新增】电梯所在房间的region id,用于保底玩家离开之后又飞速冲回来 elevatorRegion = 1016, - ---【三期新增】离开区域关电梯厅的门 + --【三期新增】离开区域关电梯厅的门 elevatorCloseRegion = 1030, keyDoor = { diff --git a/Resources/Scripts/Scene/47205/scene47205_group247205002.lua b/Resources/Scripts/Scene/47205/scene47205_group247205002.lua index a620053c8..91b73021b 100644 --- a/Resources/Scripts/Scene/47205/scene47205_group247205002.lua +++ b/Resources/Scripts/Scene/47205/scene47205_group247205002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 2001, group_1 = 247205002, challenge1 = 1, diff --git a/Resources/Scripts/Scene/47205/scene47205_group247205003.lua b/Resources/Scripts/Scene/47205/scene47205_group247205003.lua index 435a263d0..851525412 100644 --- a/Resources/Scripts/Scene/47205/scene47205_group247205003.lua +++ b/Resources/Scripts/Scene/47205/scene47205_group247205003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 3001, group_1 = 247205003, challenge1 = 2, diff --git a/Resources/Scripts/Scene/47205/scene47205_group247205004.lua b/Resources/Scripts/Scene/47205/scene47205_group247205004.lua index 9c5b71734..10b1f9832 100644 --- a/Resources/Scripts/Scene/47205/scene47205_group247205004.lua +++ b/Resources/Scripts/Scene/47205/scene47205_group247205004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 4001, group_1 = 247205004, challenge1 = 3, diff --git a/Resources/Scripts/Scene/47205/scene47205_group247205009.lua b/Resources/Scripts/Scene/47205/scene47205_group247205009.lua index 3324eb695..828f9e943 100644 --- a/Resources/Scripts/Scene/47205/scene47205_group247205009.lua +++ b/Resources/Scripts/Scene/47205/scene47205_group247205009.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247205009, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47205/scene47205_group247205010.lua b/Resources/Scripts/Scene/47205/scene47205_group247205010.lua index d81697cb7..d6a4b6aed 100644 --- a/Resources/Scripts/Scene/47205/scene47205_group247205010.lua +++ b/Resources/Scripts/Scene/47205/scene47205_group247205010.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247205010, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47205/scene47205_group247205011.lua b/Resources/Scripts/Scene/47205/scene47205_group247205011.lua index 77e26ecef..2bcc87c28 100644 --- a/Resources/Scripts/Scene/47205/scene47205_group247205011.lua +++ b/Resources/Scripts/Scene/47205/scene47205_group247205011.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247205011, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47205/scene47205_group247205012.lua b/Resources/Scripts/Scene/47205/scene47205_group247205012.lua index 7fbbccbb0..80e3c41a1 100644 --- a/Resources/Scripts/Scene/47205/scene47205_group247205012.lua +++ b/Resources/Scripts/Scene/47205/scene47205_group247205012.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { gadget_1 = 12001, group_1 = 247205012, group_core = 247205001, diff --git a/Resources/Scripts/Scene/47206/scene47206_group247206001.lua b/Resources/Scripts/Scene/47206/scene47206_group247206001.lua index f0bbae7eb..71371ccac 100644 --- a/Resources/Scripts/Scene/47206/scene47206_group247206001.lua +++ b/Resources/Scripts/Scene/47206/scene47206_group247206001.lua @@ -4,13 +4,12 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --【三期新增】电梯所在房间的region id,用于保底玩家离开之后又飞速冲回来 elevatorRegion = 1016, - ---【三期新增】离开区域关电梯厅的门 + --【三期新增】离开区域关电梯厅的门 elevatorCloseRegion = 1030, keyDoor = { diff --git a/Resources/Scripts/Scene/47206/scene47206_group247206002.lua b/Resources/Scripts/Scene/47206/scene47206_group247206002.lua index 3f60ff58c..9e2bd4a9a 100644 --- a/Resources/Scripts/Scene/47206/scene47206_group247206002.lua +++ b/Resources/Scripts/Scene/47206/scene47206_group247206002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 2001, group_1 = 247206002, challenge1 = 1, diff --git a/Resources/Scripts/Scene/47206/scene47206_group247206003.lua b/Resources/Scripts/Scene/47206/scene47206_group247206003.lua index 0dd5eaa97..a149aef45 100644 --- a/Resources/Scripts/Scene/47206/scene47206_group247206003.lua +++ b/Resources/Scripts/Scene/47206/scene47206_group247206003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 3001, group_1 = 247206003, challenge1 = 2, diff --git a/Resources/Scripts/Scene/47206/scene47206_group247206004.lua b/Resources/Scripts/Scene/47206/scene47206_group247206004.lua index d3228a4fa..ebf7ce0b3 100644 --- a/Resources/Scripts/Scene/47206/scene47206_group247206004.lua +++ b/Resources/Scripts/Scene/47206/scene47206_group247206004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 4001, group_1 = 247206004, challenge1 = 3, diff --git a/Resources/Scripts/Scene/47206/scene47206_group247206009.lua b/Resources/Scripts/Scene/47206/scene47206_group247206009.lua index f51f19207..2cc1e3bd4 100644 --- a/Resources/Scripts/Scene/47206/scene47206_group247206009.lua +++ b/Resources/Scripts/Scene/47206/scene47206_group247206009.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247206009, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47206/scene47206_group247206010.lua b/Resources/Scripts/Scene/47206/scene47206_group247206010.lua index 244269da5..c34a8b7e0 100644 --- a/Resources/Scripts/Scene/47206/scene47206_group247206010.lua +++ b/Resources/Scripts/Scene/47206/scene47206_group247206010.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247206010, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47206/scene47206_group247206011.lua b/Resources/Scripts/Scene/47206/scene47206_group247206011.lua index 2782dd0f3..41033adb5 100644 --- a/Resources/Scripts/Scene/47206/scene47206_group247206011.lua +++ b/Resources/Scripts/Scene/47206/scene47206_group247206011.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247206011, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47206/scene47206_group247206012.lua b/Resources/Scripts/Scene/47206/scene47206_group247206012.lua index a7cdf3b5f..84334039e 100644 --- a/Resources/Scripts/Scene/47206/scene47206_group247206012.lua +++ b/Resources/Scripts/Scene/47206/scene47206_group247206012.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { gadget_1 = 12001, group_1 = 247206012, group_core = 247206001, diff --git a/Resources/Scripts/Scene/47207/scene47207_group247207001.lua b/Resources/Scripts/Scene/47207/scene47207_group247207001.lua index f5b23789c..f90420f84 100644 --- a/Resources/Scripts/Scene/47207/scene47207_group247207001.lua +++ b/Resources/Scripts/Scene/47207/scene47207_group247207001.lua @@ -4,13 +4,12 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --【三期新增】电梯所在房间的region id,用于保底玩家离开之后又飞速冲回来 elevatorRegion = 1016, - ---【三期新增】离开区域关电梯厅的门 + --【三期新增】离开区域关电梯厅的门 elevatorCloseRegion = 1030, keyDoor = { diff --git a/Resources/Scripts/Scene/47207/scene47207_group247207002.lua b/Resources/Scripts/Scene/47207/scene47207_group247207002.lua index ac0594568..e6ca275af 100644 --- a/Resources/Scripts/Scene/47207/scene47207_group247207002.lua +++ b/Resources/Scripts/Scene/47207/scene47207_group247207002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 2001, group_1 = 247207002, challenge1 = 1, diff --git a/Resources/Scripts/Scene/47207/scene47207_group247207003.lua b/Resources/Scripts/Scene/47207/scene47207_group247207003.lua index 396773f2d..5962abab3 100644 --- a/Resources/Scripts/Scene/47207/scene47207_group247207003.lua +++ b/Resources/Scripts/Scene/47207/scene47207_group247207003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 3001, group_1 = 247207003, challenge1 = 2, diff --git a/Resources/Scripts/Scene/47207/scene47207_group247207004.lua b/Resources/Scripts/Scene/47207/scene47207_group247207004.lua index cf65b34fe..98797068e 100644 --- a/Resources/Scripts/Scene/47207/scene47207_group247207004.lua +++ b/Resources/Scripts/Scene/47207/scene47207_group247207004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 4001, group_1 = 247207004, challenge1 = 3, diff --git a/Resources/Scripts/Scene/47207/scene47207_group247207009.lua b/Resources/Scripts/Scene/47207/scene47207_group247207009.lua index a51044620..b9bd2a7ad 100644 --- a/Resources/Scripts/Scene/47207/scene47207_group247207009.lua +++ b/Resources/Scripts/Scene/47207/scene47207_group247207009.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247207009, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47207/scene47207_group247207010.lua b/Resources/Scripts/Scene/47207/scene47207_group247207010.lua index aa7a10331..c247053a9 100644 --- a/Resources/Scripts/Scene/47207/scene47207_group247207010.lua +++ b/Resources/Scripts/Scene/47207/scene47207_group247207010.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247207010, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47207/scene47207_group247207011.lua b/Resources/Scripts/Scene/47207/scene47207_group247207011.lua index eff71ab0d..337e3366e 100644 --- a/Resources/Scripts/Scene/47207/scene47207_group247207011.lua +++ b/Resources/Scripts/Scene/47207/scene47207_group247207011.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { group_1 = 247207011, challenge1 = 201, challenge_father = 999, diff --git a/Resources/Scripts/Scene/47207/scene47207_group247207012.lua b/Resources/Scripts/Scene/47207/scene47207_group247207012.lua index 031cb79b6..49ad97f78 100644 --- a/Resources/Scripts/Scene/47207/scene47207_group247207012.lua +++ b/Resources/Scripts/Scene/47207/scene47207_group247207012.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { gadget_1 = 12001, group_1 = 247207012, group_core = 247207001, diff --git a/Resources/Scripts/Scene/5/scene5_group155002002.lua b/Resources/Scripts/Scene/5/scene5_group155002002.lua index de55f3821..28687148a 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002002.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002002, managerGroup = 155002001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002003.lua b/Resources/Scripts/Scene/5/scene5_group155002003.lua index cd4cdf014..2a74e58f0 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002003.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002003, pointarray_route = 500200009 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002004.lua b/Resources/Scripts/Scene/5/scene5_group155002004.lua index 7e13df4a9..267f0af82 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002004.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002004 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002005.lua b/Resources/Scripts/Scene/5/scene5_group155002005.lua index a8287f633..03703e24d 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002005.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002005 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002008.lua b/Resources/Scripts/Scene/5/scene5_group155002008.lua index c34865879..923cabdfc 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002008.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_route = 500200002, group_ID = 155002008 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002010.lua b/Resources/Scripts/Scene/5/scene5_group155002010.lua index 91d96dfc8..029d96ff7 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002010.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 10001, group_ID = 155002010 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002011.lua b/Resources/Scripts/Scene/5/scene5_group155002011.lua index 5bca8f11f..18eaca285 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002011.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002011 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002012.lua b/Resources/Scripts/Scene/5/scene5_group155002012.lua index d67fc7295..2f14db03d 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002012.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002012, pointarray_Rot = 500200004 } @@ -13,8 +13,7 @@ defs = { local Controllers = {} local EnvControlGadgets = {} local Worktops = {} -local DayAppearGadgets = {12001 -,12002,12003} +local DayAppearGadgets = {12001 ,12002,12003} local NightAppearGadgets = {} local gameplayStateFuncitons = diff --git a/Resources/Scripts/Scene/5/scene5_group155002016.lua b/Resources/Scripts/Scene/5/scene5_group155002016.lua index b4fa1cc32..2e4aca69d 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002016.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002016.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002016, managerGroup = 155002001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002017.lua b/Resources/Scripts/Scene/5/scene5_group155002017.lua index 735daca56..e0b26ec7f 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002017.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { managerGroupID = 155003001, group_ID = 155002017 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002018.lua b/Resources/Scripts/Scene/5/scene5_group155002018.lua index 9cccaa669..23671081e 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002018.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002018.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002018, managerGroup = 155002001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002019.lua b/Resources/Scripts/Scene/5/scene5_group155002019.lua index 1f518aa99..9f4929ff9 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002019.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002019.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002019, managerGroup = 155002001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002020.lua b/Resources/Scripts/Scene/5/scene5_group155002020.lua index 02917aedd..9a7556fad 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002020.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002020.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002020, managerGroup = 155002001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002021.lua b/Resources/Scripts/Scene/5/scene5_group155002021.lua index a2c028976..e9ebf3b31 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002021.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002021.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002021, managerGroup = 155002001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002022.lua b/Resources/Scripts/Scene/5/scene5_group155002022.lua index 11ab59901..f0cac1e64 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002022.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002022.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002022, managerGroup = 155002001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002023.lua b/Resources/Scripts/Scene/5/scene5_group155002023.lua index 660b7b575..86e78196a 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002023.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002023.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002023, managerGroup = 155002001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002024.lua b/Resources/Scripts/Scene/5/scene5_group155002024.lua index 09f6ab776..e97ad7e84 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002024.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002024.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002024, managerGroup = 155002001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002025.lua b/Resources/Scripts/Scene/5/scene5_group155002025.lua index 3ad289c5b..00336fd5c 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002025.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002025.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002025, gadget_fire = 25001, gadget_controller = 25002, diff --git a/Resources/Scripts/Scene/5/scene5_group155002026.lua b/Resources/Scripts/Scene/5/scene5_group155002026.lua index 8aa32c472..d9e591cca 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002026.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002026.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002026, gadget_fire = 26001, gadget_controller = 26002, diff --git a/Resources/Scripts/Scene/5/scene5_group155002027.lua b/Resources/Scripts/Scene/5/scene5_group155002027.lua index 9846c9d35..30272b632 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002027.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002027.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002027, gadget_fire = 27001, gadget_controller = 27002, diff --git a/Resources/Scripts/Scene/5/scene5_group155002028.lua b/Resources/Scripts/Scene/5/scene5_group155002028.lua index 8ddf00a42..5ab6ac40f 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002028.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002028.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002028, gadget_fire = 28001, gadget_controller = 28002, diff --git a/Resources/Scripts/Scene/5/scene5_group155002029.lua b/Resources/Scripts/Scene/5/scene5_group155002029.lua index 0fc0bf0e5..a4047d69a 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002029.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002029.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002029, managerGroup = 155002001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002030.lua b/Resources/Scripts/Scene/5/scene5_group155002030.lua index 69d1c7788..81a1da32a 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002030.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002030.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002030, managerGroup = 155002001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002031.lua b/Resources/Scripts/Scene/5/scene5_group155002031.lua index 42fb18fd2..22bbf1fd7 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002031.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002031.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002031, managerGroup = 155002001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002032.lua b/Resources/Scripts/Scene/5/scene5_group155002032.lua index f346ca538..764af34f2 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002032.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002032.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002032, managerGroup = 155002001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002033.lua b/Resources/Scripts/Scene/5/scene5_group155002033.lua index db25bcd36..a894b2e7c 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002033.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002033.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002033, managerGroup = 155002001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002034.lua b/Resources/Scripts/Scene/5/scene5_group155002034.lua index 497ff0b3a..1e9497e0b 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002034.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002034.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002034, managerGroup = 155002001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155002035.lua b/Resources/Scripts/Scene/5/scene5_group155002035.lua index 8d4800aa7..0a5ff6e90 100644 --- a/Resources/Scripts/Scene/5/scene5_group155002035.lua +++ b/Resources/Scripts/Scene/5/scene5_group155002035.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155002035, managerGroup = 155002001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155003002.lua b/Resources/Scripts/Scene/5/scene5_group155003002.lua index 5c2ab07e7..4954631e3 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003002.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155003002 } diff --git a/Resources/Scripts/Scene/5/scene5_group155003004.lua b/Resources/Scripts/Scene/5/scene5_group155003004.lua index c302ac5d8..1dec6446f 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003004.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 20, group_id = 155003004, collectable_sum = 8, diff --git a/Resources/Scripts/Scene/5/scene5_group155003010.lua b/Resources/Scripts/Scene/5/scene5_group155003010.lua index 7734d6961..be277a35c 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003010.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, totalcount = 7, group_id = 155003010, diff --git a/Resources/Scripts/Scene/5/scene5_group155003015.lua b/Resources/Scripts/Scene/5/scene5_group155003015.lua index 8c240250a..e8da90e9d 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003015.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003015.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { managerGroupID = 155003001, group_ID = 155003015 } diff --git a/Resources/Scripts/Scene/5/scene5_group155003017.lua b/Resources/Scripts/Scene/5/scene5_group155003017.lua index 331be62aa..d3203a5ed 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003017.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155003017, managerGroup = 155003001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155003018.lua b/Resources/Scripts/Scene/5/scene5_group155003018.lua index 78050e943..98078de89 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003018.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003018.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155003018, managerGroup = 155002001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155003019.lua b/Resources/Scripts/Scene/5/scene5_group155003019.lua index 35efd9b5e..db9571b56 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003019.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003019.lua @@ -4,14 +4,14 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155003019, managerGroup = 155003001, pointarray_move = 500300005 } -- DEFS_MISCS -defs = { +local defs = { group_ID = 155003019, managerGroup = 155003001, pointarray_move = 500300005 diff --git a/Resources/Scripts/Scene/5/scene5_group155003020.lua b/Resources/Scripts/Scene/5/scene5_group155003020.lua index 0359d7e21..823f89f23 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003020.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003020.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155003020, managerGroup = 155003001, gadget_controller = 20004 diff --git a/Resources/Scripts/Scene/5/scene5_group155003021.lua b/Resources/Scripts/Scene/5/scene5_group155003021.lua index 784064a23..66b795eb5 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003021.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003021.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155003021, gadget_fire = 21001, gadget_controller = 21002, diff --git a/Resources/Scripts/Scene/5/scene5_group155003022.lua b/Resources/Scripts/Scene/5/scene5_group155003022.lua index 5eed2915e..8fbfbaca6 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003022.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003022.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155003022, gadget_fire = 22001, gadget_controller = 22002, diff --git a/Resources/Scripts/Scene/5/scene5_group155003023.lua b/Resources/Scripts/Scene/5/scene5_group155003023.lua index 406edb75f..d314f4e4f 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003023.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003023.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155003023, gadget_fire = 23001, gadget_controller = 23002, diff --git a/Resources/Scripts/Scene/5/scene5_group155003024.lua b/Resources/Scripts/Scene/5/scene5_group155003024.lua index 63375de90..eec87c62e 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003024.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003024.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155003024, gadget_fire = 24001, gadget_controller = 24002, diff --git a/Resources/Scripts/Scene/5/scene5_group155003025.lua b/Resources/Scripts/Scene/5/scene5_group155003025.lua index 7f47cd897..c47833640 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003025.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003025.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155003025, managerGroup = 155003001, pointarray_move = 500300006 diff --git a/Resources/Scripts/Scene/5/scene5_group155003026.lua b/Resources/Scripts/Scene/5/scene5_group155003026.lua index 09266b4b8..7b31fea1e 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003026.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003026.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155003026, managerGroup = 155002001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155003027.lua b/Resources/Scripts/Scene/5/scene5_group155003027.lua index f483624ee..335fc7ba7 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003027.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003027.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155003027, managerGroup = 155003001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155003028.lua b/Resources/Scripts/Scene/5/scene5_group155003028.lua index 73cce45ba..809adda46 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003028.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003028.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155003028, managerGroup = 155003001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155003029.lua b/Resources/Scripts/Scene/5/scene5_group155003029.lua index 22c19dee9..62b71194f 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003029.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003029.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155003029, managerGroup = 155002001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155003030.lua b/Resources/Scripts/Scene/5/scene5_group155003030.lua index f1b85fd91..2d0efc578 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003030.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003030.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155003030, managerGroup = 155003001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155003031.lua b/Resources/Scripts/Scene/5/scene5_group155003031.lua index 7c7d3d2ba..eeac3956d 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003031.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003031.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155003031, managerGroup = 155002001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155003032.lua b/Resources/Scripts/Scene/5/scene5_group155003032.lua index eabfcdb5e..c783a937a 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003032.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003032.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155003032, managerGroup = 155003001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155003033.lua b/Resources/Scripts/Scene/5/scene5_group155003033.lua index 6140bb22f..8c9c2fa85 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003033.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003033.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155003033, managerGroup = 155003001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155003034.lua b/Resources/Scripts/Scene/5/scene5_group155003034.lua index 6f8cc5b59..913472c7c 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003034.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003034.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155003034, managerGroup = 155003001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155003035.lua b/Resources/Scripts/Scene/5/scene5_group155003035.lua index ffac6c41a..0cdcbd1eb 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003035.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003035.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155003035, managerGroup = 155003001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155003310.lua b/Resources/Scripts/Scene/5/scene5_group155003310.lua index f5abc8fe1..216a9b658 100644 --- a/Resources/Scripts/Scene/5/scene5_group155003310.lua +++ b/Resources/Scripts/Scene/5/scene5_group155003310.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { managerGroupID = 155003001, group_ID = 155003310 } diff --git a/Resources/Scripts/Scene/5/scene5_group155004028.lua b/Resources/Scripts/Scene/5/scene5_group155004028.lua index 19f776705..bc591b174 100644 --- a/Resources/Scripts/Scene/5/scene5_group155004028.lua +++ b/Resources/Scripts/Scene/5/scene5_group155004028.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500400001, gadget_seelie = 28002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005004.lua b/Resources/Scripts/Scene/5/scene5_group155005004.lua index 42a170f76..c38574c05 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005004.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { totalcount = 0 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005013.lua b/Resources/Scripts/Scene/5/scene5_group155005013.lua index 818c76981..9a1a4e648 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005013.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005013.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005013, gadget_wall_1 = 13007, gadget_wall_2 = 13009, diff --git a/Resources/Scripts/Scene/5/scene5_group155005038.lua b/Resources/Scripts/Scene/5/scene5_group155005038.lua index cd315f7dc..5f77923de 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005038.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005038.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 155005038 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005039.lua b/Resources/Scripts/Scene/5/scene5_group155005039.lua index 22dcb0ea0..00545cae2 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005039.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005039.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupid = 155005039, pointarray_Rot = 500500004 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005040.lua b/Resources/Scripts/Scene/5/scene5_group155005040.lua index 14c2b5de0..4e9abceb8 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005040.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005040.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 40001, group_ID = 155005040 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155005048.lua b/Resources/Scripts/Scene/5/scene5_group155005048.lua index e018b2f85..0f3f53c22 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005048.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005048.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 3, group_id = 155005048, diff --git a/Resources/Scripts/Scene/5/scene5_group155005050.lua b/Resources/Scripts/Scene/5/scene5_group155005050.lua index 9ac27ae53..bcd389165 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005050.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005050.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005050, gadget_controller = 50001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005054.lua b/Resources/Scripts/Scene/5/scene5_group155005054.lua index 10b185624..6406d4572 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005054.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005054.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 500500002, gadget_seelie = 54002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005061.lua b/Resources/Scripts/Scene/5/scene5_group155005061.lua index 03bb55f5f..50668df01 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005061.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005061.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500500008, gadget_seelie = 61002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005064.lua b/Resources/Scripts/Scene/5/scene5_group155005064.lua index c517ec34a..aaada8c58 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005064.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005064.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500500010, gadget_seelie = 64002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005069.lua b/Resources/Scripts/Scene/5/scene5_group155005069.lua index 755499480..c6e54fe3b 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005069.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005069.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005069 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005070.lua b/Resources/Scripts/Scene/5/scene5_group155005070.lua index fc0a27324..a7b037081 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005070.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005070.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005070 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005071.lua b/Resources/Scripts/Scene/5/scene5_group155005071.lua index a56718597..990f2f42c 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005071.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005071.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005071 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005072.lua b/Resources/Scripts/Scene/5/scene5_group155005072.lua index fbbefbaa4..5d43205c6 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005072.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005072.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarryRot = 500500002, pointarryRott = 500500003 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005095.lua b/Resources/Scripts/Scene/5/scene5_group155005095.lua index 3db9c42a3..09d876e06 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005095.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005095.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { wall_1 = 95018, wall_2 = 95019, wall_3 = 95020, diff --git a/Resources/Scripts/Scene/5/scene5_group155005100.lua b/Resources/Scripts/Scene/5/scene5_group155005100.lua index 01316e0e4..22194b875 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005100.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005100.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 100001, group_ID = 155005100 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155005101.lua b/Resources/Scripts/Scene/5/scene5_group155005101.lua index f88a60e86..616724a8f 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005101.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005101.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 155005101, collectable_sum = 11 diff --git a/Resources/Scripts/Scene/5/scene5_group155005109.lua b/Resources/Scripts/Scene/5/scene5_group155005109.lua index 3099471fb..bea94072b 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005109.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005109.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005109, gadget_pattern = 109003, gadget_mark_01 = 109004, diff --git a/Resources/Scripts/Scene/5/scene5_group155005118.lua b/Resources/Scripts/Scene/5/scene5_group155005118.lua index 3a90595a9..500bf7862 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005118.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005118.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarryRot = 500500007, pointarryRott = 500500008 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005120.lua b/Resources/Scripts/Scene/5/scene5_group155005120.lua index 41ce0335d..5cc45010d 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005120.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005120.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500500018, gadget_seelie = 120002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005126.lua b/Resources/Scripts/Scene/5/scene5_group155005126.lua index 5c27c8b7c..071a266f0 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005126.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005126.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500500023, gadget_seelie = 126002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005129.lua b/Resources/Scripts/Scene/5/scene5_group155005129.lua index 7f76afa0b..17dbeba95 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005129.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005129.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500500026, gadget_seelie = 129002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005133.lua b/Resources/Scripts/Scene/5/scene5_group155005133.lua index ac4c1be4a..63bc0db02 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005133.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005133.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 155005133, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/5/scene5_group155005136.lua b/Resources/Scripts/Scene/5/scene5_group155005136.lua index 3c5e68908..94bb74a69 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005136.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005136.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 500500033, gadget_seelie = 136002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005156.lua b/Resources/Scripts/Scene/5/scene5_group155005156.lua index d15391edb..70eb8ad0a 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005156.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005156.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500500045, gadget_seelie = 156002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005160.lua b/Resources/Scripts/Scene/5/scene5_group155005160.lua index 012cf5f04..cc5dfe97a 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005160.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005160.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 160001, group_ID = 155005160 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155005162.lua b/Resources/Scripts/Scene/5/scene5_group155005162.lua index 4fe55c4ce..b88c2861b 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005162.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005162.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 21, route_2 = 500500048, gadget_seelie = 162002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005163.lua b/Resources/Scripts/Scene/5/scene5_group155005163.lua index 883644503..4862469eb 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005163.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005163.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005163, gadget_airforce = 163001, gadget_mask = 163002, diff --git a/Resources/Scripts/Scene/5/scene5_group155005176.lua b/Resources/Scripts/Scene/5/scene5_group155005176.lua index bc09a57ea..0a47aa797 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005176.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005176.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500500054, gadget_seelie = 176002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005178.lua b/Resources/Scripts/Scene/5/scene5_group155005178.lua index 5780ca0f6..316071706 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005178.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005178.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 155005178, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/5/scene5_group155005181.lua b/Resources/Scripts/Scene/5/scene5_group155005181.lua index e5eb46ea3..d8d1fdfef 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005181.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005181.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005181, gadget_RuneSeal = 181001, gadget_mask = 181002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005182.lua b/Resources/Scripts/Scene/5/scene5_group155005182.lua index 259f47a30..1c6762fe0 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005182.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005182.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005182, gadget_RuneSeal = 182001, gadget_mask = 182002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005183.lua b/Resources/Scripts/Scene/5/scene5_group155005183.lua index 438032e99..070832521 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005183.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005183.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005183, gadget_RuneSeal = 183001, gadget_mask = 183002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005184.lua b/Resources/Scripts/Scene/5/scene5_group155005184.lua index c82ddd156..91391e5ed 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005184.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005184.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005184, gadget_RuneSeal = 184001, gadget_mask = 184002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005185.lua b/Resources/Scripts/Scene/5/scene5_group155005185.lua index b1d492e77..6240cd6a4 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005185.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005185.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005185, gadget_RuneSeal = 185001, gadget_mask = 185002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005194.lua b/Resources/Scripts/Scene/5/scene5_group155005194.lua index 7636e585f..29aaa8141 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005194.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005194.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 155005194, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/5/scene5_group155005204.lua b/Resources/Scripts/Scene/5/scene5_group155005204.lua index cde18e517..a24cba1aa 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005204.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005204.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 155005204, gadget_riddle_hint = 204001, gadget_riddle_1 = 204002, diff --git a/Resources/Scripts/Scene/5/scene5_group155005207.lua b/Resources/Scripts/Scene/5/scene5_group155005207.lua index 959391134..db64f8aff 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005207.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005207.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 155005207, gadget_sum = 4 diff --git a/Resources/Scripts/Scene/5/scene5_group155005222.lua b/Resources/Scripts/Scene/5/scene5_group155005222.lua index 674f1533f..84a4913e5 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005222.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005222.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 222001, group_ID = 155005222 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155005226.lua b/Resources/Scripts/Scene/5/scene5_group155005226.lua index 2f65573fa..b3dedbf13 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005226.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005226.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500500072, gadget_seelie = 226002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005227.lua b/Resources/Scripts/Scene/5/scene5_group155005227.lua index 89b7ac5e3..f4778f2bb 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005227.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005227.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 7, route_2 = 500500074, gadget_seelie = 227002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005228.lua b/Resources/Scripts/Scene/5/scene5_group155005228.lua index 3c9390d8d..447d4087c 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005228.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005228.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 500500076, gadget_seelie = 228002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005238.lua b/Resources/Scripts/Scene/5/scene5_group155005238.lua index a31867044..ce047313e 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005238.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005238.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 155005238, gadget_sum = 4 diff --git a/Resources/Scripts/Scene/5/scene5_group155005244.lua b/Resources/Scripts/Scene/5/scene5_group155005244.lua index a23f3c542..66bbec607 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005244.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005244.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005244 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005245.lua b/Resources/Scripts/Scene/5/scene5_group155005245.lua index 5cc902728..29cd3bd4f 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005245.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005245.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500500079, gadget_seelie = 245002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005246.lua b/Resources/Scripts/Scene/5/scene5_group155005246.lua index a4ad82e72..324a6ed4e 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005246.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005246.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005246, gadget_RuneSeal = 246001, gadget_mask = 246002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005247.lua b/Resources/Scripts/Scene/5/scene5_group155005247.lua index 6b13ed86c..a139c7475 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005247.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005247.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005247, gadget_RuneSeal = 247001, gadget_mask = 247002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005248.lua b/Resources/Scripts/Scene/5/scene5_group155005248.lua index 512228de2..125f126ce 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005248.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005248.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005248, gadget_RuneSeal = 248001, gadget_mask = 248002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005249.lua b/Resources/Scripts/Scene/5/scene5_group155005249.lua index aa8938d55..75164d7a2 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005249.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005249.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005249, gadget_RuneSeal = 249001, gadget_mask = 249002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005250.lua b/Resources/Scripts/Scene/5/scene5_group155005250.lua index 1299fe6c4..264c722d5 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005250.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005250.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005250, gadget_RuneSeal = 250001, gadget_mask = 250002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005252.lua b/Resources/Scripts/Scene/5/scene5_group155005252.lua index ea95a2f82..4c4713a75 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005252.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005252.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500500081, gadget_seelie = 252002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005256.lua b/Resources/Scripts/Scene/5/scene5_group155005256.lua index f92082141..e15e378c0 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005256.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005256.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005256, gadget_sealday = 256001, gadget_sealnight = 256002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005257.lua b/Resources/Scripts/Scene/5/scene5_group155005257.lua index a83d7352c..10c2b9676 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005257.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005257.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 45, group_id = 155005257, diff --git a/Resources/Scripts/Scene/5/scene5_group155005258.lua b/Resources/Scripts/Scene/5/scene5_group155005258.lua index 27a27c1de..42f519111 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005258.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005258.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 258001, group_ID = 155005258 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155005259.lua b/Resources/Scripts/Scene/5/scene5_group155005259.lua index 7e52dde00..cdfa4661a 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005259.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005259.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005259, pointarray_move = 500500009 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005268.lua b/Resources/Scripts/Scene/5/scene5_group155005268.lua index c058aa95a..da2b21d4b 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005268.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005268.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005268 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005269.lua b/Resources/Scripts/Scene/5/scene5_group155005269.lua index af83eef93..6ad844809 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005269.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005269.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005269, gadget_energyoperator = 269001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005270.lua b/Resources/Scripts/Scene/5/scene5_group155005270.lua index 40c9c4424..32f13bee9 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005270.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005270.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 270001, pointarray_move = 500500010 diff --git a/Resources/Scripts/Scene/5/scene5_group155005271.lua b/Resources/Scripts/Scene/5/scene5_group155005271.lua index 3b520a34a..5eecf0935 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005271.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005271.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005271, gadget_01 = 271001, gadget_02 = 271002, diff --git a/Resources/Scripts/Scene/5/scene5_group155005272.lua b/Resources/Scripts/Scene/5/scene5_group155005272.lua index 1934daf6b..a217d8e9e 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005272.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005272.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 272001, group_ID = 155005272 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155005273.lua b/Resources/Scripts/Scene/5/scene5_group155005273.lua index e25154f9f..dc425c65b 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005273.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005273.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 273001, group_ID = 155005273 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155005275.lua b/Resources/Scripts/Scene/5/scene5_group155005275.lua index db4b747a3..265fa0172 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005275.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005275.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005275 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005277.lua b/Resources/Scripts/Scene/5/scene5_group155005277.lua index 3f7274808..66a08159d 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005277.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005277.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005277, gadget_lamp_01 = 277003, gadget_lamp_02 = 277004, diff --git a/Resources/Scripts/Scene/5/scene5_group155005281.lua b/Resources/Scripts/Scene/5/scene5_group155005281.lua index 31e8ed650..dc61d02ac 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005281.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005281.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005281, gadget_pattern = 281001, gadget_mark_01 = 281002, diff --git a/Resources/Scripts/Scene/5/scene5_group155005282.lua b/Resources/Scripts/Scene/5/scene5_group155005282.lua index b723ad02b..4f61a5948 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005282.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005282.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 155005282 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005283.lua b/Resources/Scripts/Scene/5/scene5_group155005283.lua index 1d70798cb..57440a09a 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005283.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005283.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005283, gadget_pattern = 283001, gadget_mark_01 = 283002, diff --git a/Resources/Scripts/Scene/5/scene5_group155005287.lua b/Resources/Scripts/Scene/5/scene5_group155005287.lua index 1f8e6664e..740eb107e 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005287.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005287.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005287, gadget_airforce = 287001, gadget_windforce = 287003, diff --git a/Resources/Scripts/Scene/5/scene5_group155005288.lua b/Resources/Scripts/Scene/5/scene5_group155005288.lua index 8d13943fd..867def1e0 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005288.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005288.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005288, gadget_airforce = 288001, gadget_windforce = 288003, diff --git a/Resources/Scripts/Scene/5/scene5_group155005289.lua b/Resources/Scripts/Scene/5/scene5_group155005289.lua index 892572963..69ba7f445 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005289.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005289.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 289001, group_ID = 155005289 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155005290.lua b/Resources/Scripts/Scene/5/scene5_group155005290.lua index 244f93de4..34a8d7f03 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005290.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005290.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005290, gadget_RuneSeal = 290001, gadget_mask = 290002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005292.lua b/Resources/Scripts/Scene/5/scene5_group155005292.lua index 16d0b18a9..d99eabe8b 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005292.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005292.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005292, gadget_RuneSeal = 292001, gadget_mask = 292002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005294.lua b/Resources/Scripts/Scene/5/scene5_group155005294.lua index 1a6ccafaa..9bbb027dc 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005294.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005294.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005294, gadget_RuneSeal = 294001, gadget_mask = 294002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005295.lua b/Resources/Scripts/Scene/5/scene5_group155005295.lua index bc67e0fff..e9fd3115c 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005295.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005295.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005295, gadget_RuneSeal = 295001, gadget_mask = 295002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005296.lua b/Resources/Scripts/Scene/5/scene5_group155005296.lua index 49044472d..69655c51f 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005296.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005296.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005296, gadget_RuneSeal = 296001, gadget_mask = 296002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005298.lua b/Resources/Scripts/Scene/5/scene5_group155005298.lua index d23fd73f0..333e449b4 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005298.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005298.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005298, gadget_RuneSeal = 298001, gadget_mask = 298002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005299.lua b/Resources/Scripts/Scene/5/scene5_group155005299.lua index bd12de70c..58b441fed 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005299.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005299.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005299, gadget_RuneSeal = 299001, gadget_mask = 299002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005300.lua b/Resources/Scripts/Scene/5/scene5_group155005300.lua index f50ff660c..57f8d0787 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005300.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005300.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005300, gadget_gate = 300001, gadget_controller = 300002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005304.lua b/Resources/Scripts/Scene/5/scene5_group155005304.lua index d36d46440..319311049 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005304.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005304.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005304 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005305.lua b/Resources/Scripts/Scene/5/scene5_group155005305.lua index c188e2bda..0e92590a5 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005305.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005305.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005305, pointarray_move = 500500011 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005314.lua b/Resources/Scripts/Scene/5/scene5_group155005314.lua index e348ace6e..4d8285ca8 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005314.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005314.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005314, gadget_airforce = 314001, gadget_windforce = 314003, diff --git a/Resources/Scripts/Scene/5/scene5_group155005315.lua b/Resources/Scripts/Scene/5/scene5_group155005315.lua index 2e29622ac..96ec4a309 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005315.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005315.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005315, gadget_airforce = 315001, gadget_windforce = 315003, diff --git a/Resources/Scripts/Scene/5/scene5_group155005316.lua b/Resources/Scripts/Scene/5/scene5_group155005316.lua index 9ecb4afe1..2bc8d9297 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005316.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005316.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 316001, pointarray_move = 500500012 diff --git a/Resources/Scripts/Scene/5/scene5_group155005317.lua b/Resources/Scripts/Scene/5/scene5_group155005317.lua index e369f4708..029003642 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005317.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005317.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 317001, pointarray_move = 500500013 diff --git a/Resources/Scripts/Scene/5/scene5_group155005323.lua b/Resources/Scripts/Scene/5/scene5_group155005323.lua index d1c835974..402c1205d 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005323.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005323.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 323001, group_ID = 155005323 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155005326.lua b/Resources/Scripts/Scene/5/scene5_group155005326.lua index b13b7800f..0956f3246 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005326.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005326.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 326001, pointarray_move = 500500014 diff --git a/Resources/Scripts/Scene/5/scene5_group155005327.lua b/Resources/Scripts/Scene/5/scene5_group155005327.lua index 54e4f431a..4d9e81af5 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005327.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005327.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 327001, pointarray_move = 500500015 diff --git a/Resources/Scripts/Scene/5/scene5_group155005328.lua b/Resources/Scripts/Scene/5/scene5_group155005328.lua index e115e06b3..eccc43df9 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005328.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005328.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 328001, pointarray_move = 500500016 diff --git a/Resources/Scripts/Scene/5/scene5_group155005329.lua b/Resources/Scripts/Scene/5/scene5_group155005329.lua index 95c206f77..0c05c3e20 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005329.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005329.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005329 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005330.lua b/Resources/Scripts/Scene/5/scene5_group155005330.lua index 185b1f694..9e5ad387e 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005330.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005330.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005330, gadget_energyoperator = 330001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005331.lua b/Resources/Scripts/Scene/5/scene5_group155005331.lua index 889b2e56e..e2625e104 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005331.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005331.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 331001, group_ID = 155005331 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155005332.lua b/Resources/Scripts/Scene/5/scene5_group155005332.lua index d35f8b7d1..d0aa22883 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005332.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005332.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 332001, pointarray_move = 500500017 diff --git a/Resources/Scripts/Scene/5/scene5_group155005334.lua b/Resources/Scripts/Scene/5/scene5_group155005334.lua index 35e427434..c6746c450 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005334.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005334.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005334, gadget_airforce = 334001, gadget_windforce = 334003, diff --git a/Resources/Scripts/Scene/5/scene5_group155005335.lua b/Resources/Scripts/Scene/5/scene5_group155005335.lua index 12e73395c..14414434c 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005335.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005335.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005335, gadget_airforce = 335001, gadget_windforce = 335003, diff --git a/Resources/Scripts/Scene/5/scene5_group155005336.lua b/Resources/Scripts/Scene/5/scene5_group155005336.lua index 4b60f6035..c91c569e6 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005336.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005336.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005336, gadget_pattern = 336001, gadget_mark_01 = 336002, diff --git a/Resources/Scripts/Scene/5/scene5_group155005344.lua b/Resources/Scripts/Scene/5/scene5_group155005344.lua index 71106af58..cba051a23 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005344.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005344.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005344 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005345.lua b/Resources/Scripts/Scene/5/scene5_group155005345.lua index 2d055364e..d460189bc 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005345.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005345.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 345001, group_ID = 155005345 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155005346.lua b/Resources/Scripts/Scene/5/scene5_group155005346.lua index d1321915e..1cd981894 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005346.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005346.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500500106, gadget_seelie = 346002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005347.lua b/Resources/Scripts/Scene/5/scene5_group155005347.lua index 83e878f55..4af60c92d 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005347.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005347.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500500108, gadget_seelie = 347002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005350.lua b/Resources/Scripts/Scene/5/scene5_group155005350.lua index ae9defcea..f4823b3a3 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005350.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005350.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 350001, group_ID = 155005350 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155005352.lua b/Resources/Scripts/Scene/5/scene5_group155005352.lua index a648dd3f2..b21a85e0d 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005352.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005352.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 352001, pointarray_move = 500500018 diff --git a/Resources/Scripts/Scene/5/scene5_group155005353.lua b/Resources/Scripts/Scene/5/scene5_group155005353.lua index 7adfe724e..8984a4d03 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005353.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005353.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 353001, pointarray_move = 500500019 diff --git a/Resources/Scripts/Scene/5/scene5_group155005366.lua b/Resources/Scripts/Scene/5/scene5_group155005366.lua index 1a98f41f9..6e2e11a7e 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005366.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005366.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005366, gadget_teleport = 366001, pointarray_move = 500500020 diff --git a/Resources/Scripts/Scene/5/scene5_group155005367.lua b/Resources/Scripts/Scene/5/scene5_group155005367.lua index 663f4add2..604088afd 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005367.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005367.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 367001, pointarray_move = 500500021 diff --git a/Resources/Scripts/Scene/5/scene5_group155005368.lua b/Resources/Scripts/Scene/5/scene5_group155005368.lua index 5a9a37314..ffda9549f 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005368.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005368.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 368001, pointarray_move = 500500022 diff --git a/Resources/Scripts/Scene/5/scene5_group155005369.lua b/Resources/Scripts/Scene/5/scene5_group155005369.lua index 738c533e7..ace9f4630 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005369.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005369.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 369001, pointarray_move = 500500023 diff --git a/Resources/Scripts/Scene/5/scene5_group155005371.lua b/Resources/Scripts/Scene/5/scene5_group155005371.lua index d54efdd39..2c9cafb60 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005371.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005371.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005371, gadget_RuneSeal = 371001, gadget_mask = 371002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005372.lua b/Resources/Scripts/Scene/5/scene5_group155005372.lua index 37f1e3d17..fc3d2f367 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005372.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005372.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005372, gadget_RuneSeal = 372001, gadget_mask = 372002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005375.lua b/Resources/Scripts/Scene/5/scene5_group155005375.lua index 2a7f488f9..14ab82ae2 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005375.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005375.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005375, gadget_RuneSeal = 375001, gadget_mask = 375002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005376.lua b/Resources/Scripts/Scene/5/scene5_group155005376.lua index 7691eca05..20cd5ced8 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005376.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005376.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005376, gadget_RuneSeal = 376001, gadget_mask = 376002 diff --git a/Resources/Scripts/Scene/5/scene5_group155005377.lua b/Resources/Scripts/Scene/5/scene5_group155005377.lua index 812ac0d8d..9e2993aa1 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005377.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005377.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005377 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005378.lua b/Resources/Scripts/Scene/5/scene5_group155005378.lua index f3ff0d007..4316d49e5 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005378.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005378.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155005378 } diff --git a/Resources/Scripts/Scene/5/scene5_group155005379.lua b/Resources/Scripts/Scene/5/scene5_group155005379.lua index cf870e421..0463f04e1 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005379.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005379.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 379001, group_ID = 155005379 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155005380.lua b/Resources/Scripts/Scene/5/scene5_group155005380.lua index 970077623..b2836c5d9 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005380.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005380.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 380001, pointarray_move = 500500024 diff --git a/Resources/Scripts/Scene/5/scene5_group155005381.lua b/Resources/Scripts/Scene/5/scene5_group155005381.lua index 6633c7617..2f4dda73e 100644 --- a/Resources/Scripts/Scene/5/scene5_group155005381.lua +++ b/Resources/Scripts/Scene/5/scene5_group155005381.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 381001, pointarray_move = 500500025 diff --git a/Resources/Scripts/Scene/5/scene5_group155006001.lua b/Resources/Scripts/Scene/5/scene5_group155006001.lua index 427280dc9..3e5de1d7c 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006001.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_1 = 0 } diff --git a/Resources/Scripts/Scene/5/scene5_group155006012.lua b/Resources/Scripts/Scene/5/scene5_group155006012.lua index c0181a4bd..5fdaa6142 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006012.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155006012, gadget_1 = 12003, gadget_2 = 12004, diff --git a/Resources/Scripts/Scene/5/scene5_group155006018.lua b/Resources/Scripts/Scene/5/scene5_group155006018.lua index a61e60f00..36c1333c2 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006018.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006018.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006018 } diff --git a/Resources/Scripts/Scene/5/scene5_group155006024.lua b/Resources/Scripts/Scene/5/scene5_group155006024.lua index 2ab779ee5..257b09371 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006024.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006024.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006024, gadget_01 = 24002, gadget_02 = 24003, diff --git a/Resources/Scripts/Scene/5/scene5_group155006025.lua b/Resources/Scripts/Scene/5/scene5_group155006025.lua index a98e3d181..f4355831b 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006025.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006025.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006025, gadget_airforce = 25003, gadget_mask = 25004, diff --git a/Resources/Scripts/Scene/5/scene5_group155006027.lua b/Resources/Scripts/Scene/5/scene5_group155006027.lua index c7f4bad6b..966a7791f 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006027.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006027.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 3, group_id = 155006027, diff --git a/Resources/Scripts/Scene/5/scene5_group155006029.lua b/Resources/Scripts/Scene/5/scene5_group155006029.lua index 4270721f4..73899244a 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006029.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006029.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006029 } diff --git a/Resources/Scripts/Scene/5/scene5_group155006032.lua b/Resources/Scripts/Scene/5/scene5_group155006032.lua index de45bbc34..261cd625a 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006032.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006032.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006032 } diff --git a/Resources/Scripts/Scene/5/scene5_group155006033.lua b/Resources/Scripts/Scene/5/scene5_group155006033.lua index 01e8a368d..3860e1093 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006033.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006033.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 155006033, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/5/scene5_group155006037.lua b/Resources/Scripts/Scene/5/scene5_group155006037.lua index 472f65fe0..f4ed9a986 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006037.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006037.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006037 } diff --git a/Resources/Scripts/Scene/5/scene5_group155006054.lua b/Resources/Scripts/Scene/5/scene5_group155006054.lua index 4af97dd4d..a04c92ecd 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006054.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006054.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarryRot = 500600004 } diff --git a/Resources/Scripts/Scene/5/scene5_group155006055.lua b/Resources/Scripts/Scene/5/scene5_group155006055.lua index a68057df2..5e14712ce 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006055.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006055.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarryRot = 500600005 } diff --git a/Resources/Scripts/Scene/5/scene5_group155006056.lua b/Resources/Scripts/Scene/5/scene5_group155006056.lua index c18c61b71..6a411e8a5 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006056.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006056.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 56001, group_ID = 155006056 } diff --git a/Resources/Scripts/Scene/5/scene5_group155006058.lua b/Resources/Scripts/Scene/5/scene5_group155006058.lua index 4a0d559ee..885d21519 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006058.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006058.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006058, gadget_seal_night = 58002, gadget_seal_day = 58005 diff --git a/Resources/Scripts/Scene/5/scene5_group155006059.lua b/Resources/Scripts/Scene/5/scene5_group155006059.lua index 0387840d7..4e57c0120 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006059.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006059.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006059, gadget_controller = 59006, gadget_point_01 = 59014, diff --git a/Resources/Scripts/Scene/5/scene5_group155006069.lua b/Resources/Scripts/Scene/5/scene5_group155006069.lua index 95c22cb70..00930158e 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006069.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006069.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006069, gadget_01 = 69001, gadget_02 = 69002, diff --git a/Resources/Scripts/Scene/5/scene5_group155006073.lua b/Resources/Scripts/Scene/5/scene5_group155006073.lua index 49527e546..d626f79ef 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006073.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006073.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 73001, group_ID = 155006073 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155006074.lua b/Resources/Scripts/Scene/5/scene5_group155006074.lua index ddf2774ac..825fb669a 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006074.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006074.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500600005, gadget_seelie = 74002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006075.lua b/Resources/Scripts/Scene/5/scene5_group155006075.lua index d98fbf0bc..b50dbf4aa 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006075.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006075.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500600007, gadget_seelie = 75002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006077.lua b/Resources/Scripts/Scene/5/scene5_group155006077.lua index 5af3f772c..691818cc8 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006077.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006077.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006077, gadget_airforce = 77001, gadget_mask = 77002, diff --git a/Resources/Scripts/Scene/5/scene5_group155006087.lua b/Resources/Scripts/Scene/5/scene5_group155006087.lua index df595f37e..660b6b364 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006087.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006087.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {87001,87002,87003,87004,87005}, diff --git a/Resources/Scripts/Scene/5/scene5_group155006088.lua b/Resources/Scripts/Scene/5/scene5_group155006088.lua index 26d7f30cf..03ffe57df 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006088.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006088.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 155006088, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/5/scene5_group155006090.lua b/Resources/Scripts/Scene/5/scene5_group155006090.lua index 1ac8d36e0..2a1c9325c 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006090.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006090.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006090 } diff --git a/Resources/Scripts/Scene/5/scene5_group155006094.lua b/Resources/Scripts/Scene/5/scene5_group155006094.lua index a8b329163..efeced354 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006094.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006094.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500600010, gadget_seelie = 94002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006095.lua b/Resources/Scripts/Scene/5/scene5_group155006095.lua index 02d1882fe..0b5d14f86 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006095.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006095.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500600012, gadget_seelie = 95002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006097.lua b/Resources/Scripts/Scene/5/scene5_group155006097.lua index adb1a24fb..844672470 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006097.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006097.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006097, gadget_sealday = 97001, gadget_sealnight = 0 diff --git a/Resources/Scripts/Scene/5/scene5_group155006123.lua b/Resources/Scripts/Scene/5/scene5_group155006123.lua index 03b30db2b..ebd59c6b7 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006123.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006123.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006123, gadget_RuneSeal = 123001, gadget_mask = 123002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006124.lua b/Resources/Scripts/Scene/5/scene5_group155006124.lua index 1339842ea..f6b8e81a5 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006124.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006124.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006124, gadget_RuneSeal = 124001, gadget_mask = 124002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006125.lua b/Resources/Scripts/Scene/5/scene5_group155006125.lua index c317b4503..c42a3a89f 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006125.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006125.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006125, gadget_RuneSeal = 125001, gadget_mask = 125002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006133.lua b/Resources/Scripts/Scene/5/scene5_group155006133.lua index cac2252d9..f4f8bc60f 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006133.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006133.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 133001, group_ID = 155006133 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155006134.lua b/Resources/Scripts/Scene/5/scene5_group155006134.lua index cb9445519..b1599f52c 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006134.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006134.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 134001, group_ID = 155006134 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155006135.lua b/Resources/Scripts/Scene/5/scene5_group155006135.lua index b51b8414f..191908d07 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006135.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006135.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 135001, group_ID = 155006135 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155006136.lua b/Resources/Scripts/Scene/5/scene5_group155006136.lua index cfaab5900..9ce1e8380 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006136.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006136.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 136001, group_ID = 155006136 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155006137.lua b/Resources/Scripts/Scene/5/scene5_group155006137.lua index 4cc0ab254..6577c5211 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006137.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006137.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 137001, group_ID = 155006137 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155006138.lua b/Resources/Scripts/Scene/5/scene5_group155006138.lua index 4358ee97b..2c9d2eedf 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006138.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006138.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 138001, group_ID = 155006138 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155006139.lua b/Resources/Scripts/Scene/5/scene5_group155006139.lua index badbec4b4..cb7be0066 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006139.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006139.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 139001, group_ID = 155006139 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155006140.lua b/Resources/Scripts/Scene/5/scene5_group155006140.lua index 9bfd04e91..7f21ff5c3 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006140.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006140.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 140001, group_ID = 155006140 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155006141.lua b/Resources/Scripts/Scene/5/scene5_group155006141.lua index 29fd13c4c..88a0485ac 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006141.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006141.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 141001, group_ID = 155006141 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155006142.lua b/Resources/Scripts/Scene/5/scene5_group155006142.lua index 924a23572..86cc5e8cc 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006142.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006142.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 142001, group_ID = 155006142 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155006143.lua b/Resources/Scripts/Scene/5/scene5_group155006143.lua index dc25cddd2..22f069ba3 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006143.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006143.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 143001, group_ID = 155006143 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155006144.lua b/Resources/Scripts/Scene/5/scene5_group155006144.lua index eed3c8592..f1379ed8a 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006144.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006144.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 144001, group_ID = 155006144 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155006145.lua b/Resources/Scripts/Scene/5/scene5_group155006145.lua index e5bc9b9f2..49c7f2b58 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006145.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006145.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 145001, group_ID = 155006145 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155006154.lua b/Resources/Scripts/Scene/5/scene5_group155006154.lua index e6d138a75..2f9cce9ae 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006154.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006154.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500600017, gadget_seelie = 154002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006155.lua b/Resources/Scripts/Scene/5/scene5_group155006155.lua index d1e7dedc4..95641238d 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006155.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006155.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006155, gadget_RuneSeal = 155001, gadget_mask = 155002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006156.lua b/Resources/Scripts/Scene/5/scene5_group155006156.lua index ed4a72f45..0a20a44ea 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006156.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006156.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006156, gadget_RuneSeal = 156001, gadget_mask = 156002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006157.lua b/Resources/Scripts/Scene/5/scene5_group155006157.lua index 41da1e36d..c81377213 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006157.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006157.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006157, gadget_RuneSeal = 157001, gadget_mask = 157002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006158.lua b/Resources/Scripts/Scene/5/scene5_group155006158.lua index 3a33ef81f..a26e3bd8b 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006158.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006158.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006158, gadget_RuneSeal = 158001, gadget_mask = 158002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006159.lua b/Resources/Scripts/Scene/5/scene5_group155006159.lua index ba2221ff3..be54ffe78 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006159.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006159.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006159, gadget_RuneSeal = 159001, gadget_mask = 159002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006163.lua b/Resources/Scripts/Scene/5/scene5_group155006163.lua index cec36d5c9..301f140d6 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006163.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006163.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 155006163, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/5/scene5_group155006166.lua b/Resources/Scripts/Scene/5/scene5_group155006166.lua index a1aa51780..058589de0 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006166.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006166.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500600021, gadget_seelie = 166002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006167.lua b/Resources/Scripts/Scene/5/scene5_group155006167.lua index 8dc21947a..58f737038 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006167.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006167.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006167, gadget_sealday = 0, gadget_sealnight = 167002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006169.lua b/Resources/Scripts/Scene/5/scene5_group155006169.lua index 0368563ad..8b9e14b02 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006169.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006169.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006169, gadget_sealday = 169001, gadget_sealnight = 0 diff --git a/Resources/Scripts/Scene/5/scene5_group155006174.lua b/Resources/Scripts/Scene/5/scene5_group155006174.lua index 9b07bbf14..03b05604b 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006174.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006174.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006174, gadget_sealday = 174001, gadget_sealnight = 0 diff --git a/Resources/Scripts/Scene/5/scene5_group155006177.lua b/Resources/Scripts/Scene/5/scene5_group155006177.lua index b25aac680..0c3d349dc 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006177.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006177.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500600025, gadget_seelie = 177002, diff --git a/Resources/Scripts/Scene/5/scene5_group155006178.lua b/Resources/Scripts/Scene/5/scene5_group155006178.lua index f93857dbb..8be9ad7d1 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006178.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006178.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500600026, gadget_seelie = 178002, diff --git a/Resources/Scripts/Scene/5/scene5_group155006179.lua b/Resources/Scripts/Scene/5/scene5_group155006179.lua index d08c8a44b..474c134d9 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006179.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006179.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500600027, gadget_seelie = 179002, diff --git a/Resources/Scripts/Scene/5/scene5_group155006180.lua b/Resources/Scripts/Scene/5/scene5_group155006180.lua index bd150b36d..10b97a457 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006180.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006180.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006180, gadget_sealday = 0, gadget_sealnight = 180002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006184.lua b/Resources/Scripts/Scene/5/scene5_group155006184.lua index c02cc74f6..5b60fd061 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006184.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006184.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006184, gadget_RuneSeal = 184001, gadget_mask = 184002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006185.lua b/Resources/Scripts/Scene/5/scene5_group155006185.lua index 78a98258d..937cab5ec 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006185.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006185.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006185, gadget_RuneSeal = 185001, gadget_mask = 185002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006187.lua b/Resources/Scripts/Scene/5/scene5_group155006187.lua index 1c38991e4..5a895506c 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006187.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006187.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006187 } diff --git a/Resources/Scripts/Scene/5/scene5_group155006190.lua b/Resources/Scripts/Scene/5/scene5_group155006190.lua index d9cad2cdf..1ff8fc51b 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006190.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006190.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500600030, gadget_seelie = 190002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006195.lua b/Resources/Scripts/Scene/5/scene5_group155006195.lua index c5d1a1a0a..1caa4f568 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006195.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006195.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 195001, group_ID = 155006195 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155006200.lua b/Resources/Scripts/Scene/5/scene5_group155006200.lua index f01931662..7a6cf3850 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006200.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006200.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006200, gadget_pattern = 200001, gadget_mark_01 = 200002, diff --git a/Resources/Scripts/Scene/5/scene5_group155006208.lua b/Resources/Scripts/Scene/5/scene5_group155006208.lua index d7269e8d2..bd4adffa2 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006208.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006208.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 208001, group_ID = 155006208 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155006209.lua b/Resources/Scripts/Scene/5/scene5_group155006209.lua index d4e5241d0..6b146e039 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006209.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006209.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006209, gadget_RuneSeal = 209001, gadget_mask = 209002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006210.lua b/Resources/Scripts/Scene/5/scene5_group155006210.lua index 1253b8172..9d2e9d4f2 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006210.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006210.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006210, gadget_RuneSeal = 210001, gadget_mask = 210002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006211.lua b/Resources/Scripts/Scene/5/scene5_group155006211.lua index 87a37c48f..8110a5e46 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006211.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006211.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006211, gadget_RuneSeal = 211001, gadget_mask = 211002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006212.lua b/Resources/Scripts/Scene/5/scene5_group155006212.lua index df3310e40..93a2683b2 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006212.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006212.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006212, gadget_RuneSeal = 212001, gadget_mask = 212002 diff --git a/Resources/Scripts/Scene/5/scene5_group155006213.lua b/Resources/Scripts/Scene/5/scene5_group155006213.lua index bee65a474..8c9f8a69d 100644 --- a/Resources/Scripts/Scene/5/scene5_group155006213.lua +++ b/Resources/Scripts/Scene/5/scene5_group155006213.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155006213, gadget_RuneSeal = 213001, gadget_mask = 213002 diff --git a/Resources/Scripts/Scene/5/scene5_group155007074.lua b/Resources/Scripts/Scene/5/scene5_group155007074.lua index 2e9b57fb2..40bf84fdf 100644 --- a/Resources/Scripts/Scene/5/scene5_group155007074.lua +++ b/Resources/Scripts/Scene/5/scene5_group155007074.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 10, group_id = 155007074, diff --git a/Resources/Scripts/Scene/5/scene5_group155007083.lua b/Resources/Scripts/Scene/5/scene5_group155007083.lua index ad3038661..240be110a 100644 --- a/Resources/Scripts/Scene/5/scene5_group155007083.lua +++ b/Resources/Scripts/Scene/5/scene5_group155007083.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 155007083 } diff --git a/Resources/Scripts/Scene/5/scene5_group155007085.lua b/Resources/Scripts/Scene/5/scene5_group155007085.lua index 4906227dd..7b223a899 100644 --- a/Resources/Scripts/Scene/5/scene5_group155007085.lua +++ b/Resources/Scripts/Scene/5/scene5_group155007085.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500700007, gadget_seelie = 85002 diff --git a/Resources/Scripts/Scene/5/scene5_group155007086.lua b/Resources/Scripts/Scene/5/scene5_group155007086.lua index 2586bd1c3..dc0b6d88c 100644 --- a/Resources/Scripts/Scene/5/scene5_group155007086.lua +++ b/Resources/Scripts/Scene/5/scene5_group155007086.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 155007086 } diff --git a/Resources/Scripts/Scene/5/scene5_group155007087.lua b/Resources/Scripts/Scene/5/scene5_group155007087.lua index 64c0f430d..5bdb95e78 100644 --- a/Resources/Scripts/Scene/5/scene5_group155007087.lua +++ b/Resources/Scripts/Scene/5/scene5_group155007087.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 15, group_id = 155007087, diff --git a/Resources/Scripts/Scene/5/scene5_group155007088.lua b/Resources/Scripts/Scene/5/scene5_group155007088.lua index 5e28eebf3..0862b0d98 100644 --- a/Resources/Scripts/Scene/5/scene5_group155007088.lua +++ b/Resources/Scripts/Scene/5/scene5_group155007088.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500700009, gadget_seelie = 88002 diff --git a/Resources/Scripts/Scene/5/scene5_group155007092.lua b/Resources/Scripts/Scene/5/scene5_group155007092.lua index 766f32413..52453a5b0 100644 --- a/Resources/Scripts/Scene/5/scene5_group155007092.lua +++ b/Resources/Scripts/Scene/5/scene5_group155007092.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155007092, gadget_Rune_01 = 92001, gadget_Rune_02 = 92002, diff --git a/Resources/Scripts/Scene/5/scene5_group155007105.lua b/Resources/Scripts/Scene/5/scene5_group155007105.lua index d5248ada9..70b758c86 100644 --- a/Resources/Scripts/Scene/5/scene5_group155007105.lua +++ b/Resources/Scripts/Scene/5/scene5_group155007105.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, group_id = 155007105, gadget_sum = 7 diff --git a/Resources/Scripts/Scene/5/scene5_group155007106.lua b/Resources/Scripts/Scene/5/scene5_group155007106.lua index be9eb7a1f..99e5926f2 100644 --- a/Resources/Scripts/Scene/5/scene5_group155007106.lua +++ b/Resources/Scripts/Scene/5/scene5_group155007106.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500700011, gadget_seelie = 106002 diff --git a/Resources/Scripts/Scene/5/scene5_group155007116.lua b/Resources/Scripts/Scene/5/scene5_group155007116.lua index 845d296a9..280cb9bc6 100644 --- a/Resources/Scripts/Scene/5/scene5_group155007116.lua +++ b/Resources/Scripts/Scene/5/scene5_group155007116.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 155007116, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/5/scene5_group155008010.lua b/Resources/Scripts/Scene/5/scene5_group155008010.lua index 4e522af90..ab1a896b4 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008010.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_route = 500800006 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008011.lua b/Resources/Scripts/Scene/5/scene5_group155008011.lua index 35dee7f9d..ef57e2e09 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008011.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 155008011, gadget_trigger_1 = 11001, gadget_gate_1 = 11006, diff --git a/Resources/Scripts/Scene/5/scene5_group155008012.lua b/Resources/Scripts/Scene/5/scene5_group155008012.lua index 5c7e52a97..24a3643cd 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008012.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008012, altarGroupID = 155008010 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008013.lua b/Resources/Scripts/Scene/5/scene5_group155008013.lua index deaccb338..79a56fd71 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008013.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008013.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008013 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008014.lua b/Resources/Scripts/Scene/5/scene5_group155008014.lua index fadeddbd1..d90b6e9c7 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008014.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008014.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008014, altarGroupID = 155008010 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008015.lua b/Resources/Scripts/Scene/5/scene5_group155008015.lua index c48fd3f28..9253b5754 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008015.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008015.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008015 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008016.lua b/Resources/Scripts/Scene/5/scene5_group155008016.lua index 85795c762..5b9107e5d 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008016.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008016.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008016 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008032.lua b/Resources/Scripts/Scene/5/scene5_group155008032.lua index ec0a3b5e0..db5d00d96 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008032.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008032.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupid = 155008032 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008035.lua b/Resources/Scripts/Scene/5/scene5_group155008035.lua index b2752b0e0..fe9a84ab7 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008035.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008035.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupid = 155008035 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008037.lua b/Resources/Scripts/Scene/5/scene5_group155008037.lua index 90b1a1594..fabd93605 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008037.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008037.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 3, group_id = 155008037 diff --git a/Resources/Scripts/Scene/5/scene5_group155008070.lua b/Resources/Scripts/Scene/5/scene5_group155008070.lua index e3c784f84..496f60d0b 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008070.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008070.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008070 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008071.lua b/Resources/Scripts/Scene/5/scene5_group155008071.lua index 74c1aaf60..a684b7eaf 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008071.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008071.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupid = 155008071, gadget_wall_1 = 71006, gadget_wall_2 = 71007, diff --git a/Resources/Scripts/Scene/5/scene5_group155008072.lua b/Resources/Scripts/Scene/5/scene5_group155008072.lua index 6dad255a9..065961f0d 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008072.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008072.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 72001, group_ID = 155008072 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008075.lua b/Resources/Scripts/Scene/5/scene5_group155008075.lua index 879004ec3..41ceee969 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008075.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008075.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500800008, gadget_seelie = 75002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008077.lua b/Resources/Scripts/Scene/5/scene5_group155008077.lua index 6e4cb3499..232ce305e 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008077.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008077.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 500800012, gadget_seelie = 77002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008078.lua b/Resources/Scripts/Scene/5/scene5_group155008078.lua index 8d719bfc9..103bf94cc 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008078.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008078.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500800014, gadget_seelie = 78002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008079.lua b/Resources/Scripts/Scene/5/scene5_group155008079.lua index cbe4253c2..bf750d1c3 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008079.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008079.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008079 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008081.lua b/Resources/Scripts/Scene/5/scene5_group155008081.lua index bd4629ebc..605aed3ca 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008081.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008081.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008081 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008091.lua b/Resources/Scripts/Scene/5/scene5_group155008091.lua index 0401cdfc3..32b92a159 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008091.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008091.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 155008091 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008097.lua b/Resources/Scripts/Scene/5/scene5_group155008097.lua index 692cfdfff..a66068740 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008097.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008097.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008097, pointarray_Rot = 500800010 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008098.lua b/Resources/Scripts/Scene/5/scene5_group155008098.lua index c21f32efe..90c273588 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008098.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008098.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 98001, group_ID = 155008098 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008099.lua b/Resources/Scripts/Scene/5/scene5_group155008099.lua index d8b852067..5879474d7 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008099.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008099.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008099 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008100.lua b/Resources/Scripts/Scene/5/scene5_group155008100.lua index e64e1313f..f5d9f7cdb 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008100.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008100.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008100, gadget_sealday = 100001, gadget_sealnight = 100002, diff --git a/Resources/Scripts/Scene/5/scene5_group155008101.lua b/Resources/Scripts/Scene/5/scene5_group155008101.lua index f430e6ed0..a59c4e871 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008101.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008101.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008101, gadget_airforce = 101001, gadget_mask = 101002, diff --git a/Resources/Scripts/Scene/5/scene5_group155008102.lua b/Resources/Scripts/Scene/5/scene5_group155008102.lua index 0a91e4b76..4a565be90 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008102.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008102.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008102, gadget_RuneSeal = 102001, gadget_mask = 102002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008103.lua b/Resources/Scripts/Scene/5/scene5_group155008103.lua index f6d24614b..9edcb8913 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008103.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008103.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008103, gadget_RuneSeal = 103001, gadget_mask = 103002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008104.lua b/Resources/Scripts/Scene/5/scene5_group155008104.lua index 58ff423b8..20db4cd64 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008104.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008104.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008104, gadget_RuneSeal = 104001, gadget_mask = 104002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008105.lua b/Resources/Scripts/Scene/5/scene5_group155008105.lua index f822cc205..751968a81 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008105.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008105.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008105, gadget_RuneSeal = 105001, gadget_mask = 105002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008106.lua b/Resources/Scripts/Scene/5/scene5_group155008106.lua index 6fb262251..9058ad9d3 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008106.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008106.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008106, gadget_RuneSeal = 106001, gadget_mask = 106002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008107.lua b/Resources/Scripts/Scene/5/scene5_group155008107.lua index dff05f32e..399e79f18 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008107.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008107.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008107, gadget_RuneSeal = 107001, gadget_mask = 107002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008108.lua b/Resources/Scripts/Scene/5/scene5_group155008108.lua index 85f281a55..a52139a08 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008108.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008108.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008108, gadget_RuneSeal = 108001, gadget_mask = 108002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008109.lua b/Resources/Scripts/Scene/5/scene5_group155008109.lua index 299ca3b43..d7bb15182 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008109.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008109.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008109, gadget_RuneSeal = 109001, gadget_mask = 109002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008110.lua b/Resources/Scripts/Scene/5/scene5_group155008110.lua index 87141c3f7..d129d8380 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008110.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008110.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008110, gadget_RuneSeal = 110001, gadget_mask = 110002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008112.lua b/Resources/Scripts/Scene/5/scene5_group155008112.lua index 947fd7470..01407636b 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008112.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008112.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 112001, group_ID = 155008112 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155008113.lua b/Resources/Scripts/Scene/5/scene5_group155008113.lua index fecc705f4..ee215db91 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008113.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008113.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500800018, gadget_seelie = 113002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008116.lua b/Resources/Scripts/Scene/5/scene5_group155008116.lua index 470af8457..35206b022 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008116.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008116.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500800022, gadget_seelie = 116002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008121.lua b/Resources/Scripts/Scene/5/scene5_group155008121.lua index 24ad92363..925db77cb 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008121.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008121.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 500800027, gadget_seelie = 121002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008128.lua b/Resources/Scripts/Scene/5/scene5_group155008128.lua index c0e4338bd..a1b1e1e65 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008128.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008128.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, group_id = 155008128, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/5/scene5_group155008132.lua b/Resources/Scripts/Scene/5/scene5_group155008132.lua index a47485f68..be43eac36 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008132.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008132.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500800030, gadget_seelie = 132002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008136.lua b/Resources/Scripts/Scene/5/scene5_group155008136.lua index 4ec5b1812..8ebff56c1 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008136.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008136.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500800032, gadget_seelie = 136002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008148.lua b/Resources/Scripts/Scene/5/scene5_group155008148.lua index fd1082c27..c7da6ab87 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008148.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008148.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 148001, group_ID = 155008148 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155008149.lua b/Resources/Scripts/Scene/5/scene5_group155008149.lua index b3be209ae..34076f655 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008149.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008149.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 149001, group_ID = 155008149 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155008154.lua b/Resources/Scripts/Scene/5/scene5_group155008154.lua index 8e4ff5aa5..9bb7ebb70 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008154.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008154.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 500800034, gadget_seelie = 154002, diff --git a/Resources/Scripts/Scene/5/scene5_group155008168.lua b/Resources/Scripts/Scene/5/scene5_group155008168.lua index 1db360110..fab3fcf22 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008168.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008168.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 168001, group_ID = 155008168 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008170.lua b/Resources/Scripts/Scene/5/scene5_group155008170.lua index f66b3fb4c..7f24fa3c8 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008170.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008170.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008170, gadget_RuneSeal = 170001, gadget_mask = 170002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008171.lua b/Resources/Scripts/Scene/5/scene5_group155008171.lua index b06164930..6b6c05bf6 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008171.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008171.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008171, gadget_RuneSeal = 171001, gadget_mask = 171002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008173.lua b/Resources/Scripts/Scene/5/scene5_group155008173.lua index c19d0be4f..bcebf5e91 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008173.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008173.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008173, gadget_RuneSeal = 173001, gadget_mask = 173002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008174.lua b/Resources/Scripts/Scene/5/scene5_group155008174.lua index 61bd48d3a..0f7ae0767 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008174.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008174.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008174, gadget_RuneSeal = 174001, gadget_mask = 174002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008175.lua b/Resources/Scripts/Scene/5/scene5_group155008175.lua index 4bc9f8429..f8f0cd408 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008175.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008175.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008175, gadget_RuneSeal = 175001, gadget_mask = 175002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008177.lua b/Resources/Scripts/Scene/5/scene5_group155008177.lua index 5ef3e51ea..0065a973f 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008177.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008177.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008177, gadget_RuneSeal = 177001, gadget_mask = 177002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008178.lua b/Resources/Scripts/Scene/5/scene5_group155008178.lua index 4caf35749..aa1275e4e 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008178.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008178.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008178, gadget_RuneSeal = 178001, gadget_mask = 178002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008179.lua b/Resources/Scripts/Scene/5/scene5_group155008179.lua index 73319c230..8a8a4ca37 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008179.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008179.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008179, gadget_RuneSeal = 179001, gadget_mask = 179002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008181.lua b/Resources/Scripts/Scene/5/scene5_group155008181.lua index 6005c3e04..320c9ac0c 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008181.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008181.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008181, gadget_RuneSeal = 181001, gadget_mask = 181002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008182.lua b/Resources/Scripts/Scene/5/scene5_group155008182.lua index 89e563f29..fcaa30e35 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008182.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008182.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008182, gadget_RuneSeal = 182001, gadget_mask = 182002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008184.lua b/Resources/Scripts/Scene/5/scene5_group155008184.lua index 0d1fe12a2..6dce8bb97 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008184.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008184.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008184, gadget_RuneSeal = 184001, gadget_mask = 184002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008185.lua b/Resources/Scripts/Scene/5/scene5_group155008185.lua index f28932244..c537bdc31 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008185.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008185.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008185, gadget_RuneSeal = 185001, gadget_mask = 185002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008186.lua b/Resources/Scripts/Scene/5/scene5_group155008186.lua index 1ba9f1ca5..9a94c7988 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008186.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008186.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008186, gadget_RuneSeal = 186001, gadget_mask = 186002 diff --git a/Resources/Scripts/Scene/5/scene5_group155008187.lua b/Resources/Scripts/Scene/5/scene5_group155008187.lua index 12c09d6ec..a819f8c5b 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008187.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008187.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008187, CallCheckFunction = 0 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008188.lua b/Resources/Scripts/Scene/5/scene5_group155008188.lua index 62b9bf653..7aa6700d9 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008188.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008188.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 188001, group_ID = 155008188 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155008189.lua b/Resources/Scripts/Scene/5/scene5_group155008189.lua index 7a0e68c0a..d7d8ab35b 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008189.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008189.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008189, gadget_sealday = 189002, gadget_sealnight = 189001 diff --git a/Resources/Scripts/Scene/5/scene5_group155008190.lua b/Resources/Scripts/Scene/5/scene5_group155008190.lua index 2e833dad7..adb84dacf 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008190.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008190.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008190, gadget_energyoperator = 190001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008200.lua b/Resources/Scripts/Scene/5/scene5_group155008200.lua index 4f771d946..f57d48dec 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008200.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008200.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008200 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008201.lua b/Resources/Scripts/Scene/5/scene5_group155008201.lua index 183d09e82..b18ce180c 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008201.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008201.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008201, gadget_controller_01 = 201003, gadget_controller_02 = 201005, diff --git a/Resources/Scripts/Scene/5/scene5_group155008202.lua b/Resources/Scripts/Scene/5/scene5_group155008202.lua index ffd2fd923..d892bdf31 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008202.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008202.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008202, gadget_controller_01 = 202001, gadget_controller_02 = 202002, diff --git a/Resources/Scripts/Scene/5/scene5_group155008204.lua b/Resources/Scripts/Scene/5/scene5_group155008204.lua index fe08b7440..32eb29357 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008204.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008204.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008204, gadget_airforce = 204001, gadget_windforce = 204003, diff --git a/Resources/Scripts/Scene/5/scene5_group155008205.lua b/Resources/Scripts/Scene/5/scene5_group155008205.lua index 668468078..630c5158e 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008205.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008205.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008205, gadget_airforce = 205001, gadget_windforce = 205002, diff --git a/Resources/Scripts/Scene/5/scene5_group155008213.lua b/Resources/Scripts/Scene/5/scene5_group155008213.lua index 08c72e044..cd4bdc001 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008213.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008213.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008213, gadget_airforce = 213001, gadget_windforce = 213002, diff --git a/Resources/Scripts/Scene/5/scene5_group155008215.lua b/Resources/Scripts/Scene/5/scene5_group155008215.lua index 2c208743e..774fe2504 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008215.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008215.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { managerGroupID = 155003001, group_ID = 155008215 } diff --git a/Resources/Scripts/Scene/5/scene5_group155008216.lua b/Resources/Scripts/Scene/5/scene5_group155008216.lua index 5a865904b..d67a725e1 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008216.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008216.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 216001, group_ID = 155008216 } @@ -22,10 +22,8 @@ local gameplayStateFuncitons = end, ["1"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) - ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) - - end -, + ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Lock(context,defs.gadget_controller) + end , ["2"] = function(context) ScriptLib.SetGroupVariableValue(context,"is_daynight_finish",0) ScriptLib.AddExtraGroupSuite(context, defs.group_ID, 2) DayNight_Gadget_Unlock(context,defs.gadget_controller) diff --git a/Resources/Scripts/Scene/5/scene5_group155008217.lua b/Resources/Scripts/Scene/5/scene5_group155008217.lua index a50e2b53c..d3a730934 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008217.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008217.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 155008217, collectable_sum = 14 diff --git a/Resources/Scripts/Scene/5/scene5_group155008218.lua b/Resources/Scripts/Scene/5/scene5_group155008218.lua index 057e5dd5d..25e032b59 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008218.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008218.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 218001, pointarray_move = 500800011 diff --git a/Resources/Scripts/Scene/5/scene5_group155008219.lua b/Resources/Scripts/Scene/5/scene5_group155008219.lua index 5f7cb04ad..51ade55cc 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008219.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008219.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 219001, pointarray_move = 500800012 diff --git a/Resources/Scripts/Scene/5/scene5_group155008220.lua b/Resources/Scripts/Scene/5/scene5_group155008220.lua index 6701b1319..44aa18877 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008220.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008220.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 220001, pointarray_move = 500800013 diff --git a/Resources/Scripts/Scene/5/scene5_group155008221.lua b/Resources/Scripts/Scene/5/scene5_group155008221.lua index 9eea91eaa..d4a368140 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008221.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008221.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 221001, pointarray_move = 500800014 diff --git a/Resources/Scripts/Scene/5/scene5_group155008224.lua b/Resources/Scripts/Scene/5/scene5_group155008224.lua index 131f0f39c..b9618dadb 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008224.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008224.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 155008224, gadget_sum = 4 diff --git a/Resources/Scripts/Scene/5/scene5_group155008739.lua b/Resources/Scripts/Scene/5/scene5_group155008739.lua index e43ef3127..85bda605d 100644 --- a/Resources/Scripts/Scene/5/scene5_group155008739.lua +++ b/Resources/Scripts/Scene/5/scene5_group155008739.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155008739, gadget_RuneSeal = 739001, gadget_mask = 739002 diff --git a/Resources/Scripts/Scene/5/scene5_group155009002.lua b/Resources/Scripts/Scene/5/scene5_group155009002.lua index 8b323b851..45b5b7549 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009002.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009002 } diff --git a/Resources/Scripts/Scene/5/scene5_group155009003.lua b/Resources/Scripts/Scene/5/scene5_group155009003.lua index 5ac412709..7ec65862a 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009003.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009003 } diff --git a/Resources/Scripts/Scene/5/scene5_group155009004.lua b/Resources/Scripts/Scene/5/scene5_group155009004.lua index 84668c802..833e7d01d 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009004.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009004 } diff --git a/Resources/Scripts/Scene/5/scene5_group155009005.lua b/Resources/Scripts/Scene/5/scene5_group155009005.lua index 149912b10..90ee0d7b4 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009005.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009005 } diff --git a/Resources/Scripts/Scene/5/scene5_group155009007.lua b/Resources/Scripts/Scene/5/scene5_group155009007.lua index 9701fa680..fbb467318 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009007.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { managerGroupID = 155009001, group_ID = 155009007, gadget_sealday = 7001, diff --git a/Resources/Scripts/Scene/5/scene5_group155009008.lua b/Resources/Scripts/Scene/5/scene5_group155009008.lua index 2b0d7b924..17254c3fc 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009008.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { managerGroupID = 155009001, group_ID = 155009008, gadget_sealday = 8001, diff --git a/Resources/Scripts/Scene/5/scene5_group155009009.lua b/Resources/Scripts/Scene/5/scene5_group155009009.lua index 88e19057a..6a2e7ff53 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009009.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { managerGroupID = 155009001, group_ID = 155009009, gadget_sealday = 9001, diff --git a/Resources/Scripts/Scene/5/scene5_group155009010.lua b/Resources/Scripts/Scene/5/scene5_group155009010.lua index d93317c42..0e498eefa 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009010.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { managerGroupID = 155009001, group_ID = 155009010, gadget_sealday = 10001, diff --git a/Resources/Scripts/Scene/5/scene5_group155009015.lua b/Resources/Scripts/Scene/5/scene5_group155009015.lua index 4b31a6b15..9a94519af 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009015.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009015.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_controller = 15001, group_ID = 155009015 } diff --git a/Resources/Scripts/Scene/5/scene5_group155009016.lua b/Resources/Scripts/Scene/5/scene5_group155009016.lua index b178ab457..3b70195c6 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009016.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009016.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009016, managerGroup = 155009001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155009017.lua b/Resources/Scripts/Scene/5/scene5_group155009017.lua index 8eca30c6e..308a554ad 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009017.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009017, managerGroup = 155009001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155009018.lua b/Resources/Scripts/Scene/5/scene5_group155009018.lua index e0cb4e142..6f8bfb295 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009018.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009018.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009018, managerGroup = 155009001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155009019.lua b/Resources/Scripts/Scene/5/scene5_group155009019.lua index d608656c7..54f06e618 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009019.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009019.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009019, managerGroup = 155009001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155009020.lua b/Resources/Scripts/Scene/5/scene5_group155009020.lua index edd9a0824..bd2355a58 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009020.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009020.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009020, managerGroup = 155009001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155009021.lua b/Resources/Scripts/Scene/5/scene5_group155009021.lua index 5d99a2244..0a9edc342 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009021.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009021.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009021, managerGroup = 155009001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155009022.lua b/Resources/Scripts/Scene/5/scene5_group155009022.lua index 5a2c34db8..082e53f17 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009022.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009022.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009022, managerGroup = 155009001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155009023.lua b/Resources/Scripts/Scene/5/scene5_group155009023.lua index 9e8928a0b..82af0281a 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009023.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009023.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009023, managerGroup = 155009001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155009024.lua b/Resources/Scripts/Scene/5/scene5_group155009024.lua index 27e24dde9..f73212131 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009024.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009024.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009024, managerGroup = 155009001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155009025.lua b/Resources/Scripts/Scene/5/scene5_group155009025.lua index 6782380af..1d98212c6 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009025.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009025.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009025, gadget_fire = 25001, gadget_controller = 25002, diff --git a/Resources/Scripts/Scene/5/scene5_group155009026.lua b/Resources/Scripts/Scene/5/scene5_group155009026.lua index 95d0f7a30..9bddda343 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009026.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009026.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009026, gadget_fire = 26001, gadget_controller = 26002, diff --git a/Resources/Scripts/Scene/5/scene5_group155009027.lua b/Resources/Scripts/Scene/5/scene5_group155009027.lua index f91d2ad38..925fc3e59 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009027.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009027.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009027, gadget_fire = 27001, gadget_controller = 27002, diff --git a/Resources/Scripts/Scene/5/scene5_group155009028.lua b/Resources/Scripts/Scene/5/scene5_group155009028.lua index a3ea146df..9dd03a16e 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009028.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009028.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009028, gadget_fire = 28001, gadget_controller = 28002, diff --git a/Resources/Scripts/Scene/5/scene5_group155009030.lua b/Resources/Scripts/Scene/5/scene5_group155009030.lua index db382b7e9..d62c09448 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009030.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009030.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009030, managerGroup = 155009001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155009032.lua b/Resources/Scripts/Scene/5/scene5_group155009032.lua index e3aff3888..15494c852 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009032.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009032.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009032, managerGroup = 155009001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155009033.lua b/Resources/Scripts/Scene/5/scene5_group155009033.lua index c9189f45a..e98607b9a 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009033.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009033.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009033, managerGroup = 155009001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155009034.lua b/Resources/Scripts/Scene/5/scene5_group155009034.lua index f1477777b..75e2fe186 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009034.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009034.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009034, managerGroup = 155009001 } diff --git a/Resources/Scripts/Scene/5/scene5_group155009035.lua b/Resources/Scripts/Scene/5/scene5_group155009035.lua index 6169e6f4f..8a3d8dd45 100644 --- a/Resources/Scripts/Scene/5/scene5_group155009035.lua +++ b/Resources/Scripts/Scene/5/scene5_group155009035.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 155009035, managerGroup = 155009001 } diff --git a/Resources/Scripts/Scene/50003/scene50003_group250003001.lua b/Resources/Scripts/Scene/50003/scene50003_group250003001.lua index 041381803..1ca2c6848 100644 --- a/Resources/Scripts/Scene/50003/scene50003_group250003001.lua +++ b/Resources/Scripts/Scene/50003/scene50003_group250003001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 1001, gadget_id_2 = 131, gadget_id_3 = 132, diff --git a/Resources/Scripts/Scene/50004/scene50004_group250004003.lua b/Resources/Scripts/Scene/50004/scene50004_group250004003.lua index 415dc568d..b2d0ed27f 100644 --- a/Resources/Scripts/Scene/50004/scene50004_group250004003.lua +++ b/Resources/Scripts/Scene/50004/scene50004_group250004003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 186, gadget_id_2 = 26 } diff --git a/Resources/Scripts/Scene/50004/scene50004_group250004005.lua b/Resources/Scripts/Scene/50004/scene50004_group250004005.lua index 37ed30bd2..619281e9d 100644 --- a/Resources/Scripts/Scene/50004/scene50004_group250004005.lua +++ b/Resources/Scripts/Scene/50004/scene50004_group250004005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 41, gadget_id_2 = 40, gadget_id_3 = 1, diff --git a/Resources/Scripts/Scene/50004/scene50004_group250004010.lua b/Resources/Scripts/Scene/50004/scene50004_group250004010.lua index 8304cc6a3..f77a62bd0 100644 --- a/Resources/Scripts/Scene/50004/scene50004_group250004010.lua +++ b/Resources/Scripts/Scene/50004/scene50004_group250004010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 269, gadget_id_2 = 197, gadget_id_3 = 196, diff --git a/Resources/Scripts/Scene/50004/scene50004_group250004013.lua b/Resources/Scripts/Scene/50004/scene50004_group250004013.lua index 2c540cce1..9bd9af8dc 100644 --- a/Resources/Scripts/Scene/50004/scene50004_group250004013.lua +++ b/Resources/Scripts/Scene/50004/scene50004_group250004013.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 125 } diff --git a/Resources/Scripts/Scene/50004/scene50004_group250004023.lua b/Resources/Scripts/Scene/50004/scene50004_group250004023.lua index 98e0301d6..08a17aec4 100644 --- a/Resources/Scripts/Scene/50004/scene50004_group250004023.lua +++ b/Resources/Scripts/Scene/50004/scene50004_group250004023.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 174, gadget_id_2 = 163 } diff --git a/Resources/Scripts/Scene/50004/scene50004_group250004024.lua b/Resources/Scripts/Scene/50004/scene50004_group250004024.lua index fa6a10953..50cb14818 100644 --- a/Resources/Scripts/Scene/50004/scene50004_group250004024.lua +++ b/Resources/Scripts/Scene/50004/scene50004_group250004024.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 212, gadget_id_2 = 214, gadget_id_3 = 213, diff --git a/Resources/Scripts/Scene/50004/scene50004_group250004025.lua b/Resources/Scripts/Scene/50004/scene50004_group250004025.lua index 9312695cb..37c3fc1e6 100644 --- a/Resources/Scripts/Scene/50004/scene50004_group250004025.lua +++ b/Resources/Scripts/Scene/50004/scene50004_group250004025.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 252, gadget_id_2 = 251, gadget_id_3 = 1, diff --git a/Resources/Scripts/Scene/50004/scene50004_group250004030.lua b/Resources/Scripts/Scene/50004/scene50004_group250004030.lua index 96dc97836..bb77e0910 100644 --- a/Resources/Scripts/Scene/50004/scene50004_group250004030.lua +++ b/Resources/Scripts/Scene/50004/scene50004_group250004030.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 304, gadget_id_2 = 305 } diff --git a/Resources/Scripts/Scene/50004/scene50004_group250004032.lua b/Resources/Scripts/Scene/50004/scene50004_group250004032.lua index 4f3d0516b..f20bcfe77 100644 --- a/Resources/Scripts/Scene/50004/scene50004_group250004032.lua +++ b/Resources/Scripts/Scene/50004/scene50004_group250004032.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 342, gadget_id_2 = 343, gadget_id_3 = 344, diff --git a/Resources/Scripts/Scene/50004/scene50004_group250004036.lua b/Resources/Scripts/Scene/50004/scene50004_group250004036.lua index ae352d4c1..62e45276b 100644 --- a/Resources/Scripts/Scene/50004/scene50004_group250004036.lua +++ b/Resources/Scripts/Scene/50004/scene50004_group250004036.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 360 } diff --git a/Resources/Scripts/Scene/50004/scene50004_group250004042.lua b/Resources/Scripts/Scene/50004/scene50004_group250004042.lua index 3735f5a81..d95b4cff9 100644 --- a/Resources/Scripts/Scene/50004/scene50004_group250004042.lua +++ b/Resources/Scripts/Scene/50004/scene50004_group250004042.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 381, gadget_id_2 = 1, gadget_id_3 = 382, diff --git a/Resources/Scripts/Scene/50004/scene50004_group250004043.lua b/Resources/Scripts/Scene/50004/scene50004_group250004043.lua index e73ed3fcd..b37c912f8 100644 --- a/Resources/Scripts/Scene/50004/scene50004_group250004043.lua +++ b/Resources/Scripts/Scene/50004/scene50004_group250004043.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 384, gadget_id_2 = 0, gadget_id_3 = 0 diff --git a/Resources/Scripts/Scene/50004/scene50004_group250004069.lua b/Resources/Scripts/Scene/50004/scene50004_group250004069.lua index d7f9f149a..b0fa5c8f2 100644 --- a/Resources/Scripts/Scene/50004/scene50004_group250004069.lua +++ b/Resources/Scripts/Scene/50004/scene50004_group250004069.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 615, gadget_id_2 = 0, gadget_id_3 = 0 diff --git a/Resources/Scripts/Scene/50006/scene50006_group250006002.lua b/Resources/Scripts/Scene/50006/scene50006_group250006002.lua index db4c48937..43c38c905 100644 --- a/Resources/Scripts/Scene/50006/scene50006_group250006002.lua +++ b/Resources/Scripts/Scene/50006/scene50006_group250006002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 14, gadget_id_2 = 104 } diff --git a/Resources/Scripts/Scene/50006/scene50006_group250006004.lua b/Resources/Scripts/Scene/50006/scene50006_group250006004.lua index b077e22d6..176f265d8 100644 --- a/Resources/Scripts/Scene/50006/scene50006_group250006004.lua +++ b/Resources/Scripts/Scene/50006/scene50006_group250006004.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 15, gadget_id_2 = 11, gadget_id_3 = 104 diff --git a/Resources/Scripts/Scene/50006/scene50006_group250006006.lua b/Resources/Scripts/Scene/50006/scene50006_group250006006.lua index b11c17dfe..855088799 100644 --- a/Resources/Scripts/Scene/50006/scene50006_group250006006.lua +++ b/Resources/Scripts/Scene/50006/scene50006_group250006006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 18, gadget_id_2 = 13 } diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008006.lua b/Resources/Scripts/Scene/50008/scene50008_group250008006.lua index 221928ca7..42a30c13e 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008006.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id_1 = 17 } diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008008.lua b/Resources/Scripts/Scene/50008/scene50008_group250008008.lua index 36011da56..a5aa4177a 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008008.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008008.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 1, group_id = 250008008 diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008017.lua b/Resources/Scripts/Scene/50008/scene50008_group250008017.lua index 789afb00c..6d8662b92 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008017.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250008017, riddle_hint = 90, riddle_1 = 92, diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008077.lua b/Resources/Scripts/Scene/50008/scene50008_group250008077.lua index d19203db7..783ebcaa8 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008077.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008077.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250008077, gadget_riddle_hint = 309, gadget_riddle_1 = 311, diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008085.lua b/Resources/Scripts/Scene/50008/scene50008_group250008085.lua index 0d803b946..64d5b747a 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008085.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008085.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250008085, gadget_riddle_hint = 338, gadget_riddle_1 = 340, diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008090.lua b/Resources/Scripts/Scene/50008/scene50008_group250008090.lua index 3c7036e7e..e824f66a5 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008090.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008090.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250008090, gadget_target_1S = 90002, gadget_target_1E = 90005, diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008095.lua b/Resources/Scripts/Scene/50008/scene50008_group250008095.lua index 9fc982c3f..74402cb73 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008095.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008095.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { father_quest = 20020 } diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008096.lua b/Resources/Scripts/Scene/50008/scene50008_group250008096.lua index 0a0e16d21..b975bbbee 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008096.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008096.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 4, timer = 10, group_id = 250008096, diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008098.lua b/Resources/Scripts/Scene/50008/scene50008_group250008098.lua index 2eb35e525..53d43428e 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008098.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008098.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 410 } diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008108.lua b/Resources/Scripts/Scene/50008/scene50008_group250008108.lua index a1433fd6b..4869919c0 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008108.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008108.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 108004 } diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008109.lua b/Resources/Scripts/Scene/50008/scene50008_group250008109.lua index 6f3538764..415731748 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008109.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008109.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250008109, gadget_riddle_hint = 109001, gadget_riddle_1 = 109002, diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008119.lua b/Resources/Scripts/Scene/50008/scene50008_group250008119.lua index fabcc0e54..eea258b4f 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008119.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008119.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250008119, gadget_target_1 = 119005, monster_mole_1 = 119002 diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008120.lua b/Resources/Scripts/Scene/50008/scene50008_group250008120.lua index bdc36ca04..b62617b87 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008120.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008120.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 50008059, gadget_seelie = 120002 diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008121.lua b/Resources/Scripts/Scene/50008/scene50008_group250008121.lua index 2a1db8ad2..4ca2bb27c 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008121.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008121.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 1, group_id = 250008121 diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008124.lua b/Resources/Scripts/Scene/50008/scene50008_group250008124.lua index e00c80284..a6acc3de2 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008124.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008124.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 1, group_id = 250008124 diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008134.lua b/Resources/Scripts/Scene/50008/scene50008_group250008134.lua index 035c73a02..18e80c9b2 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008134.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008134.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 50008064, gadget_seelie = 134002 diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008142.lua b/Resources/Scripts/Scene/50008/scene50008_group250008142.lua index 03429fa8a..d31c73152 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008142.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008142.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_door = 142002, group_id = 250008142 } diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008144.lua b/Resources/Scripts/Scene/50008/scene50008_group250008144.lua index cfa879f1a..e8635dd98 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008144.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008144.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_door = 144002, group_id = 250008144 } diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008145.lua b/Resources/Scripts/Scene/50008/scene50008_group250008145.lua index 3a8400b33..0fa9cd983 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008145.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008145.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_door = 145002, group_id = 250008145 } diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008146.lua b/Resources/Scripts/Scene/50008/scene50008_group250008146.lua index 9d9450658..329e1efb5 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008146.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008146.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_door = 146002, group_id = 250008146 } diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008148.lua b/Resources/Scripts/Scene/50008/scene50008_group250008148.lua index 91d7816c5..8b66834bc 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008148.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008148.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250008148, gadget_riddle_hint = 148001, gadget_riddle_1 = 148002, diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008149.lua b/Resources/Scripts/Scene/50008/scene50008_group250008149.lua index 1d3eb54c6..5e54b4cea 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008149.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008149.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_door_1 = 149001, gadget_door_2 = 149002, gadget_door_3 = 149003, diff --git a/Resources/Scripts/Scene/50008/scene50008_group250008157.lua b/Resources/Scripts/Scene/50008/scene50008_group250008157.lua index c2227b8a2..1fe5ff217 100644 --- a/Resources/Scripts/Scene/50008/scene50008_group250008157.lua +++ b/Resources/Scripts/Scene/50008/scene50008_group250008157.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 250008157, gadget_sum = 2 diff --git a/Resources/Scripts/Scene/50009/scene50009_group250009009.lua b/Resources/Scripts/Scene/50009/scene50009_group250009009.lua index 46c208916..f1dbde5c0 100644 --- a/Resources/Scripts/Scene/50009/scene50009_group250009009.lua +++ b/Resources/Scripts/Scene/50009/scene50009_group250009009.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250009009, gadget_target_1 = 9002, monster_mole_1 = 9001 diff --git a/Resources/Scripts/Scene/50009/scene50009_group250009010.lua b/Resources/Scripts/Scene/50009/scene50009_group250009010.lua index 791d406b1..591fbbe86 100644 --- a/Resources/Scripts/Scene/50009/scene50009_group250009010.lua +++ b/Resources/Scripts/Scene/50009/scene50009_group250009010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250009010, gadget_target_1 = 10003, monster_mole_1 = 10002 diff --git a/Resources/Scripts/Scene/50009/scene50009_group250009011.lua b/Resources/Scripts/Scene/50009/scene50009_group250009011.lua index 773c0f790..c6927d006 100644 --- a/Resources/Scripts/Scene/50009/scene50009_group250009011.lua +++ b/Resources/Scripts/Scene/50009/scene50009_group250009011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250009011, gadget_target_1 = 11003, monster_mole_1 = 11001 diff --git a/Resources/Scripts/Scene/50030/scene50030_group250030001.lua b/Resources/Scripts/Scene/50030/scene50030_group250030001.lua index 7032f1856..0fe07e1d1 100644 --- a/Resources/Scripts/Scene/50030/scene50030_group250030001.lua +++ b/Resources/Scripts/Scene/50030/scene50030_group250030001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250030001, gear_list = {70360001,70360002,70900365,70900366,70900367,70900368,70900369}, option_list = {41,42,43,44,45}, diff --git a/Resources/Scripts/Scene/50030/scene50030_group250030010.lua b/Resources/Scripts/Scene/50030/scene50030_group250030010.lua index 3870bb55f..05a6e52af 100644 --- a/Resources/Scripts/Scene/50030/scene50030_group250030010.lua +++ b/Resources/Scripts/Scene/50030/scene50030_group250030010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gear_group_id = 250030001, group_id = 250030010 } diff --git a/Resources/Scripts/Scene/50030/scene50030_group250030011.lua b/Resources/Scripts/Scene/50030/scene50030_group250030011.lua index e6cf2b637..953b1dfc8 100644 --- a/Resources/Scripts/Scene/50030/scene50030_group250030011.lua +++ b/Resources/Scripts/Scene/50030/scene50030_group250030011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250030011, gear_group_id = 250030001 } diff --git a/Resources/Scripts/Scene/50032/scene50032_group250032031.lua b/Resources/Scripts/Scene/50032/scene50032_group250032031.lua index 424ec8647..2c7817554 100644 --- a/Resources/Scripts/Scene/50032/scene50032_group250032031.lua +++ b/Resources/Scripts/Scene/50032/scene50032_group250032031.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250032031, gear_group_id = 250032037, route_guide_timer = 5, diff --git a/Resources/Scripts/Scene/50032/scene50032_group250032033.lua b/Resources/Scripts/Scene/50032/scene50032_group250032033.lua index f1b38427f..8f8e20cd8 100644 --- a/Resources/Scripts/Scene/50032/scene50032_group250032033.lua +++ b/Resources/Scripts/Scene/50032/scene50032_group250032033.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250032033, gear_group_id = 250032037 } @@ -12,13 +12,10 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 5, max = 5,suite=2},{sum = 20, min = 5, max = 5,suite=3},}, - [2] = { {sum = 20, min = 5, max = 5,suite=4},{sum = 20, min = 5, max = 5,suite=5},}, - - + [2] = { {sum = 20, min = 5, max = 5,suite=4},{sum = 20, min = 5, max = 5,suite=5},}, } -package_tide_defs={ - [1]={{monster_package={12004,12005},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=24,max=5,min=5},{monster_package={12007,12008},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=24,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12004,12005},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=24,max=5,min=5},{monster_package={12007,12008},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=24,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/50032/scene50032_group250032034.lua b/Resources/Scripts/Scene/50032/scene50032_group250032034.lua index 01db98a40..acf4fe029 100644 --- a/Resources/Scripts/Scene/50032/scene50032_group250032034.lua +++ b/Resources/Scripts/Scene/50032/scene50032_group250032034.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250032034, gear_group_id = 250032037 } @@ -12,13 +12,10 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 7, max = 7,suite=2},{sum = 20, min = 7, max = 7,suite=3},}, - [2] = { {sum = 20, min = 7, max = 7,suite=4},{sum = 20, min = 7, max = 7,suite=5},}, - - + [2] = { {sum = 20, min = 7, max = 7,suite=4},{sum = 20, min = 7, max = 7,suite=5},}, } -package_tide_defs={ - [1]={{monster_package={12013,12015},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=24,max=5,min=5},{monster_package={12014,12016},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=24,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12013,12015},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=24,max=5,min=5},{monster_package={12014,12016},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=24,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/50032/scene50032_group250032035.lua b/Resources/Scripts/Scene/50032/scene50032_group250032035.lua index ce5541f15..727ec8871 100644 --- a/Resources/Scripts/Scene/50032/scene50032_group250032035.lua +++ b/Resources/Scripts/Scene/50032/scene50032_group250032035.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250032035, gear_group_id = 250032037 } @@ -12,13 +12,10 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 5, max = 5,suite=2},{sum = 20, min = 5, max = 5,suite=3},}, - [2] = { {sum = 20, min = 5, max = 5,suite=4},{sum = 20, min = 5, max = 5,suite=5},}, - - + [2] = { {sum = 20, min = 5, max = 5,suite=4},{sum = 20, min = 5, max = 5,suite=5},}, } -package_tide_defs={ - [1]={{monster_package={12023,12025},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=36,max=5,min=5},{monster_package={12024,12026},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=36,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12023,12025},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=36,max=5,min=5},{monster_package={12024,12026},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=36,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/50032/scene50032_group250032036.lua b/Resources/Scripts/Scene/50032/scene50032_group250032036.lua index c828a382e..4e37b3a69 100644 --- a/Resources/Scripts/Scene/50032/scene50032_group250032036.lua +++ b/Resources/Scripts/Scene/50032/scene50032_group250032036.lua @@ -4,19 +4,17 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250032036, gear_group_id = 250032037 } -- DEFS_MISCS tide_defs = { - [1] = { {sum = 20, min = 5, max = 5,suite=2},{sum = 20, min = 2, max = 2,suite=3},}, - + [1] = { {sum = 20, min = 5, max = 5,suite=2},{sum = 20, min = 2, max = 2,suite=3},}, } -package_tide_defs={ - [1]={{monster_package={12001,12002},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=12,max=5,min=5},{monster_package={12001,12002},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=12,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12001,12002},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=4,count=12,max=5,min=5},{monster_package={12001,12002},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,35,36},tags=2,count=12,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/50032/scene50032_group250032037.lua b/Resources/Scripts/Scene/50032/scene50032_group250032037.lua index 55319ee5d..5c0ad7b1b 100644 --- a/Resources/Scripts/Scene/50032/scene50032_group250032037.lua +++ b/Resources/Scripts/Scene/50032/scene50032_group250032037.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250032037, challange_group_id = 250032031, monster_points = 1, diff --git a/Resources/Scripts/Scene/50032/scene50032_group250032038.lua b/Resources/Scripts/Scene/50032/scene50032_group250032038.lua index bec794fa6..79df3d68a 100644 --- a/Resources/Scripts/Scene/50032/scene50032_group250032038.lua +++ b/Resources/Scripts/Scene/50032/scene50032_group250032038.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 30, group_id = 250032038, challange_group_id = 250032031 diff --git a/Resources/Scripts/Scene/50033/scene50033_group250033001.lua b/Resources/Scripts/Scene/50033/scene50033_group250033001.lua index 52a07e331..ea961d10c 100644 --- a/Resources/Scripts/Scene/50033/scene50033_group250033001.lua +++ b/Resources/Scripts/Scene/50033/scene50033_group250033001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250033001, challange_group_id = 250033017, monster_points = 1, diff --git a/Resources/Scripts/Scene/50033/scene50033_group250033017.lua b/Resources/Scripts/Scene/50033/scene50033_group250033017.lua index da683d6d1..77e6a07ad 100644 --- a/Resources/Scripts/Scene/50033/scene50033_group250033017.lua +++ b/Resources/Scripts/Scene/50033/scene50033_group250033017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250033017, gear_group_id = 250033001, trap_group_id = 250033022, diff --git a/Resources/Scripts/Scene/50033/scene50033_group250033018.lua b/Resources/Scripts/Scene/50033/scene50033_group250033018.lua index 16937646a..6f40707be 100644 --- a/Resources/Scripts/Scene/50033/scene50033_group250033018.lua +++ b/Resources/Scripts/Scene/50033/scene50033_group250033018.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250033018, gear_group_id = 250033001 } @@ -13,8 +13,7 @@ defs = { tide_defs = { [1] = { {sum = 20, min = 4, max = 4,suite=2},{sum = 20, min = 5, max = 5,suite=5},}, [2] = { {sum = 20, min = 4, max = 4,suite=3},{sum = 20, min = 5, max = 5,suite=5},}, - -[3] = { {sum = 20, min = 4, max = 4,suite=4},{sum = 20, min = 5, max = 5,suite=5},}, + [3] = { {sum = 20, min = 4, max = 4,suite=4},{sum = 20, min = 5, max = 5,suite=5},}, } package_tide_defs={ diff --git a/Resources/Scripts/Scene/50033/scene50033_group250033019.lua b/Resources/Scripts/Scene/50033/scene50033_group250033019.lua index 94a530c0f..e536e1d1f 100644 --- a/Resources/Scripts/Scene/50033/scene50033_group250033019.lua +++ b/Resources/Scripts/Scene/50033/scene50033_group250033019.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250033019, gear_group_id = 250033001 } @@ -14,12 +14,10 @@ tide_defs = { [1] = { {sum = 20, min = 3, max = 3,suite=2},{sum = 20, min = 6, max = 6,suite=3},}, [2] = { {sum = 20, min = 3, max = 3,suite=4},{sum = 20, min = 6, max = 6,suite=5},}, [3] = { {sum = 20, min = 3, max = 3,suite=6},{sum = 20, min = 6, max = 6,suite=7},}, - [4] = { {sum = 20, min = 3, max = 3,suite=8},{sum = 20, min = 6, max = 6,suite=9},}, - + [4] = { {sum = 20, min = 3, max = 3,suite=8},{sum = 20, min = 6, max = 6,suite=9},}, } -package_tide_defs={ - [1]={{monster_package={12013,12015},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21},tags=2,count=24,max=5,min=5},{monster_package={12030,12031},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,38,39,40,41,43,44},tags=4,count=24,max=5,min=5}}, +package_tide_defs={ [1]={{monster_package={12013,12015},route=1,route_points={1,2,4,5,9,10,13,14,17,18,21},tags=2,count=24,max=5,min=5},{monster_package={12030,12031},route=2,route_points={1,2,4,5,9,10,13,14,17,18,21,22,25,26,29,30,33,34,38,39,40,41,43,44},tags=4,count=24,max=5,min=5}}, } --================================================================ diff --git a/Resources/Scripts/Scene/50033/scene50033_group250033020.lua b/Resources/Scripts/Scene/50033/scene50033_group250033020.lua index 9d80fb145..edb520b7c 100644 --- a/Resources/Scripts/Scene/50033/scene50033_group250033020.lua +++ b/Resources/Scripts/Scene/50033/scene50033_group250033020.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250033020, gear_group_id = 250033001 } @@ -12,8 +12,7 @@ defs = { -- DEFS_MISCS tide_defs = { [1] = { {sum = 20, min = 1, max = 1,suite=2},{sum = 20, min = 5, max = 5,suite=3},{sum = 20, min = 7, max = 7,suite=4},}, - - [2] = { {sum = 20, min = 1, max = 1,suite=5},{sum = 20, min = 5, max = 5,suite=6},{sum = 20, min = 5, max = 5,suite=7},}, + [2] = { {sum = 20, min = 1, max = 1,suite=5},{sum = 20, min = 5, max = 5,suite=6},{sum = 20, min = 5, max = 5,suite=7},}, [3] = { {sum = 20, min = 1, max = 1,suite=9},{sum = 20, min = 5, max = 5,suite=8},{sum = 20, min = 6, max = 6,suite=9},}, } diff --git a/Resources/Scripts/Scene/50033/scene50033_group250033021.lua b/Resources/Scripts/Scene/50033/scene50033_group250033021.lua index 21af862e6..865963f81 100644 --- a/Resources/Scripts/Scene/50033/scene50033_group250033021.lua +++ b/Resources/Scripts/Scene/50033/scene50033_group250033021.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 250033021, gear_group_id = 250033001 } diff --git a/Resources/Scripts/Scene/50033/scene50033_group250033022.lua b/Resources/Scripts/Scene/50033/scene50033_group250033022.lua index c9fd0cf0f..abe8a501c 100644 --- a/Resources/Scripts/Scene/50033/scene50033_group250033022.lua +++ b/Resources/Scripts/Scene/50033/scene50033_group250033022.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 30, group_id = 250033022, challange_group_id = 250033001 diff --git a/Resources/Scripts/Scene/50033/scene50033_group250033023.lua b/Resources/Scripts/Scene/50033/scene50033_group250033023.lua index 8ff16bc39..09ff175b7 100644 --- a/Resources/Scripts/Scene/50033/scene50033_group250033023.lua +++ b/Resources/Scripts/Scene/50033/scene50033_group250033023.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { timer = 30, group_id = 250033023, challange_group_id = 250033001 diff --git a/Resources/Scripts/Scene/50044/scene50044_group250044001.lua b/Resources/Scripts/Scene/50044/scene50044_group250044001.lua index cbfc3503b..6e5de443e 100644 --- a/Resources/Scripts/Scene/50044/scene50044_group250044001.lua +++ b/Resources/Scripts/Scene/50044/scene50044_group250044001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { laser_interval1 = 10, laser_interval2 = 8, laser_interval3 = 6 diff --git a/Resources/Scripts/Scene/50047/scene50047_group250047001.lua b/Resources/Scripts/Scene/50047/scene50047_group250047001.lua index 529ac2048..e7b9543ac 100644 --- a/Resources/Scripts/Scene/50047/scene50047_group250047001.lua +++ b/Resources/Scripts/Scene/50047/scene50047_group250047001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { FloorArrays = { [1] = { { 0, 0, 0, 0, 0, 0, 0, 0, 0 }, diff --git a/Resources/Scripts/Scene/50047/scene50047_group250047002.lua b/Resources/Scripts/Scene/50047/scene50047_group250047002.lua index d49e6b390..2a55f8dae 100644 --- a/Resources/Scripts/Scene/50047/scene50047_group250047002.lua +++ b/Resources/Scripts/Scene/50047/scene50047_group250047002.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { FloorArrays = { [1] = { { 0, 0, 0, 0, 0, 0, 0, 0, 0 }, diff --git a/Resources/Scripts/Scene/50047/scene50047_group250047003.lua b/Resources/Scripts/Scene/50047/scene50047_group250047003.lua index 4f45b04c5..a44c1062e 100644 --- a/Resources/Scripts/Scene/50047/scene50047_group250047003.lua +++ b/Resources/Scripts/Scene/50047/scene50047_group250047003.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { FloorArrays = { [1] = { { 0, 0, 0, 0, 0, 0, 0, 0, 0 }, diff --git a/Resources/Scripts/Scene/50058/scene50058_group250058001.lua b/Resources/Scripts/Scene/50058/scene50058_group250058001.lua index 5a686398b..cc2a2cc88 100644 --- a/Resources/Scripts/Scene/50058/scene50058_group250058001.lua +++ b/Resources/Scripts/Scene/50058/scene50058_group250058001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { BossConfigID = 1001, GroupID = 250058001, } diff --git a/Resources/Scripts/Scene/50061/scene50061_group250061002.lua b/Resources/Scripts/Scene/50061/scene50061_group250061002.lua index ee1edf929..26d7ab686 100644 --- a/Resources/Scripts/Scene/50061/scene50061_group250061002.lua +++ b/Resources/Scripts/Scene/50061/scene50061_group250061002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 2001, min = 5, max = 5 diff --git a/Resources/Scripts/Scene/50067/scene50067_group250067002.lua b/Resources/Scripts/Scene/50067/scene50067_group250067002.lua index 29de67a99..f3fce9822 100644 --- a/Resources/Scripts/Scene/50067/scene50067_group250067002.lua +++ b/Resources/Scripts/Scene/50067/scene50067_group250067002.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { option_turn = 613, option_startstop = 7, diff --git a/Resources/Scripts/Scene/50080/scene50080_group250080003.lua b/Resources/Scripts/Scene/50080/scene50080_group250080003.lua index 8c4946a30..20fef7349 100644 --- a/Resources/Scripts/Scene/50080/scene50080_group250080003.lua +++ b/Resources/Scripts/Scene/50080/scene50080_group250080003.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { --本Group中发射器gadget的configID 最多3个 diff --git a/Resources/Scripts/Scene/50081/scene50081_group250081001.lua b/Resources/Scripts/Scene/50081/scene50081_group250081001.lua index 59bec48f4..76a5a858a 100644 --- a/Resources/Scripts/Scene/50081/scene50081_group250081001.lua +++ b/Resources/Scripts/Scene/50081/scene50081_group250081001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_Teleport_1 = 1001, gadget_Teleport_2 = 1002, gadget_Teleport_3 = 1003, diff --git a/Resources/Scripts/Scene/50081/scene50081_group250081003.lua b/Resources/Scripts/Scene/50081/scene50081_group250081003.lua index 10121bd35..20e8f133d 100644 --- a/Resources/Scripts/Scene/50081/scene50081_group250081003.lua +++ b/Resources/Scripts/Scene/50081/scene50081_group250081003.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 65, gadget_seelie = 3033 diff --git a/Resources/Scripts/Scene/50092/scene50092_group250092001.lua b/Resources/Scripts/Scene/50092/scene50092_group250092001.lua index 406c43f14..7f35ec6d0 100644 --- a/Resources/Scripts/Scene/50092/scene50092_group250092001.lua +++ b/Resources/Scripts/Scene/50092/scene50092_group250092001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gallery_id = 27004, finish_region = 1013 } diff --git a/Resources/Scripts/Scene/50093/scene50093_group250093001.lua b/Resources/Scripts/Scene/50093/scene50093_group250093001.lua index 9d6b6d3f4..f332a57bb 100644 --- a/Resources/Scripts/Scene/50093/scene50093_group250093001.lua +++ b/Resources/Scripts/Scene/50093/scene50093_group250093001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gallery_id = 27005 } diff --git a/Resources/Scripts/Scene/50101/scene50101_group250101034.lua b/Resources/Scripts/Scene/50101/scene50101_group250101034.lua index 3aed5db7f..a80914d47 100644 --- a/Resources/Scripts/Scene/50101/scene50101_group250101034.lua +++ b/Resources/Scripts/Scene/50101/scene50101_group250101034.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 18, gadget_seelie = 34002 diff --git a/Resources/Scripts/Scene/50101/scene50101_group250101037.lua b/Resources/Scripts/Scene/50101/scene50101_group250101037.lua index da9845ae0..83f6ac78d 100644 --- a/Resources/Scripts/Scene/50101/scene50101_group250101037.lua +++ b/Resources/Scripts/Scene/50101/scene50101_group250101037.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 250101037, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/51008/scene51008_group251008001.lua b/Resources/Scripts/Scene/51008/scene51008_group251008001.lua index b686e1ed8..1baedcee5 100644 --- a/Resources/Scripts/Scene/51008/scene51008_group251008001.lua +++ b/Resources/Scripts/Scene/51008/scene51008_group251008001.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { -----全玩法通用配置----- diff --git a/Resources/Scripts/Scene/51008/scene51008_group251008002.lua b/Resources/Scripts/Scene/51008/scene51008_group251008002.lua index 002175dbc..b4f7a0d87 100644 --- a/Resources/Scripts/Scene/51008/scene51008_group251008002.lua +++ b/Resources/Scripts/Scene/51008/scene51008_group251008002.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { -----全玩法通用配置----- diff --git a/Resources/Scripts/Scene/51008/scene51008_group251008004.lua b/Resources/Scripts/Scene/51008/scene51008_group251008004.lua index 3a014691f..89f6f3417 100644 --- a/Resources/Scripts/Scene/51008/scene51008_group251008004.lua +++ b/Resources/Scripts/Scene/51008/scene51008_group251008004.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { -----全玩法通用配置----- diff --git a/Resources/Scripts/Scene/51008/scene51008_group251008006.lua b/Resources/Scripts/Scene/51008/scene51008_group251008006.lua index 5b1629799..e9058dc89 100644 --- a/Resources/Scripts/Scene/51008/scene51008_group251008006.lua +++ b/Resources/Scripts/Scene/51008/scene51008_group251008006.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { -----全玩法通用配置----- diff --git a/Resources/Scripts/Scene/51008/scene51008_group251008007.lua b/Resources/Scripts/Scene/51008/scene51008_group251008007.lua index 7098ca513..ab04a98fd 100644 --- a/Resources/Scripts/Scene/51008/scene51008_group251008007.lua +++ b/Resources/Scripts/Scene/51008/scene51008_group251008007.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { way_point = { diff --git a/Resources/Scripts/Scene/51008/scene51008_group251008008.lua b/Resources/Scripts/Scene/51008/scene51008_group251008008.lua index 6782a43ae..4fbb86069 100644 --- a/Resources/Scripts/Scene/51008/scene51008_group251008008.lua +++ b/Resources/Scripts/Scene/51008/scene51008_group251008008.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { -----全玩法通用配置----- @@ -25,8 +25,7 @@ defs = { { --随机情况1 {2,3,4,7,5,6,8,9,6,8}, } - -} + } --================================================================ -- diff --git a/Resources/Scripts/Scene/51008/scene51008_group251008009.lua b/Resources/Scripts/Scene/51008/scene51008_group251008009.lua index a8c792aed..0f96521e7 100644 --- a/Resources/Scripts/Scene/51008/scene51008_group251008009.lua +++ b/Resources/Scripts/Scene/51008/scene51008_group251008009.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --玩法范围region cube diff --git a/Resources/Scripts/Scene/51008/scene51008_group251008010.lua b/Resources/Scripts/Scene/51008/scene51008_group251008010.lua index 1b9ad0a58..453dddf22 100644 --- a/Resources/Scripts/Scene/51008/scene51008_group251008010.lua +++ b/Resources/Scripts/Scene/51008/scene51008_group251008010.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --玩法范围region cube diff --git a/Resources/Scripts/Scene/51008/scene51008_group251008011.lua b/Resources/Scripts/Scene/51008/scene51008_group251008011.lua index 6631e0ec0..66d9265c1 100644 --- a/Resources/Scripts/Scene/51008/scene51008_group251008011.lua +++ b/Resources/Scripts/Scene/51008/scene51008_group251008011.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { -----全玩法通用配置----- diff --git a/Resources/Scripts/Scene/51008/scene51008_group251008012.lua b/Resources/Scripts/Scene/51008/scene51008_group251008012.lua index f9411dea2..dd76a7a35 100644 --- a/Resources/Scripts/Scene/51008/scene51008_group251008012.lua +++ b/Resources/Scripts/Scene/51008/scene51008_group251008012.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { -----全玩法通用配置----- diff --git a/Resources/Scripts/Scene/51015/scene51015_group251015001.lua b/Resources/Scripts/Scene/51015/scene51015_group251015001.lua index 01976f3cd..b8da9c33f 100644 --- a/Resources/Scripts/Scene/51015/scene51015_group251015001.lua +++ b/Resources/Scripts/Scene/51015/scene51015_group251015001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { moveback_pointarray_id = 1 } diff --git a/Resources/Scripts/Scene/6/scene6_group166001006.lua b/Resources/Scripts/Scene/6/scene6_group166001006.lua index 2388a3df5..aa44c1e15 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001006.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001006.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { worktop_id = 6001, gallery_id = 29014, region_id = 6005, diff --git a/Resources/Scripts/Scene/6/scene6_group166001062.lua b/Resources/Scripts/Scene/6/scene6_group166001062.lua index 549110669..5add31138 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001062.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001062.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { bossConfigId = 62001 } diff --git a/Resources/Scripts/Scene/6/scene6_group166001236.lua b/Resources/Scripts/Scene/6/scene6_group166001236.lua index 09cdcfceb..2a8667848 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001236.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001236.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 3, group_id = 166001236, diff --git a/Resources/Scripts/Scene/6/scene6_group166001237.lua b/Resources/Scripts/Scene/6/scene6_group166001237.lua index 956c1c977..7b8e017bf 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001237.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001237.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 166001237, gadget_sum = 4 diff --git a/Resources/Scripts/Scene/6/scene6_group166001238.lua b/Resources/Scripts/Scene/6/scene6_group166001238.lua index a98fef677..b5e783ecc 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001238.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001238.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 166001238 } diff --git a/Resources/Scripts/Scene/6/scene6_group166001270.lua b/Resources/Scripts/Scene/6/scene6_group166001270.lua index 9bc4ed67c..4d0f999e1 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001270.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001270.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 80, kill_sum = 2, group_id = 166001270, diff --git a/Resources/Scripts/Scene/6/scene6_group166001272.lua b/Resources/Scripts/Scene/6/scene6_group166001272.lua index 51214652c..9c30862d4 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001272.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001272.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 166001272 } diff --git a/Resources/Scripts/Scene/6/scene6_group166001279.lua b/Resources/Scripts/Scene/6/scene6_group166001279.lua index 0d8558b7e..1c3037778 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001279.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001279.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 7, route_2 = 600100035, gadget_seelie = 279002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001280.lua b/Resources/Scripts/Scene/6/scene6_group166001280.lua index 2c85466e8..7c65b999d 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001280.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001280.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 5, route_2 = 600100037, gadget_seelie = 280002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001287.lua b/Resources/Scripts/Scene/6/scene6_group166001287.lua index c7754e3cf..ae1845717 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001287.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001287.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { inner_region = 287003, outer_region = 287003, related_region = 287003, diff --git a/Resources/Scripts/Scene/6/scene6_group166001305.lua b/Resources/Scripts/Scene/6/scene6_group166001305.lua index ac4c95774..568666460 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001305.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001305.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_node01 = 305002, gadget_node02 = 305003, gadget_node03 = 305004, diff --git a/Resources/Scripts/Scene/6/scene6_group166001317.lua b/Resources/Scripts/Scene/6/scene6_group166001317.lua index 7f1069711..8ac8ebaf3 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001317.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001317.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 166001317, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/6/scene6_group166001318.lua b/Resources/Scripts/Scene/6/scene6_group166001318.lua index afe9d27f8..b8a0451da 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001318.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001318.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 21, route_2 = 600100040, gadget_seelie = 318002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001323.lua b/Resources/Scripts/Scene/6/scene6_group166001323.lua index 789e8af2b..90bd3783c 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001323.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001323.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 600100044, gadget_seelie = 323002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001338.lua b/Resources/Scripts/Scene/6/scene6_group166001338.lua index 9d902c523..f4d24c62d 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001338.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001338.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 600100048, gadget_seelie = 338002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001347.lua b/Resources/Scripts/Scene/6/scene6_group166001347.lua index cf754e812..8262fe232 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001347.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001347.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 600100050, gadget_seelie = 347002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001364.lua b/Resources/Scripts/Scene/6/scene6_group166001364.lua index 4c4239cc2..9cca5c95c 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001364.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001364.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_node01 = 364002, gadget_node02 = 364003, gadget_node03 = 364004, diff --git a/Resources/Scripts/Scene/6/scene6_group166001371.lua b/Resources/Scripts/Scene/6/scene6_group166001371.lua index eee9d3352..def1c92b7 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001371.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001371.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 166001371, gadget_sum = 5 diff --git a/Resources/Scripts/Scene/6/scene6_group166001372.lua b/Resources/Scripts/Scene/6/scene6_group166001372.lua index a5e74f0e8..85d84ffd4 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001372.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001372.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 600100052, gadget_seelie = 372002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001380.lua b/Resources/Scripts/Scene/6/scene6_group166001380.lua index 9ac3a4a95..6cb15ade8 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001380.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001380.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 600100055, gadget_seelie = 380002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001393.lua b/Resources/Scripts/Scene/6/scene6_group166001393.lua index 8ff171f4f..8be008619 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001393.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001393.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, kill_sum = 2, group_id = 166001393, diff --git a/Resources/Scripts/Scene/6/scene6_group166001394.lua b/Resources/Scripts/Scene/6/scene6_group166001394.lua index 691bf4b08..d0d3e0f40 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001394.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001394.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 7, route_2 = 600100058, gadget_seelie = 394002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001397.lua b/Resources/Scripts/Scene/6/scene6_group166001397.lua index 3b5699899..2e3548f33 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001397.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001397.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 600100060, gadget_seelie = 397002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001399.lua b/Resources/Scripts/Scene/6/scene6_group166001399.lua index cefee6302..c3e3f7002 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001399.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001399.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_node01 = 399002, gadget_node02 = 399003, gadget_node03 = 399004, diff --git a/Resources/Scripts/Scene/6/scene6_group166001400.lua b/Resources/Scripts/Scene/6/scene6_group166001400.lua index 39154873a..6e72af376 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001400.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001400.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 600100062, gadget_seelie = 400002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001407.lua b/Resources/Scripts/Scene/6/scene6_group166001407.lua index 406b8b081..1c2293377 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001407.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001407.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 3, group_id = 166001407, diff --git a/Resources/Scripts/Scene/6/scene6_group166001408.lua b/Resources/Scripts/Scene/6/scene6_group166001408.lua index fa7b5276f..b9d7a42ec 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001408.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001408.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 166001408, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/6/scene6_group166001410.lua b/Resources/Scripts/Scene/6/scene6_group166001410.lua index d631a9a5a..8383d88a3 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001410.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001410.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 600100064, gadget_seelie = 410002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001419.lua b/Resources/Scripts/Scene/6/scene6_group166001419.lua index 98d34b497..63e6e58b8 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001419.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001419.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_node01 = 419002, gadget_node02 = 419003, gadget_node03 = 419004, diff --git a/Resources/Scripts/Scene/6/scene6_group166001420.lua b/Resources/Scripts/Scene/6/scene6_group166001420.lua index f1d7b9084..0042bb3f5 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001420.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001420.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 600100066, gadget_seelie = 420002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001423.lua b/Resources/Scripts/Scene/6/scene6_group166001423.lua index 908bbac00..28b4895ca 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001423.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001423.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 166001423, gadget_riddle_hint = 423001, gadget_riddle_1 = 423002, diff --git a/Resources/Scripts/Scene/6/scene6_group166001428.lua b/Resources/Scripts/Scene/6/scene6_group166001428.lua index 99d33f6f5..7f219b111 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001428.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001428.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 600100068, gadget_seelie = 428002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001432.lua b/Resources/Scripts/Scene/6/scene6_group166001432.lua index 97c9ebd5a..39aab3738 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001432.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001432.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 600100070, gadget_seelie = 432002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001436.lua b/Resources/Scripts/Scene/6/scene6_group166001436.lua index bd594a0be..cf95244f9 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001436.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001436.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 600100072, gadget_seelie = 436002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001440.lua b/Resources/Scripts/Scene/6/scene6_group166001440.lua index f4f416ccc..ea6e602b6 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001440.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001440.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 600100075, gadget_seelie = 440002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001450.lua b/Resources/Scripts/Scene/6/scene6_group166001450.lua index 3239fd2aa..9f4a93ed7 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001450.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001450.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 600100077, gadget_seelie = 450002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001453.lua b/Resources/Scripts/Scene/6/scene6_group166001453.lua index 0237c3b47..6a3aeca3f 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001453.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001453.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, kill_sum = 3, group_id = 166001453, diff --git a/Resources/Scripts/Scene/6/scene6_group166001454.lua b/Resources/Scripts/Scene/6/scene6_group166001454.lua index a4ba19c86..0a5783383 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001454.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001454.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 600100079, gadget_seelie = 454002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001455.lua b/Resources/Scripts/Scene/6/scene6_group166001455.lua index c4e26ba28..cc3ea0b17 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001455.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001455.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 166001455, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/6/scene6_group166001468.lua b/Resources/Scripts/Scene/6/scene6_group166001468.lua index 16bb1ec5d..880d2b43f 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001468.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001468.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 27, route_2 = 600100083, gadget_seelie = 468002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001476.lua b/Resources/Scripts/Scene/6/scene6_group166001476.lua index 6be193b22..98fa044b9 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001476.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001476.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 600100092, gadget_seelie = 476002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001477.lua b/Resources/Scripts/Scene/6/scene6_group166001477.lua index 3a8890b6b..bb2a50bda 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001477.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001477.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 166001477, gadget_11 = 477001, gadget_12 = 477002, diff --git a/Resources/Scripts/Scene/6/scene6_group166001479.lua b/Resources/Scripts/Scene/6/scene6_group166001479.lua index 9af2f6aac..3f9aa5208 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001479.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001479.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 600100094, gadget_seelie = 479002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001485.lua b/Resources/Scripts/Scene/6/scene6_group166001485.lua index 2cb853d35..70f185391 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001485.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001485.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_node01 = 485002, gadget_node02 = 485003, gadget_node03 = 485004, diff --git a/Resources/Scripts/Scene/6/scene6_group166001486.lua b/Resources/Scripts/Scene/6/scene6_group166001486.lua index f174e6e6d..f0dfcb621 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001486.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001486.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 166001486, gadget_sum = 5 diff --git a/Resources/Scripts/Scene/6/scene6_group166001489.lua b/Resources/Scripts/Scene/6/scene6_group166001489.lua index 174fc2f9b..62a079303 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001489.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001489.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 489004 } diff --git a/Resources/Scripts/Scene/6/scene6_group166001493.lua b/Resources/Scripts/Scene/6/scene6_group166001493.lua index 96f5bb9bf..378544089 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001493.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001493.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 600100096, gadget_seelie = 493002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001498.lua b/Resources/Scripts/Scene/6/scene6_group166001498.lua index 81603aafe..792293a11 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001498.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001498.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 166001498, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/6/scene6_group166001508.lua b/Resources/Scripts/Scene/6/scene6_group166001508.lua index fe55bcd99..3ddbc4e12 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001508.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001508.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 600100098, gadget_seelie = 508002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001512.lua b/Resources/Scripts/Scene/6/scene6_group166001512.lua index 34a550f8e..bbaa2013e 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001512.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001512.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 600100100, gadget_seelie = 512002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001519.lua b/Resources/Scripts/Scene/6/scene6_group166001519.lua index 83ad8bb5e..a18345fa0 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001519.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001519.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 600100102, gadget_seelie = 519002 diff --git a/Resources/Scripts/Scene/6/scene6_group166001553.lua b/Resources/Scripts/Scene/6/scene6_group166001553.lua index 62699ea5d..8bba77bf0 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001553.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001553.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 166001553, gadget_sum = 4 diff --git a/Resources/Scripts/Scene/6/scene6_group166001581.lua b/Resources/Scripts/Scene/6/scene6_group166001581.lua index 0eb338ea8..14df45aae 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001581.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001581.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { challenge_time = 300, pursina = 581032, muds_lv1 = {581066,581067,581068,581069,581070,581071}, diff --git a/Resources/Scripts/Scene/6/scene6_group166001582.lua b/Resources/Scripts/Scene/6/scene6_group166001582.lua index a5cf1b6e8..aa8fdf8d0 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001582.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001582.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pursina = 0 } diff --git a/Resources/Scripts/Scene/6/scene6_group166001606.lua b/Resources/Scripts/Scene/6/scene6_group166001606.lua index 263a24250..130408fdd 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001606.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001606.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { start_operator = 606008, protect_target = 606087, air_wall = 606059, diff --git a/Resources/Scripts/Scene/6/scene6_group166001630.lua b/Resources/Scripts/Scene/6/scene6_group166001630.lua index abedad3c8..befe7a5a4 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001630.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001630.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pursina = 630015, pursina_tip = 630087, fail_region = 630038, diff --git a/Resources/Scripts/Scene/6/scene6_group166001673.lua b/Resources/Scripts/Scene/6/scene6_group166001673.lua index de2c2193f..241dae2d5 100644 --- a/Resources/Scripts/Scene/6/scene6_group166001673.lua +++ b/Resources/Scripts/Scene/6/scene6_group166001673.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 600100123, gadget_seelie = 673002 diff --git a/Resources/Scripts/Scene/7/scene7_group177002010.lua b/Resources/Scripts/Scene/7/scene7_group177002010.lua index 6b9acf788..9734f691e 100644 --- a/Resources/Scripts/Scene/7/scene7_group177002010.lua +++ b/Resources/Scripts/Scene/7/scene7_group177002010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 177002010, gadget_thunderThelfID = 10001, pointarray_ID = 700200007, diff --git a/Resources/Scripts/Scene/7/scene7_group177003010.lua b/Resources/Scripts/Scene/7/scene7_group177003010.lua index 3d3e329d9..0f4daeb53 100644 --- a/Resources/Scripts/Scene/7/scene7_group177003010.lua +++ b/Resources/Scripts/Scene/7/scene7_group177003010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 10001, pointarray_move = 700300007 diff --git a/Resources/Scripts/Scene/7/scene7_group177003011.lua b/Resources/Scripts/Scene/7/scene7_group177003011.lua index a90be4a2f..179ba0e70 100644 --- a/Resources/Scripts/Scene/7/scene7_group177003011.lua +++ b/Resources/Scripts/Scene/7/scene7_group177003011.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 177003011, gadget_thunderThelfID = 11001, pointarray_ID = 700300008, diff --git a/Resources/Scripts/Scene/7/scene7_group177005019.lua b/Resources/Scripts/Scene/7/scene7_group177005019.lua index b53a8b139..78c4fb11e 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005019.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005019.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pt1 = 700500024 } diff --git a/Resources/Scripts/Scene/7/scene7_group177005020.lua b/Resources/Scripts/Scene/7/scene7_group177005020.lua index 76c9afe17..69363ecca 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005020.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005020.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pt1 = 700500029 } diff --git a/Resources/Scripts/Scene/7/scene7_group177005021.lua b/Resources/Scripts/Scene/7/scene7_group177005021.lua index 6655087b2..79c92b516 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005021.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005021.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pt1 = 700500032, pt2 = 700500033 } diff --git a/Resources/Scripts/Scene/7/scene7_group177005038.lua b/Resources/Scripts/Scene/7/scene7_group177005038.lua index ae3abaf12..24b08860a 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005038.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005038.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 177005038, gadget_thunderThelfID = 38001, pointarray_ID = 700500002, diff --git a/Resources/Scripts/Scene/7/scene7_group177005039.lua b/Resources/Scripts/Scene/7/scene7_group177005039.lua index 7516e93f4..36eaad96b 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005039.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005039.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 177005039, gadget_thunderThelfID = 39001, pointarray_ID = 700500003, diff --git a/Resources/Scripts/Scene/7/scene7_group177005053.lua b/Resources/Scripts/Scene/7/scene7_group177005053.lua index 9553d2b6c..9ddb006ee 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005053.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005053.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 700500005, gadget_seelie = 53002 diff --git a/Resources/Scripts/Scene/7/scene7_group177005059.lua b/Resources/Scripts/Scene/7/scene7_group177005059.lua index d23bffa11..66405069a 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005059.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005059.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_1 = 700500008, gadget_1 = 59002, gadget_3 = 59007, diff --git a/Resources/Scripts/Scene/7/scene7_group177005060.lua b/Resources/Scripts/Scene/7/scene7_group177005060.lua index 32fbcd7b8..db8db7887 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005060.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005060.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 180, group_id = 177005060, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/7/scene7_group177005076.lua b/Resources/Scripts/Scene/7/scene7_group177005076.lua index 3dbed9ce3..c6b8b6fa0 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005076.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005076.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_1 = 700500010 } diff --git a/Resources/Scripts/Scene/7/scene7_group177005111.lua b/Resources/Scripts/Scene/7/scene7_group177005111.lua index 777dba81b..13ffbabaa 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005111.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005111.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 177005111, gadget_thunderThelfID = 111001, pointarray_ID = 700500020, diff --git a/Resources/Scripts/Scene/7/scene7_group177005129.lua b/Resources/Scripts/Scene/7/scene7_group177005129.lua index 25f38b3be..c49f46f99 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005129.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005129.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_riddle_1 = 129001, gadget_riddle_2 = 129002, gadget_riddle_3 = 129003 diff --git a/Resources/Scripts/Scene/7/scene7_group177005136.lua b/Resources/Scripts/Scene/7/scene7_group177005136.lua index f0b383f69..e6802914f 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005136.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005136.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 700500020, gadget_seelie = 136002 diff --git a/Resources/Scripts/Scene/7/scene7_group177005137.lua b/Resources/Scripts/Scene/7/scene7_group177005137.lua index 653d2062a..d7a5e70cd 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005137.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005137.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 700500022, gadget_seelie = 137002 diff --git a/Resources/Scripts/Scene/7/scene7_group177005139.lua b/Resources/Scripts/Scene/7/scene7_group177005139.lua index 38a74ae40..491705bba 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005139.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005139.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 5, route_2 = 700500024, gadget_seelie = 139002 diff --git a/Resources/Scripts/Scene/7/scene7_group177005141.lua b/Resources/Scripts/Scene/7/scene7_group177005141.lua index eddddd275..9711d4a63 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005141.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005141.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 177005141, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/7/scene7_group177005142.lua b/Resources/Scripts/Scene/7/scene7_group177005142.lua index c143bad2a..4bcc1fd04 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005142.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005142.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, group_id = 177005142, gadget_sum = 5 diff --git a/Resources/Scripts/Scene/7/scene7_group177005143.lua b/Resources/Scripts/Scene/7/scene7_group177005143.lua index cb28dac36..94bdbd2fe 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005143.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005143.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, group_id = 177005143, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/7/scene7_group177005146.lua b/Resources/Scripts/Scene/7/scene7_group177005146.lua index c79d3270d..c5d9f0b79 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005146.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005146.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {146002,146004,146003,146005,146001}, diff --git a/Resources/Scripts/Scene/7/scene7_group177005149.lua b/Resources/Scripts/Scene/7/scene7_group177005149.lua index 2dc42da6c..1d94d2c33 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005149.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005149.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_1 = 700500026, gadget_1 = 149002, gadget_controller_1 = 149006, diff --git a/Resources/Scripts/Scene/7/scene7_group177005150.lua b/Resources/Scripts/Scene/7/scene7_group177005150.lua index 8cfaa1247..bdca8a45c 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005150.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005150.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_1 = 700500027, gadget_1 = 150002, gadget_controller_1 = 150006, diff --git a/Resources/Scripts/Scene/7/scene7_group177005151.lua b/Resources/Scripts/Scene/7/scene7_group177005151.lua index 34e6d57f9..dc0c44f7f 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005151.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005151.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 151001, pointarray_move = 700500040 diff --git a/Resources/Scripts/Scene/7/scene7_group177005152.lua b/Resources/Scripts/Scene/7/scene7_group177005152.lua index 78ea6301a..7812cf64e 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005152.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005152.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 177005152, gadget_airforce = 152001, gadget_windforce = 152002, diff --git a/Resources/Scripts/Scene/7/scene7_group177005153.lua b/Resources/Scripts/Scene/7/scene7_group177005153.lua index 0611254b5..2097f7364 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005153.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005153.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 15, group_id = 177005153, diff --git a/Resources/Scripts/Scene/7/scene7_group177005155.lua b/Resources/Scripts/Scene/7/scene7_group177005155.lua index c8ca36e86..9fe34864a 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005155.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005155.lua @@ -4,10 +4,9 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --groupID - groupID = 177005155 -, + groupID = 177005155 , --挑战操作台 challenge_gadget = 155006, diff --git a/Resources/Scripts/Scene/7/scene7_group177005156.lua b/Resources/Scripts/Scene/7/scene7_group177005156.lua index 21447fd6a..0fb883495 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005156.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005156.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --groupID groupID = 177005156, diff --git a/Resources/Scripts/Scene/7/scene7_group177005159.lua b/Resources/Scripts/Scene/7/scene7_group177005159.lua index 8c3407841..12c8e5ae0 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005159.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005159.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 240, kill_sum = 4, group_id = 177005159, diff --git a/Resources/Scripts/Scene/7/scene7_group177005160.lua b/Resources/Scripts/Scene/7/scene7_group177005160.lua index 077502f9b..9b243017f 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005160.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005160.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 41, route_2 = 700500032, gadget_seelie = 160002 diff --git a/Resources/Scripts/Scene/7/scene7_group177005162.lua b/Resources/Scripts/Scene/7/scene7_group177005162.lua index 3c3ede5f4..f1d84c4eb 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005162.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005162.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 19, route_2 = 700500034, gadget_seelie = 162002 diff --git a/Resources/Scripts/Scene/7/scene7_group177005163.lua b/Resources/Scripts/Scene/7/scene7_group177005163.lua index 2e506ab54..a1a4aa807 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005163.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005163.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 163001, pointarray_move = 700500035 diff --git a/Resources/Scripts/Scene/7/scene7_group177005165.lua b/Resources/Scripts/Scene/7/scene7_group177005165.lua index ae6cca017..187220884 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005165.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005165.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 177005165, gadget_riddle_1 = 165002, gadget_riddle_2 = 165003, diff --git a/Resources/Scripts/Scene/7/scene7_group177005167.lua b/Resources/Scripts/Scene/7/scene7_group177005167.lua index 34f44dbcd..430100e02 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005167.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005167.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 167001, pointarray_move = 700500036 diff --git a/Resources/Scripts/Scene/7/scene7_group177005168.lua b/Resources/Scripts/Scene/7/scene7_group177005168.lua index 352217a2a..ad916f8b6 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005168.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005168.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 168001, pointarray_move = 700500037 diff --git a/Resources/Scripts/Scene/7/scene7_group177005169.lua b/Resources/Scripts/Scene/7/scene7_group177005169.lua index 7e9708937..9baac5ab4 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005169.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005169.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 169001, pointarray_move = 700500038 diff --git a/Resources/Scripts/Scene/7/scene7_group177005171.lua b/Resources/Scripts/Scene/7/scene7_group177005171.lua index 8374d2088..a5414da29 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005171.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005171.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 171001, pointarray_move = 700500039 diff --git a/Resources/Scripts/Scene/7/scene7_group177005173.lua b/Resources/Scripts/Scene/7/scene7_group177005173.lua index 6bfd5cd93..8d7969855 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005173.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005173.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 173001, pointarray_move = 700500041 diff --git a/Resources/Scripts/Scene/7/scene7_group177005183.lua b/Resources/Scripts/Scene/7/scene7_group177005183.lua index fc36c0335..fd9276de7 100644 --- a/Resources/Scripts/Scene/7/scene7_group177005183.lua +++ b/Resources/Scripts/Scene/7/scene7_group177005183.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 183001, pointarray_move = 700500042 diff --git a/Resources/Scripts/Scene/7/scene7_group177006001.lua b/Resources/Scripts/Scene/7/scene7_group177006001.lua index da10cb854..8f351417a 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006001.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006001.lua @@ -4,10 +4,9 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --groupID - groupID = 177006001 -, + groupID = 177006001 , --挑战操作台 challenge_gadget = 1006, diff --git a/Resources/Scripts/Scene/7/scene7_group177006002.lua b/Resources/Scripts/Scene/7/scene7_group177006002.lua index 61e704688..03607a745 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006002.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006002.lua @@ -4,10 +4,9 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --groupID - groupID = 177006002 -, + groupID = 177006002 , --挑战操作台 challenge_gadget = 2008, diff --git a/Resources/Scripts/Scene/7/scene7_group177006017.lua b/Resources/Scripts/Scene/7/scene7_group177006017.lua index 1b7bf3bd2..47535735e 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006017.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 75, group_id = 177006017, collectable_sum = 10 diff --git a/Resources/Scripts/Scene/7/scene7_group177006034.lua b/Resources/Scripts/Scene/7/scene7_group177006034.lua index 5bc9114ac..4c8ce6dc0 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006034.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006034.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 177006034, gadget_thunderThelfID = 34001, pointarray_ID = 700600001, diff --git a/Resources/Scripts/Scene/7/scene7_group177006035.lua b/Resources/Scripts/Scene/7/scene7_group177006035.lua index 9f22b5e20..a69ce047c 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006035.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006035.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 700600001, gadget_seelie = 35002 diff --git a/Resources/Scripts/Scene/7/scene7_group177006041.lua b/Resources/Scripts/Scene/7/scene7_group177006041.lua index 9acf9bf6c..f29223602 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006041.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006041.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 177006041, gadget_riddle_hint = 41001, gadget_riddle_1 = 41002, diff --git a/Resources/Scripts/Scene/7/scene7_group177006057.lua b/Resources/Scripts/Scene/7/scene7_group177006057.lua index 720c05dcd..e71c82c45 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006057.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006057.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 700600005, gadget_seelie = 57002 diff --git a/Resources/Scripts/Scene/7/scene7_group177006058.lua b/Resources/Scripts/Scene/7/scene7_group177006058.lua index 74c9ee9ff..48dd0122e 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006058.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006058.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 7, route_2 = 700600007, gadget_seelie = 58002 diff --git a/Resources/Scripts/Scene/7/scene7_group177006059.lua b/Resources/Scripts/Scene/7/scene7_group177006059.lua index c929cef08..bb34ef3bf 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006059.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006059.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 700600009, gadget_seelie = 59002 diff --git a/Resources/Scripts/Scene/7/scene7_group177006064.lua b/Resources/Scripts/Scene/7/scene7_group177006064.lua index 322322859..999dfca87 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006064.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006064.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 3, group_id = 177006064, diff --git a/Resources/Scripts/Scene/7/scene7_group177006071.lua b/Resources/Scripts/Scene/7/scene7_group177006071.lua index 3dcf72fd9..ab7a6fc28 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006071.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006071.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_1 = 700600008, gadget_1 = 71002, gadget_2 = 71003, diff --git a/Resources/Scripts/Scene/7/scene7_group177006077.lua b/Resources/Scripts/Scene/7/scene7_group177006077.lua index 502587e6a..53c307042 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006077.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006077.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 177006077, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/7/scene7_group177006080.lua b/Resources/Scripts/Scene/7/scene7_group177006080.lua index 071582f3b..1e279e072 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006080.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006080.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_1 = 700600012, gadget_1 = 80002, gadget_2 = 80003, diff --git a/Resources/Scripts/Scene/7/scene7_group177006081.lua b/Resources/Scripts/Scene/7/scene7_group177006081.lua index e7b81a8df..f5b84efde 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006081.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006081.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 177006081, gadget_airforce = 81001, gadget_windforce = 81002, diff --git a/Resources/Scripts/Scene/7/scene7_group177006082.lua b/Resources/Scripts/Scene/7/scene7_group177006082.lua index 3235f223f..74f21a6c5 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006082.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006082.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_1 = 700600013, gadget_1 = 82002, gadget_2 = 82003, diff --git a/Resources/Scripts/Scene/7/scene7_group177006083.lua b/Resources/Scripts/Scene/7/scene7_group177006083.lua index cec2ba0bd..af0b87bf0 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006083.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006083.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 177006083, gadget_airforce = 83001, gadget_windforce = 83002, diff --git a/Resources/Scripts/Scene/7/scene7_group177006086.lua b/Resources/Scripts/Scene/7/scene7_group177006086.lua index 754c509bf..31c365a90 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006086.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006086.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 86001, pointarray_move = 700600016 diff --git a/Resources/Scripts/Scene/7/scene7_group177006087.lua b/Resources/Scripts/Scene/7/scene7_group177006087.lua index 8440a0990..ddc623162 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006087.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006087.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 177006087, gadget_teleport = 87001, pointarray_move = 700600018 diff --git a/Resources/Scripts/Scene/7/scene7_group177006088.lua b/Resources/Scripts/Scene/7/scene7_group177006088.lua index ca3f4cdd7..ed9dba9d7 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006088.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006088.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 177006088, gadget_sum = 5 diff --git a/Resources/Scripts/Scene/7/scene7_group177006091.lua b/Resources/Scripts/Scene/7/scene7_group177006091.lua index 175fe7455..9919bdd0c 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006091.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006091.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 700600013, gadget_seelie = 91002 diff --git a/Resources/Scripts/Scene/7/scene7_group177006092.lua b/Resources/Scripts/Scene/7/scene7_group177006092.lua index 6518a48d4..f2038c173 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006092.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006092.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 92001, pointarray_move = 700600019 diff --git a/Resources/Scripts/Scene/7/scene7_group177006093.lua b/Resources/Scripts/Scene/7/scene7_group177006093.lua index f2ec3b545..e286a476b 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006093.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006093.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 177006093, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/7/scene7_group177006094.lua b/Resources/Scripts/Scene/7/scene7_group177006094.lua index 1e6a694e6..d711a9c7c 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006094.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006094.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 94001, pointarray_move = 700600020 diff --git a/Resources/Scripts/Scene/7/scene7_group177006095.lua b/Resources/Scripts/Scene/7/scene7_group177006095.lua index 8ddf93203..c0f7c7fad 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006095.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006095.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 177006095, gadget_thunderThelfID = 95001, pointarray_ID = 700600021, diff --git a/Resources/Scripts/Scene/7/scene7_group177006096.lua b/Resources/Scripts/Scene/7/scene7_group177006096.lua index 98c7d7253..bac85faea 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006096.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006096.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 177006096, gadget_thunderThelfID = 96001, pointarray_ID = 700600022, diff --git a/Resources/Scripts/Scene/7/scene7_group177006097.lua b/Resources/Scripts/Scene/7/scene7_group177006097.lua index 7034161b1..b00ea938c 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006097.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006097.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 97001, pointarray_move = 700600023 diff --git a/Resources/Scripts/Scene/7/scene7_group177006098.lua b/Resources/Scripts/Scene/7/scene7_group177006098.lua index f04d45ae2..1457e0eff 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006098.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006098.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 98001, pointarray_move = 700600024 diff --git a/Resources/Scripts/Scene/7/scene7_group177006099.lua b/Resources/Scripts/Scene/7/scene7_group177006099.lua index 569d35229..5769cdae9 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006099.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006099.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 177006099, gadget_thunderThelfID = 99001, pointarray_ID = 700600025, diff --git a/Resources/Scripts/Scene/7/scene7_group177006100.lua b/Resources/Scripts/Scene/7/scene7_group177006100.lua index c640d2906..db61e45e1 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006100.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006100.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 100001, pointarray_move = 700600026 diff --git a/Resources/Scripts/Scene/7/scene7_group177006101.lua b/Resources/Scripts/Scene/7/scene7_group177006101.lua index d45732a99..5419d0544 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006101.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006101.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { max_gear = 3, timer = 25, group_id = 177006101, diff --git a/Resources/Scripts/Scene/7/scene7_group177006103.lua b/Resources/Scripts/Scene/7/scene7_group177006103.lua index de1d0db66..f3e67b1a0 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006103.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006103.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 17, route_2 = 700600015, gadget_seelie = 103002 diff --git a/Resources/Scripts/Scene/7/scene7_group177006104.lua b/Resources/Scripts/Scene/7/scene7_group177006104.lua index f4ce316be..14ef0c599 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006104.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006104.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 104001, pointarray_move = 700600027 diff --git a/Resources/Scripts/Scene/7/scene7_group177006105.lua b/Resources/Scripts/Scene/7/scene7_group177006105.lua index 612cbc12e..693fe4e0b 100644 --- a/Resources/Scripts/Scene/7/scene7_group177006105.lua +++ b/Resources/Scripts/Scene/7/scene7_group177006105.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 177006105, collectable_sum = 7 diff --git a/Resources/Scripts/Scene/7/scene7_group177008014.lua b/Resources/Scripts/Scene/7/scene7_group177008014.lua index 578bea1ca..359edf191 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008014.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008014.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 177008014, gadget_thunderThelfID = 14001, pointarray_ID = 700800001, diff --git a/Resources/Scripts/Scene/7/scene7_group177008015.lua b/Resources/Scripts/Scene/7/scene7_group177008015.lua index ea848c4ea..d5ab995b0 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008015.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008015.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 177008015, gadget_thunderThelfID = 15001, pointarray_ID = 700800002, diff --git a/Resources/Scripts/Scene/7/scene7_group177008017.lua b/Resources/Scripts/Scene/7/scene7_group177008017.lua index 68a46524e..7be82db69 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008017.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008017.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 177008017, gadget_thunderThelfID = 17001, pointarray_ID = 700800004, diff --git a/Resources/Scripts/Scene/7/scene7_group177008018.lua b/Resources/Scripts/Scene/7/scene7_group177008018.lua index f40d46c06..15b6d6b68 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008018.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008018.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 177008018, gadget_thunderThelfID = 18001, pointarray_ID = 700800005, diff --git a/Resources/Scripts/Scene/7/scene7_group177008021.lua b/Resources/Scripts/Scene/7/scene7_group177008021.lua index 4e1964f50..6fd748541 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008021.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008021.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 177008021, collectable_sum = 13 diff --git a/Resources/Scripts/Scene/7/scene7_group177008022.lua b/Resources/Scripts/Scene/7/scene7_group177008022.lua index 05189e01d..761d2b403 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008022.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008022.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 240, group_id = 177008022, collectable_sum = 14 diff --git a/Resources/Scripts/Scene/7/scene7_group177008023.lua b/Resources/Scripts/Scene/7/scene7_group177008023.lua index e81f62b46..0975d5715 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008023.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008023.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 80, group_id = 177008023, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/7/scene7_group177008034.lua b/Resources/Scripts/Scene/7/scene7_group177008034.lua index 24fa41671..0d294d687 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008034.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008034.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 177008034, gadget_riddle_hint = 34001, gadget_riddle_1 = 34002, diff --git a/Resources/Scripts/Scene/7/scene7_group177008035.lua b/Resources/Scripts/Scene/7/scene7_group177008035.lua index b89c66bea..b0e421c13 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008035.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008035.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 2, group_id = 177008035, diff --git a/Resources/Scripts/Scene/7/scene7_group177008036.lua b/Resources/Scripts/Scene/7/scene7_group177008036.lua index 38a908105..8cf3d0f68 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008036.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008036.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 3, group_id = 177008036, diff --git a/Resources/Scripts/Scene/7/scene7_group177008037.lua b/Resources/Scripts/Scene/7/scene7_group177008037.lua index fb87956d9..8605edc0f 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008037.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008037.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 120, kill_sum = 2, group_id = 177008037, diff --git a/Resources/Scripts/Scene/7/scene7_group177008061.lua b/Resources/Scripts/Scene/7/scene7_group177008061.lua index de2d19cf6..96c68f5ac 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008061.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008061.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_1 = 700800016, gadget_1 = 61002, gadget_2 = 61003, diff --git a/Resources/Scripts/Scene/7/scene7_group177008062.lua b/Resources/Scripts/Scene/7/scene7_group177008062.lua index 0473fefb5..21c881cc9 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008062.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008062.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_1 = 700800017, gadget_1 = 62002, gadget_2 = 62003, diff --git a/Resources/Scripts/Scene/7/scene7_group177008063.lua b/Resources/Scripts/Scene/7/scene7_group177008063.lua index 8e8672043..1574a82c1 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008063.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008063.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 177008063, gadget_thunderThelfID = 63001, pointarray_ID = 700800018, diff --git a/Resources/Scripts/Scene/7/scene7_group177008077.lua b/Resources/Scripts/Scene/7/scene7_group177008077.lua index 59114ae3b..4a2ba442c 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008077.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008077.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_1 = 700800022, gadget_1 = 77002, gadget_2 = 77003, diff --git a/Resources/Scripts/Scene/7/scene7_group177008079.lua b/Resources/Scripts/Scene/7/scene7_group177008079.lua index 40e149a9a..b52dc511b 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008079.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008079.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 177008079, gadget_airforce = 79001, gadget_windforce = 79002, diff --git a/Resources/Scripts/Scene/7/scene7_group177008080.lua b/Resources/Scripts/Scene/7/scene7_group177008080.lua index 93cf00585..7f93a2bdd 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008080.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008080.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --groupID groupID = 177008080, diff --git a/Resources/Scripts/Scene/7/scene7_group177008081.lua b/Resources/Scripts/Scene/7/scene7_group177008081.lua index 35dceb330..b6c9ad626 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008081.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008081.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --groupID groupID = 177008081, diff --git a/Resources/Scripts/Scene/7/scene7_group177008093.lua b/Resources/Scripts/Scene/7/scene7_group177008093.lua index 638feda8c..a523f9e0d 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008093.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008093.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { pointarray_1 = 700800023, gadget_1 = 93002, gadget_2 = 93003, diff --git a/Resources/Scripts/Scene/7/scene7_group177008094.lua b/Resources/Scripts/Scene/7/scene7_group177008094.lua index b50e5c924..11e718415 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008094.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008094.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 177008094, gadget_teleport = 94001, pointarray_move = 700800026 diff --git a/Resources/Scripts/Scene/7/scene7_group177008096.lua b/Resources/Scripts/Scene/7/scene7_group177008096.lua index 963ffbd82..a051a88ba 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008096.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008096.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 700800002, gadget_seelie = 96002 diff --git a/Resources/Scripts/Scene/7/scene7_group177008097.lua b/Resources/Scripts/Scene/7/scene7_group177008097.lua index 4a73800f9..7400f706f 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008097.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008097.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 700800004, gadget_seelie = 97002 diff --git a/Resources/Scripts/Scene/7/scene7_group177008099.lua b/Resources/Scripts/Scene/7/scene7_group177008099.lua index 7dbd91f90..aaf8effe8 100644 --- a/Resources/Scripts/Scene/7/scene7_group177008099.lua +++ b/Resources/Scripts/Scene/7/scene7_group177008099.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupID = 155005270, gadget_teleport = 99001, pointarray_move = 700800027 diff --git a/Resources/Scripts/Scene/7/scene7_group177009010.lua b/Resources/Scripts/Scene/7/scene7_group177009010.lua index 472c11a94..018c6626b 100644 --- a/Resources/Scripts/Scene/7/scene7_group177009010.lua +++ b/Resources/Scripts/Scene/7/scene7_group177009010.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 177009010, gadget_thunderThelfID = 10001, pointarray_ID = 700900007, diff --git a/Resources/Scripts/Scene/9/scene9_group199001001.lua b/Resources/Scripts/Scene/9/scene9_group199001001.lua index 5cdf90cc6..87519092f 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001001.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { starter_worktop_id = 1032, pointarray_route = 900100002, final_stage = 9, diff --git a/Resources/Scripts/Scene/9/scene9_group199001002.lua b/Resources/Scripts/Scene/9/scene9_group199001002.lua index c7e27d605..17166f521 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001002.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { prepare_region = 2001, prepare_point = 2002, prepare_airwall = 2003 diff --git a/Resources/Scripts/Scene/9/scene9_group199001005.lua b/Resources/Scripts/Scene/9/scene9_group199001005.lua index 4884edc17..a03588f34 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001005.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { prepare_region = 5002, prepare_point = 5003, prepare_airwall = 5001 diff --git a/Resources/Scripts/Scene/9/scene9_group199001015.lua b/Resources/Scripts/Scene/9/scene9_group199001015.lua index 59718bad7..fe76426ac 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001015.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001015.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { prepare_region = 15001, prepare_point = 15003, prepare_airwall = 15002, diff --git a/Resources/Scripts/Scene/9/scene9_group199001020.lua b/Resources/Scripts/Scene/9/scene9_group199001020.lua index 00fb9ef2e..3d4d984cd 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001020.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001020.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { prepare_region = 20002, prepare_point = 20003, prepare_airwall = 20001, diff --git a/Resources/Scripts/Scene/9/scene9_group199001033.lua b/Resources/Scripts/Scene/9/scene9_group199001033.lua index 4694c40bd..5e792aab8 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001033.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001033.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 199001033, gadget_riddle_hint = 33001, gadget_riddle_1 = 33002, diff --git a/Resources/Scripts/Scene/9/scene9_group199001034.lua b/Resources/Scripts/Scene/9/scene9_group199001034.lua index 9b999d998..cc97e1ec9 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001034.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001034.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 199001034, gadget_riddle_hint = 34001, gadget_riddle_1 = 34002, diff --git a/Resources/Scripts/Scene/9/scene9_group199001051.lua b/Resources/Scripts/Scene/9/scene9_group199001051.lua index 2e463b3e1..9965f1617 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001051.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001051.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --每个操作台config_id, 控制的markflag和它的解,最多5位数字。 --玩家按按钮,左转写2 右转写3。 --例如“左左右左”即为“{2,2,3,2}” diff --git a/Resources/Scripts/Scene/9/scene9_group199001052.lua b/Resources/Scripts/Scene/9/scene9_group199001052.lua index 6e1f8ef42..3cdeae12d 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001052.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001052.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --每个操作台config_id, 控制的markflag和它的解,最多5位数字。 --玩家按按钮,左转写2 右转写3。 --例如“左左右左”即为“{2,2,3,2}” diff --git a/Resources/Scripts/Scene/9/scene9_group199001053.lua b/Resources/Scripts/Scene/9/scene9_group199001053.lua index 637105a2d..01fb62e4b 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001053.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001053.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --每个操作台config_id, 控制的markflag和它的解,最多5位数字。 --玩家按按钮,左转写2 右转写3。 --例如“左左右左”即为“{2,2,3,2}” diff --git a/Resources/Scripts/Scene/9/scene9_group199001058.lua b/Resources/Scripts/Scene/9/scene9_group199001058.lua index 13d3405fd..d3089a1b3 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001058.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001058.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, kill_sum = 4, group_id = 199001058, diff --git a/Resources/Scripts/Scene/9/scene9_group199001062.lua b/Resources/Scripts/Scene/9/scene9_group199001062.lua index e9c120513..01f8e8818 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001062.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001062.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111154,1111155,1111156}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199001064.lua b/Resources/Scripts/Scene/9/scene9_group199001064.lua index 2c6ca3fee..59b333ac0 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001064.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001064.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { guide_region = 64021, lines= diff --git a/Resources/Scripts/Scene/9/scene9_group199001069.lua b/Resources/Scripts/Scene/9/scene9_group199001069.lua index 71f074d53..15c07e581 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001069.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001069.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { CollectSuit = 0 } diff --git a/Resources/Scripts/Scene/9/scene9_group199001091.lua b/Resources/Scripts/Scene/9/scene9_group199001091.lua index fac375658..93948b23d 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001091.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001091.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { starter_worktop_id = 91085, final_stage = 5, dive_region = 91086, diff --git a/Resources/Scripts/Scene/9/scene9_group199001094.lua b/Resources/Scripts/Scene/9/scene9_group199001094.lua index 2fb80f015..3d2e769f4 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001094.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001094.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --开启操作台configID starter_gadget = 94001, --终点Region的ConfigID diff --git a/Resources/Scripts/Scene/9/scene9_group199001098.lua b/Resources/Scripts/Scene/9/scene9_group199001098.lua index 737f31e7e..f59b7e16d 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001098.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001098.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --开启操作台configID starter_gadget = 98001, --终点Region的ConfigID diff --git a/Resources/Scripts/Scene/9/scene9_group199001100.lua b/Resources/Scripts/Scene/9/scene9_group199001100.lua index 1fc8b9eec..2f2ed4971 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001100.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001100.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { starter_worktop_id = 100038, final_stage = 6, gallery_id = 21201, diff --git a/Resources/Scripts/Scene/9/scene9_group199001106.lua b/Resources/Scripts/Scene/9/scene9_group199001106.lua index fb53eb632..655e5e70d 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001106.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001106.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { stages = { --key为第几段,value1为这一段的起点suite,value2为这一段的主体suite diff --git a/Resources/Scripts/Scene/9/scene9_group199001107.lua b/Resources/Scripts/Scene/9/scene9_group199001107.lua index 23a443a23..7f61a6915 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001107.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001107.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111151,1111152,1111153}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199001109.lua b/Resources/Scripts/Scene/9/scene9_group199001109.lua index 0eeb23ae3..f3f32e2b7 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001109.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001109.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111157,1111158,1111159}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199001110.lua b/Resources/Scripts/Scene/9/scene9_group199001110.lua index 4892652a1..33f9101e8 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001110.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001110.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111154,1111155,1111156}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199001111.lua b/Resources/Scripts/Scene/9/scene9_group199001111.lua index 1ec310abf..e49bc8aec 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001111.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001111.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111160,1111161,1111162}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199001112.lua b/Resources/Scripts/Scene/9/scene9_group199001112.lua index b0aaeea6d..b43fc018f 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001112.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001112.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111160,1111161,1111162}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199001114.lua b/Resources/Scripts/Scene/9/scene9_group199001114.lua index 8fd8cf999..fec3bf682 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001114.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001114.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { optimize_region = 114002, prepare_region = 114004, prepare_point = 114005, diff --git a/Resources/Scripts/Scene/9/scene9_group199001115.lua b/Resources/Scripts/Scene/9/scene9_group199001115.lua index 4761f66cf..48f4d2520 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001115.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001115.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_id = 115004 } diff --git a/Resources/Scripts/Scene/9/scene9_group199001117.lua b/Resources/Scripts/Scene/9/scene9_group199001117.lua index 6ec372818..83506c8f7 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001117.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001117.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 117001, pointarray_ID = 900100014, maxPointCount = 20, diff --git a/Resources/Scripts/Scene/9/scene9_group199001121.lua b/Resources/Scripts/Scene/9/scene9_group199001121.lua index 85bf303f7..8d5ddfe64 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001121.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001121.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { CollectSuit = 0 } diff --git a/Resources/Scripts/Scene/9/scene9_group199001124.lua b/Resources/Scripts/Scene/9/scene9_group199001124.lua index 6c5d6eb8c..957de4a2c 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001124.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001124.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { CollectSuit = 0 } diff --git a/Resources/Scripts/Scene/9/scene9_group199001125.lua b/Resources/Scripts/Scene/9/scene9_group199001125.lua index 515027087..e3a728961 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001125.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001125.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { lines= diff --git a/Resources/Scripts/Scene/9/scene9_group199001130.lua b/Resources/Scripts/Scene/9/scene9_group199001130.lua index 00e545255..5a37d4a8a 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001130.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001130.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { lines= { diff --git a/Resources/Scripts/Scene/9/scene9_group199001131.lua b/Resources/Scripts/Scene/9/scene9_group199001131.lua index e95ad9dd6..9b43fedd1 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001131.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001131.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { CollectSuit = 0 } diff --git a/Resources/Scripts/Scene/9/scene9_group199001136.lua b/Resources/Scripts/Scene/9/scene9_group199001136.lua index 0345c156f..2a3e5a336 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001136.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001136.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { CollectSuit = 0 } diff --git a/Resources/Scripts/Scene/9/scene9_group199001137.lua b/Resources/Scripts/Scene/9/scene9_group199001137.lua index 2768d81ad..74dcae9a4 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001137.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001137.lua @@ -4,9 +4,8 @@ local base_info = { } -- DEFS_MISCS -defs = -{ - +local defs = +{ lines= { [137009] = 137022, diff --git a/Resources/Scripts/Scene/9/scene9_group199001138.lua b/Resources/Scripts/Scene/9/scene9_group199001138.lua index dc9c853a1..b2b11095e 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001138.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001138.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 138001, pointarray_ID = 900100004, maxPointCount = 8, diff --git a/Resources/Scripts/Scene/9/scene9_group199001148.lua b/Resources/Scripts/Scene/9/scene9_group199001148.lua index f2ca08386..971b8f282 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001148.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001148.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111157,1111158,1111159}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199001156.lua b/Resources/Scripts/Scene/9/scene9_group199001156.lua index 2a8c4d1d4..7e2bc2070 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001156.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001156.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 199001156, gadget_target_1S = 156002, gadget_target_1E = 156005, diff --git a/Resources/Scripts/Scene/9/scene9_group199001157.lua b/Resources/Scripts/Scene/9/scene9_group199001157.lua index fcc10fe50..4cdc06f3a 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001157.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001157.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 157001, pointarray_ID = 900100005, maxPointCount = 16, diff --git a/Resources/Scripts/Scene/9/scene9_group199001158.lua b/Resources/Scripts/Scene/9/scene9_group199001158.lua index de7725233..f848564ac 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001158.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001158.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 199001158, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/9/scene9_group199001161.lua b/Resources/Scripts/Scene/9/scene9_group199001161.lua index 970f6c5d9..0af8f3cb6 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001161.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001161.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 161001, pointarray_ID = 900100006, maxPointCount = 15, diff --git a/Resources/Scripts/Scene/9/scene9_group199001173.lua b/Resources/Scripts/Scene/9/scene9_group199001173.lua index 1a8e451f9..9d0de8ed5 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001173.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001173.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 173001, pointarray_ID = 900100007, maxPointCount = 18, diff --git a/Resources/Scripts/Scene/9/scene9_group199001180.lua b/Resources/Scripts/Scene/9/scene9_group199001180.lua index a65590f15..20008cbb8 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001180.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001180.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { lines= diff --git a/Resources/Scripts/Scene/9/scene9_group199001181.lua b/Resources/Scripts/Scene/9/scene9_group199001181.lua index 167d9ac2d..e06756a7d 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001181.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001181.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 199001181, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/9/scene9_group199001194.lua b/Resources/Scripts/Scene/9/scene9_group199001194.lua index b2b447003..1b241d6fd 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001194.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001194.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { guide_region = 194003, --玩法完成时 这个gadget如果为GearStop则会被设为Default diff --git a/Resources/Scripts/Scene/9/scene9_group199001195.lua b/Resources/Scripts/Scene/9/scene9_group199001195.lua index 9ff2910f3..ce587e943 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001195.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001195.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { CollectSuit = 0 } diff --git a/Resources/Scripts/Scene/9/scene9_group199001203.lua b/Resources/Scripts/Scene/9/scene9_group199001203.lua index d79a10861..5bffac129 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001203.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001203.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point = 0 } diff --git a/Resources/Scripts/Scene/9/scene9_group199001234.lua b/Resources/Scripts/Scene/9/scene9_group199001234.lua index 68c3a609b..9055f913f 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001234.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001234.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 234001, pointarray_ID = 900100013, maxPointCount = 26, diff --git a/Resources/Scripts/Scene/9/scene9_group199001243.lua b/Resources/Scripts/Scene/9/scene9_group199001243.lua index b511b8005..4bcb8bdc8 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001243.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001243.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 50, group_id = 199001243 } diff --git a/Resources/Scripts/Scene/9/scene9_group199001244.lua b/Resources/Scripts/Scene/9/scene9_group199001244.lua index 6402b1b8b..4421195e3 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001244.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001244.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 199001244 } diff --git a/Resources/Scripts/Scene/9/scene9_group199001245.lua b/Resources/Scripts/Scene/9/scene9_group199001245.lua index 3b781f89e..8f546cb6d 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001245.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001245.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 40, group_id = 199001245 } diff --git a/Resources/Scripts/Scene/9/scene9_group199001246.lua b/Resources/Scripts/Scene/9/scene9_group199001246.lua index 52e535dc7..8a2904dc6 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001246.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001246.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 20, group_id = 199001246 } diff --git a/Resources/Scripts/Scene/9/scene9_group199001248.lua b/Resources/Scripts/Scene/9/scene9_group199001248.lua index c65e541fa..657e30b5a 100644 --- a/Resources/Scripts/Scene/9/scene9_group199001248.lua +++ b/Resources/Scripts/Scene/9/scene9_group199001248.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 15, group_id = 199001248 } diff --git a/Resources/Scripts/Scene/9/scene9_group199002052.lua b/Resources/Scripts/Scene/9/scene9_group199002052.lua index 117a4470e..bb8c3bcb0 100644 --- a/Resources/Scripts/Scene/9/scene9_group199002052.lua +++ b/Resources/Scripts/Scene/9/scene9_group199002052.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { play_state = 4 } diff --git a/Resources/Scripts/Scene/9/scene9_group199002058.lua b/Resources/Scripts/Scene/9/scene9_group199002058.lua index 8873e8f97..e7ec31bb8 100644 --- a/Resources/Scripts/Scene/9/scene9_group199002058.lua +++ b/Resources/Scripts/Scene/9/scene9_group199002058.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111151,1111152,1111153}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199002065.lua b/Resources/Scripts/Scene/9/scene9_group199002065.lua index 20c0a6a3d..85a8c9413 100644 --- a/Resources/Scripts/Scene/9/scene9_group199002065.lua +++ b/Resources/Scripts/Scene/9/scene9_group199002065.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { starter_worktop_id = 65001, final_stage = 6, gallery_id = 21200, diff --git a/Resources/Scripts/Scene/9/scene9_group199002079.lua b/Resources/Scripts/Scene/9/scene9_group199002079.lua index 4ea82ddd1..ed73edd94 100644 --- a/Resources/Scripts/Scene/9/scene9_group199002079.lua +++ b/Resources/Scripts/Scene/9/scene9_group199002079.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --开启操作台configID starter_gadget = 79002, --终点Region的ConfigID diff --git a/Resources/Scripts/Scene/9/scene9_group199002090.lua b/Resources/Scripts/Scene/9/scene9_group199002090.lua index d40c21888..2f6ae2c08 100644 --- a/Resources/Scripts/Scene/9/scene9_group199002090.lua +++ b/Resources/Scripts/Scene/9/scene9_group199002090.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { stages = { --key为第几段,value1为这一段的起点suite,value2为这一段的主体suite diff --git a/Resources/Scripts/Scene/9/scene9_group199002091.lua b/Resources/Scripts/Scene/9/scene9_group199002091.lua index e31bba715..b0d1c26ad 100644 --- a/Resources/Scripts/Scene/9/scene9_group199002091.lua +++ b/Resources/Scripts/Scene/9/scene9_group199002091.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { stages = { --key为第几段,value1为这一段的起点suite,value2为这一段的主体suite diff --git a/Resources/Scripts/Scene/9/scene9_group199002092.lua b/Resources/Scripts/Scene/9/scene9_group199002092.lua index 63dd07fbc..32f3feaff 100644 --- a/Resources/Scripts/Scene/9/scene9_group199002092.lua +++ b/Resources/Scripts/Scene/9/scene9_group199002092.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111151,1111152,1111153}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199002093.lua b/Resources/Scripts/Scene/9/scene9_group199002093.lua index c5f25096e..5ccab29b4 100644 --- a/Resources/Scripts/Scene/9/scene9_group199002093.lua +++ b/Resources/Scripts/Scene/9/scene9_group199002093.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { stages = { --key为第几段,value1为这一段的起点suite,value2为这一段的主体suite diff --git a/Resources/Scripts/Scene/9/scene9_group199002094.lua b/Resources/Scripts/Scene/9/scene9_group199002094.lua index 7eec77cf3..66cb59231 100644 --- a/Resources/Scripts/Scene/9/scene9_group199002094.lua +++ b/Resources/Scripts/Scene/9/scene9_group199002094.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111151,1111152,1111153}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199002095.lua b/Resources/Scripts/Scene/9/scene9_group199002095.lua index 66723842d..ba1c32192 100644 --- a/Resources/Scripts/Scene/9/scene9_group199002095.lua +++ b/Resources/Scripts/Scene/9/scene9_group199002095.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { stages = { --key为第几段,value1为这一段的起点suite,value2为这一段的主体suite diff --git a/Resources/Scripts/Scene/9/scene9_group199002096.lua b/Resources/Scripts/Scene/9/scene9_group199002096.lua index 30f170785..3f733fa51 100644 --- a/Resources/Scripts/Scene/9/scene9_group199002096.lua +++ b/Resources/Scripts/Scene/9/scene9_group199002096.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111151,1111152,1111153}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199002118.lua b/Resources/Scripts/Scene/9/scene9_group199002118.lua index 17c00f89a..9a1348fb4 100644 --- a/Resources/Scripts/Scene/9/scene9_group199002118.lua +++ b/Resources/Scripts/Scene/9/scene9_group199002118.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111157,1111158,1111159}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199002119.lua b/Resources/Scripts/Scene/9/scene9_group199002119.lua index 6bcb81b86..79599bcce 100644 --- a/Resources/Scripts/Scene/9/scene9_group199002119.lua +++ b/Resources/Scripts/Scene/9/scene9_group199002119.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111154,1111155,1111156}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199002120.lua b/Resources/Scripts/Scene/9/scene9_group199002120.lua index 5562166a9..df9874f52 100644 --- a/Resources/Scripts/Scene/9/scene9_group199002120.lua +++ b/Resources/Scripts/Scene/9/scene9_group199002120.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111160,1111161,1111162}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199002141.lua b/Resources/Scripts/Scene/9/scene9_group199002141.lua index 953c63527..666c987f9 100644 --- a/Resources/Scripts/Scene/9/scene9_group199002141.lua +++ b/Resources/Scripts/Scene/9/scene9_group199002141.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { stages = { --key为第几段,value1为这一段的起点suite,value2为这一段的主体suite diff --git a/Resources/Scripts/Scene/9/scene9_group199002142.lua b/Resources/Scripts/Scene/9/scene9_group199002142.lua index f8a192c43..56f374726 100644 --- a/Resources/Scripts/Scene/9/scene9_group199002142.lua +++ b/Resources/Scripts/Scene/9/scene9_group199002142.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 142001, pointarray_ID = 900200092, maxPointCount = 28, diff --git a/Resources/Scripts/Scene/9/scene9_group199002145.lua b/Resources/Scripts/Scene/9/scene9_group199002145.lua index cc55d32d7..ca0f41ce2 100644 --- a/Resources/Scripts/Scene/9/scene9_group199002145.lua +++ b/Resources/Scripts/Scene/9/scene9_group199002145.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 145001, pointarray_ID = 900200093, maxPointCount = 15, diff --git a/Resources/Scripts/Scene/9/scene9_group199003002.lua b/Resources/Scripts/Scene/9/scene9_group199003002.lua index 33d0e48ff..269b968a4 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003002.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003002.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 70, group_id = 199003002, gadget_sum = 10 diff --git a/Resources/Scripts/Scene/9/scene9_group199003007.lua b/Resources/Scripts/Scene/9/scene9_group199003007.lua index 24359b1f2..a70af4ba5 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003007.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003007.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 70, group_id = 199003007, gadget_sum = 6 diff --git a/Resources/Scripts/Scene/9/scene9_group199003012.lua b/Resources/Scripts/Scene/9/scene9_group199003012.lua index edff89b80..9538fc2a0 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003012.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003012.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 900300038, gadget_seelie = 12007 diff --git a/Resources/Scripts/Scene/9/scene9_group199003025.lua b/Resources/Scripts/Scene/9/scene9_group199003025.lua index 110528ab9..e92a691d5 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003025.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003025.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --开启操作台configID starter_gadget = 25001, --终点Region的ConfigID diff --git a/Resources/Scripts/Scene/9/scene9_group199003030.lua b/Resources/Scripts/Scene/9/scene9_group199003030.lua index 06b8cf220..2d9730a5b 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003030.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003030.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { target_leveltag = 22, pos = { x=-677.9, y=135, z=-16}, rot = {x=0, y=0, z=1}, diff --git a/Resources/Scripts/Scene/9/scene9_group199003031.lua b/Resources/Scripts/Scene/9/scene9_group199003031.lua index e44b1a1b1..d5cbb8c2d 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003031.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003031.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { target_leveltag = 21, pos = { x=-720, y=121, z=401}, rot = {x=0, y=0, z=1}, diff --git a/Resources/Scripts/Scene/9/scene9_group199003032.lua b/Resources/Scripts/Scene/9/scene9_group199003032.lua index 3b15b70c7..ae470e322 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003032.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003032.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { target_leveltag = 22, pos = { x=-764, y=210, z=-26}, rot = {x=0, y=0, z=1}, diff --git a/Resources/Scripts/Scene/9/scene9_group199003036.lua b/Resources/Scripts/Scene/9/scene9_group199003036.lua index c55eaec60..79687e07c 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003036.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003036.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111160,1111161,1111162}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199003037.lua b/Resources/Scripts/Scene/9/scene9_group199003037.lua index c9d0019fc..0d4fbe7e1 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003037.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003037.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111160,1111161,1111162}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199003039.lua b/Resources/Scripts/Scene/9/scene9_group199003039.lua index c7702e88b..474ddde84 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003039.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003039.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { target_leveltag = 21, pos = { x=-682, y=123, z=-19.6}, rot = {x=0, y=0, z=1}, diff --git a/Resources/Scripts/Scene/9/scene9_group199003043.lua b/Resources/Scripts/Scene/9/scene9_group199003043.lua index 8d93d4a7d..4bd29d52c 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003043.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003043.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { target_leveltag = 22, pos = { x=-675.8, y=121.19, z=-221.63}, rot = {x=0, y=0, z=1}, diff --git a/Resources/Scripts/Scene/9/scene9_group199003060.lua b/Resources/Scripts/Scene/9/scene9_group199003060.lua index 88f8edc08..915a9992c 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003060.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003060.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 60001, pointarray_ID = 900300001, maxPointCount = 19, diff --git a/Resources/Scripts/Scene/9/scene9_group199003062.lua b/Resources/Scripts/Scene/9/scene9_group199003062.lua index 9f854e484..38f428542 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003062.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003062.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 180, group_id = 199003062 } diff --git a/Resources/Scripts/Scene/9/scene9_group199003065.lua b/Resources/Scripts/Scene/9/scene9_group199003065.lua index dbec18d0d..31f0e518a 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003065.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003065.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --开启操作台configID starter_gadget = 65001, --终点Region的ConfigID diff --git a/Resources/Scripts/Scene/9/scene9_group199003068.lua b/Resources/Scripts/Scene/9/scene9_group199003068.lua index f6c6e2de8..8b434709d 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003068.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003068.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 199003068, gadget_riddle_hint = 68021, gadget_riddle_1 = 68002, diff --git a/Resources/Scripts/Scene/9/scene9_group199003069.lua b/Resources/Scripts/Scene/9/scene9_group199003069.lua index 233f9ecae..118d70197 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003069.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003069.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { reverse_time = 15,--回溯倒计时,整数秒 } diff --git a/Resources/Scripts/Scene/9/scene9_group199003070.lua b/Resources/Scripts/Scene/9/scene9_group199003070.lua index b16d317f2..161e533ff 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003070.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003070.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { reverse_time = 10,--回溯倒计时,整数秒 } diff --git a/Resources/Scripts/Scene/9/scene9_group199003076.lua b/Resources/Scripts/Scene/9/scene9_group199003076.lua index 9ec340eec..a36213c2b 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003076.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003076.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { reverse_time = 10,--回溯倒计时,整数秒 } diff --git a/Resources/Scripts/Scene/9/scene9_group199003080.lua b/Resources/Scripts/Scene/9/scene9_group199003080.lua index c8308c336..e47e0fc15 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003080.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003080.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 180, group_id = 199003080 } diff --git a/Resources/Scripts/Scene/9/scene9_group199003081.lua b/Resources/Scripts/Scene/9/scene9_group199003081.lua index 86140a1b1..ad9ca402d 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003081.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003081.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 180, group_id = 199003081 } diff --git a/Resources/Scripts/Scene/9/scene9_group199003082.lua b/Resources/Scripts/Scene/9/scene9_group199003082.lua index bce43323c..17a6e0e78 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003082.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003082.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 900300039, gadget_seelie = 82003 diff --git a/Resources/Scripts/Scene/9/scene9_group199003090.lua b/Resources/Scripts/Scene/9/scene9_group199003090.lua index 4e53c38d7..bd59fd9dc 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003090.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003090.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 900300029, gadget_seelie = 90002 diff --git a/Resources/Scripts/Scene/9/scene9_group199003093.lua b/Resources/Scripts/Scene/9/scene9_group199003093.lua index e9c9a4636..c0a702940 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003093.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003093.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 199003093, gadget_riddle_hint = 93001, gadget_riddle_1 = 93002, diff --git a/Resources/Scripts/Scene/9/scene9_group199003099.lua b/Resources/Scripts/Scene/9/scene9_group199003099.lua index 80ba2ccd9..ce0313833 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003099.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003099.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { groupid = 199003099 } diff --git a/Resources/Scripts/Scene/9/scene9_group199003104.lua b/Resources/Scripts/Scene/9/scene9_group199003104.lua index a72e48876..6f9801f9b 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003104.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003104.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 180, group_id = 199003104 } diff --git a/Resources/Scripts/Scene/9/scene9_group199003107.lua b/Resources/Scripts/Scene/9/scene9_group199003107.lua index 73817f1ba..d2ed534e6 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003107.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003107.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 10, route_2 = 900300030, gadget_seelie = 107002 diff --git a/Resources/Scripts/Scene/9/scene9_group199003114.lua b/Resources/Scripts/Scene/9/scene9_group199003114.lua index 0eeb9222a..d2bd67215 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003114.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003114.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { stages = { --key为第几段,value1为这一段的起点suite,value2为这一段的主体suite diff --git a/Resources/Scripts/Scene/9/scene9_group199003115.lua b/Resources/Scripts/Scene/9/scene9_group199003115.lua index 1b618dcbc..1b75818d4 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003115.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003115.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111151,1111152,1111153}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199003116.lua b/Resources/Scripts/Scene/9/scene9_group199003116.lua index 0b7b839ac..e83d4e543 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003116.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003116.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 116001, pointarray_ID = 900300019, maxPointCount = 9, diff --git a/Resources/Scripts/Scene/9/scene9_group199003117.lua b/Resources/Scripts/Scene/9/scene9_group199003117.lua index 2274aa11f..1852277b9 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003117.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003117.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111157,1111158,1111159}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199003118.lua b/Resources/Scripts/Scene/9/scene9_group199003118.lua index 3b751dd0d..e0fc54b9c 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003118.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003118.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 118001, pointarray_ID = 900300020, maxPointCount = 9, diff --git a/Resources/Scripts/Scene/9/scene9_group199003120.lua b/Resources/Scripts/Scene/9/scene9_group199003120.lua index 4f2c1af8d..fdf51770b 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003120.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003120.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111154,1111155,1111156}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199003121.lua b/Resources/Scripts/Scene/9/scene9_group199003121.lua index 00c8c3ea8..4ca7818c2 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003121.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003121.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 121001, pointarray_ID = 900300021, maxPointCount = 9, diff --git a/Resources/Scripts/Scene/9/scene9_group199003125.lua b/Resources/Scripts/Scene/9/scene9_group199003125.lua index c4e837940..b20ac4a15 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003125.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003125.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { optimize_region = 125002, prepare_region = 125005, prepare_point = 125004, diff --git a/Resources/Scripts/Scene/9/scene9_group199003126.lua b/Resources/Scripts/Scene/9/scene9_group199003126.lua index 32a258c4d..fc3e131e2 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003126.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003126.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { starter_worktop_id = 126080, pointarray_route = 900300022, final_stage = 7, diff --git a/Resources/Scripts/Scene/9/scene9_group199003127.lua b/Resources/Scripts/Scene/9/scene9_group199003127.lua index 853652003..7e21c5276 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003127.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003127.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { starter_worktop_id = 127095, final_stage = 5, dive_region = 127137, diff --git a/Resources/Scripts/Scene/9/scene9_group199003129.lua b/Resources/Scripts/Scene/9/scene9_group199003129.lua index d4cbb7ed9..0092cd15a 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003129.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003129.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { target_leveltag = 21, pos = { x=-675.8, y=121.19, z=-221.63}, rot = {x=0, y=0, z=1}, diff --git a/Resources/Scripts/Scene/9/scene9_group199003131.lua b/Resources/Scripts/Scene/9/scene9_group199003131.lua index dd50987cf..008e6571d 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003131.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003131.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 131001, pointarray_ID = 900300011, maxPointCount = 12, diff --git a/Resources/Scripts/Scene/9/scene9_group199003133.lua b/Resources/Scripts/Scene/9/scene9_group199003133.lua index 6c22aa482..d0e051e78 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003133.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003133.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { reverse_time = 30,--回溯倒计时,整数秒 } diff --git a/Resources/Scripts/Scene/9/scene9_group199003134.lua b/Resources/Scripts/Scene/9/scene9_group199003134.lua index ec8636691..17540bce7 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003134.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003134.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 4, route_2 = 900300033, gadget_seelie = 134002, diff --git a/Resources/Scripts/Scene/9/scene9_group199003135.lua b/Resources/Scripts/Scene/9/scene9_group199003135.lua index 7d82f8564..3a1e7f9e8 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003135.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003135.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 4, route_2 = 900300035, gadget_seelie = 135001, diff --git a/Resources/Scripts/Scene/9/scene9_group199003155.lua b/Resources/Scripts/Scene/9/scene9_group199003155.lua index 382739b30..29cdddc6f 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003155.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003155.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 900300043, gadget_seelie = 155003 diff --git a/Resources/Scripts/Scene/9/scene9_group199003172.lua b/Resources/Scripts/Scene/9/scene9_group199003172.lua index 94038300f..b0bca9f02 100644 --- a/Resources/Scripts/Scene/9/scene9_group199003172.lua +++ b/Resources/Scripts/Scene/9/scene9_group199003172.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 15, route_2 = 900300045, gadget_seelie = 172002 diff --git a/Resources/Scripts/Scene/9/scene9_group199004002.lua b/Resources/Scripts/Scene/9/scene9_group199004002.lua index 92df4ce30..9b69bd2e8 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004002.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004002.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS --仅测试用 -defs = { +local defs = { --填leveltagID,每次交互会顺次循环切换 tag_list = {1,2}, diff --git a/Resources/Scripts/Scene/9/scene9_group199004005.lua b/Resources/Scripts/Scene/9/scene9_group199004005.lua index 204486f70..50320682e 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004005.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004005.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { series_id = 3 } diff --git a/Resources/Scripts/Scene/9/scene9_group199004016.lua b/Resources/Scripts/Scene/9/scene9_group199004016.lua index eb89d5ee6..8eda8d1be 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004016.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004016.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 199004016, trigger_playRegion = 16006, gadget_1 = 16002 diff --git a/Resources/Scripts/Scene/9/scene9_group199004049.lua b/Resources/Scripts/Scene/9/scene9_group199004049.lua index 37701d56e..f89fbaa43 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004049.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004049.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 199004049 } diff --git a/Resources/Scripts/Scene/9/scene9_group199004052.lua b/Resources/Scripts/Scene/9/scene9_group199004052.lua index ce5283991..a213db5b8 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004052.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004052.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 11, route_2 = 900400002, gadget_seelie = 52002 diff --git a/Resources/Scripts/Scene/9/scene9_group199004053.lua b/Resources/Scripts/Scene/9/scene9_group199004053.lua index 78afe121b..60a3a994b 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004053.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004053.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 199004053, gadget_target_1S = 53002, gadget_target_1E = 53005, diff --git a/Resources/Scripts/Scene/9/scene9_group199004061.lua b/Resources/Scripts/Scene/9/scene9_group199004061.lua index 47580036b..64fff4db3 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004061.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004061.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { --开启操作台configID starter_gadget = 61001, --终点Region的ConfigID diff --git a/Resources/Scripts/Scene/9/scene9_group199004066.lua b/Resources/Scripts/Scene/9/scene9_group199004066.lua index e50dafda0..d2c3771f1 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004066.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004066.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 66001, pointarray_ID = 900400001, maxPointCount = 10, diff --git a/Resources/Scripts/Scene/9/scene9_group199004068.lua b/Resources/Scripts/Scene/9/scene9_group199004068.lua index a8646cab2..1f1860fbd 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004068.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004068.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 3, group_id = 199004068, diff --git a/Resources/Scripts/Scene/9/scene9_group199004069.lua b/Resources/Scripts/Scene/9/scene9_group199004069.lua index 37703eee4..c5950fded 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004069.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004069.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 199004069 } diff --git a/Resources/Scripts/Scene/9/scene9_group199004070.lua b/Resources/Scripts/Scene/9/scene9_group199004070.lua index 4d698a915..671c417cd 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004070.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004070.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 199004070, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/9/scene9_group199004075.lua b/Resources/Scripts/Scene/9/scene9_group199004075.lua index 482ecd607..a386545ad 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004075.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004075.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 199004075, collectable_sum = 8 diff --git a/Resources/Scripts/Scene/9/scene9_group199004077.lua b/Resources/Scripts/Scene/9/scene9_group199004077.lua index 8d5bd1788..8f5de70b6 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004077.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004077.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { loop_mode = 0, group_ID = 199004077, gadget_1 = 77001, diff --git a/Resources/Scripts/Scene/9/scene9_group199004083.lua b/Resources/Scripts/Scene/9/scene9_group199004083.lua index f3c87dde6..1f39e8c84 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004083.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004083.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 83001, pointarray_ID = 900400002, maxPointCount = 9, diff --git a/Resources/Scripts/Scene/9/scene9_group199004084.lua b/Resources/Scripts/Scene/9/scene9_group199004084.lua index 80085c8c1..2700acb90 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004084.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004084.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 9, route_2 = 900400007, gadget_seelie = 84002 diff --git a/Resources/Scripts/Scene/9/scene9_group199004088.lua b/Resources/Scripts/Scene/9/scene9_group199004088.lua index dcfaca147..5bbcb24bb 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004088.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004088.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 88001, pointarray_ID = 900400003, maxPointCount = 9, diff --git a/Resources/Scripts/Scene/9/scene9_group199004092.lua b/Resources/Scripts/Scene/9/scene9_group199004092.lua index 6a6c9d52a..d88db6377 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004092.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004092.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 92001, pointarray_ID = 900400005, maxPointCount = 9, diff --git a/Resources/Scripts/Scene/9/scene9_group199004098.lua b/Resources/Scripts/Scene/9/scene9_group199004098.lua index 5cb3ff493..dcdad87c7 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004098.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004098.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 98001, pointarray_ID = 900400006, maxPointCount = 10, diff --git a/Resources/Scripts/Scene/9/scene9_group199004103.lua b/Resources/Scripts/Scene/9/scene9_group199004103.lua index 93ff0b98e..9e1611990 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004103.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004103.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { gadget_animal = 103001, pointarray_ID = 900400007, maxPointCount = 10, diff --git a/Resources/Scripts/Scene/9/scene9_group199004113.lua b/Resources/Scripts/Scene/9/scene9_group199004113.lua index f059a3ecc..7f16d126c 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004113.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004113.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {113001,113002,113003,113004,113005}, diff --git a/Resources/Scripts/Scene/9/scene9_group199004114.lua b/Resources/Scripts/Scene/9/scene9_group199004114.lua index 5610918d5..44f7ccec3 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004114.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004114.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {114001,114002,114003,114004,114005}, diff --git a/Resources/Scripts/Scene/9/scene9_group199004115.lua b/Resources/Scripts/Scene/9/scene9_group199004115.lua index f260272a8..accb0bda0 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004115.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004115.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { active_step = 201, inactive_step = 0, gadget_array = {115001,115002,115003,115004,115005}, diff --git a/Resources/Scripts/Scene/9/scene9_group199004116.lua b/Resources/Scripts/Scene/9/scene9_group199004116.lua index 217da9f00..467309511 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004116.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004116.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 199004116, gadget_thunderThelfID = 116015, pointarray_ID = 900400010, diff --git a/Resources/Scripts/Scene/9/scene9_group199004118.lua b/Resources/Scripts/Scene/9/scene9_group199004118.lua index 804b3fb6c..7ffd19286 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004118.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004118.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { stages = { --key为第几段,value1为这一段的起点suite,value2为这一段的主体suite diff --git a/Resources/Scripts/Scene/9/scene9_group199004119.lua b/Resources/Scripts/Scene/9/scene9_group199004119.lua index d3be560be..ceec3de38 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004119.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004119.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111151,1111152,1111153}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199004120.lua b/Resources/Scripts/Scene/9/scene9_group199004120.lua index c856281ba..2e6086a35 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004120.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004120.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = { +local defs = { stages = { --key为第几段,value1为这一段的起点suite,value2为这一段的主体suite diff --git a/Resources/Scripts/Scene/9/scene9_group199004121.lua b/Resources/Scripts/Scene/9/scene9_group199004121.lua index a910802ff..15e5754ec 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004121.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004121.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111151,1111152,1111153}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199004137.lua b/Resources/Scripts/Scene/9/scene9_group199004137.lua index 4fa1f18ce..c504c9e8d 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004137.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004137.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111157,1111158,1111159}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199004139.lua b/Resources/Scripts/Scene/9/scene9_group199004139.lua index ec9fcc117..3c352815c 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004139.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004139.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111154,1111155,1111156}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199004140.lua b/Resources/Scripts/Scene/9/scene9_group199004140.lua index f20436f20..68ae5ec02 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004140.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004140.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111160,1111161,1111162}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199004143.lua b/Resources/Scripts/Scene/9/scene9_group199004143.lua index 3c1f701ae..9026f9009 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004143.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004143.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111160,1111161,1111162}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199004148.lua b/Resources/Scripts/Scene/9/scene9_group199004148.lua index b859273fe..ff2aa5c9c 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004148.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004148.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111157,1111158,1111159}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199004149.lua b/Resources/Scripts/Scene/9/scene9_group199004149.lua index 056626f30..9c04bc4f6 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004149.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004149.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111154,1111155,1111156}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199004150.lua b/Resources/Scripts/Scene/9/scene9_group199004150.lua index ad3865b5f..cf7cf67fc 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004150.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004150.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111160,1111161,1111162}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199004152.lua b/Resources/Scripts/Scene/9/scene9_group199004152.lua index f28ece632..8440671e5 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004152.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004152.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111157,1111158,1111159}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199004153.lua b/Resources/Scripts/Scene/9/scene9_group199004153.lua index 3d0ba0cfe..e1442875a 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004153.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004153.lua @@ -4,7 +4,7 @@ local base_info = { } -- DEFS_MISCS -defs = +local defs = { rmd_list = {1111154,1111155,1111156}, } diff --git a/Resources/Scripts/Scene/9/scene9_group199004157.lua b/Resources/Scripts/Scene/9/scene9_group199004157.lua index c90d7862c..5ec1ddff8 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004157.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004157.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 4, group_id = 199004157, diff --git a/Resources/Scripts/Scene/9/scene9_group199004159.lua b/Resources/Scripts/Scene/9/scene9_group199004159.lua index ed76d5b76..b08f2e161 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004159.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004159.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 199004159, gadget_sum = 8 diff --git a/Resources/Scripts/Scene/9/scene9_group199004162.lua b/Resources/Scripts/Scene/9/scene9_group199004162.lua index f1444b77a..c1672869d 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004162.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004162.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, group_id = 199004162 } diff --git a/Resources/Scripts/Scene/9/scene9_group199004170.lua b/Resources/Scripts/Scene/9/scene9_group199004170.lua index 3f3a0c146..d4326a64a 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004170.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004170.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 21, route_2 = 900400018, gadget_seelie = 170002 diff --git a/Resources/Scripts/Scene/9/scene9_group199004171.lua b/Resources/Scripts/Scene/9/scene9_group199004171.lua index fb1d2a90c..4cf42ea0c 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004171.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004171.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 199004171 } diff --git a/Resources/Scripts/Scene/9/scene9_group199004180.lua b/Resources/Scripts/Scene/9/scene9_group199004180.lua index 9abbfe7c8..96df17fc8 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004180.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004180.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 3, group_id = 199004180, diff --git a/Resources/Scripts/Scene/9/scene9_group199004184.lua b/Resources/Scripts/Scene/9/scene9_group199004184.lua index cfc5ea4a1..265aff069 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004184.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004184.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 199004184 } diff --git a/Resources/Scripts/Scene/9/scene9_group199004185.lua b/Resources/Scripts/Scene/9/scene9_group199004185.lua index 9511467a0..a69829e13 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004185.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004185.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, group_id = 199004185 } diff --git a/Resources/Scripts/Scene/9/scene9_group199004186.lua b/Resources/Scripts/Scene/9/scene9_group199004186.lua index cc586ef1a..1d897bbd7 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004186.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004186.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 45, group_id = 199004186 } diff --git a/Resources/Scripts/Scene/9/scene9_group199004187.lua b/Resources/Scripts/Scene/9/scene9_group199004187.lua index d7c941fae..99f141f7b 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004187.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004187.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 90, group_id = 199004187 } diff --git a/Resources/Scripts/Scene/9/scene9_group199004205.lua b/Resources/Scripts/Scene/9/scene9_group199004205.lua index 7b43d374f..ede825502 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004205.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004205.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, group_id = 199004205, gadget_sum = 5 diff --git a/Resources/Scripts/Scene/9/scene9_group199004206.lua b/Resources/Scripts/Scene/9/scene9_group199004206.lua index 0687a3384..09ec194c7 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004206.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004206.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 13, route_2 = 900400020, gadget_seelie = 206002 diff --git a/Resources/Scripts/Scene/9/scene9_group199004207.lua b/Resources/Scripts/Scene/9/scene9_group199004207.lua index a529a9cb3..0e2085161 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004207.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004207.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_id = 199004207, gadget_target_1S = 207002, gadget_target_1E = 207005, diff --git a/Resources/Scripts/Scene/9/scene9_group199004209.lua b/Resources/Scripts/Scene/9/scene9_group199004209.lua index b1210eadf..5501137de 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004209.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004209.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 5, group_id = 199004209, diff --git a/Resources/Scripts/Scene/9/scene9_group199004212.lua b/Resources/Scripts/Scene/9/scene9_group199004212.lua index 30a602a9b..7a09d978d 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004212.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004212.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 30, kill_sum = 3, group_id = 199004212, diff --git a/Resources/Scripts/Scene/9/scene9_group199004214.lua b/Resources/Scripts/Scene/9/scene9_group199004214.lua index 1c5d34a61..4b29248f4 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004214.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004214.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 60, group_id = 199004214, gadget_sum = 3 diff --git a/Resources/Scripts/Scene/9/scene9_group199004216.lua b/Resources/Scripts/Scene/9/scene9_group199004216.lua index 35e11cda6..60bce78cd 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004216.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004216.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { duration = 20, group_id = 199004216 } diff --git a/Resources/Scripts/Scene/9/scene9_group199004218.lua b/Resources/Scripts/Scene/9/scene9_group199004218.lua index c9abec5e8..cb287c440 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004218.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004218.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { point_sum = 21, route_2 = 900400028, gadget_seelie = 218002 diff --git a/Resources/Scripts/Scene/9/scene9_group199004220.lua b/Resources/Scripts/Scene/9/scene9_group199004220.lua index 7f712245d..8449b0a66 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004220.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004220.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { group_ID = 199004220, gadget_fundation01 = 220001, gadget_hand01 = 220003, diff --git a/Resources/Scripts/Scene/9/scene9_group199004232.lua b/Resources/Scripts/Scene/9/scene9_group199004232.lua index 19239360d..a7ac5d9ea 100644 --- a/Resources/Scripts/Scene/9/scene9_group199004232.lua +++ b/Resources/Scripts/Scene/9/scene9_group199004232.lua @@ -5,7 +5,7 @@ local base_info = { -- DEFS_MISCS --仅测试用 -defs = { +local defs = { --填leveltagID,每次交互会顺次循环切换 tag_list = {1,2},