diff --git a/index.html b/index.html index a5c94c6a..2d4407de 100644 --- a/index.html +++ b/index.html @@ -3664,12 +3664,16 @@
Original map will be destroyed! Don't forget to save your work!
+Warning! This operation is destructive and irreversible. Don't forget to save your original map!
Population rate (Units editor -> population) and map pixel size will be automatically updated according to the current scale factor. If you'd like to generate a new parent-map, don't forget to reset them! Options are interpreted as usual.
- Automatically copied: Heightmap, Biome, Precipitation, Cultures, States, Provinces, Regiments (military). + Data to be copied: Heightmap, Biome, Religion, Population, Precipitation, Cultures, States, Provinces, Regiments (military). +
++ Data to be destroyed (regenerated): Markers, Zones, Rivers (mostly regenerate at the same place). + Remapping Burgs (cities) is not 100% guaranteed, you may need to fix missing or wrongly mapped burgs manually.
Remap (copy) the following features to the new map:
diff --git a/modules/submap.js b/modules/submap.js index 309782f4..7e562aa2 100644 --- a/modules/submap.js +++ b/modules/submap.js @@ -210,9 +210,8 @@ window.Submap = (function () { // TODO: normalize according to the base-map rankCells(); - // transfer basemap cultures + stage("Porting Cultures"); pack.cultures = parentMap.pack.cultures; - // fix culture centers const validCultures = new Set(pack.cells.culture); pack.cultures.forEach((c, i) => { @@ -292,8 +291,13 @@ window.Submap = (function () { Military.redraw(); stage("markers and zones (if requested)."); - if (options.addMarkers) Markers.generate(); - if (options.addZones) addZones(); + if (!options.copyMarkers) Markers.generate(); + else { + // TODO + pack.markers = []; + } + + if (!options.copyZones) addZones(); Names.getMapName(); stage("Submap done.");