-------------------------------------------------------------------------------- -- Secret Laboratory Main File -- -------------------------------------------------------------------------------- require( "common" ) require( "ID/SecretLab/Data/Name" ) -- ÆÄÀÏ°æ·Î, ÆÄÀÏÀ̸§, ¿ªÂüÁ¶, ´Ü°è ÁøÇàÀ» À§ÇÑ ³×ÀÓ Å×À̺í require( "ID/SecretLab/Data/Process" ) -- °¢Á¾ µô·¹ÀÌŸÀÓ°ú ¸µÅ© Á¤º¸, Äù½ºÆ® µîÀÇ ÁøÇà °ü·Ã µ¥ÀÌÅÍ require( "ID/SecretLab/Data/Regen" ) -- ¸®Á¨ µ¥ÀÌÅÍ(±×·ì, ¸÷, NPC, ¹®, ¾ÆÀÌÅÛ µîÀÇ ¸®Á¨ Á¾·ù, À§Ä¡ ¹× ¼Ó¼º °ü·Ã) require( "ID/SecretLab/Data/NPC" ) -- NPC°ü·Ã ó¸® µ¥ÀÌÅÍ( NPC ¾×¼Ç Á¤º¸ ¹× ¾×¼ÇÀ» ÀÏÀ¸Å°±â À§ÇÑ ¿ä¼Ò Á¤º¸ ) require( "ID/SecretLab/Data/Boss" ) -- Boss°ü·Ã ó¸® µ¥ÀÌÅÍ( º¸½ºÀü Phase Data(¼Òȯ ¸÷ Æ÷ÇÔ), »óÅÂÀÌ»ó, Ä¡ÇÁ¸÷ °ü·Ã °æ°í¹® Á¤º¸ ) require( "ID/SecretLab/Data/Chat" ) -- ¸ðµç äÆà °ü·Ã require( "ID/SecretLab/Functions/SubFunc" ) -- ÀüüÀûÀÎ ÁøÇà¿¡ ÇÊ¿äÇÑ °¢Á¾ Sub Functions require( "ID/SecretLab/Functions/Routine" ) -- ¸÷ µî¿¡ ºÙ´Â AI °ü·Ã ·çƾµé require( "ID/SecretLab/Functions/Progress" ) -- °¢ ´Ü°è°¡ Á¤ÀÇµÈ ÁøÇà ÇÔ¼öµé function Main( Field ) cExecCheck "Main" local Var = InstanceField[ Field ] if Var == nil then InstanceField[ Field ] = {} Var = InstanceField[ Field ] Var["MapIndex"] = Field Var["Friend"] = {} -- ¾Æ±º Á¤º¸ ´ã´Â ¸Þ¸ð¸® Var["Enemy"] = {} -- Àû Á¤º¸ ´ã´Â ¸Þ¸ð¸® Var["Door"] = {} -- ¹® Á¤º¸ ´ã´Â ¸Þ¸ð¸® Var["RoutineTime"] = {} -- ·çƾ ŸÀÓÀ» Çڵ鸶´Ù º¸°üÇÏ´Â ¸Þ¸ð¸® Var["StageInfo"] = {} -- ½ºÅ×ÀÌÁö ¼ø¼­¿Í ÇÔ²² °¢ ´Ü°è Á¤º¸¸¦ ÀúÀåÇØÁÙ ¸Þ¸ð¸® cSetFieldScript ( Var["MapIndex"], MainLuaScriptPath ) cFieldScriptFunc( Var["MapIndex"], "MapLogin", "PlayerMapLogin" ) Var["StepFunc"] = DummyFunc -- ÃÖÃÊ ½Ã°£ ÀÔ·Â Var["InitialSec"] = cCurrentSecond() Var["CurSec"] = cCurrentSecond() -- ù ½ºÅÜÀ¸·Î GoToNextStep( Var ) end -- 0.5Ãʸ¶´Ù ½ÇÇà if Var["CurSec"] + 0.5 > cCurrentSecond() then return else Var["CurSec"] = cCurrentSecond() end -- ½ºÅÜÇÔ¼ö ½ÇÇà ( Functions/Progress.lua ) Var["StepFunc"] ( Var ) end