message: Extract getPriceModifier
diff: @@ -39,7 +39,7 @@ export function createBuilding (town: Town, type: string, base = {}) {
  expertise: random(1, 100),
  activity: random(1, 100)
  },
  - priceModifier: Math.floor(randomFloat(1) * 8) - [0, 10].random()
  + priceModifier: getPriceModifier()
  }, base)
  if (building.parentKey) {
  @@ -54,7 +54,6 @@ export function createBuilding (town: Town, type: string, base = {}) {
  building.road = road.key
  }
  // building.priceModifier += town.taxes.economics
  - building.priceModifier = Math.clamp(building.priceModifier, -10, 10)
  clampRolls(building.roll)
  @@ -63,6 +62,10 @@ export function createBuilding (town: Town, type: string, base = {}) {
  return building
  }
  +function getPriceModifier (): number {
  + return Math.clamp(Math.floor(randomFloat(1) * 8) - random([0, 10]), -10, 10)
  +}
  +
  export function generateBuildingMaterial (town: Town, mainMaterial: string, buildingWealth: number): MaterialType {
  // Set probability for other buildings depending on the building 'tier'
  const buildingTier = getBuildingTier(town.roll.wealth, buildingWealth)
  