Commit graph

1036 commits

Author SHA1 Message Date
Azgaar
2406c29b41 hotkeys to use key instead of a code 2022-11-27 12:23:53 -05:00
Azgaar
60757eed2d don't consider localhost as PRODUCTION 2022-11-27 12:23:09 -05:00
Azgaar
53133b9d8c move markers into a separate module 2022-11-27 12:22:15 -05:00
Azgaar
efb545c6c5 Fonts refactoring and Add Font dialog (#660)
* fonts rework - start

* fonts rework - continue

* fonts rework - fetch google font

* fonts rework - issue fixes

* fonts rework - add fonts to downloaded image

* fonts rework - add methods dialog

* fonts rework - add methods description

* fonts update - move version to 1.661

* fonts - remove unused file
2022-11-27 12:21:26 -05:00
Azgaar
a5f4939875 menu style - grid layout 2022-11-27 12:21:05 -05:00
Azgaar
f8ee3fbc88 fix fonts load error and reword save dialog text 2022-11-27 12:20:49 -05:00
Gergely Mészáros, Ph.D
948a7ed3a1 Cloud support / Dropbox OAuth reference client (#659)
* bioms shouldn't be masked or the style selection box is useless
* fix: misleading comment
* Fix: calculating absolute flux from precipitation normal-value.
* Fix: River automatic rerender on regeneration.
* Dropbox OAuth implementation and Cloud framework
* add some space
* removing unnecessary logs, defer script load

Created by: Mészáros Gergely <monk@geotronic.hu>
2022-11-27 12:20:32 -05:00
Azgaar
e55588f313 load dropins from local folder 2022-11-27 12:18:39 -05:00
Azgaar
77a6fff8e3 refactor version conflict detection 2022-11-27 12:17:30 -05:00
Azgaar
68fade20c3 dropbox - import changes from alpha 2022-11-27 12:17:30 -05:00
Azgaar
1d1f8e2d1c calculate consumption on category level 2022-11-27 12:13:52 -05:00
Azgaar
f81c001345 salesTax to depend on state form 2022-11-27 12:13:37 -05:00
Azgaar
2e66fd444a generate state salesTax 2022-11-27 12:13:19 -05:00
Azgaar
838ef27359 goods export system 2022-11-27 12:12:57 -05:00
Azgaar
0c0944863c prepare from trade generation 2022-11-27 12:12:33 -05:00
Azgaar
d1525f7255 partially refactor BurgAndStates 2022-11-27 12:12:18 -05:00
Azgaar
34bf6ffd1e resource units 2022-11-27 12:11:56 -05:00
Azgaar
1ee1a38e87 show production in burgs editor 2022-11-27 12:11:26 -05:00
Azgaar
3b8b569aa5 culture type bonuses for production 2022-11-27 12:10:55 -05:00
Azgaar
038c963740 resources IIFE module 2022-11-27 12:06:31 -05:00
Azgaar
bef3affa61 fix merge conflicts 2022-11-27 12:06:17 -05:00
Azgaar
337a62183f style setting for resources 2022-11-27 12:05:08 -05:00
Azgaar
2df06c1b7e burgs placement change + resource style 2022-11-27 12:04:58 -05:00
Azgaar
9722470a3d resource icon upload + save/load 2022-11-27 12:03:06 -05:00
Azgaar
db6e17a5de burgs overview - icon upload basic 2022-11-27 12:02:52 -05:00
Azgaar
81b184de01 burgs overview - shift icon 2022-11-27 12:02:33 -05:00
Azgaar
e507fc66df Resource editor - ability to add bonus if no bonuses 2022-11-27 12:02:16 -05:00
Azgaar
5f3cc44ddc add resource 2022-11-27 11:43:49 -05:00
Azgaar
276364cddc generic confirmationDialog for all files 2022-11-27 11:43:49 -05:00
Azgaar
f27547129a generic confirmationDialog 2022-11-27 11:42:37 -05:00
Azgaar
c6fa7438f4 Resources editor - assign cells 2022-11-27 11:42:05 -05:00
Azgaar
8ce1ab82df resource bonus UI 2022-11-27 11:41:21 -05:00
Azgaar
2412c22d8f resource bonus UI 2022-11-27 11:41:21 -05:00
Azgaar
73123bae68 resource bonus UI basic 2022-11-27 11:40:57 -05:00
Azgaar
ffe6483cbe custom spread models 2022-11-27 11:40:33 -05:00
Azgaar
c2ad4922b7 custom spread models 2022-11-27 11:40:20 -05:00
Azgaar
ea89e5f516 better model names 2022-11-27 11:39:59 -05:00
Azgaar
65d48da566 regenerate resources 2022-11-27 11:39:46 -05:00
Azgaar
1c500479a5 color picker behavior update 2022-11-27 11:39:18 -05:00
Azgaar
000d9ca2a2 color picker behavior update 2022-11-27 11:38:52 -05:00
Azgaar
295344b56d basic resource editor screen - icons 2022-11-27 11:38:26 -05:00
Azgaar
e715e27259 basic resource editor screen 2022-11-27 11:38:17 -05:00
Azgaar
932785cc31 resources ("goods") layers 2022-11-27 11:37:51 -05:00
Azgaar
57848dace3 new resources 2022-11-27 11:30:58 -05:00
Peter
51542ac7be Import resource-editor correctly 2022-11-25 13:41:52 -05:00
Peter
7270c8c833 Merge economics with current 2022-11-23 22:08:41 -05: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