Avast! This be a puzzle recently under discussion. Apparantly my idea for this was quite close to Nemo's, but with a different scoring mechanic. Still, the basic presmise (which I don't think can be found in (m)any puzzle games) is the same.

Weaving is not the puzzle to make clothes, but rather the one to make the cloth that the clothes themselves are made from. (as well as sail cloth for ships, and cloth for buildings) Weaving can be accessed by clicking on the loom at the Weavery, a crucial business that supplies Shipwrights, Realtors, and Tailors.