-------------------------------------------------------------------------------- -- King Slime Main File -- -------------------------------------------------------------------------------- require( "common" ) require( "KQ/KingSlime/Data/Name" ) -- ÆÄÀÏ°æ·Î, ÆÄÀÏÀ̸§, ¿ªÂüÁ¶¸¦ À§ÇÑ ³×ÀÓ Å×À̺í require( "KQ/KingSlime/Data/Process" ) -- °¢Á¾ µô·¹ÀÌŸÀÓ°ú ¸µÅ© Á¤º¸, °øÁö, Äù½ºÆ® µîÀÇ ÁøÇà °ü·Ã µ¥ÀÌÅÍ require( "KQ/KingSlime/Data/Regen" ) -- ¸®Á¨ µ¥ÀÌÅÍ(±×·ì, ¸÷, NPC, ¹®, ¾ÆÀÌÅÛ µîÀÇ ¸®Á¨ Á¾·ù, À§Ä¡ ¹× ¼Ó¼º °ü·Ã) require( "KQ/KingSlime/Data/NPC" ) -- NPCÀÇ Çൿ °ü·Ã(ÆäÀ̽ºÄÆ(Dialog), »þ¿ìÆÃ, ÀÏ¹Ý Ã¤Æà µî) require( "KQ/KingSlime/Data/Boss" ) -- ´øÀü BossÀÇ Çൿ °ü·Ã(äÆà ¹× º¸½ºÀü ÆäÀÌÁî Á¦¾î¸¦ À§ÇÑ µ¥ÀÌÅÍ(¸÷¼Òȯ Á¤º¸ Æ÷ÇÔ)) require( "KQ/KingSlime/Functions/SubFunc" ) -- ÀüüÀûÀÎ ÁøÇà¿¡ ÇÊ¿äÇÑ °¢Á¾ Sub Functions require( "KQ/KingSlime/Functions/Routine" ) -- ¸÷ µî¿¡ ºÙ´Â AI °ü·Ã ·çƾµé require( "KQ/KingSlime/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["RoutineTime"] = {} 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