mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.5.77 - river data change
This commit is contained in:
parent
07f0eff52c
commit
12fd553b0d
4 changed files with 64 additions and 66 deletions
6
main.js
6
main.js
|
|
@ -707,7 +707,6 @@ function openNearSeaLakes() {
|
|||
if (cells.h[c] >= 20) cells.t[c] = 1; // mark as coastline
|
||||
});
|
||||
features[lake].type = "ocean"; // mark former lake as ocean
|
||||
debug.append("circle").attr("cx", grid.points[treshold][0]).attr("cy", grid.points[treshold][1]).attr("r", 2);
|
||||
}
|
||||
|
||||
TIME && console.timeEnd("openLakes");
|
||||
|
|
@ -1132,10 +1131,7 @@ function defineLakesGroup() {
|
|||
}
|
||||
|
||||
function defineGroup(feature) {
|
||||
const gridCell = pack.cells.g[feature.firstCell];
|
||||
const temp = grid.cells.temp[gridCell];
|
||||
|
||||
if (temp < -3) return "frozen";
|
||||
if (feature.temp < -3) return "frozen";
|
||||
if (feature.height > 60 && feature.cells < 10 && feature.firstCell % 5 === 0) return "lava";
|
||||
|
||||
if (!feature.inlets && !feature.outlet) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue