Ejemplo n.º 1
0
    public void TakeAllItemsFromWaitingList()
    {
        List <Item> items = _lootModel.waitingItems[0];

        if (_inventoryController.AddInventoryItems(items))
        {
            foreach (Item item in items)
            {
                _questLogController.CheckGoal(item.name);
            }
            _lootModel.TakeAllItems();
        }
        else
        {
            _notification.ActiveOk("There is no space in your inventory.");
        }
    }