mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 20:11:24 +01:00
thecrack
This commit is contained in:
parent
4935d506b6
commit
2014c63e22
17 changed files with 21717 additions and 1563 deletions
|
|
@ -160,8 +160,12 @@ window.Rivers = (function () {
|
|||
// mark real confluences and assign river to cells
|
||||
if (cells.r[cell]) cells.conf[cell] = 1;
|
||||
else cells.r[cell] = riverId;
|
||||
if (cells.s && cells.s[cell]) {
|
||||
cells.s[cell] = cells.s[cell] * 1.25; // Increase value of rivers
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const source = riverCells[0];
|
||||
const mouth = riverCells[riverCells.length - 2];
|
||||
const parent = riverParents[key] || 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue