mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-22 23:44:02 +00:00
0cc58a8f5a
Resolves #3041 ## Description: - Add a test to ensure an error is thrown when manifest.json specifies a non-existent flag. - Fix the underlying issue by removing the invalid flag specification (see error below). ``` resources/maps/straitofgibraltar/manifest.json -> nations[0].flag "Rif" does not exist in resources/flags resources/maps/straitofgibraltar/manifest.json -> nations[5].flag "Shilha" does not exist in resources/flags resources/maps/straitofgibraltar/manifest.json -> nations[6].flag "Andalusia" does not exist in resources/flags resources/maps/italia/manifest.json -> nations[0].flag "custom:Kingdom of the Two Sicilies" does not exist in resources/flags resources/maps/italia/manifest.json -> nations[3].flag "custom:Tuscany" does not exist in resources/flags resources/maps/italia/manifest.json -> nations[5].flag "custom:Modena" does not exist in resources/flags resources/maps/italia/manifest.json -> nations[6].flag "custom:Parma" does not exist in resources/flags resources/maps/italia/manifest.json -> nations[8].flag "custom:Kingdom of Sardinia" does not exist in resources/flags resources/maps/italia/manifest.json -> nations[11].flag "custom:Ottoman Empire2" does not exist in resources/flags resources/maps/britannia/manifest.json -> nations[19].flag "gb-nir" does not exist in resources/flags resources/maps/montreal/manifest.json -> nations[0].flag "quebec" does not exist in resources/flags resources/maps/montreal/manifest.json -> nations[1].flag "quebec" does not exist in resources/flags resources/maps/montreal/manifest.json -> nations[2].flag "quebec" does not exist in resources/flags resources/maps/montreal/manifest.json -> nations[4].flag "quebec" does not exist in resources/flags resources/maps/montreal/manifest.json -> nations[5].flag "quebec" does not exist in resources/flags resources/maps/montreal/manifest.json -> nations[6].flag "quebec" does not exist in resources/flags resources/maps/montreal/manifest.json -> nations[7].flag "quebec" does not exist in resources/flags resources/maps/montreal/manifest.json -> nations[8].flag "quebec" does not exist in resources/flags resources/maps/montreal/manifest.json -> nations[9].flag "quebec" does not exist in resources/flags resources/maps/montreal/manifest.json -> nations[10].flag "quebec" does not exist in resources/flags resources/maps/montreal/manifest.json -> nations[11].flag "quebec" does not exist in resources/flags ``` ## 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 ## Please put your Discord username so you can be contacted if a bug or regression is found: aotumuri
120 lines
2.2 KiB
JSON
120 lines
2.2 KiB
JSON
{
|
|
"map": {
|
|
"height": 2088,
|
|
"num_land_tiles": 1188359,
|
|
"width": 1600
|
|
},
|
|
"map16x": {
|
|
"height": 522,
|
|
"num_land_tiles": 70697,
|
|
"width": 400
|
|
},
|
|
"map4x": {
|
|
"height": 1044,
|
|
"num_land_tiles": 292283,
|
|
"width": 800
|
|
},
|
|
"name": "Britannia",
|
|
"nations": [
|
|
{
|
|
"coordinates": [1539, 1915],
|
|
"flag": "fr",
|
|
"name": "Pas-de-Calais"
|
|
},
|
|
{
|
|
"coordinates": [214, 1242],
|
|
"flag": "ie",
|
|
"name": "Mayo"
|
|
},
|
|
{
|
|
"coordinates": [189, 1605],
|
|
"flag": "ie",
|
|
"name": "Kerry"
|
|
},
|
|
{
|
|
"coordinates": [257, 1458],
|
|
"flag": "ie",
|
|
"name": "Clare"
|
|
},
|
|
{
|
|
"coordinates": [527, 1295],
|
|
"flag": "ie",
|
|
"name": "Meath"
|
|
},
|
|
{
|
|
"coordinates": [703, 431],
|
|
"flag": "gb-sct",
|
|
"name": "Highland"
|
|
},
|
|
{
|
|
"coordinates": [611, 690],
|
|
"flag": "gb-sct",
|
|
"name": "Argyll and Bute"
|
|
},
|
|
{
|
|
"coordinates": [1118, 1202],
|
|
"flag": "gb-eng",
|
|
"name": "North Yorkshire"
|
|
},
|
|
{
|
|
"coordinates": [971, 517],
|
|
"flag": "gb-sct",
|
|
"name": "Aberdeenshire"
|
|
},
|
|
{
|
|
"coordinates": [951, 1088],
|
|
"flag": "gb-eng",
|
|
"name": "Cumbria"
|
|
},
|
|
{
|
|
"coordinates": [846, 1000],
|
|
"flag": "gb-sct",
|
|
"name": "Dumfries and Galloway"
|
|
},
|
|
{
|
|
"coordinates": [856, 672],
|
|
"flag": "gb-sct",
|
|
"name": "Perthshire and Kinross"
|
|
},
|
|
{
|
|
"coordinates": [1271, 1403],
|
|
"flag": "gb-eng",
|
|
"name": "Lincolnshire"
|
|
},
|
|
{
|
|
"coordinates": [867, 1883],
|
|
"flag": "gb-eng",
|
|
"name": "Devon"
|
|
},
|
|
{
|
|
"coordinates": [1051, 946],
|
|
"flag": "gb-eng",
|
|
"name": "Northumberland"
|
|
},
|
|
{
|
|
"coordinates": [1400, 1495],
|
|
"flag": "gb-eng",
|
|
"name": "Norfolk"
|
|
},
|
|
{
|
|
"coordinates": [902, 1569],
|
|
"flag": "gb-wls",
|
|
"name": "Powys"
|
|
},
|
|
{
|
|
"coordinates": [1407, 1584],
|
|
"flag": "gb-eng",
|
|
"name": "Suffolk"
|
|
},
|
|
{
|
|
"coordinates": [1148, 1820],
|
|
"flag": "gb-eng",
|
|
"name": "Hampshire"
|
|
},
|
|
{
|
|
"coordinates": [404, 1146],
|
|
"name": "Fermanagh"
|
|
}
|
|
]
|
|
}
|