mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 09:10:42 +00:00
Add map chopping block (#4143)
Resolves #4080 ## Description: Add Map Chopping Block https://youtu.be/NpX73lHiKO8 Increased multiplier for 4 player team games and water nukes (plug in center among other shortcuts). This map was made as a faster alternative to Labyrinth. Map has been modified since last submission to be 'less crazy'. ## 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 ## Discord username: PlaysBadly
This commit is contained in:
committed by
GitHub
parent
74b3bd275b
commit
b4058b5a58
Binary file not shown.
|
After Width: | Height: | Size: 1.8 MiB |
@@ -0,0 +1,320 @@
|
||||
{
|
||||
"name": "Chopping Block",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [230, 230],
|
||||
"name": "Boxey",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [230, 570],
|
||||
"name": "Gridsly",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [580, 230],
|
||||
"name": "Blocko",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [570, 570],
|
||||
"name": "Squarm",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [1030, 230],
|
||||
"name": "Boximilian",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [1030, 570],
|
||||
"name": "Rectanglo",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [1370, 230],
|
||||
"name": "Cornerlius",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [1380, 570],
|
||||
"name": "Repeater",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [230, 1030],
|
||||
"name": "Derorrim",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [230, 1380],
|
||||
"name": "Boxedin",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [580, 1040],
|
||||
"name": "Mazely",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [580, 1380],
|
||||
"name": "Diagonalf",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [1040, 1040],
|
||||
"name": "Blockedhof",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [1040, 1390],
|
||||
"name": "Blockhead",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [1380, 1035],
|
||||
"name": "Chopin",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [1380, 1390],
|
||||
"name": "Hacker",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [400, 160],
|
||||
"name": "Slasher",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [160, 410],
|
||||
"name": "Brixs",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [410, 650],
|
||||
"name": "Plaido",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [650, 415],
|
||||
"name": "Harlequin",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [410, 970],
|
||||
"name": "Checkheir",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [160, 1210],
|
||||
"name": "Zigzag",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [410, 1460],
|
||||
"name": "Scaler",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [650, 1220],
|
||||
"name": "Crossed",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [1210, 970],
|
||||
"name": "Beeline",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [960, 1220],
|
||||
"name": "Bowtie",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [1210, 1460],
|
||||
"name": "Buckly",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [1450, 1210],
|
||||
"name": "Dexted",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [1210, 170],
|
||||
"name": "Flukes",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [970, 410],
|
||||
"name": "Jonqal",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [1210, 650],
|
||||
"name": "Huggins",
|
||||
"flag": ""
|
||||
},
|
||||
{
|
||||
"coordinates": [1460, 410],
|
||||
"name": "Keeko",
|
||||
"flag": ""
|
||||
}
|
||||
],
|
||||
"additionalNations": [
|
||||
{
|
||||
"name": "Repeaterer"
|
||||
},
|
||||
{
|
||||
"name": "Checkered"
|
||||
},
|
||||
{
|
||||
"name": "Plaid"
|
||||
},
|
||||
{
|
||||
"name": "Gingham"
|
||||
},
|
||||
{
|
||||
"name": "Tartan"
|
||||
},
|
||||
{
|
||||
"name": "Madras"
|
||||
},
|
||||
{
|
||||
"name": "Pinstripe"
|
||||
},
|
||||
{
|
||||
"name": "Awning"
|
||||
},
|
||||
{
|
||||
"name": "Argyle"
|
||||
},
|
||||
{
|
||||
"name": "Houndstooth"
|
||||
},
|
||||
{
|
||||
"name": "Herringbone"
|
||||
},
|
||||
{
|
||||
"name": "Chevron"
|
||||
},
|
||||
{
|
||||
"name": "Lattice"
|
||||
},
|
||||
{
|
||||
"name": "Graph Check"
|
||||
},
|
||||
{
|
||||
"name": "Windowpane"
|
||||
},
|
||||
{
|
||||
"name": "Polka Dots"
|
||||
},
|
||||
{
|
||||
"name": "Confetti"
|
||||
},
|
||||
{
|
||||
"name": "Speckled"
|
||||
},
|
||||
{
|
||||
"name": "Cheetah"
|
||||
},
|
||||
{
|
||||
"name": "Zebra"
|
||||
},
|
||||
{
|
||||
"name": "Tiger"
|
||||
},
|
||||
{
|
||||
"name": "Giraffe"
|
||||
},
|
||||
{
|
||||
"name": "Snakeskin"
|
||||
},
|
||||
{
|
||||
"name": "Cowhide"
|
||||
},
|
||||
{
|
||||
"name": "Camouflage"
|
||||
},
|
||||
{
|
||||
"name": "Peacock"
|
||||
},
|
||||
{
|
||||
"name": "Botanical"
|
||||
},
|
||||
{
|
||||
"name": "Chintz"
|
||||
},
|
||||
{
|
||||
"name": "Damask"
|
||||
},
|
||||
{
|
||||
"name": "Toile"
|
||||
},
|
||||
{
|
||||
"name": "Brocade"
|
||||
},
|
||||
{
|
||||
"name": "Ikat"
|
||||
},
|
||||
{
|
||||
"name": "Batik"
|
||||
},
|
||||
{
|
||||
"name": "Moroccan"
|
||||
},
|
||||
{
|
||||
"name": "Suzani"
|
||||
},
|
||||
{
|
||||
"name": "Kashmiri"
|
||||
},
|
||||
{
|
||||
"name": "Greek Key"
|
||||
},
|
||||
{
|
||||
"name": "Geometrical"
|
||||
},
|
||||
{
|
||||
"name": "Kaleidoscope"
|
||||
},
|
||||
{
|
||||
"name": "Gradient"
|
||||
},
|
||||
{
|
||||
"name": "Splatter"
|
||||
},
|
||||
{
|
||||
"name": "Marbled"
|
||||
},
|
||||
{
|
||||
"name": "Quilted"
|
||||
},
|
||||
{
|
||||
"name": "Eyelet"
|
||||
},
|
||||
{
|
||||
"name": "Scallop"
|
||||
},
|
||||
{
|
||||
"name": "Bubble"
|
||||
},
|
||||
{
|
||||
"name": "Honeycomb"
|
||||
}
|
||||
],
|
||||
"teamGameSpawnAreas": {
|
||||
"2": [
|
||||
{ "x": 0, "y": 0, "width": 800, "height": 1610 },
|
||||
{ "x": 809, "y": 0, "width": 800, "height": 1610 }
|
||||
],
|
||||
"4": [
|
||||
{ "x": 0, "y": 0, "width": 800, "height": 800 },
|
||||
{ "x": 809, "y": 0, "width": 800, "height": 800 },
|
||||
{ "x": 0, "y": 809, "width": 800, "height": 800 },
|
||||
{ "x": 809, "y": 809, "width": 800, "height": 800 }
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -44,6 +44,7 @@ var maps = []struct {
|
||||
{Name: "britanniaclassic"},
|
||||
{Name: "caribbean"},
|
||||
{Name: "caucasus"},
|
||||
{Name: "choppingblock"},
|
||||
{Name: "conakry"},
|
||||
{Name: "danishstraits"},
|
||||
{Name: "deglaciatedantarctica"},
|
||||
|
||||
@@ -609,6 +609,7 @@
|
||||
"yellowsea": "Yellow Sea",
|
||||
"labyrinth": "Labyrinth",
|
||||
"caribbean": "Caribbean",
|
||||
"choppingblock": "Chopping Block",
|
||||
"southeastasia": "Southeast Asia"
|
||||
},
|
||||
"map_categories": {
|
||||
|
||||
@@ -0,0 +1,365 @@
|
||||
{
|
||||
"additionalNations": [
|
||||
{
|
||||
"name": "Repeaterer"
|
||||
},
|
||||
{
|
||||
"name": "Checkered"
|
||||
},
|
||||
{
|
||||
"name": "Plaid"
|
||||
},
|
||||
{
|
||||
"name": "Gingham"
|
||||
},
|
||||
{
|
||||
"name": "Tartan"
|
||||
},
|
||||
{
|
||||
"name": "Madras"
|
||||
},
|
||||
{
|
||||
"name": "Pinstripe"
|
||||
},
|
||||
{
|
||||
"name": "Awning"
|
||||
},
|
||||
{
|
||||
"name": "Argyle"
|
||||
},
|
||||
{
|
||||
"name": "Houndstooth"
|
||||
},
|
||||
{
|
||||
"name": "Herringbone"
|
||||
},
|
||||
{
|
||||
"name": "Chevron"
|
||||
},
|
||||
{
|
||||
"name": "Lattice"
|
||||
},
|
||||
{
|
||||
"name": "Graph Check"
|
||||
},
|
||||
{
|
||||
"name": "Windowpane"
|
||||
},
|
||||
{
|
||||
"name": "Polka Dots"
|
||||
},
|
||||
{
|
||||
"name": "Confetti"
|
||||
},
|
||||
{
|
||||
"name": "Speckled"
|
||||
},
|
||||
{
|
||||
"name": "Cheetah"
|
||||
},
|
||||
{
|
||||
"name": "Zebra"
|
||||
},
|
||||
{
|
||||
"name": "Tiger"
|
||||
},
|
||||
{
|
||||
"name": "Giraffe"
|
||||
},
|
||||
{
|
||||
"name": "Snakeskin"
|
||||
},
|
||||
{
|
||||
"name": "Cowhide"
|
||||
},
|
||||
{
|
||||
"name": "Camouflage"
|
||||
},
|
||||
{
|
||||
"name": "Peacock"
|
||||
},
|
||||
{
|
||||
"name": "Botanical"
|
||||
},
|
||||
{
|
||||
"name": "Chintz"
|
||||
},
|
||||
{
|
||||
"name": "Damask"
|
||||
},
|
||||
{
|
||||
"name": "Toile"
|
||||
},
|
||||
{
|
||||
"name": "Brocade"
|
||||
},
|
||||
{
|
||||
"name": "Ikat"
|
||||
},
|
||||
{
|
||||
"name": "Batik"
|
||||
},
|
||||
{
|
||||
"name": "Moroccan"
|
||||
},
|
||||
{
|
||||
"name": "Suzani"
|
||||
},
|
||||
{
|
||||
"name": "Kashmiri"
|
||||
},
|
||||
{
|
||||
"name": "Greek Key"
|
||||
},
|
||||
{
|
||||
"name": "Geometrical"
|
||||
},
|
||||
{
|
||||
"name": "Kaleidoscope"
|
||||
},
|
||||
{
|
||||
"name": "Gradient"
|
||||
},
|
||||
{
|
||||
"name": "Splatter"
|
||||
},
|
||||
{
|
||||
"name": "Marbled"
|
||||
},
|
||||
{
|
||||
"name": "Quilted"
|
||||
},
|
||||
{
|
||||
"name": "Eyelet"
|
||||
},
|
||||
{
|
||||
"name": "Scallop"
|
||||
},
|
||||
{
|
||||
"name": "Bubble"
|
||||
},
|
||||
{
|
||||
"name": "Honeycomb"
|
||||
}
|
||||
],
|
||||
"map": {
|
||||
"height": 1616,
|
||||
"num_land_tiles": 1485703,
|
||||
"width": 1616
|
||||
},
|
||||
"map16x": {
|
||||
"height": 404,
|
||||
"num_land_tiles": 87035,
|
||||
"width": 404
|
||||
},
|
||||
"map4x": {
|
||||
"height": 808,
|
||||
"num_land_tiles": 364395,
|
||||
"width": 808
|
||||
},
|
||||
"name": "Chopping Block",
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [230, 230],
|
||||
"flag": "",
|
||||
"name": "Boxey"
|
||||
},
|
||||
{
|
||||
"coordinates": [230, 570],
|
||||
"flag": "",
|
||||
"name": "Gridsly"
|
||||
},
|
||||
{
|
||||
"coordinates": [580, 230],
|
||||
"flag": "",
|
||||
"name": "Blocko"
|
||||
},
|
||||
{
|
||||
"coordinates": [570, 570],
|
||||
"flag": "",
|
||||
"name": "Squarm"
|
||||
},
|
||||
{
|
||||
"coordinates": [1030, 230],
|
||||
"flag": "",
|
||||
"name": "Boximilian"
|
||||
},
|
||||
{
|
||||
"coordinates": [1030, 570],
|
||||
"flag": "",
|
||||
"name": "Rectanglo"
|
||||
},
|
||||
{
|
||||
"coordinates": [1370, 230],
|
||||
"flag": "",
|
||||
"name": "Cornerlius"
|
||||
},
|
||||
{
|
||||
"coordinates": [1380, 570],
|
||||
"flag": "",
|
||||
"name": "Repeater"
|
||||
},
|
||||
{
|
||||
"coordinates": [230, 1030],
|
||||
"flag": "",
|
||||
"name": "Derorrim"
|
||||
},
|
||||
{
|
||||
"coordinates": [230, 1380],
|
||||
"flag": "",
|
||||
"name": "Boxedin"
|
||||
},
|
||||
{
|
||||
"coordinates": [580, 1040],
|
||||
"flag": "",
|
||||
"name": "Mazely"
|
||||
},
|
||||
{
|
||||
"coordinates": [580, 1380],
|
||||
"flag": "",
|
||||
"name": "Diagonalf"
|
||||
},
|
||||
{
|
||||
"coordinates": [1040, 1040],
|
||||
"flag": "",
|
||||
"name": "Blockedhof"
|
||||
},
|
||||
{
|
||||
"coordinates": [1040, 1390],
|
||||
"flag": "",
|
||||
"name": "Blockhead"
|
||||
},
|
||||
{
|
||||
"coordinates": [1380, 1035],
|
||||
"flag": "",
|
||||
"name": "Chopin"
|
||||
},
|
||||
{
|
||||
"coordinates": [1380, 1390],
|
||||
"flag": "",
|
||||
"name": "Hacker"
|
||||
},
|
||||
{
|
||||
"coordinates": [400, 160],
|
||||
"flag": "",
|
||||
"name": "Slasher"
|
||||
},
|
||||
{
|
||||
"coordinates": [160, 410],
|
||||
"flag": "",
|
||||
"name": "Brixs"
|
||||
},
|
||||
{
|
||||
"coordinates": [410, 650],
|
||||
"flag": "",
|
||||
"name": "Plaido"
|
||||
},
|
||||
{
|
||||
"coordinates": [650, 415],
|
||||
"flag": "",
|
||||
"name": "Harlequin"
|
||||
},
|
||||
{
|
||||
"coordinates": [410, 970],
|
||||
"flag": "",
|
||||
"name": "Checkheir"
|
||||
},
|
||||
{
|
||||
"coordinates": [160, 1210],
|
||||
"flag": "",
|
||||
"name": "Zigzag"
|
||||
},
|
||||
{
|
||||
"coordinates": [410, 1460],
|
||||
"flag": "",
|
||||
"name": "Scaler"
|
||||
},
|
||||
{
|
||||
"coordinates": [650, 1220],
|
||||
"flag": "",
|
||||
"name": "Crossed"
|
||||
},
|
||||
{
|
||||
"coordinates": [1210, 970],
|
||||
"flag": "",
|
||||
"name": "Beeline"
|
||||
},
|
||||
{
|
||||
"coordinates": [960, 1220],
|
||||
"flag": "",
|
||||
"name": "Bowtie"
|
||||
},
|
||||
{
|
||||
"coordinates": [1210, 1460],
|
||||
"flag": "",
|
||||
"name": "Buckly"
|
||||
},
|
||||
{
|
||||
"coordinates": [1450, 1210],
|
||||
"flag": "",
|
||||
"name": "Dexted"
|
||||
},
|
||||
{
|
||||
"coordinates": [1210, 170],
|
||||
"flag": "",
|
||||
"name": "Flukes"
|
||||
},
|
||||
{
|
||||
"coordinates": [970, 410],
|
||||
"flag": "",
|
||||
"name": "Jonqal"
|
||||
},
|
||||
{
|
||||
"coordinates": [1210, 650],
|
||||
"flag": "",
|
||||
"name": "Huggins"
|
||||
},
|
||||
{
|
||||
"coordinates": [1460, 410],
|
||||
"flag": "",
|
||||
"name": "Keeko"
|
||||
}
|
||||
],
|
||||
"teamGameSpawnAreas": {
|
||||
"2": [
|
||||
{
|
||||
"height": 1610,
|
||||
"width": 800,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"height": 1610,
|
||||
"width": 800,
|
||||
"x": 809,
|
||||
"y": 0
|
||||
}
|
||||
],
|
||||
"4": [
|
||||
{
|
||||
"height": 800,
|
||||
"width": 800,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"height": 800,
|
||||
"width": 800,
|
||||
"x": 809,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"height": 800,
|
||||
"width": 800,
|
||||
"x": 0,
|
||||
"y": 809
|
||||
},
|
||||
{
|
||||
"height": 800,
|
||||
"width": 800,
|
||||
"x": 809,
|
||||
"y": 809
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
@@ -181,6 +181,7 @@ export enum GameMapType {
|
||||
Labyrinth = "Labyrinth",
|
||||
Caribbean = "Caribbean",
|
||||
Onion = "Onion",
|
||||
ChoppingBlock = "Chopping Block",
|
||||
SoutheastAsia = "SoutheastAsia",
|
||||
}
|
||||
|
||||
@@ -273,6 +274,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
|
||||
],
|
||||
arcade: [
|
||||
GameMapType.TheBox,
|
||||
GameMapType.ChoppingBlock,
|
||||
GameMapType.Didier,
|
||||
GameMapType.DidierFrance,
|
||||
GameMapType.Labyrinth,
|
||||
|
||||
@@ -52,6 +52,7 @@ const FREQUENCY: Partial<Record<GameMapName, number>> = {
|
||||
Britannia: 5,
|
||||
Caribbean: 5,
|
||||
Caucasus: 5,
|
||||
ChoppingBlock: 5,
|
||||
Conakry: 3,
|
||||
DanishStraits: 5,
|
||||
DeglaciatedAntarctica: 4,
|
||||
@@ -146,6 +147,7 @@ const SPECIAL_TEAM_MAPS: ReadonlyMap<GameMapType, TeamCountConfig> = new Map([
|
||||
[GameMapType.TradersDream, 2],
|
||||
[GameMapType.Surrounded, 4],
|
||||
[GameMapType.GulfOfStLawrence, 3],
|
||||
[GameMapType.ChoppingBlock, 4],
|
||||
]);
|
||||
|
||||
type ModifierKey =
|
||||
@@ -190,6 +192,7 @@ const WATER_NUKES_BOOSTED_MAPS: ReadonlySet<GameMapType> = new Set([
|
||||
GameMapType.Baikal,
|
||||
GameMapType.Luna,
|
||||
GameMapType.ArchipelagoSea,
|
||||
GameMapType.ChoppingBlock,
|
||||
]);
|
||||
|
||||
// Maps that are entirely land.
|
||||
|
||||
Reference in New Issue
Block a user