xml.append("</productionQueue>\n");
xml.append("<contiuousProduction>" + settlement.isContiuousProduction() + "</contiuousProduction>\n");
xml.append("<improvements>\n");
Iterator<SettlementImprovement> improvementsIterator = settlement.getImprovementsIterator();
while (improvementsIterator.hasNext()) {
SettlementImprovement improvement = improvementsIterator.next();
xml.append("<improvement>\n");
xml.append("<type>");
xml.append(improvement.getType().getId());
xml.append("</type>\n");
xml.append("<enabled>");
xml.append(improvement.isEnabled());
xml.append("</enabled>\n");
xml.append("<workers>");
xml.append(improvement.getNumberOfWorkers());
xml.append("</workers>\n");
xml.append("</improvement>\n");
}
xml.append("</improvements>\n");
xml.append((new WorkForceManagerXMLWrapper(settlement.getWorkForceManager())).toXML() + "\n");