------------------------------------------------------------------------------------
--Name:			[简体征服][活动脚本]剧情测试脚本
--Creator:		林静
--Created:		2019/03/30
------------------------------------------------------------------------------------

local LuaSceneScript = {
    -- 测试用脚本，请根据实际数据修改
    [1] = { file="Script/DemoScript.lua", },
	[2] = { file="Script/WolfWarriors.lua", },
	[3] = { file="Script/PantherWarriors.lua", },	
	[4] = { file="Script/LionWarriors.lua", },
	[5] = { file="Script/TigerWarriors.lua", },
	[6] = { file="Script/KingWarriors.lua", },
	[7] = { file="Script/BaibingSpectrum.lua", },
	[8] = { file="Script/SpringFestivalMainLine2020First.lua", },
	[9] = { file="Script/ValDayEnterPrison.lua", },
	[10] = { file="Script/ValDayKillMonster.lua", },
	[11] = { file="Script/ValentinePart2One.lua", },
	[12] = { file="Script/ValentinePart2Tow.lua", },
	[13] = { file="Script/ValentinePart2Three.lua", },
	[14] = { file="Script/ValentinePart2TowFour.lua", },
	[15] = { file="Script/ValentinePart2TowFive.lua", },
	[16] = { file="Script/ValentinePart2TowSix.lua", },
	[17] = { file="Script/ValentinePart2TowSeven.lua", },
    	[18] = { file="Script/NinjaAwakeForward/Chapter1Start.lua"},
   	[19] = { file="Script/NinjaAwakeForward/Chapter1End.lua"},
   	[20] = { file="Script/NinjaAwakeForward/Chapter2Start.lua"},
   	[21] = { file="Script/NinjaAwakeForward/Chapter2End.lua"},
    	[22] = { file="Script/NinjaAwakeForward/Chapter3.lua"},
	[23] = { file="Script/NinjaQuest/NinjaQuestPlot1.lua", },
	[24] = { file="Script/NinjaQuest/NinjaQuestPlot2.lua", },
	[25] = { file="Script/NinjaQuest/NinjaQuestPlot3.lua", },
	[26] = { file="Script/NinjaQuest/NinjaQuestPlot4.lua", },
	[27] = { file="Script/NinjaQuest/NinjaQuestPlot5.lua", },
	[28] = { file="Script/NinjaQuest/NinjaQuestPlot6.lua", },
	[29] = { file="Script/NinjaQuest/NinjaQuestPlot7.lua", },
	[30] = { file="Script/NinjaQuest/NinjaQuestPlot8.lua", },
	[31] = { file="Script/NinjaQuest/NinjaQuestPlot9.lua", },
	[32] = { file="Script/NinjaQuest/NinjaQuestPlot10.lua", },
	[33] = { file="Script/NinjaQuest/NinjaQuestPlot11.lua", },
	[34] = { file="Script/NinjaQuest/NinjaQuestPlot12.lua", },
	[35] = { file="Script/NinjaQuest/NinjaQuestPlot13.lua", },
	[36] = { file="Script/NinjaQuest/NinjaQuestPlot14.lua", },
	[37] = { file="Script/NinjaQuest/NinjaQuestPlot15.lua", },
	[38] = { file="Script/NinjaQuest/NinjaQuestPlot16.lua", },
	[39] = { file="Script/NinjaQuest/NinjaQuestPlot17.lua", },
	[40] = { file="Script/NinjaQuest/NinjaQuestPlot18.lua", },
	[41] = { file="Script/NinjaQuest/NinjaQuestPlot19.lua", },
	[42] = { file="Script/NinjaQuest/NinjaQuestPlot20.lua", },
	[43] = { file="Script/StrengthCopy.lua", },
	[44] = { file="Script/Aniversary2020Guide.lua", },
	[45] = { file="Script/Aniversary2020GuideTwo.lua", },
	[46] = { file="Script/Aniversary2020GuideThree.lua", },
	[47] = { file="Script/Aniversary2020GuideTwoPassion.lua", },
	[48] = { file="Script/Aniversary2020GuideThreePassion.lua", },
	[49] = { file="Script/ChildrenDay/2020/ChildrenDayMainNpc.lua", },
	[50] = { file="Script/ChildrenDay/2020/ChildrenDayMainMap.lua", },
	[51] = { file="Script/ChildrenDay/2020/ChildrenHideAndSick1.lua", },
	[52] = { file="Script/ChildrenDay/2020/ChildrenHideAndSick2.lua", },
	[53] = { file="Script/ChildrenDay/2020/ChildrenHideAndSick3.lua", },
	[54] = { file="Script/ChildrenDay/2020/ChildrenHideAndSick4.lua", },
	[55] = { file="Script/ChildrenDay/2020/ChildrenHideAndSick5.lua", },
	[56] = { file="Script/ChildrenDay/2020/ChildrenHideAndSick6.lua", },
	[57] = { file="Script/ChildrenDay/2020/ChildrenHideAndSick7.lua", },
	[58] = { file="Script/ChildrenDay/2020/ChildrenHideAndSick8.lua", },
	[59] = { file="Script/ChildrenDay/2020/ChildrenHideAndSick9.lua", },
	[60] = { file="Script/ChildrenDay/2020/ChildrenHideAndSick10.lua", },
	[61] = { file="Script/SummerActivity2020.lua", },
	[62] = { file="Script/QixiFestivalNPC.lua", },
	[63] = { file="Script/MidAutumnNpcScript.lua", },
	[69] = { file="Script/Halloween/2020/HalloweenNightmare4.lua", },
	[70] = { file="Script/Halloween/2020/HalloweenNightmare6.lua", },
	[71] = { file="Script/Halloween/2020/HalloweenMain.lua", },
	[72] = { file="Script/Halloween/2020/NightMarePartOne.lua", },
	[73] = { file="Script/Halloween/2020/Halloween2020Nightmare1.lua", },
	[74] = { file="Script/Halloween/2020/Halloween2020Nightmare2.lua", },
	[75] = { file="Script/Halloween/2020/Halloween2020Nightmare3.lua", },
	[76] = { file="Script/Halloween/2020/Halloween2020Nightmare4.lua", },
	[77] = { file="Script/Halloween/2020/Halloween2020Nightmare5.lua", },
	[78] = { file="Script/Halloween/2020/Halloween2020Nightmare6.lua", },
	[79] = { file="Script/Halloween/2020/Halloween2020Nightmare7.lua", },
	[80] = { file="Script/Halloween/2020/Halloween2020Nightmare8.lua", },
	[81] = { file="Script/Halloween/2020/Halloween2020Nightmare9.lua", },
	[82] = { file="Script/Halloween/2020/Halloween2020Nightmare10.lua", },
	[84] = { file="Script/DoubleElevenPreheat2020.lua", },
	[91] = { file="Script/DoubleElevenPreheat2020Nogift.lua", },
	[83] = { file="Script/Thanksgiving/ThanksgivingMainNpc.lua", },
	[85] = { file="Script/Thanksgiving/SecondaryNPCScript.lua", },
	[86] = { file="Script/WarriorAwakens/WarriorAwakens3Guide.lua", },
	[87] = { file="Script/WarriorAwakens/WarriorAwakens2.lua",},
	[89] = { file="Script/WarriorAwakens/WarriorAwakens1.lua", },
	[88] = { file="Script/WarriorAwakens/WarriorAwakensPlot4.lua", },
	[97] = { file="Script/WarriorAwakens/WarriorAwakens4EnterMap.lua", },
	[98] = { file="Script/WarriorAwakens/WarriorAwakens4ChoiceBoss.lua", },
	[99] = { file="Script/WarriorAwakens/WarriorAwakens4BossDiePlot.lua", },
	[90] = { file="Script/Thanksgiving/SecondaryNPCScriptNoGift.lua", },
	[92] = { file="Script/ChristmasNPC.lua", },
	[93] = { file="Script/ChristmasMap.lua", },
	[110] = { file="Script/WarriorAwaken/WarriorAwakenPlot1.lua", },
	[111] = { file="Script/WarriorAwaken/WarriorAwakenPlot2.lua", },
	[94] = { file="Script/WarriorAwaken/WarriorAwakenPlot3.lua", },
	[95] = { file="Script/WarriorAwaken/WarriorAwakenPlot4.lua", },
	[96] = { file="Script/WarriorAwaken/WarriorAwakenPlot5.lua", },
	[101] = { file="Script/WarriorAwaken/WarriorAwakenPlot6.lua", },
	[102] = { file="Script/WarriorAwaken/WarriorAwakenAfter1.lua", },
	[103] = { file="Script/WarriorAwaken/WarriorAwakenAfter2.lua", },
	[104] = { file="Script/WarriorAwaken/WarriorAwakenAfter3.lua", },
	[105] = { file="Script/WarriorAwaken/WarriorAwakenAfter4.lua", },
	[106] = { file="Script/WarriorAwaken/WarriorAwakenAfter5.lua", },
	[107] = { file="Script/SpringFestival/2021/SpringFestival1.lua", },
	[108] = { file="Script/SpringFestival/2021/ZodiacPeachMansion.lua", },
	[109] = { file="Script/SpringFestival/2021/SpringFestivalLionDance.lua", },
	[112] = { file="Script/FebPromotion2021.lua", },
	[113] = { file="Script/ValentinesDay/2021/ValentinesDayNPC.lua", },
	[114] = { file="Script/ValentinesDay/2021/WhiteValentinesDays2021Plot1.lua", },
	[115] = { file="Script/ValentinesDay/2021/WhiteValentinesDays2021Plot2.lua", },
	[116] = { file="Script/ValentinesDay/2021/WhiteValentinesDays2021Plot3.lua", },
	[117] = { file="Script/ValentinesDay/2021/WhiteValentinesDays2021Plot4.lua", },
	[118] = { file="Script/ValentinesDay/2021/TheLittleMermaidBegin.lua", },
	[119] = { file="Script/ValentinesDay/2021/TheLittleMermaidEnd.lua", },
	[120] = { file="Script/ValentinesDay/2021/GulliverSmall.lua", },
	[121] = { file="Script/ValentinesDay/2021/GulliverBig.lua", },
	[122] = { file="Script/ValentinesDay/2021/ValentinesDayMap.lua", },
	[123] = { file="Script/AprilFoolsDay/2021/MagicCardHouse.lua", },
	[145] = { file="Script/Anniversary2021Part2.lua", },
	[146] = { file="Script/Anniversary2021Part1.lua", },
	[147] = { file="Script/Anniversary2021Part2-2.lua", },
	[148] = { file="Script/ChildrenDay/2021/ChildrenNPC2021Part.lua", },
    	[156] = { file="Script/AnniversaryCutBargain.lua", },
	[179] = { file="Script/SummerAct2021.lua", },
	[192] = { file="Script/SummerAct2021DaXuanWo1.lua", },
	[193] = { file="Script/SummerAct2021DaXuanWo2.lua", },
	[194] = { file="Script/SummerAct2021DaXuanWo3.lua", },
	[168] = { file="Script/GhostDreamlandNpc/GhostDreamlandNpc1.lua", },
	[169] = { file="Script/GhostDreamlandNpc/GhostDreamlandNpc2.lua", },
	[190] = { file="Script/ArcherAwakeningWarmUp1.lua", },
	[191] = { file="Script/ArcherAwakeningWarmUp2.lua", },
	[158] = { file="Script/archerstask1.lua", },
	[159] = { file="Script/archerstask2.lua", },
	[160] = { file="Script/archerstask3.lua", },
	[161] = { file="Script/archerstask4.lua", },
	[162] = { file="Script/archerstask5.lua", },
	[163] = { file="Script/archerstask6.lua", },
	[164] = { file="Script/archerstask7.lua", },
	[165] = { file="Script/archerstask8.lua", },
	[166] = { file="Script/archerstask9.lua", },
	[167] = { file="Script/archerstask10.lua", },
	[181] = { file="Script/archerstask11.lua", },
	[182] = { file="Script/archerstask12.lua", },
	[183] = { file="Script/archerstask13.lua", },
	[184] = { file="Script/archerstask14.lua", },
	[185] = { file="Script/archerstask15.lua", },
	[186] = { file="Script/archerstask16.lua", },
	[187] = { file="Script/archerstask17.lua", },
	[188] = { file="Script/archerstask18.lua", },
	[189] = { file="Script/archerstask19.lua", },
	[203] = { file="Script/QiXi2021.lua", },
	[202] = { file="Script/HuangYeDou.lua", },
	[211] = { file="Script/AutumnHunting.lua", },
	[208] = { file="Script/MidAutumnMaze.lua", },
	[209] = { file="Script/Mid-AutumnFestival/2021/Miscellaneous1.lua", },
	[195] = { file="Script/ValleyOfFallen/ValleyOfFallen1.lua", },
	[196] = { file="Script/ValleyOfFallen/ValleyOfFallen2.lua", },
	[197] = { file="Script/ValleyOfFallen/ValleyOfFallen3.lua", },
	[198] = { file="Script/ValleyOfFallen/ValleyOfFallen4.lua", },
	[199] = { file="Script/ValleyOfFallen/ValleyOfFallen5.lua", },
	[200] = { file="Script/ValleyOfFallen/ValleyOfFallen6.lua", },
	[201] = { file="Script/ValleyOfFallen/ValleyOfFallen7.lua", },
	[227] = { file="Script/EgyptCoat.lua", },
	[222] = { file="Script/Halloween/2021/Halloween2021Main.lua", },
	[226] = { file="Script/Halloween/2021/halloweenback.lua", },
	[214] = { file="Script/ColorfulGourd.lua", },
	[230] = { file="Script/ThanksMain2021NPC.lua", },
    	[239] = { file="Script/ChristmasNPC2021.lua", },
	[232] = { file="Script/TaoistNewAreaTask/TaoistNewAreaTask1.lua", },
	[233] = { file="Script/TaoistNewAreaTask/TaoistNewAreaTask2.lua", },
	[234] = { file="Script/TaoistNewAreaTask/TaoistNewAreaTask3.lua", },
	
	[235] = { file="Script/TaoistNewAreaTask/TaoistNewAreaTask4.lua", },
	[236] = { file="Script/TaoistNewAreaTask/TaoistNewAreaTask5.lua", },
	[237] = { file="Script/TaoistNewAreaTask/TaoistNewAreaTask6.lua", },
	[238] = { file="Script/TaoistNewAreaTask/TaoistNewAreaTask7.lua", },
	[240] = { file="Script/TaoistNewAreaTask/TaoistNewAreaTask8.lua", },
	[241] = { file="Script/TaoistNewAreaTask/TaoistNewAreaTask9.lua", },
	[242] = { file="Script/TaoistNewAreaTask/TaoistNewAreaTask10.lua", },
	[243] = { file="Script/TaoistNewAreaTask/TaoistNewAreaTask11.lua", },
	[244] = { file="Script/TaoistNewAreaTask/TaoistNewAreaTask12.lua", },
	[245] = { file="Script/TaoistNewAreaTask/TaoistNewAreaTask13.lua", },
	[246] = { file="Script/SpringFestival2022.lua", },
	[247] = { file="Script/TigerKuaFuBoom.lua", },
	[250] = { file="Script/ValentinesDay2022Rose1.lua", },
	[251] = { file="Script/ValentinesDay2022Rose2.lua", },
	[248] = { file="Script/FlowerParty.lua", },
	[249] = { file="Script/ValentineDayTulip.lua", },
	[252] = { file="Script/ValentineDayTulip2.lua", },
	[253] = { file="Script/WhiteDay/2022/WhiteDayNPC.lua", },
	[254] = { file="Script/WhiteDay/2022/WhiteDay2022Demon1.lua", },
	[255] = { file="Script/WhiteDay/2022/WhiteDay2022Demon2.lua", },
	[256] = { file="Script/WhiteDay/2022/WhiteDay2022Demon3.lua", },
	[266] = { file="Script/AprilFoolsDay2022.lua", },
	[270] = { file="Script/Anniversary/2022/Anniversary2022.lua", },
	[276] = { file="Script/ChildrenDay/2022/ChildrenDay2022Part.lua", },
	[277] = { file="Script/ChildrenDay/2022/YoungDragon.lua", },
	[278] = { file="Script/ChildrenDay/2022/JuniorDragonFire.lua", },
	[279] = { file="Script/ChildrenDay/2022/JuniorDragonIce.lua", },
	[280] = { file="Script/ChildrenDay/2022/SeniorDragon.lua", },
	[285] = { file="Script/SummerNPC2022.lua", },
	[284] = { file="Script/SummerActive/2022/SummerActiveCross.lua", },
	[271] = { file="Script/PirateNewAreaTask/PirateNewAreaTask1.lua", },
	[272] = { file="Script/PirateNewAreaTask/PirateNewAreaTask2.lua", },
	[273] = { file="Script/PirateNewAreaTask/PirateNewAreaTask3.lua", },
	[274] = { file="Script/PirateNewAreaTask/PirateNewMainTask1.lua", },
	[275] = { file="Script/PirateNewAreaTask/PirateNewMainTask2.lua", },
	[291] = { file="Script/QiXi/2022/QiXiPage.lua", },
	[292] = { file="Script/QiXi/2022/QiXiMemory1.lua", },
	[293] = { file="Script/QiXi/2022/QiXiMemory2.lua", },
	[294] = { file="Script/QiXi/2022/QiXiMemory3.lua", },
	[295] = { file="Script/QiXi/2022/QiXiMemory4.lua", },
	[296] = { file="Script/QiXi/2022/QiXiMemory5.lua", },
	[297] = { file="Script/QiXi/2022/QiXiMemory6.lua", },
	[298] = { file="Script/QiXi/2022/QiXiMemory7.lua", },
	[286] = { file="Script/QiXi/2022/TanabataFestivalNpc1.lua", },
	[299] = { file="Script/QiXi/2022/TanabataFestivalNpc2.lua", },
	[300] = { file="Script/xiajiyundonghui.lua", },
	[306] = { file="Script/zhongqiu5-1.lua", },
	[307] = { file="Script/zhongqiu5-2.lua", },
	[301] = { file="Script/ZhongQiu/2022/zhongqiu1.lua", },
	[302] = { file="Script/zhongqiu2-1.lua", },
	[303] = { file="Script/zhongqiu2-2.lua", },
	[304] = { file="Script/zhongqiu3.lua", },
	[305] = { file="Script/zhongqiu4.lua", },
	[311] = { file="Script/Halloween/2022/HalloweenNPC.lua", },
	[318] = { file="Script/Halloween/2022/HorrorTheatre.lua", },
	[321] = { file="Script/2022Thanksgiving/2022Thanksgiving1.lua", },
	[347] = { file="Script/2022Thanksgiving/2022Thanksgiving7.lua", },
	[348] = { file="Script/2022Thanksgiving/2022Thanksgiving8.lua", },
	[349] = { file="Script/2022Thanksgiving/2022Thanksgiving9.lua", },
	[352] = { file="Script/2022Thanksgiving/2022Thanksgiving2.lua", },
	[353] = { file="Script/2022Thanksgiving/2022Thanksgiving3.lua", },
	[354] = { file="Script/2022Thanksgiving/2022Thanksgiving4.lua", },
	[355] = { file="Script/2022Thanksgiving/2022Thanksgiving5.lua", },
	[356] = { file="Script/2022Thanksgiving/2022Thanksgiving6.lua", },
	[357] = { file="Script/Christmas2022/Christmas2022.lua", },
	[316] = { file="Script/DragonNewArea/xiaolong1.lua", },
	[327] = { file="Script/DragonNewArea/xiaolong2.lua", },
	[328] = { file="Script/DragonNewArea/xiaolong3.lua", },
	[329] = { file="Script/DragonNewArea/xiaolong4.lua", },
	[330] = { file="Script/DragonNewArea/xiaolong5.lua", },
	[331] = { file="Script/DragonNewArea/xiaolong6.lua", },
	[332] = { file="Script/DragonNewArea/xiaolong7.lua", },
	[325] = { file="Script/SpringFestival/2023/2023chunjie1.lua", },
	[357] = { file="Script/SpringFestival/2023/2023chunjie2.lua", },
	[358] = { file="Script/SpringFestival/2023/2023chunjie3.lua", },
	[359] = { file="Script/SpringFestival/2023/2023chunjie4.lua", },
	[365] = { file="Script/ValentinesDay/2023/2023qingrenjie1.lua", },
	[361] = { file="Script/ValentinesDay/2023/2023qingrenjie2-1.lua", },
	[364] = { file="Script/ValentinesDay/2023/2023qingrenjie2-2.lua", },
	[362] = { file="Script/ValentinesDay/2023/2023qingrenjie3.lua", },
	[363] = { file="Script/ValentinesDay/2023/2023qingrenjie4.lua", },
	[366] = { file="Script/ValentinesDay/2023/baiseqingrenjie1.lua", },
	[367] = { file="Script/ValentinesDay/2023/ValentinesDay2021Story12.lua", },
	[368] = { file="Script/ValentinesDay/2023/baiseqingrenjie4.lua", },
	[369] = { file="Script/ValentinesDay/2023/baiseqingrenjie5.lua", },
	[370] = { file="Script/ValentinesDay/2023/baiseqingrenjie2.lua", },
	[371] = { file="Script/ValentinesDay/2023/baiseqingrenjie3.lua", },
	[384] = { file="Script/RaidersOfLost/BOSSfuben1.lua", },
	[385] = { file="Script/RaidersOfLost/BOSSfuben2.lua", },
	[386] = { file="Script/RaidersOfLost/BOSSfuben3.lua", },
	[387] = { file="Script/RaidersOfLost/BOSSfuben4.lua", },
	[388] = { file="Script/RaidersOfLost/BOSSfuben5.lua", },
	[389] = { file="Script/RaidersOfLost/BOSSfuben6.lua", },
	[382] = { file="Script/2023Anniversary1.lua", },
	[383] = { file="Script/2023Anniversary2.lua", },
	[395] = { file="Script/AnniversaryAdventure/juqing1.lua", },
	[396] = { file="Script/AnniversaryAdventure/juqing2.lua", },
	[397] = { file="Script/AnniversaryAdventure/juqing3.lua", },
	[398] = { file="Script/AnniversaryAdventure/juqing4.lua", },
	[399] = { file="Script/AnniversaryAdventure/juqing5.lua", },
	[400] = { file="Script/ChildrenDay2.lua", },
	[401] = { file="Script/ChildrenDay3.lua", },
	[402] = { file="Script/ChildrenDay4.lua", },
	[403] = { file="Script/ChildrenDay/2023/ChildrenDay1.lua", },
	[419] = { file="Script/DunHuangSearch/dhmj1.lua", },
	[420] = { file="Script/DunHuangSearch/dhmj2.lua", },
	[431] = { file="Script/SummerActive/2023/haidihuanying.lua", },
	[432] = { file="Script/SummerActive/2023/wanmeibianshen.lua", },
	[433] = { file="Script/SummerActive/2023/yuanguBOSS.lua", },
	[443] = { file="Script/QiXi/2023/qixi1.lua", },
	[444] = { file="Script/QiXi/2023/qixi2.lua", },
	[445] = { file="Script/QiXi/2023/qixi3.lua", },
	[446] = { file="Script/QiXi/2023/qixi4.lua", },
	[457] = { file="Script/ZhongQiu/2023/zhongqiu3.lua", },
	[460] = { file="Script/ZhongQiu/2023/zhongqiu1.lua", },
	[461] = { file="Script/ZhongQiu/2023/zhongqiu2.lua", },
	[467] = { file="Script/Halloween/2023/wanshengjie1.lua", },
	[468] = { file="Script/Halloween/2023/wanshengjie2.lua", },
	[462] = { file="Script/jqsb.lua", },
	[463] = { file="Script/ptsb.lua", },
	[464] = { file="Script/sbxt2.lua", },
		
	[469] = { file="Script/Thanksgiving/2023/Thanksgiving1.lua", },
	[503] = { file="Script/Thanksgiving/2023/Thanksgiving2.lua", },
	[504] = { file="Script/Thanksgiving/2023/Thanksgiving3.lua", },
	[505] = { file="Script/Thanksgiving/2023/Thanksgiving4.lua", },
	[506] = { file="Script/Thanksgiving/2023/Thanksgiving5.lua", },
	[551] = { file="Script/Christmas2023/Christmas1.lua", },
	[470] = { file="Script/Christmas2023/Christmas2.lua", },
	[450] = { file="Script/yindao.lua", },
	[471] = { file="Script/SpringFestival/2024/SpringFestival2024.lua", },
	[472] = { file="Script/SpringFestival/2024/FinishingTouch.lua", },
	[491] = { file="Script/ValentineDay2024/ValentineDay2.lua", },
	[492] = { file="Script/ValentineDay2024/ValentineDay3.lua", },
	[493] = { file="Script/ValentineDay2024/ValentineDay4.lua", },
	[494] = { file="Script/ValentineDay2024/ValentineDay5.lua", },
	[495] = { file="Script/ValentineDay2024/ValentineDay6.lua", },
	[496] = { file="Script/ValentineDay2024/ValentineDay7.lua", },
	[497] = { file="Script/ValentineDay2024/ValentineDay8.lua", },
	[498] = { file="Script/ValentineDay2024/ValentineDay9.lua", },
	[567] = { file="Script/ValentineDay2024/ValentineDay9.lua", },
	[568] = { file="Script/ValentineDay2024/ValentineDay9.lua", },
	[502] = { file="Script/ValentineDay2024/ValentineDay10.lua", },
	[499] = { file="Script/ValentineDay2024/ValentineDay1-1.lua", },
	[500] = { file="Script/ValentineDay2024/ValentineDay1-2.lua", },
	[573] = { file="Script/AprilFoolsDay/2024/yurenjie1.lua", },
	[574] = { file="Script/AprilFoolsDay/2024/yurenjie2.lua", },
	[592] = { file="Script/AprilWilderness/juqing1.lua", },
	[585] = { file="Script/AprilWilderness/juqing2.lua", },
	[586] = { file="Script/AprilWilderness/juqing3.lua", },
	[587] = { file="Script/AprilWilderness/juqing4.lua", },
	[588] = { file="Script/AprilWilderness/juqing5.lua", },
	[589] = { file="Script/AprilWilderness/juqing6.lua", },
	[590] = { file="Script/AprilWilderness/juqing7.lua", },
	[591] = { file="Script/AprilWilderness/juqing8.lua", },
	[578] = { file="Script/Anniversary/2024/juqing2.lua", },
	[579] = { file="Script/Anniversary/2024/juqing3.lua", },
	[580] = { file="Script/Anniversary/2024/juqing4.lua", },
	[581] = { file="Script/Anniversary/2024/juqing1.lua", },
	[599] = { file="Script/ChildrenDay/2024/juqing1.lua", },
	[600] = { file="Script/ChildrenDay/2024/juqing2.lua", },
	
	[569] = { file="Script/yuanshen1.lua", },
	[570] = { file="Script/yuanshen2.lua", },
	[571] = { file="Script/yuanshen3.lua", },
	[572] = { file="Script/yuanshen4.lua", },
	[576] = { file="Script/yuanshen5.lua", },
	[577] = { file="Script/yuanshen6.lua", },
	
	[604] = { file="Script/SummerActive/2024/juqing1.lua", },
	[605] = { file="Script/SummerActive/2024/juqing2.lua", },
	[606] = { file="Script/SummerActive/2024/juqing3.lua", },
	[607] = { file="Script/SummerActive/2024/juqing4.lua", },
	[608] = { file="Script/SummerActive/2024/juqing5.lua", },
	
	[620] = { file="Script/QiXi/2024/qixi1.lua", },
	[621] = { file="Script/QiXi/2024/wuhui1.lua", },
	[622] = { file="Script/QiXi/2024/wuhui2.lua", },
	[623] = { file="Script/QiXi/2024/shengsi1.lua", },
	[624] = { file="Script/QiXi/2024/shikong1.lua", },
	[627] = { file="Script/QiXi/2024/liuxingyu1.lua", },
	[626] = { file="Script/QiXi/2024/liuxingyu2.lua", },
	[628] = { file="Script/QiXi/2024/wuhui3.lua", },
	[629] = { file="Script/CoSport/yundonghui1.lua", },
	[630] = { file="Script/CoSport/yundonghui2.lua", },

	[638] = { file="Script/zhongxia/zhongxia1.lua", },
	[639] = { file="Script/zhongxia/zhongxia2.lua", },
	[640] = { file="Script/zhongxia/zhongxia3.lua", },
	[641] = { file="Script/zhongxia/zhongxia4.lua", },
	[642] = { file="Script/zhongxia/zhongxia5.lua", },
	[637] = { file="Script/ZhongQiu/2024/zqjuqing1.lua", },
	[635] = { file="Script/ZhongQiu/2024/zqjuqing2.lua", },
	[625] = { file="Script/xyql.lua", },
	[661] = { file="Script/Halloween/2024/juqing1.lua", },
	[648] = { file="Script/Halloween/2024/mengpo.lua", },
	[649] = { file="Script/Halloween/2024/bianhua.lua", },
	[650] = { file="Script/Halloween/2024/juedou.lua", },
	[651] = { file="Script/Halloween/2024/qishtuan.lua", },
	[652] = { file="Script/Halloween/2024/jinhua1.lua", },
	[653] = { file="Script/Halloween/2024/jinhua2.lua", },
	[654] = { file="Script/Halloween/2024/jinhua3.lua", },
	[655] = { file="Script/Halloween/2024/jinhua4.lua", },
	[656] = { file="Script/Halloween/2024/jinhua5.lua", },
	[657] = { file="Script/Halloween/2024/jinhua6.lua", },
	[658] = { file="Script/Halloween/2024/jinhua7.lua", },
	[659] = { file="Script/Halloween/2024/jinhua8.lua", },
	[660] = { file="Script/Halloween/2024/jinhua9.lua", },
	[668] = { file="Script/Halloween/2024/lastbattle.lua", },
	[671] = { file="Script/LastCamp/huigui.lua", },
	[672] = { file="Script/LastCamp/juqing1.lua", },
	[673] = { file="Script/LastCamp/juqing2.lua", },
	[674] = { file="Script/LastCamp/juqing3.lua", },
	[675] = { file="Script/LastCamp/juqing4.lua", },
	[676] = { file="Script/LastCamp/juqing5.lua", },
	[677] = { file="Script/LastCamp/juqing6.lua", },
	[683] = { file="Script/LastCamp/juqing1.lua", },
	[684] = { file="Script/LastCamp/juqing2.lua", },
	[685] = { file="Script/LastCamp/juqing3.lua", },
	[686] = { file="Script/LastCamp/juqing4.lua", },
	[687] = { file="Script/LastCamp/juqing5.lua", },
	[688] = { file="Script/LastCamp/juqing6.lua", },
	[690] = { file="Script/CampsiteAct/juqing1.lua", },
	[691] = { file="Script/CampsiteAct/juqing2.lua", },
	[670] = { file="Script/thanksgiving/2024/juqing1.lua", },
	[678] = { file="Script/thanksgiving/2024/juqing3.lua", },
	[667] = { file="Script/thanksgiving/2024/juqing4.lua", },
	[679] = { file="Script/thanksgiving/2024/juqing2.lua", },
	[689] = { file="Script/thanksgiving/2024/juqing5.lua", },
	[696] = { file="Script/christmas2024/shengdan1.lua", },
	[694] = { file="Script/christmas2024/shengdan5.lua", },
	[692] = { file="Script/christmas2024/shengdan2.lua", },
	[693] = { file="Script/christmas2024/shengdan3.lua", },
	[695] = { file="Script/christmas2024/shengdan4.lua", },
	[697] = { file="Script/christmas2024/shengdan6.lua", },
	[717] = { file="Script/springfestival/2025/juqing1.lua", },
	[715] = { file="Script/springfestival/2025/juqing2.lua", },
	[716] = { file="Script/springfestival/2025/juqing3.lua", },
	[738] = { file="Script/valentineday2025/juqing1.lua", },
	[739] = { file="Script/valentineday2025/juqing7.lua", },
	[740] = { file="Script/valentineday2025/juqing8.lua", },
	[741] = { file="Script/valentineday2025/juqing9.lua", },
	[742] = { file="Script/valentineday2025/juqing10.lua", },
	[743] = { file="Script/valentineday2025/juqing11.lua", },
	[719] = { file="Script/valentineday2025/juqing2.lua", },
	[720] = { file="Script/valentineday2025/juqing3.lua", },
	[721] = { file="Script/valentineday2025/juqing4.lua", },
	[722] = { file="Script/valentineday2025/juqing5.lua", },
	[723] = { file="Script/valentineday2025/juqing6.lua", },
	
	[744] = { file="Script/whiteday2025/baiqing1.lua", },
	[745] = { file="Script/whiteday2025/baiqing2.lua", },
	[746] = { file="Script/whiteday2025/baiqing3.lua", },
	[747] = { file="Script/whiteday2025/baiqing4.lua", },
	[748] = { file="Script/whiteday2025/baiqing5.lua", },
	[749] = { file="Script/whiteday2025/baiqing6.lua", },
	[705] = { file="Script/wuseng/wuseng1.lua", },
	[706] = { file="Script/wuseng/wuseng2.lua", },
	[707] = { file="Script/wuseng/wuseng3.lua", },
	[708] = { file="Script/wuseng/wuseng4.lua", },
	[709] = { file="Script/wuseng/wuseng5.lua", },
	[710] = { file="Script/wuseng/wuseng6.lua", },
	[711] = { file="Script/wuseng/wuseng7.lua", },
	[712] = { file="Script/wuseng/wuseng8.lua", },
	[714] = { file="Script/wuseng/wuseng9.lua", },
	[750] = { file="Script/wuseng/linghu.lua", },
	[751] = { file="Script/wuseng/shenghuang.lua", },
	[752] = { file="Script/wuseng/tianglong.lua", },

	[753] = { file="Script/wuseng/wuseng2-jq.lua", },
	-- [754] = { file="Script/wuseng/shenghuang.lua", },
	-- [755] = { file="Script/wuseng/tianglong.lua", },

	[761] = { file="Script/aprilfools2025/juqing61.lua", },
	[762] = { file="Script/aprilfools2025/juqing62.lua", },
	[756] = { file="Script/aprilfools2025/juqing2.lua", },
	[757] = { file="Script/aprilfools2025/juqing3.lua", },
	[758] = { file="Script/aprilfools2025/juqing4.lua", },
	[759] = { file="Script/aprilfools2025/juqing5.lua", },
	[760] = { file="Script/aprilfools2025/juqing1.lua", },
	[764] = { file="Script/Anniversary2025/baoxiang.lua", },
	[765] = { file="Script/Anniversary2025/jitan.lua", },
	[766] = { file="Script/Anniversary2025/laoren.lua", },
	[767] = { file="Script/Anniversary2025/shenhou1.lua", },
	[769] = { file="Script/Anniversary2025/shenhou2.lua", },
	[771] = { file="Script/Anniversary2025/shenhou3.lua", },
	[772] = { file="Script/Anniversary2025/shenhou4.lua", },
	[773] = { file="Script/Anniversary2025/shenhou5.lua", },
	[774] = { file="Script/ChildrenDay/2025/juqing1.lua", },
	[775] = { file="Script/ChildrenDay/2025/juqing2.lua", },
	[776] = { file="Script/ChildrenDay/2025/juqing3.lua", },
	[777] = { file="Script/ChildrenDay/2025/juqing4.lua", },
	[778] = { file="Script/ChildrenDay/2025/juqing5.lua", },
	[779] = { file="Script/ChildrenDay/2025/juqing6.lua", },
	[790] = { file="Script/summeractive/2025/juqing1.lua", },
	[780] = { file="Script/summeractive/2025/juqing2.lua", },
	[781] = { file="Script/summeractive/2025/juqing3.lua", },
	[782] = { file="Script/summeractive/2025/juqing4.lua", },
	[783] = { file="Script/summeractive/2025/juqing5.lua", },
	[784] = { file="Script/summeractive/2025/juqing6.lua", },
	[785] = { file="Script/summeractive/2025/juqing7.lua", },
	[791] = { file="Script/summeractive/2025/juqing8.lua", },
	[792] = { file="Script/summeractive/2025/juqing9.lua", },

}

