mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
v1.4.42
This commit is contained in:
parent
04a50992c9
commit
f17af04baf
1 changed files with 1 additions and 0 deletions
|
|
@ -253,6 +253,7 @@
|
|||
|
||||
const specify = function() {
|
||||
if (!pack.rivers.length) return;
|
||||
Math.seedrandom(seed);
|
||||
const smallLength = pack.rivers.map(r => r.length||0).sort((a,b) => a-b)[Math.ceil(pack.rivers.length * .15)];
|
||||
const smallType = {"Creek":9, "River":3, "Brook":3, "Stream":1}; // weighted small river types
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue