Exemple #1
0
 public void Start()
 {
     //load the current player inventory
     isFull    = false;
     path      = "/Resources/global/INVENTORY.txt";
     textItems = text.Split('\n');
     itemdb.Init();
     foreach (string item in textItems)
     {
         if (item != "")
         {
             Item tempItem = itemdb.getItemByName(item);
             itemList.Add(tempItem);
         }
     }
 }