message: add faction renaming
diff: @@ -41,5 +41,15 @@ setup.createTownName = function (town) {
  })
  }
  + if (town && town.factions) {
  + console.log(town.name, driftName)
  + // Replace existing names of factions if they reference town name
  + for (const faction in town.factions) {
  + town.factions[faction].name = town.factions[faction].name.replace(town.name, driftName)
  + town.factions[faction].associatedTown = driftName
  + town.factions[faction].tippyDescription = town.factions[faction].tippyDescription.replace(town.name, driftName)
  + }
  + }
  +
  return driftName
  }
  