local s_threadScript = nil

-- 启用脚本
local function LoadScript(idScript)
	if (idScript == 0) then
		return
	end

    local tScript = LuaSceneScript[idScript]

    if (tScript == nil) then
        return
    end

	dofile(tScript.file)
	CppScriptMgr:Lua2CScriptEnd()
end

function LuaScriptMgr_BeginScript(idScript)
	if s_threadScript then
		s_threadScript = nil
	end

	s_threadScript = coroutine.create(LoadScript)
	coroutine.resume(s_threadScript, idScript)
end

function LuaScriptMgr_PlayScript()
	if not s_threadScript then
		return
	end

	coroutine.resume(s_threadScript)
end

function LuaScriptMgr_WaitScript()
	if not s_threadScript then
		return
	end

	coroutine.yield(s_threadScript)
end

function LuaScriptMgr_EndScript()
	s_threadScript = nil
end

local DLG_CAN_SHOW = {
[958] = true,
[966] = true,
}

-- 脚本剧情中是否可显示窗口
function LuaScriptMgr_IsDlgCanShow(id)
    local ret = DLG_CAN_SHOW[id]

    if (ret == nil) then
        return false
    end

    return ret
end

function LuaScriptMgr_Unload()
    DLG_CAN_SHOW = nil
end

function LuaScriptMgr_GetScript(id)
    local tScript = LuaSceneScript[id]

    if (tScript == nil) then
        return ""
    end

    return tScript.file
