Fantasy-Map-Generator/modules
mdirienzo fb28576f7c Add the ability to regenerate cultures (#495)
* Add the ability to regenerate cultures

- Added a button to the tools menu for regeneration.
- Regeneration button will handle initial generation of cultures and expansion afterwards.
- Pressing regenerate will warn the user.
- Small cleanup of trailing whitespace.

* Refreshing cultures editor updates culture centers

* Regenerating cultures refreshes the culture editor

* Added a function to refresh all open editors

* Reset burg and state cultures after regeneration

* Address the problem of potential data loss

Any errors while iterating the states or burgs could potentially lose the index 0 metadata stored in the arrays. This will instead track the index and ignore the 0th result.

* Religions update cultures on culture regeneration

Updated function names to be more similar and more descriptive
2021-02-04 15:56:26 +03:00
..
ui Add the ability to regenerate cultures (#495) 2021-02-04 15:56:26 +03:00
burgs-and-states.js Add the ability to regenerate cultures (#495) 2021-02-04 15:56:26 +03:00
cultures-generator.js Added cell info to elevation profile and corrected some spelling 2021-02-04 15:56:26 +03:00
heightmap-generator.js Update heightmap-generator.js (#389) 2020-01-01 14:42:20 +03:00
military-generator.js v1.4.25 2020-06-08 01:11:51 +03:00
names-generator.js v1.4.03 2020-04-26 20:30:07 +03:00
ocean-layers.js v1.4.06 2020-05-05 02:00:40 +03:00
relief-icons.js v1.22.31 2019-12-23 20:06:43 +03:00
religions-generator.js Add the ability to regenerate cultures (#495) 2021-02-04 15:56:26 +03:00
river-generator.js Added cell info to elevation profile and corrected some spelling 2021-02-04 15:56:26 +03:00
routes-generator.js Added cell info to elevation profile and corrected some spelling 2021-02-04 15:56:26 +03:00
save-and-load.js v1.4.37 2021-02-04 15:56:26 +03:00
utils.js v1.4.36 2021-02-04 15:56:26 +03:00
voronoi.js v1.22.31 2019-12-23 20:06:43 +03:00