message: extract locationdata variable
diff: @@ -68,9 +68,12 @@ export const createTownBiome = (base: Partial<Town> = {}): TownBasics => {
  town.economicIdeology = town.economicIdeology || town._economicIdeology
  town.politicalIdeology = town.politicalIdeology || town._politicalIdeology
  town.politicalSource = town.politicalSource || town._politicalSource
  - town.origin = town.origin || lib.random(lib.terrain[town.terrain].location[town.location].origin)
  - town.vegetation = town.vegetation || lib.weightRandom(lib.terrain[town.terrain].location[town.location].vegetation)
  - town.possibleMaterials = lib.terrain[town.terrain].location[town.location].possibleMaterials
  +
  + const locationData = lib.terrain[town.terrain].location[town.location]
  +
  + town.origin = town.origin || lib.random(locationData.origin)
  + town.vegetation = town.vegetation || lib.weightRandom(locationData.vegetation)
  + town.possibleMaterials = locationData.possibleMaterials
  town.materialProbability = lib.structureMaterialData.types
  assignSizeModifiers(town)
  