mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
resource styling
This commit is contained in:
parent
9b1ae25129
commit
ccce3c8519
1 changed files with 1 additions and 0 deletions
|
|
@ -583,6 +583,7 @@ window.Resources = (function () {
|
||||||
resource.expected = ~~expected; // temp
|
resource.expected = ~~expected; // temp
|
||||||
resource.max = gauss(expected, expected / 2, expected / 5, cellsN, 0); // temp
|
resource.max = gauss(expected, expected / 2, expected / 5, cellsN, 0); // temp
|
||||||
resource.cells = 0;
|
resource.cells = 0;
|
||||||
|
resource.stroke = d3.color(resource.color).darker(2).hex();
|
||||||
return resource;
|
return resource;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue