Skip to content

Commit

Permalink
style(autofix.ci): automated formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Nov 6, 2023
1 parent 0952bc3 commit 6607040
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/src/content/docs/en/mod/json/reference/map/overmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,14 +254,14 @@ For each special, mapgen first decides how many instances it wants to place by r
number between `min` and `max` of its occurrences. This number will be adjusted with a few
multipliers: configured specials density, terrain ratio, and crowdedness ratio.

The "terrain ratio" is a number representing the ratio between land and lake tiles on the overmap.
A 30% flooded overmap will have a 0.7 multiplier for land specials and a 0.3 multiplier for lake
The "terrain ratio" is a number representing the ratio between land and lake tiles on the overmap. A
30% flooded overmap will have a 0.7 multiplier for land specials and a 0.3 multiplier for lake
specials.

The "crowdedness ratio" is a number representing the ratio between the total overmap area and the
expected average area required to place all specials with the current range and density settings.
It is capped and normally stays at x1. However, trying to spawn more specials than physically
possible will cause it to decrease.
expected average area required to place all specials with the current range and density settings. It
is capped and normally stays at x1. However, trying to spawn more specials than physically possible
will cause it to decrease.

After considering all these factors, it may result in a number such as 2.4, which means that the
overmap will have a 60% chance to place 2 instances and a 40% chance to place 3 instances of that
Expand Down

0 comments on commit 6607040

Please sign in to comment.