this.ruleset = ruleset;
java.util.List<Section> sections = registry.getRuleset(ruleset).getAllSections();
for (int sc = 0; sc<sections.size(); sc++){
Section currentSection = (Section)sections.get(sc);
if (currentSection.getName().equals("rulesets")){
land = new VegetationData(registry,currentSection.getField("land").getStringValue());
ocean = new VegetationData(registry,currentSection.getField("water").getStringValue());
civquest.parser.ruleset.Field tempField = currentSection.getField("ground");
if (tempField!=null){
int groundCount = tempField.getNumberOfValues();
for (int i = 0; i<groundCount; i++)
groundData.add(new VegetationData(registry,currentSection.getField("ground").getStringValue(i)));
}
if (currentSection.hasField("terrain")){
tempField = currentSection.getField("terrain");
int terrainCount = tempField.getNumberOfValues();
for (int i = 0; i<terrainCount; i++)
terrainData.add(new VegetationData(registry,currentSection.getField("terrain").getStringValue(i)));
}
} else if (currentSection.getName().equals("streams")) {
streams = currentSection.getField("number").getIntValue();
} else if (currentSection.getName().equals("air")) {
eqTemp = currentSection.getField("eqTemp").getIntValue();