end

--同步口袋接口5个

-- 旋转镜头
-- x,y 旋转的中心点
-- r 旋转半径
-- Time 时间(默认300)
function XuanZhuan(x,y,r,Time)
	
	if Time == nil then
		Time = 300
	end
	
	-- 正下方
	local cao = CppScriptMgr:AddSimplePlayer(1063640,x+r,y+r)

	cao:SetCtrlMapView(1)
	-- 左下方
	cao:RunTo(x,y+r)
	CppScriptMgr:WaitMilSec(Time)

	-- 左方
	cao:RunTo(x-r,y+r)
	CppScriptMgr:WaitMilSec(Time)
	-- 左上方
	cao:RunTo(x-r,y)
	CppScriptMgr:WaitMilSec(Time)

	-- 上方
	cao:RunTo(x-r,y-r)
	CppScriptMgr:WaitMilSec(Time)

	-- 右上方
	cao:RunTo(x,y-r)
	CppScriptMgr:WaitMilSec(30)

	-- 右方
	cao:RunTo(x+r,y-r)
	CppScriptMgr:WaitMilSec(Time)

	-- 右下方
	cao:RunTo(x+r,y)
	CppScriptMgr:WaitMilSec(Time)

	-- 正中间
	cao:RunTo(x,y)
	CppScriptMgr:WaitMilSec(Time + 200)
	cao:SetCtrlMapView(0)
