private async Task TakeItem()
{
if (theron.Hand != null)
{
var ch = await GetFromItemIndex(theron.PartyGroup);
if (ch != null)
{
var inventory = await GetFromItemIndex(ch.Body.Storages);
if (inventory != null)
{
if (inventory.AddItem(theron.Hand))
{
theron.Hand = null;
}
else
{
Output.WriteLine("Unable to add item to inventory.");
}
}
}
}
else
Output.WriteLine("Hand is empty!");
}
}