Commit graph

720 commits

Author SHA1 Message Date
Ángel Montero Lamas
a245cf7045 Hatches ordered
Reworked the code to put back rows of 14 hatches. Reordered the first 14 hatches to defaault.
Made 3 rows, so 42 hatches.
2022-01-19 14:20:47 +01:00
Ángel Montero Lamas
847251df58 Color picker hatches 14-60
Added hatches to number 14 to 60.
Updated the code of the color picker to accept multiples rows of hatches.

Changed the size of fillRectPointer from 0.9 em to 1.5 em.

Added an Update code to upgrade maps to 1.72 to have a grid of 60 svg hatches. Without the update, loaded files appeared with the rectangles for hatches 14-60 empty.
2022-01-14 19:56:07 +01:00
Azgaar
6981d0f710 Supporters update 2022-01-10 19:30:51 +03:00
Azgaar
2db5e35feb fix syntax 2022-01-10 16:54:26 +03:00
Ángel Montero Lamas
7a594241c1
religions-generator.js (#724)
Sorted the lists, arrays and weighted arrays of items in alphabetical order. Some remain in the order assigned by weighted random.
I think this helps people spot missing items on the list if they check by name.
The number of items is the same, they just got reordered.
2022-01-10 16:13:29 +03:00
Azgaar
a55e8d96ff lock burg - values is boolean, not 1/0 2022-01-01 19:09:50 +03:00
Azgaar
18acadfd80 lock all burgs - optimization 2022-01-01 19:06:51 +03:00
Ángel Montero Lamas
f3d3538ff5
Added lock/unlock all (#713)
* Added lock/unlock all

Lock All , Unlock All as separate buttons. Additionally to InvertLock.

* Update burgs-overview.js

Updated the syntax to the one suggested by Azgaar.

* Lock/unlock in one button

Unlock all burgs and lock all burgs in just one button.
Additionally to invert lock.

* lock unlock in burgs-overview.js

Added a way to check if burgs are locked or unlocked with the lock all button, so it works in any situations about locking.

* burgs-overview.js lock all

Changed burgsonoff to setLockBurgs, also put setLockIcon.

* index.html burgsonoff to burgsLockAll

* Update burgs-overview.js

spacing
2022-01-01 18:56:22 +03:00
Azgaar
44c134ebd0 diplomacy - change relations from matrix 2021-12-31 19:57:39 +03:00
Ángel Montero Lamas
ec054a1333
Adding some state and province forms to FMG (#714)
* Update burgs-and-states.js

* Update burgs-and-states.js

* Adding state and province form to the list

* typo in index.html

* deleted some suggested forms

Deleted some forms of state and province. Some are still suggested to add.

* Updated burgs-and-states.js

Worked eparchy, exarchate, patriarchate, captaincy and seneschalty.

* index.html alphabetical order state forms

alphabetical order for Patriarchate in theocracy group
2021-12-31 19:06:39 +03:00
Azgaar
3ee430543a diplomacy - short name if full is too long 2021-12-31 19:05:53 +03:00
Azgaar
f22e0aa81f diplomacy - ux changes 2021-12-31 18:50:00 +03:00
Azgaar
865afdc2aa diplomacy - change relations screen 2021-12-31 18:21:37 +03:00
Azgaar
05217d176d scale previpitation layer circles 2021-12-30 19:24:48 +03:00
Azgaar
604dcfacf6 normalize prec, flux and river width 2021-12-30 18:49:36 +03:00
Azgaar
f08b77bd6a add details to rivers json export 2021-12-29 23:23:27 +03:00
Azgaar
8efce5dcd9 supporters update 2021-12-29 22:15:04 +03:00
Azgaar
c20bcc1502 ensure marker id is unique 2021-12-29 22:11:45 +03:00
Azgaar
6ad2f34639 configMarkers - edit icons relative parent 2021-12-23 14:23:31 +03:00
Azgaar
f57f004f9e set MFCG iframe to preview mode 2021-12-16 00:51:12 +03:00
Azgaar
058cd568f2 Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator 2021-12-12 22:49:21 +03:00
Azgaar
33bf3b8978 supporters update 2021-12-12 22:49:17 +03:00
Evolvedexperiment
c108da7cdc Changed text on burg group delete 2021-12-03 16:50:11 +00:00
Azgaar
e48d1d3031 supporters update 2021-12-02 19:20:53 +03:00
Azgaar
380575be5f fix markers update issue on load 2021-11-30 22:15:33 +03:00
Azgaar
19a8db4a17 disallow adding custom labels to state group 2021-11-30 21:47:22 +03:00
Azgaar
6d5c109d78 fix: cannot create undefined style 2021-11-27 19:38:27 +03:00
Azgaar
7bcac7a7d1 17 new charges 2021-11-25 23:13:58 +03:00
Azgaar
64af55e5ed fix Basque base 2021-11-22 10:09:15 +03:00
Azgaar
a75ef6d05b check if element is there 2021-11-21 12:48:08 +03:00
Azgaar
6f5afa4ea6 biome editor - fix wiki links 2021-11-15 10:58:31 +03:00
Azgaar
e65370d9c4 burgs overview - intert lock state 2021-11-12 23:00:21 +03:00
Azgaar
9325d54386 markers - fix for adding markers to empty array 2021-11-11 12:33:52 +03:00
Azgaar
00dcf8b80d military - fix rural fleet 2021-11-10 23:57:27 +03:00
Azgaar
4c95d44faa province capture logic fix - don't create provinces on neutral lands 2021-11-10 23:24:21 +03:00
Azgaar
762ec2c841 refactor getCoordinates functions 2021-11-10 20:57:28 +03:00
Azgaar
165d8e48be add mfcg link to burg overrview csv export 2021-11-10 20:41:23 +03:00
Azgaar
4935d506b6 state labels mode 2021-11-07 20:55:13 +03:00
Azgaar
6de70f5897 buttons to release all provinces and regenerate culture name 2021-11-07 18:57:52 +03:00
Azgaar
567cf3676a supporters update 2021-11-07 00:22:03 +03:00
Azgaar
034c96b495 state expansion province change rework - change color 2021-11-06 18:24:53 +03:00
Azgaar
2c05db2d15 state expansion province change rework 2021-11-06 16:33:58 +03:00
Azgaar
043f71c174 fix scaleBar on svg export 2021-10-23 15:19:34 +03:00
Azgaar
120bf4a7eb split utils 2021-10-17 22:43:35 +03:00
Azgaar
8c558e6b34 load - fix urbanDensity 2021-10-17 20:29:33 +03:00
Azgaar
b0e788b575 markers-overview - ability to invert lock and pinned statuses 2021-10-17 14:03:59 +03:00
Azgaar
6ac9adb9c5 Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator 2021-10-17 13:02:59 +03:00
Azgaar
e13796bd72 don't show bubble chart if no data 2021-10-17 12:21:42 +03:00
Azgaar
cc82d258fa urbanDensity - save/load 2021-10-17 12:01:38 +03:00
dranorter
3f58b9f362
Watabou cities integration change, new Urban Density setting (#672)
* Watabou cities integration change, new Urban Density setting

New setting does not yet save/load - I don't want to change the .map file format.

* new markers - monsters

* markers - fix bridges placement

* markers - fix number

* markers - sacred places

* markers - refactor functions

* markers - course generator for inns

* markers - course generator enhancement

* markers - bandits and pirates

* reset PRNG - make points generation deterministic

* use imperial measures for US only

* split save and export to different files

* remove unused js libs

* markers - statues

* markers - magic portals

* markers - magic portals fix

* markers - palm grove fix

* markers - round coords on zoom

* markers data rework - master data object

* markers rework - optional pin shapes

* markers rework - editor start, dragging

* markers rework - editor functions

* markers rework - editor UI

* editable theme color

* added self-hosted analytics

* collect statistics for a short period

* umami - we do'nt need html class events

* umami - don't collect if noTrack is set

* markers - add on click

* saveTiles clean up listeners on close

* markers - generate from config file

* config generate markers dialog

* config generate markers dialog fixes

* markers overview

* markers - export as geoJSON

* markers overview - export data to csv

* markers - auto-update on load

* markers overview - focus on marker

* burg editor - MFCG preview

* markers - generate tool + lock tooltip

* Watabou cities integration change, new Urban Density setting

New setting does not yet save/load - I don't want to change the .map file format.

* Trying to put the formula in the right place

Again, sorry for the mess

* whoops

* Getting the equation right

* Change default

Co-authored-by: Azgaar <maxganiev@yandex.ru>
2021-10-17 11:48:56 +03:00