Skip to content

Commit 18996fa

Browse files
committed
Add New York City Map.
1 parent ab53ee6 commit 18996fa

File tree

13 files changed

+285
-0
lines changed

13 files changed

+285
-0
lines changed
1.08 MB
Loading
Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
{
2+
"name": "New York City",
3+
"mapInfoState": {
4+
"width": 1500,
5+
"height": 1900,
6+
"originalWidth": 1500,
7+
"originalHeight": 1900,
8+
"cropData": {
9+
"isCropped": false,
10+
"cropX": 0,
11+
"cropY": 0,
12+
"cropWidth": 0,
13+
"cropHeight": 0,
14+
"originalWidth": 0,
15+
"originalHeight": 0
16+
},
17+
"colorMappings": []
18+
},
19+
"nations": [
20+
{
21+
"coordinates": [127, 1323],
22+
"name": "Unami Tribe",
23+
"strength": 2
24+
},
25+
{
26+
"coordinates": [116, 765],
27+
"name": "Unalachtigo",
28+
"strength": 2
29+
},
30+
{
31+
"coordinates": [163, 135],
32+
"name": "Munsee Tribe",
33+
"strength": 2
34+
},
35+
{
36+
"coordinates": [661, 531],
37+
"name": "Mannahatta Village",
38+
"strength": 2
39+
},
40+
{
41+
"coordinates": [558, 760],
42+
"name": "New Netherland Colony",
43+
"strength": 3,
44+
"flag": "nl"
45+
},
46+
{
47+
"coordinates": [756, 833],
48+
"name": "New York Colony",
49+
"strength": 3,
50+
"flag": "gb-eng"
51+
},
52+
{
53+
"coordinates": [240, 1818],
54+
"name": "New Jersey Colony",
55+
"strength": 3,
56+
"flag": "gb-eng"
57+
},
58+
{
59+
"coordinates": [1065, 1085],
60+
"name": "Long Island Territory",
61+
"strength": 2,
62+
"flag": "gb-eng"
63+
},
64+
{
65+
"coordinates": [1454, 989],
66+
"name": "Montaukett Nation",
67+
"strength": 1
68+
},
69+
{
70+
"coordinates": [1367, 762],
71+
"name": "Unkechaug Nation",
72+
"strength": 1
73+
},
74+
{
75+
"coordinates": [1109, 824],
76+
"name": "Shinnecock Nation",
77+
"strength": 1
78+
},
79+
{
80+
"coordinates": [969, 269],
81+
"name": "Weckquaesgeek",
82+
"strength": 2
83+
},
84+
{
85+
"coordinates": [746, 1172],
86+
"name": "Siwanoy",
87+
"strength": 2
88+
},
89+
{
90+
"coordinates": [927, 86],
91+
"name": "Colen Donck",
92+
"strength": 3,
93+
"flag": "nl"
94+
},
95+
{
96+
"coordinates": [849, 1043],
97+
"name": "Canarsie",
98+
"strength": 2
99+
},
100+
{
101+
"coordinates": [991, 1247],
102+
"name": "Rockaway",
103+
"strength": 2
104+
},
105+
{
106+
"coordinates": [929, 642],
107+
"name": "Maspeth",
108+
"strength": 1,
109+
"flag": "gb-eng"
110+
},
111+
{
112+
"coordinates": [647, 1018],
113+
"name": "Breukelen",
114+
"strength": 3,
115+
"flag": "nl"
116+
},
117+
{
118+
"coordinates": [1150, 532],
119+
"name": "Vlissingen",
120+
"strength": 2,
121+
"flag": "nl"
122+
},
123+
{
124+
"coordinates": [629, 690],
125+
"name": "Gravesend",
126+
"strength": 1,
127+
"flag": "gb-eng"
128+
}
129+
]
130+
}

map-generator/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ var maps = []struct {
3838
{Name: "mars"},
3939
{Name: "mena"},
4040
{Name: "montreal"},
41+
{Name: "newyorkcity"},
4142
{Name: "northamerica"},
4243
{Name: "oceania"},
4344
{Name: "pangaea"},

resources/lang/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@
207207
"yenisei": "Yenisei",
208208
"pluto": "Pluto",
209209
"montreal": "Montreal",
210+
"newyorkcity": "New York City",
210211
"achiran": "Achiran",
211212
"baikalnukewars": "Baikal (Nuke Wars)",
212213
"fourislands": "Four Islands"
Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
{
2+
"map": {
3+
"height": 1900,
4+
"num_land_tiles": 1648646,
5+
"width": 1500
6+
},
7+
"map16x": {
8+
"height": 475,
9+
"num_land_tiles": 98783,
10+
"width": 375
11+
},
12+
"map4x": {
13+
"height": 950,
14+
"num_land_tiles": 406268,
15+
"width": 750
16+
},
17+
"mapInfoState": {
18+
"colorMappings": [],
19+
"cropData": {
20+
"cropHeight": 0,
21+
"cropWidth": 0,
22+
"cropX": 0,
23+
"cropY": 0,
24+
"isCropped": false,
25+
"originalHeight": 0,
26+
"originalWidth": 0
27+
},
28+
"height": 1900,
29+
"originalHeight": 1900,
30+
"originalWidth": 1500,
31+
"width": 1500
32+
},
33+
"name": "New York City",
34+
"nations": [
35+
{
36+
"coordinates": [127, 1323],
37+
"name": "Unami Tribe",
38+
"strength": 2
39+
},
40+
{
41+
"coordinates": [116, 765],
42+
"name": "Unalachtigo",
43+
"strength": 2
44+
},
45+
{
46+
"coordinates": [163, 135],
47+
"name": "Munsee Tribe",
48+
"strength": 2
49+
},
50+
{
51+
"coordinates": [661, 531],
52+
"name": "Mannahatta Village",
53+
"strength": 2
54+
},
55+
{
56+
"coordinates": [558, 760],
57+
"flag": "nl",
58+
"name": "New Netherland Colony",
59+
"strength": 3
60+
},
61+
{
62+
"coordinates": [756, 833],
63+
"flag": "gb-eng",
64+
"name": "New York Colony",
65+
"strength": 3
66+
},
67+
{
68+
"coordinates": [240, 1818],
69+
"flag": "gb-eng",
70+
"name": "New Jersey Colony",
71+
"strength": 3
72+
},
73+
{
74+
"coordinates": [1065, 1085],
75+
"flag": "gb-eng",
76+
"name": "Long Island Territory",
77+
"strength": 2
78+
},
79+
{
80+
"coordinates": [1454, 989],
81+
"name": "Montaukett Nation",
82+
"strength": 1
83+
},
84+
{
85+
"coordinates": [1367, 762],
86+
"name": "Unkechaug Nation",
87+
"strength": 1
88+
},
89+
{
90+
"coordinates": [1109, 824],
91+
"name": "Shinnecock Nation",
92+
"strength": 1
93+
},
94+
{
95+
"coordinates": [969, 269],
96+
"name": "Weckquaesgeek",
97+
"strength": 2
98+
},
99+
{
100+
"coordinates": [746, 1172],
101+
"name": "Siwanoy",
102+
"strength": 2
103+
},
104+
{
105+
"coordinates": [927, 86],
106+
"flag": "nl",
107+
"name": "Colen Donck",
108+
"strength": 3
109+
},
110+
{
111+
"coordinates": [849, 1043],
112+
"name": "Canarsie",
113+
"strength": 2
114+
},
115+
{
116+
"coordinates": [991, 1247],
117+
"name": "Rockaway",
118+
"strength": 2
119+
},
120+
{
121+
"coordinates": [929, 642],
122+
"flag": "gb-eng",
123+
"name": "Maspeth",
124+
"strength": 1
125+
},
126+
{
127+
"coordinates": [647, 1018],
128+
"flag": "nl",
129+
"name": "Breukelen",
130+
"strength": 3
131+
},
132+
{
133+
"coordinates": [1150, 532],
134+
"flag": "nl",
135+
"name": "Vlissingen",
136+
"strength": 2
137+
},
138+
{
139+
"coordinates": [629, 690],
140+
"flag": "gb-eng",
141+
"name": "Gravesend",
142+
"strength": 1
143+
}
144+
]
145+
}

resources/maps/newyorkcity/map.bin

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

resources/maps/newyorkcity/map16x.bin

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

resources/maps/newyorkcity/map4x.bin

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.
16.4 KB
Loading

src/client/components/Maps.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export const MapDescription: Record<keyof typeof GameMapType, string> = {
3535
Japan: "Japan",
3636
Pluto: "Pluto",
3737
Montreal: "Montreal",
38+
NewYorkCity: "New York City",
3839
Achiran: "Achiran",
3940
BaikalNukeWars: "Baikal (Nuke Wars)",
4041
FourIslands: "Four Islands",

0 commit comments

Comments
 (0)