end

-- 镜头拉近
-- Size 镜头起始的大小(默认256)
-- num 循环次数
-- Mul 拉近倍数(默认1)
-- Time 每次拉近时间(默认33)
function LaJin(Size,num,Mul,Time)
	for i=1,num do
		CppScriptMgr:SetViewScale(Size+i*Mul)
		CppScriptMgr:WaitMilSec(Time)
	end
end

--光效放大缩小
-- x 坐标x
-- y 坐标y
-- EffectName 光效名称
-- OldSize 光效放大或缩小前的大小(正常大小为100,不能配置小数)
-- NewSize 光效放大或缩小后的大小(正常大小为100,不能配置小数)
-- Mul 放大或缩小倍数倍数(默认1)
-- Time 时间 默认33
function ChangeSize(x,y,EffectName,OldSize,NewSize,Mul,Time)
	local Player = CppScriptMgr:AddSimplePlayer(1570,x,y)
	Player:AddPartEffect(EffectName,2)
	Player:SetZoomPercent(OldSize)
	
	if Time == nil then
	 Time = 33
	end
	
	if OldSize > NewSize then
		local num = math.floor( ( OldSize - NewSize ) / Mul )
		for i=1,num do
			Player:SetZoomPercent(OldSize - i * Mul)
			CppScriptMgr:WaitMilSec(Time)
		end
	else
		local num = math.floor( ( NewSize - OldSize ) / Mul )
		for i=1,num do
			Player:SetZoomPercent(OldSize + i * Mul)
			CppScriptMgr:WaitMilSec(Time)
		end
	end
	return Player
