Commit graph

1634 commits

Author SHA1 Message Date
Azgaar
38f2e1fb7b feat: inform users if canvas size is too big 2023-03-26 15:05:19 +04:00
Azgaar
d48f9b3cab fix(add river): get id as the biggest id + 1, not the last id + 1 2023-03-26 14:24:46 +04:00
Azgaar
5ca3ac44a4
Merge pull request #927 from Azgaar/religions-live-update
Religions live update
2023-03-22 21:44:13 +03:00
Azgaar
65609f6dd3 chore: cleanup comments 2023-03-22 11:39:11 +04:00
Azgaar
440430e415 fix(religions): don't throw error if religion culture is 0 (happens if culture is removed) 2023-03-21 23:15:17 +04:00
Azgaar
12fad8fd8f feat(religions): editor UX update and cleanup, increase religions number to generate 2023-03-21 22:41:50 +04:00
Azgaar
218887b435 feat(religions editor): debouce center dragging 2023-03-19 15:46:53 +04:00
Azgaar
3ce0481a49 feat(religions editor): enhance UI paddings 2023-03-19 14:39:48 +04:00
Azgaar
13e247ed9c feat(religions editor): sync religion center circle style with culture one 2023-03-19 14:09:38 +04:00
Alexander James
47ef8d938b
Religions live update UX (#915)
* preparatory bugfixes

* restructure religion generator for extensibility

* Add culture-like update functions and UI

* Syntax / Typo

* PR Versioning

* Relig Editor UI: hide on brush, limit -> potential

* add / remove Culture creates / removes Folk religion

* Religions UX: stable abbr, Folk non-selectable type & not separately removed

* Folk religions follow cultures through regeneration; extinct religion centers draw, folk centers are immutable and do not

* style

* regenerate bugs fixing

* when cultures regenerate a different number

* ability to lock culture in a easy-defined set

fixes uncaught error in commit dada419 from PR #910

* what is locked folk?

* New Map ignores old locked things

* No auto-update of religion on culture regeneration

* typo

* Bugfixes

* Refactor toward modern style

* Prepare to lock - Further refactor

* Complete locked religions functionality

* Prepare for live updates

* Editors fixing + re-versioning

* Fix merge snafu

* Bugs, toungue-twisting

* indexing bugfix

* Manual Add prefers to create missing Folk

* Locked origin regen; deterministic expansion

* version update; fix add wild folk

---------

Co-authored-by: A C James <james.ander31@gmail.com>
Co-authored-by: Azgaar <maxganiev@yandex.ru>
2023-03-19 02:57:59 -07:00
Azgaar
efb5ad8091 chore: supported update 2023-03-17 12:31:27 +04:00
Azgaar
863ee259e3 style: add Pale style 2023-03-08 23:31:51 +04:00
Azgaar
e701b7d2c4 feat: set optimizeSpeed as a default option 2023-03-08 21:08:52 +04:00
Azgaar
e0ea578032 style(cultures editor): move regenerate burg names button closer to namesbase 2023-03-05 14:54:23 +04:00
Azgaar
f018256f7a fix(#906): ice to follow expected size, reduce ice elements in general 2023-02-25 16:01:22 +04:00
Azgaar
89d61fda5f chore: change meta description 2023-02-25 13:36:44 +04:00
Azgaar
d40cab2e28 fix: clean cultures on regeneration, v1.89.07 2023-02-19 18:11:07 +04:00
Azgaar
acbe839ee7 Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator 2023-02-19 14:05:38 +04:00
Azgaar
8288335514 fix: erase data before regeneration on heightmap erase mode to avoid lock state, v1.89.06 2023-02-19 14:05:36 +04:00
Azgaar
994c240183
doc: update readme 2023-02-09 13:12:37 -08:00
Azgaar
eb5d924cbd fix: state expansion to reset on re-generation 2023-02-05 00:49:05 +04:00
Azgaar
7d500b1598 feat: routes - increase space between contol points 2023-01-23 00:17:00 +04:00
Azgaar
16e0aef2fb fix: notes editor shows up halfway off the screen 2023-01-23 00:11:20 +04:00
Azgaar
dd56c7e433 doc: improve readme 2023-01-22 23:39:24 +04:00
Azgaar
660316e4bf fix: culture data change must not ignore lock status 2023-01-22 22:37:18 +04:00
Azgaar
8a1122e668 fix: remove label path of regeneration 2023-01-22 14:18:59 +04:00
Azgaar
e6142473a4 Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator 2023-01-13 01:53:26 +04:00
Azgaar
9064ffb388 fix: define religions array even if religions count is 0, v1.89.01 2023-01-13 01:53:23 +04:00
Ethan S
763d45aa6d
Correct name and shortname in web manifest (#912) 2023-01-09 01:03:23 -08:00
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
Azgaar
4ab0311d01 fix: hierarchy-tree - make sure nodes have parents not removed 2023-01-02 16:21:13 +03:00
Azgaar
3883933385 fix(#905): make sure burg0 is not getting locked [v.1.88.05] 2022-12-15 15:43:40 +03:00
Azgaar
ce07c20fff feat(#891): edit diplomatic relations in bulk 2022-12-11 01:37:30 +03:00
Azgaar
f20029eac5 feat(#901): ability to lock seed in templates editor 2022-12-10 19:55:23 +03:00
Azgaar
425325888e fix: regenerate grid if seed is manually changed (1.88.02) 2022-12-10 19:29:37 +03:00
Azgaar
0b1a2048a7 fix: add integrity check if burg is linked to removed state (1.88.01) 2022-12-04 14:51:27 +03:00
Azgaar
4a96c24cf3 feat: heightmap brushes - linear edit option (1.88.00) 2022-10-31 00:24:54 +03:00
Azgaar
d3ea2df1a2 feat: optimizeSpeed rendering (1.87.15) 2022-10-13 00:52:49 +03:00
Azgaar
7945390b2c feat: pump version to 1.87.14, new cultures correction 2022-10-10 22:48:52 +03:00
Ángel Montero Lamas
5f99c94523
Suggesting Levantine as a new default namebase (#878)
* Suggesting Levantine as a new default namebase

Levantine namebase has 203 names of Phoenician, punic, hebrew and aramean origin. Names of places in real live.
the excerpt is:  {name: "Levantine", i: 42, min: 4, max: 12, d: "krs-pn", m: 0, b: "namebase"}

This will allow to better represent some cultures.
- Carthaginian culture should have levantine namebase instead of berber.
Or maybe make two carthaginian, one with levantine and one with berber. Another option is to add Numidian culture with berber base.
_ In the namebase there are included some names for carthage. Keret Chadeshet and Kart-Hadasht are names for Carthage.
- This will allow phoenician and punic culture in an antique set.
- This will allow hebrew, and other levantine. (Urushalim is a name for Jerusalem).

There are questions with the number: i: 42, and what happens with old maps that have custom languages added in that spot.

* updated levantine namebase

Deleted the '-'. Reordered repeated letters.

* Added levantine cultures

Added Hebrew culture into: European set and all-world set.

Changed namebase of Carthaginian in Antique set from Berber (17) to Levantine (42) as per the conversation on discord thread FMG suggestions > Punic culture set.
This leaves the antique set with no native speaker of berber. If you want to have a culture that represent north-african people and berber different than carthage, we can add one.

Included Phoenician as a distinct culture with similar culture center formula than carthage "sort: i => n(i) / td(i, 20) / sf(i)" but with td(i, 20) because is the temperature of beirut and gives a difference with carthaginian.

Hebrew is included with " n(i) / td(i, 18) * sf(i) " because hebrew are pastoralists, and to differentiate the culture center from the phoenician that are near sea harbor.
2022-10-10 12:38:33 -07:00
Ángel Montero Lamas
bfe3e6a82f
Revised length of namebases list. closer to 200 (#873)
* Revised length of namebases list. closer to 200

The namesbases with more than 200 items are reduced. The namesbases with less than 200 items have some added for better names.
* "German", i: 0, from 265 to 221
* "English", i: 1, from 237 to 220
* "French", i: 2, from 276 to 227
* "Italian", i: 3, from 321 to 226
* "Castillian", i: 4, from 365 to 217
* "Ruthenian", i: 5, from 258 to 200
* "Nordic", i: 6, from 249 to 201
* "Greek", i: 7, from 362 to 228
* "Roman", i: 8, from 187 to 200 🔼
* "Finnic", i: 9, from 279 to 225
* "Korean", i: 10, from 353 to 202
* "Chinese", i: 11, from 260 to 220
* "Japanese", i: 12, from 249 to 222
* "Portuguese", i: 13, from 334 to 207
* "Nahuatl", i: 14, from 88 to 200 🔼
* "Hungarian", i: 15, from 240 to 221
* "Turkish", i: 16, from 259 to 200
* "Berber", i: 17, from 146 to 200 🔼
* "Arabic", i: 18, from 318 to 222
* "Inuit", i: 19, from 295 to 227
* "Basque", i: 20, from 254 to 200
* "Nigerian", i: 21, from 362 to 209
* "Celtic", i: 22, from 162 to 200 🔼
* "Mesopotamian", i: 23, from 91 to 189 🔼
* "Iranian", i: 24, from 222 to 222
* "Hawaiian", i: 25, from 323 to 207
* "Karnataka", i: 26, from 227 to 227
* "Quechua", i: 27, from 164 to 200 🔼
* "Swahili", i: 28, from 222 to 205
* "Vietnamese", i: 29, from 121 to 200 🔼
* "Cantonese", i: 30, from 246 to 216
* "Mongolian", i: 31, from 181 to 200

Fantasy ones:
* "Human Generic", i: 32, from 330 to 214
* "Elven", i: 33, from 338 to 216
* "Dark Elven", i: 34, from 200 to 200
* "Dwarven", i: 35, from 184 to 184
* "Goblin", i: 36, from 109 to 109
* "Orc", i: 37, from 300 to 200
* "Giant", i: 38, from 200 to 200
* "Draconic", i: 39, from 216 to 211
* "Arachnid", i: 40, from 300 to 215
* "Serpents", i: 41, from 200 to 200

* Update names-generator.js

I put the default list of names for:
German, English, French, Ruthenian and Nordic.
2022-09-28 01:15:56 -07:00
Azgaar
1e4fba3615 fix: religions reference 2022-09-25 22:33:14 +03:00
Azgaar
c9400db3b1 refactor: markers to use helper function, version pump to 1.87.12 2022-09-25 14:34:40 +03:00
carnotcrash
4a079acf56
Markers full stops + some lil changes. (#875)
Grammar policing. Also slight modifications to sofronaspe's sacred tree places (idk what they are called collectively lol) to be slightly more grammatically correct, extending it to sacred peaks, Hot Spring variants, and maybe some other stuff I've forgotten. I have some more ideas for markers as I personally find them super interesting and great for adding depth to a world, just need to gather my thoughts and maybe actully learn how to code.
2022-09-25 04:30:49 -07:00
Peter Sofronas
0653e66971
Marker Generator Changes (#872)
* Added status to Volcano marker legend.

* Modified SacredForest spawn rate and legend

* Modified SacredPinery marker spawn and legend.

* Modified SacredPalmGrove marker spawn and legend.

* Added Cave marker spawn and legend logic.

* addCaves legend logic update and JS code updates.
2022-09-21 14:33:36 -07:00
Azgaar
75ae52e953 fix: 3d view - don't allow download obj for globe 2022-09-17 14:58:00 +03:00
Azgaar
60758a1532 fix: remove scroll from the export dialog 2022-09-17 14:47:17 +03:00
Azgaar
3ad8ec6285 chore: pump version to 1.87.10 2022-09-17 14:38:49 +03:00
Azgaar
2bbff50b60 fix: image conversion UI, restrict namebase chars 2022-09-17 14:36:32 +03:00
Azgaar
931c5d3af8
Merge pull request #867 from frogdesk/master
Adding a dark background for dark mode users
2022-09-05 22:31:14 +03:00