Code: var currentGil = InventoryManager.GetBagByInventoryBagId(InventoryBagId.Currency).FilledSlots.First(r => r.TrueItemId == 1).Count;