mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-22 17:56:39 +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
75 lines
1.3 KiB
JSON
75 lines
1.3 KiB
JSON
{
|
|
"map": {
|
|
"height": 1272,
|
|
"num_land_tiles": 780495,
|
|
"width": 1360
|
|
},
|
|
"map16x": {
|
|
"height": 318,
|
|
"num_land_tiles": 47192,
|
|
"width": 340
|
|
},
|
|
"map4x": {
|
|
"height": 636,
|
|
"num_land_tiles": 192915,
|
|
"width": 680
|
|
},
|
|
"name": "Italia",
|
|
"nations": [
|
|
{
|
|
"coordinates": [1038, 993],
|
|
"name": "Kingdom of the Two Sicilies"
|
|
},
|
|
{
|
|
"coordinates": [370, 1137],
|
|
"flag": "tn",
|
|
"name": "Beylik of Tunis"
|
|
},
|
|
{
|
|
"coordinates": [785, 578],
|
|
"flag": "va",
|
|
"name": "Papal States"
|
|
},
|
|
{
|
|
"coordinates": [625, 534],
|
|
"name": "Tuscany"
|
|
},
|
|
{
|
|
"coordinates": [595, 190],
|
|
"flag": "venice",
|
|
"name": "Venice"
|
|
},
|
|
{
|
|
"coordinates": [469, 386],
|
|
"name": "Modena"
|
|
},
|
|
{
|
|
"coordinates": [391, 254],
|
|
"name": "Parma"
|
|
},
|
|
{
|
|
"coordinates": [361, 68],
|
|
"flag": "ch",
|
|
"name": "Switzerland"
|
|
},
|
|
{
|
|
"coordinates": [278, 774],
|
|
"name": "Kingdom of Sardinia"
|
|
},
|
|
{
|
|
"coordinates": [29, 266],
|
|
"flag": "fr",
|
|
"name": "France"
|
|
},
|
|
{
|
|
"coordinates": [747, 39],
|
|
"flag": "Habsburg Austria",
|
|
"name": "Austrian Empire"
|
|
},
|
|
{
|
|
"coordinates": [1238, 349],
|
|
"name": "Ottoman Empire"
|
|
}
|
|
]
|
|
}
|