Ticket #4246: t4246_filter_newmaps_v1.patch

File t4246_filter_newmaps_v1.patch, 17.4 KB (added by elexis, 8 years ago)
  • binaries/data/mods/public/gui/gamesetup/gamesetup.js

    const g_MapFilters = [  
    7979        "id": "demo",
    8080        "name": translate("Demo Maps"),
    8181        "filter": mapKeywords => mapKeywords.indexOf("demo") != -1
    8282    },
    8383    {
     84        "id": "new",
     85        "name": translate("New Maps"),
     86        "filter": mapKeywords => mapKeywords.indexOf("new") != -1
     87    },
     88    {
    8489        "id": "trigger",
    8590        "name": translate("Trigger Maps"),
    8691        "filter": mapKeywords => mapKeywords.indexOf("trigger") != -1
    8792    },
    8893    {
  • binaries/data/mods/public/maps/random/amazon.json

     
    33        "Name" : "Amazon",
    44        "Script" : "amazon.js",
    55        "Description" : "Players are transported into the tropics to the mouth of the great Amazon, which is arguably the longest and largest river in the world. Will you triumph and take control of this tropical paradise, or will you be trampled into the dust by ruthless and ambitious enemies?",
    66        "BaseTerrain" : ["medit_sea_depths"],
    77        "BaseHeight" : 1,
     8        "Keywords": ["new"],
    89        "Preview" : "amazon.png",
    910        "CircularMap" : false
    1011    }
    1112}
  • binaries/data/mods/public/maps/random/ambush.json

     
    33    "Name" : "Ambush",
    44    "Script" : "ambush.js",
    55    "Description" : "High bluffs overlook the terrain below. Bountiful resources await on the cliffs, but beware of enemies planning an ambush.",
    66    "BaseTerrain" : ["medit_sea_depths"],
    77    "BaseHeight" : 2,
    8         "Preview" : "ambush.png",
     8    "Keywords": ["new"],
     9    "Preview" : "ambush.png",
    910    "CircularMap" : true
    1011  }
    1112}
  • binaries/data/mods/public/maps/random/bahrain.json

     
    33        "Name" : "Bahrain",
    44        "Script" : "bahrain.js",
    55        "Description" : "Bahrain, centre of the Dilmun civilization which fell in 800BC, was in turn controlled by Sumerians, Assyrians, Babylonians, Persians and other later peoples. An island strategically placed in the Sinus Persicus (Persian Gulf) and also centre of pearl trading due to its magnificent pearl fisheries, Bahrain is never left unoccupied for long. But now, with the previous occupants gone, the land prepares for war. Will you be the next Ruler of Bahrain?",
    66        "BaseTerrain" : ["medit_sea_depths"],
    77        "BaseHeight" : 1,
    8         "Keywords": ["naval"],
     8        "Keywords": ["naval", "new"],
    99        "Preview" : "bahrain.png",
    1010        "CircularMap" : false
    1111    }
    1212}
  • binaries/data/mods/public/maps/random/empire.json

     
    33    "Name" : "Empire",
    44    "Script" : "empire.js",
    55    "Description" : "A neighboring province has pledged alegiance to your rule. It's up to you to command them to victory.",
    66    "BaseTerrain" : ["medit_sea_depths"],
    77    "BaseHeight" : 2,
    8     "Keywords": [],
     8    "Keywords": ["new"],
    99    "Preview" : "empire.png",
    1010    "CircularMap" : true
    1111  }
    1212}
  • binaries/data/mods/public/maps/random/flood.json

     
    33        "Name" : "Flood",
    44        "Script" : "flood.js",
    55        "Description" : "A great flood has moved across the valley enabling ships and troops to battle in chest deep waters.",
    66        "BaseTerrain" : ["medit_sand_wet"],
    77        "BaseHeight" : -2,
    8         "Keywords": [],
     8        "Keywords": ["new"],
    99        "Preview" : "flood.png",
    1010        "CircularMap" : true
    1111    }
    1212}
  • binaries/data/mods/public/maps/random/frontier.json

     
    22  "settings" : {
    33    "Name" : "Frontier",
    44    "Script" : "frontier.js",
    55    "Description" : "A wild, unknown landscape awaits rival explorers.",
    66    "BaseTerrain" : ["medit_sea_depths"],
     7    "Keywords": ["new"],
    78    "Preview" : "frontier.png",
    89    "BaseHeight" : 2,
    910    "CircularMap" : true
    1011  }
    1112}
  • binaries/data/mods/public/maps/random/harbor.json

     
    33        "Name" : "Harbor",
    44        "Script" : "harbor.js",
    55        "Description" : "Players start with some light fishing opportunities in the calm waters of a sheltered harbor. A large bounty of seafood lays beyond the protective cliffs in the deep ocean. Small passages at the base of the cliffs make for tight fighting and easy fortification. Will you fight your way through the narrow passageways or take to the sea?",
    66        "BaseTerrain" : ["medit_sea_depths"],
    77        "BaseHeight" : 2,
     8        "Keywords": ["new"],
    89        "Preview" : "harbor.png",
    910        "CircularMap" : true
    1011    }
    1112}
  • binaries/data/mods/public/maps/random/hells_pass.json

     
    33    "Name" : "Hell's Pass",
    44    "Script" : "hells_pass.js",
    55    "Description" : "A narrow pass between steep mountains promotes tight, defensive combat. With bountiful resources far from the front lines, teams may choose to support their exposed teammates financially, or retreat to more fertile, but less defensible ground.",
    66    "BaseTerrain" : ["medit_sea_depths"],
    77    "BaseHeight" : 1,
     8    "Keywords": ["new"],
    89    "Preview" : "hells_pass.png",
    910    "CircularMap" : true
    1011  }
    1112}
  • binaries/data/mods/public/maps/random/howe_sound.json

     
    33        "Name" : "Howe Sound",
    44        "Script" : "howe_sound.js",
    55        "Description" : "Howe Sound is a roughly triangular network of fjords located directly northwest of present-day Vancouver, on the West Coast of today's Canada. The waters teem with whales and fish, while on land herds of muskox dig through deep snow to get at mushrooms and last summer's roots. Mines and forests also abound in this cold haven.",
    66        "BaseTerrain" : ["medit_sea_depths"],
    77        "BaseHeight" : 1,
     8        "Keywords": ["new"],
    89        "Preview" : "howe_sound.png",
    910        "CircularMap" : false
    1011    }
    1112}
  • binaries/data/mods/public/maps/random/island_stronghold.json

     
    33    "Name" : "Island Stronghold",
    44    "Script" : "island_stronghold.js",
    55    "Description" : "Teams start off with nearly adjacent civic centers on a small island, offering a fortified base from which to expand.",
    66    "BaseTerrain" : ["medit_sand_wet"],
    77    "BaseHeight" : -10,
    8     "Keywords": ["naval"],
     8    "Keywords": ["naval", "new"],
    99    "Preview" : "island_stronghold.png",
    1010    "CircularMap" : true
    1111  }
    1212}
  • binaries/data/mods/public/maps/random/lions_den.json

     
    33    "Name" : "Lion's Den",
    44    "Script" : "lions_den.js",
    55    "Description" : "High cliffs protect each player's main base. Venturing into the unknown can be risky, but necessary.",
    66    "BaseTerrain" : ["medit_sea_depths"],
    77    "BaseHeight" : 50,
     8    "Keywords": ["new"],
    89    "Preview" : "lions_den.png",
    9     "Keywords": [],
    1010    "CircularMap" : true
    1111  }
    1212}
  • binaries/data/mods/public/maps/random/marmara.json

     
    33        "Name" : "Marmara",
    44        "Script" : "marmara.js",
    55        "Description" : "The Propontis (Sea of Marmara) connects the Pontus Euxinus (Black Sea) to the Aegean Sea, and seperates Asia Minor from Thrace. To the south-west lies the Hellespont (Dardanelles), at the entrance of which the ancient city of Ilium (Troy) once stood. To the north-east lies the Bosporus Thraciae (Bosporus strait) where in time the Greek city of Byzantium would be founded, later to become the capital of the great Byzantine Empire under the new name of Constantinople. Players start on fertile land with adequate resources.",
    66        "BaseTerrain" : ["medit_sea_depths"],
    77        "BaseHeight" : 1,
     8        "Keywords": ["new"],
    89        "Preview" : "marmara.png",
    910        "CircularMap" : false
    1011    }
    1112}
  • binaries/data/mods/public/maps/random/mediterranean.json

     
    33        "Name" : "Mediterranean",
    44        "Script" : "mediterranean.js",
    55        "Description" : "The Mediterranean, home to the Phoenicians, Greeks, Egyptians and later on Romans. They took the rudimentary knowledge and principles of organisation from Mesopotamia and forged it into something more, thereby shifting the centre of learning and knowledge to the Mediterranean Coast, thus laying the foundations of civilization as we know it today. The Mediterranean Sea is almost completely enclosed by land: on the north by Gallia Transalpina (Transalpine Gaul), Italia, Greece (Graecia) and Anatolia, on the east by Syria, on the south by Libya and Mauritania, and on the west by Iberia. The name Mediterranean is derived from Latin, but the Romans themselves preferred the term 'Mare Internum' or even 'Mare Nostrum'.",
    66        "BaseTerrain" : ["medit_sea_depths"],
    77        "BaseHeight" : 1,
     8        "Keywords": ["new"],
    89        "Preview" : "mediterranean.png",
    910        "CircularMap" : false
    1011    }
    1112}
  • binaries/data/mods/public/maps/random/ngorongoro.json

     
    33        "Name" : "Ngorongoro",
    44        "Script" : "ngorongoro.js",
    55        "Description" : "Ngorongoro Crater is the world's largest intact volcanic caldera and is one of the Seven Natural Wonders of Africa. Due to it's climate, biodiversity and history, Ngorongoro is believed by some to be Africa's Garden of Eden and the birthplace of mankind.",
    66        "BaseTerrain" : ["medit_sea_depths"],
    77        "BaseHeight" : 1,
     8        "Keywords": ["new"],
    89        "Preview" : "ngorongoro.png",
    910        "CircularMap" : false
    1011    }
    1112}
  • binaries/data/mods/public/maps/random/pompeii.json

     
    22    "settings" : {
    33        "Name" : "Pompeii",
    44        "Script" : "pompeii.js",
    55        "Description" : "Pompeii was an ancient Roman coastal city, in the Campania region of Italy. Pompeii, along with much of the surrounding area, was mostly destroyed and buried under 4 to 6 meters of volcanic ash and pumice in the eruption of Mount Vesuvius in AD 79.",
    66        "BaseTerrain" : ["medit_sea_depths"],
     7        "Keywords": ["new"],
    78        "BaseHeight" : 1,
    89        "Preview" : "pompeii.png",
    910        "CircularMap" : false
    1011    }
    1112}
  • binaries/data/mods/public/maps/random/red_sea.json

     
    33        "Name" : "Red Sea",
    44        "Script" : "red_sea.js",
    55        "Description" : "Historically, the Red Sea was a sea of many nations. Ideally situated for trade with the Far East, it was coveted by all. Although dry, this land is by no means inhospitable, and is amply provided with all resources.",
    66        "BaseTerrain" : ["medit_sea_depths"],
    77        "BaseHeight" : 1,
     8        "Keywords": ["new"],
    89        "Preview" : "red_sea.png",
    910        "CircularMap" : false
    1011    }
    1112}
  • binaries/data/mods/public/maps/random/rouen.json

     
    33        "Name" : "Rouen",
    44        "Script" : "rouen.js",
    55        "Description" : "Players start on the banks of the River Sequana (Seine) in the north of Gaul in the place of the modern-day city of Rouen. Destined to become one of the largest and most prosperous cities of medeival Europe and one of the Anglo-Norman dynasty capitals, Rouen is still a peaceful land - but not for long.",
    66        "BaseTerrain" : ["medit_sea_depths"],
    77        "BaseHeight" : 1,
     8        "Keywords": ["new"],
    89        "Preview" : "rouen.png",
    910        "CircularMap" : false
    1011    }
    1112}
  • binaries/data/mods/public/maps/random/stronghold.json

     
    22  "settings" : {
    33    "Name" : "Stronghold",
    44    "Script" : "stronghold.js",
    55    "Description" : "Teams start off with nearly adjacent civic centers, offering easy military and construction cooperation. With slivers of personal territory, teammates must rely on each other to defend their rear.",
    66    "BaseTerrain" : ["medit_sea_depths"],
     7    "Keywords": ["new"],
    78    "BaseHeight" : 30,
    89    "Preview" : "stronghold.png",
    910    "CircularMap" : true
    1011  }
    1112}
  • binaries/data/mods/public/maps/skirmishes/Dueling

     
    4040    <ScriptSettings><![CDATA[
    4141{
    4242  "CircularMap": true,
    4343  "Description": "A foggy alpine landscape becomes a battleground as each team has an ally squashed precariously between two enemies. Two forest cliffs overlook the center lake, accessible from the sides of the map.",
    4444  "GameType": "conquest",
    45   "Keywords": [],
     45  "Keywords": ["new"],
    4646  "LockTeams": true,
    4747  "Name": "Dueling Cliffs (3v3)",
    4848  "PlayerData": [
    4949    null,
    5050    {
  • binaries/data/mods/public/maps/skirmishes/Forest

     
    4040    <ScriptSettings><![CDATA[
    4141{
    4242  "CircularMap": true,
    4343  "Description": "A forest battle map where all players fight for supremacy and control over the middle.",
    4444  "GameType": "conquest",
    45   "Keywords": [],
     45  "Keywords": ["new"],
    4646  "LockTeams": false,
    4747  "Name": "Forest Battle (4)",
    4848  "PlayerData": [
    4949    {
    5050      "PopulationLimit": 100
  • binaries/data/mods/public/maps/skirmishes/Golden

     
    4040    <ScriptSettings><![CDATA[
    4141{
    4242  "CircularMap": true,
    4343  "Description": "A ring of land borders a resource-rich island in the Mediterranean. Players can access the center via a narrow strip of land or via boat.",
    4444  "GameType": "conquest",
    45   "Keywords": [],
     45  "Keywords": ["new"],
    4646  "LockTeams": false,
    4747  "Name": "Golden Island (2)",
    4848  "PlayerData": [
    4949    null,
    5050    {},
  • binaries/data/mods/public/maps/skirmishes/Two

     
    4040    <ScriptSettings><![CDATA[
    4141{
    4242  "CircularMap": true,
    4343  "Description": "A large tropic map with two seas to the East and to the West. Good for two teams of three players or three teams of two players.",
    4444  "GameType": "conquest",
    45   "Keywords": [],
     45  "Keywords": ["new"],
    4646  "LockTeams": false,
    4747  "Name": "Two Seas (6)",
    4848  "PlayerData": [
    4949    {
    5050      "Team": 0