fix number of land tiles fixes #1409 (#1445)

## Description:

There was a bug in the map generator where shore tiles were counted
twice.

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

evan
This commit is contained in:
evanpelle
2025-07-15 11:38:53 -07:00
committed by GitHub
parent 729cc6a500
commit 6efc37e97d
26 changed files with 52 additions and 52 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 2032,
"num_land_tiles": 2266710,
"num_land_tiles": 2184135,
"width": 1950
},
"mini_map": {
"height": 1016,
"num_land_tiles": 559837,
"num_land_tiles": 538153,
"width": 975
},
"name": "Africa",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 1200,
"num_land_tiles": 1124099,
"num_land_tiles": 1079855,
"width": 2000
},
"mini_map": {
"height": 600,
"num_land_tiles": 277784,
"num_land_tiles": 266262,
"width": 1000
},
"name": "Asia",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 1500,
"num_land_tiles": 1338638,
"num_land_tiles": 1319763,
"width": 2000
},
"mini_map": {
"height": 750,
"num_land_tiles": 333175,
"num_land_tiles": 328215,
"width": 1000
},
"name": "Australia",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 1564,
"num_land_tiles": 2234157,
"num_land_tiles": 2181746,
"width": 2500
},
"mini_map": {
"height": 782,
"num_land_tiles": 554725,
"num_land_tiles": 540863,
"width": 1250
},
"name": "Baikal",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 1062,
"num_land_tiles": 1541211,
"num_land_tiles": 1483208,
"width": 1778
},
"mini_map": {
"height": 531,
"num_land_tiles": 380567,
"num_land_tiles": 365411,
"width": 889
},
"name": "BetweenTwoSeas",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 1100,
"num_land_tiles": 1201650,
"num_land_tiles": 1153632,
"width": 1500
},
"mini_map": {
"height": 550,
"num_land_tiles": 296740,
"num_land_tiles": 284219,
"width": 750
},
"name": "BlackSea",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 1396,
"num_land_tiles": 980143,
"num_land_tiles": 938800,
"width": 2000
},
"mini_map": {
"height": 698,
"num_land_tiles": 241934,
"num_land_tiles": 231151,
"width": 1000
},
"name": "Britannia",
@@ -1,12 +1,12 @@
{
"map": {
"height": 1840,
"num_land_tiles": 1171253,
"num_land_tiles": 1079790,
"width": 2300
},
"mini_map": {
"height": 920,
"num_land_tiles": 287132,
"num_land_tiles": 262417,
"width": 1150
},
"name": "Deglaciated Antarctica",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 1646,
"num_land_tiles": 928056,
"num_land_tiles": 879264,
"width": 1562
},
"mini_map": {
"height": 823,
"num_land_tiles": 228603,
"num_land_tiles": 215238,
"width": 781
},
"name": "East Asia",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 1674,
"num_land_tiles": 2501136,
"num_land_tiles": 2318609,
"width": 2350
},
"mini_map": {
"height": 837,
"num_land_tiles": 610071,
"num_land_tiles": 563296,
"width": 1175
},
"name": "Europe",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 1000,
"num_land_tiles": 1046542,
"num_land_tiles": 1008469,
"width": 2000
},
"mini_map": {
"height": 500,
"num_land_tiles": 258385,
"num_land_tiles": 248793,
"width": 1000
},
"name": "Europe",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 1400,
"num_land_tiles": 929295,
"num_land_tiles": 859274,
"width": 2100
},
"mini_map": {
"height": 700,
"num_land_tiles": 226784,
"num_land_tiles": 208351,
"width": 1050
},
"name": "Falkland Islands",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 2000,
"num_land_tiles": 458869,
"num_land_tiles": 424994,
"width": 1600
},
"mini_map": {
"height": 1000,
"num_land_tiles": 111960,
"num_land_tiles": 103147,
"width": 800
},
"name": "Faroe Islands",
@@ -1,12 +1,12 @@
{
"map": {
"height": 1968,
"num_land_tiles": 2291474,
"num_land_tiles": 2239818,
"width": 2216
},
"mini_map": {
"height": 984,
"num_land_tiles": 568298,
"num_land_tiles": 555003,
"width": 1108
},
"name": "GatewayToTheAtlantic",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 1948,
"num_land_tiles": 2544294,
"num_land_tiles": 2333974,
"width": 4110
},
"mini_map": {
"height": 974,
"num_land_tiles": 618860,
"num_land_tiles": 564737,
"width": 2055
},
"name": "Giant_World_Map",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 1760,
"num_land_tiles": 1777270,
"num_land_tiles": 1729369,
"width": 2200
},
"mini_map": {
"height": 880,
"num_land_tiles": 441119,
"num_land_tiles": 428074,
"width": 1100
},
"name": "Halkidiki",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 1500,
"num_land_tiles": 1123359,
"num_land_tiles": 1098655,
"width": 2000
},
"mini_map": {
"height": 750,
"num_land_tiles": 279119,
"num_land_tiles": 272699,
"width": 1000
},
"name": "Iceland",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 1272,
"num_land_tiles": 806817,
"num_land_tiles": 780495,
"width": 1360
},
"mini_map": {
"height": 636,
"num_land_tiles": 199974,
"num_land_tiles": 192915,
"width": 680
},
"name": "Italia",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 1000,
"num_land_tiles": 1384168,
"num_land_tiles": 1354047,
"width": 2000
},
"mini_map": {
"height": 500,
"num_land_tiles": 343861,
"num_land_tiles": 335950,
"width": 1000
},
"name": "Mars",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 964,
"num_land_tiles": 1672209,
"num_land_tiles": 1621317,
"width": 2200
},
"mini_map": {
"height": 482,
"num_land_tiles": 413783,
"num_land_tiles": 400552,
"width": 1100
},
"name": "MENA",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 1448,
"num_land_tiles": 1412703,
"num_land_tiles": 1243623,
"width": 2800
},
"mini_map": {
"height": 724,
"num_land_tiles": 339357,
"num_land_tiles": 295689,
"width": 1400
},
"name": "NorthAmerica",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 1000,
"num_land_tiles": 216012,
"num_land_tiles": 194648,
"width": 2000
},
"mini_map": {
"height": 500,
"num_land_tiles": 52422,
"num_land_tiles": 46767,
"width": 1000
},
"name": "Oceania",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 1000,
"num_land_tiles": 450234,
"num_land_tiles": 420336,
"width": 1000
},
"mini_map": {
"height": 500,
"num_land_tiles": 110270,
"num_land_tiles": 102357,
"width": 500
},
"name": "Pangaea",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 2378,
"num_land_tiles": 1513764,
"num_land_tiles": 1411064,
"width": 1746
},
"mini_map": {
"height": 1189,
"num_land_tiles": 369899,
"num_land_tiles": 342861,
"width": 873
},
"name": "Americas",
@@ -1,12 +1,12 @@
{
"map": {
"height": 1476,
"num_land_tiles": 2015157,
"num_land_tiles": 1998085,
"width": 2902
},
"mini_map": {
"height": 738,
"num_land_tiles": 502404,
"num_land_tiles": 498123,
"width": 1451
},
"name": "Strait of Gibraltar",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"map": {
"height": 1000,
"num_land_tiles": 702094,
"num_land_tiles": 651609,
"width": 2000
},
"mini_map": {
"height": 500,
"num_land_tiles": 171447,
"num_land_tiles": 158550,
"width": 1000
},
"name": "World",