Azgaar / Fantasy-Map-Generator

Web application generating interactive and highly customizable maps
https://azgaar.github.io/Fantasy-Map-Generator
Other
4.48k stars 636 forks source link

Burgs/Population generating in rivers #1066

Closed tlssIII closed 4 months ago

tlssIII commented 4 months ago

I have custom rivers that are each about a dozen miles wide and burgs continue to generate right in the middle of them. When I move the burg and recalculate the population, there are still people shown as living in the river. I can't find any settings to change to fix this

Steps to reproduce

  1. Click on create river
  2. Click on the cells to make a river and raise the mouth width until the whole river is very wide
  3. Click on "Burgs" under the regenerate menu
  4. Toggle "icons" and "population" in the layers menu
  5. See the burg in the middle of the river
  6. Click on a burg and then the relocate burg button to move it to the river bank
  7. Click on "population" under the regenerate menu
  8. Turn "population" off and back on in the layers menu
  9. The burg is now smaller and the population in the river is still there

Expected behavior

Burgs should not be generated inside of a river and relocating a burg should move the suburban/rural population as well

.map file

Enzkia 2024-04-17-09-22.zip

Screenshots

Example burg is Sel-Sin

Screenshot 2024-04-19 at 8 39 17 AM Screenshot 2024-04-19 at 8 39 47 AM

System

DeuzeksMcKinna commented 4 months ago

Not a bug. Population calculations simply don't take river width in account.

Azgaar commented 4 months ago

Rivers are not supposed to take whole cells... They don't make the cell a water one, just mark a cell a having a river. Burgs are there as we expect then to be on river banks. For you use case you can put a specific custom Biome there and it can prevent burgs from generation there.

tlssIII commented 4 months ago

Rivers are not supposed to take whole cells... They don't make the cell a water one, just mark a cell a having a river. Burgs are there as we expect then to be on river banks. For you use case you can put a specific custom Biome there and it can prevent burgs from generation there.

Thanks so much, should I move this to suggestions/feature request?

Azgaar commented 4 months ago

I'm not sure we would be able change it, it's a fundamental thing and your use case is very specific and can be solved manually for your map.