Fantasy-Map-Generator/modules
Azgaar dada419f20
Add the ability to lock states, provinces, cultures, and religions: refactoring (#910)
* Add the ability to lock states, provinces, cultures, and religions (#902)

* Add the basis for locking everything, code and test the culture locking

* Got the religion generator working, but not the tree. There are cycles being generated

* Religions work now, including the tree view

* Got the states and provinces working as well, all good and ready

* Refresh the province editor when regenerating

* Implement the versioning steps

* Fix the state naming and color changing even when locked

* The fix did not work with loaded maps, fix that too

* Fix a few more bugs and address the PR feedback

* Fix the state expanding event when they're locked bug

* Implement some logic to ignore state being locked when regenerating provinces directly.

* refactor(#902): start with states regenertion

* refactor(#902): locked states cells to be assigned on start

* refactor(#902): lock state - keep label

* refactor(#902): lock provinces

* refactor(#902): regenerate states - update provinces

* refactor(#902): regenerate cultures

* refactor(#902): regenerate religions

Co-authored-by: Guillaume St-Pierre <gstpierre01@gmail.com>
Co-authored-by: Azgaar <maxganiev@yandex.com>
2023-01-08 03:38:52 -08:00
..
dynamic Add the ability to lock states, provinces, cultures, and religions: refactoring (#910) 2023-01-08 03:38:52 -08:00
io fix(#905): make sure burg0 is not getting locked [v.1.88.05] 2022-12-15 15:43:40 +03:00
ui Add the ability to lock states, provinces, cultures, and religions: refactoring (#910) 2023-01-08 03:38:52 -08:00
burgs-and-states.js Add the ability to lock states, provinces, cultures, and religions: refactoring (#910) 2023-01-08 03:38:52 -08:00
coa-generator.js dissalow local run 2022-02-06 01:04:11 +03:00
coa-renderer.js fix(#845): emblem shield - remove incorrect data 2022-07-01 21:00:00 +03:00
cultures-generator.js Add the ability to lock states, provinces, cultures, and religions: refactoring (#910) 2023-01-08 03:38:52 -08:00
fonts.js add Tapestry font, update cached files 2022-05-11 10:43:21 +03:00
heightmap-generator.js feat: heightmap brushes - linear edit option (1.88.00) 2022-10-31 00:24:54 +03:00
lakes.js replace old iife by a simpler ones 2021-08-04 23:49:02 +03:00
markers-generator.js Add the ability to lock states, provinces, cultures, and religions: refactoring (#910) 2023-01-08 03:38:52 -08:00
military-generator.js Dev submaps (#770) 2022-04-15 12:45:02 +03:00
names-generator.js feat: pump version to 1.87.14, new cultures correction 2022-10-10 22:48:52 +03:00
ocean-layers.js feat: optimizeSpeed rendering (1.87.15) 2022-10-13 00:52:49 +03:00
relief-icons.js minmax util function 2021-10-10 17:59:27 +03:00
religions-generator.js Add the ability to lock states, provinces, cultures, and religions: refactoring (#910) 2023-01-08 03:38:52 -08:00
river-generator.js Dev submaps (#770) 2022-04-15 12:45:02 +03:00
routes-generator.js routes - don't break if feature is not found 2022-04-09 21:52:37 +05:00
submap.js fix(#905): make sure burg0 is not getting locked [v.1.88.05] 2022-12-15 15:43:40 +03:00
voronoi.js Fix: flux calculation from area-propotional value instead of normal value. (#654) 2021-08-15 12:43:20 +03:00