end

--镜头平滑移动
-- BeginX 镜头移动起始X坐标
-- BeginY 镜头移动起始Y坐标
-- EndX 镜头移动结束X坐标
-- EndY 镜头移动结束Y坐标
-- Type 移动类型 1为走动的速度，2为跑动的速度，3为跳跃的速度
--(默认为2跑动的速度,3跳跃类型太远的距离会有问题,1走动的类型镜头移动最平滑)
-- Frame 移动速度(默认33)
-- Time 镜头移动时间时间(1000 为1秒)
-- 实际是一个透明NPC在地图内跑动，所以遇到墙体或障碍物会走不过去
function MoveView(BeginX,BeginY,EndX,EndY,Type,Frame,Time)
	local View = CppScriptMgr:AddPlayer(175,BeginX,BeginY)
	View:SetHide(1)
	View:SetFrameInterval(Frame)
	View:SetCtrlMapView(1)
	
	if Type == nil then
		Type = 2
	end
	
	if Type == 1 then
		View:WalkTo(EndX,EndY)
	elseif Type == 2 then
		View:RunTo(EndX,EndY)
	elseif Type == 3 then
		View:JumpTo(EndX,EndY)
	end
	
	CppScriptMgr:WaitMilSec(Time)
	View:SetCtrlMapView(0)
end

--放大缩小当前角色
-- Npc 角色变量
-- OldSize 光效放大或缩小前的大小(正常大小为100,不能配置小数)
-- NewSize 光效放大或缩小后的大小(正常大小为100,不能配置小数)
-- Mul 放大或缩小倍数倍数(默认1)
-- Time 时间 默认33
function ChangeNpcZoom(Npc,OldSize,NewSize,Mul,Time)
	
	if OldSize > NewSize then
		local num = math.floor( ( OldSize - NewSize ) / Mul )
		for i=1,num do
			Npc:SetZoomPercent(OldSize - i * Mul)
			CppScriptMgr:WaitMilSec(Time)
		end
		
	elseif OldSize < NewSize then
		local num = math.floor( ( NewSize - OldSize ) / Mul )
		for i=1,num do
			Npc:SetZoomPercent(OldSize + i * Mul)
			CppScriptMgr:WaitMilSec(Time)
		end
	end
end

local ServerCfg = {
	normal		= 0,
	classic     = 1,    -- 怀旧版本服务器
	notrade     = 2,    -- 不可交易版本服务器
	gold        = 4,    -- 金币服务器
	new         = 8,    -- 新服
	passion     = 16,   -- 激情服
	oldsoldier  = 256,  -- 老兵服
	coinsserver = 512,  -- 掉钱服
}

function LuaScriptMgr_IsPassionServer()
	local nServerType = CppScriptMgr:GetServerType()
	if CppScriptMgr:Cpp_And(nServerType, ServerCfg.passion) > 0 then
		return true
	end

	return false
end
