mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 02:01:22 +01:00
states-editor - dynamic module
This commit is contained in:
parent
c87c12295b
commit
4fcd62bb99
7 changed files with 1360 additions and 1345 deletions
|
|
@ -352,7 +352,7 @@ window.BurgsAndStates = (function () {
|
|||
cells.state = new Uint16Array(cells.i.length);
|
||||
const queue = new PriorityQueue({comparator: (a, b) => a.p - b.p});
|
||||
const cost = [];
|
||||
const neutral = (cells.i.length / 5000) * 2500 * neutralInput.value * statesNeutral.value; // limit cost for state growth
|
||||
const neutral = (cells.i.length / 5000) * 2500 * neutralInput.value * statesNeutral; // limit cost for state growth
|
||||
|
||||
states
|
||||
.filter(s => s.i && !s.removed)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue