Fantasy-Map-Generator/modules/dynamic/editors
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
..
cultures-editor.js Add the ability to lock states, provinces, cultures, and religions: refactoring (#910) 2023-01-08 03:38:52 -08:00
religions-editor.js Add the ability to lock states, provinces, cultures, and religions: refactoring (#910) 2023-01-08 03:38:52 -08:00
states-editor.js Add the ability to lock states, provinces, cultures, and religions: refactoring (#910) 2023-01-08 03:38:52 -08:00