In a recent game of Puerto Rico, I had a Factory with a colonist on it, and I had manned plantations and production buildings to produce four different kinds of goods. However, when the Craftsman was taken, by the time it was my turn to take my production all but one of the supply piles was exhausted, and I was only able to take one barrel.
In this case, do I still get the +3 doubloon bonus from the Factory since I could produce four types of goods, or do I not get any bonus since I only did take one?