mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
Added a lock function to burgs (#612)
* Added a lock function to burgs that will prevent them from being regenerated * Updated tooltips and fixed culture change from renaming locked burgs and group remove from deleting locked burgs
This commit is contained in:
parent
c9b34866f9
commit
f855de6fb8
7 changed files with 85 additions and 16 deletions
|
|
@ -145,7 +145,7 @@
|
|||
const cells = pack.cells, vertices = pack.vertices, features = pack.features, temp = grid.cells.temp;
|
||||
|
||||
for (const b of pack.burgs) {
|
||||
if (!b.i) continue;
|
||||
if (!b.i || b.lock) continue;
|
||||
const i = b.cell;
|
||||
|
||||
// asign port status to some coastline burgs with temp > 0 °C
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue