Files
OpenFrontIO/resources/maps/fourislands/manifest.json
FloPinguin 339ace0bd6 v30 nuke wars preparation: Disable boats & Team spawn zones (#3263)
## Description:

Preparation for nuke wars, for v30.
Next PR will be adding the nuke wars modifier for public games, but
Wonders https://github.com/openfrontio/OpenFrontIO/pull/3224 needs to be
merged first to avoid merge conflicts.

### 1. Disable boats setting

It's possible to disable `UnitType.TransportShip` now. Because they are
not needed in nuke wars and can even be annoying.

<img width="720" height="320" alt="image"
src="https://github.com/user-attachments/assets/661bc10d-b204-4b4f-b876-ee7c9b92de8c"
/>

### 2. Team spawn zones for random spawn

Maps can have `teamGameSpawnAreas` in their json file now.
Spawn areas are currently active if 
- a supported map is chosen (Baikal Nuke Wars or Four Islands)
- a supported team size is chosen (2 teams on Baikal Nuke Wars or 2/4
teams on Four Islands)
- random spawn is enabled

## 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:

FloPinguin
2026-02-23 16:12:24 -06:00

83 lines
1.3 KiB
JSON

{
"map": {
"height": 1500,
"num_land_tiles": 517044,
"width": 1500
},
"map16x": {
"height": 375,
"num_land_tiles": 31134,
"width": 375
},
"map4x": {
"height": 750,
"num_land_tiles": 127644,
"width": 750
},
"name": "Four Islands",
"nations": [
{
"coordinates": [403, 1296],
"flag": "",
"name": "Korinthal"
},
{
"coordinates": [1152, 1251],
"flag": "",
"name": "Lunareth"
},
{
"coordinates": [1328, 322],
"flag": "",
"name": "Sylvoria"
},
{
"coordinates": [114, 121],
"flag": "",
"name": "Myrkwind"
}
],
"teamGameSpawnAreas": {
"2": [
{
"height": 1500,
"width": 750,
"x": 0,
"y": 0
},
{
"height": 1500,
"width": 750,
"x": 750,
"y": 0
}
],
"4": [
{
"height": 750,
"width": 750,
"x": 0,
"y": 0
},
{
"height": 750,
"width": 750,
"x": 750,
"y": 0
},
{
"height": 750,
"width": 750,
"x": 0,
"y": 750
},
{
"height": 750,
"width": 750,
"x": 750,
"y": 750
}
]
}
}