void InitInventory(NPC npc) { this.Log(npc.NPCStruct.nameKor + " : Initialize Inventory"); drops = FunctionParser.ParsingDropTable(npc.NPCStruct.dropTable); foreach (DropStruct drop in drops) { Tube tube = gameManager.FindTubeByCid(drop.cid); if (tube == null) { npc.Warning(npc.NPCStruct.nameKor + " : " + drop.cid + "이 드롭 테이블에 있는데 실제 튜브 데이터에서 찾을 수 없어요."); continue; } GetTube(tube); this.Log(npc.NPCStruct.nameKor + " : Add to Inventory " + tube.NameKor); } }