This commit is contained in:
howlingsails 2021-12-04 18:13:59 -08:00
parent 4935d506b6
commit 2014c63e22
17 changed files with 21717 additions and 1563 deletions

View file

@ -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;