inputs to factories

inputs are 'stored' at the factory until the good is finished, at which
point the inputs are magically consumed. I know it works for breweries,
I assume it works for mills but cant test it because the test map I'm
using only has river power in an area that has no pastures lol. so I'll
have to test it after I implement trade