Complex sentence: To successfully weave cotton, the conditions have to be humid and loomshops were built in the basement or on the ground floor.
Split into simpler sentences: To successfully weave cotton, the conditions have to be humid. Loomshops were built in the basement or on the ground floor.