2013-05-11 20:36:11 +03:00
|
|
|
// Defines random map templates.
|
|
|
|
{
|
2013-05-21 22:08:06 +03:00
|
|
|
"Analogy" :
|
2013-05-11 20:36:11 +03:00
|
|
|
{
|
2013-05-21 22:08:06 +03:00
|
|
|
"minSize" : "m", "maxSize" : "m",
|
|
|
|
"players" : "4",
|
2013-05-11 20:36:11 +03:00
|
|
|
"zones" :
|
|
|
|
{
|
|
|
|
"1" :
|
|
|
|
{
|
2013-05-21 22:08:06 +03:00
|
|
|
"type" : "playerStart", "size" : 1, "owner" : 1,
|
|
|
|
"playerTowns" : { "castles" : 1 }, "neutralTowns" : { "towns" : 1 }, "townsAreSameType" : true
|
2013-05-11 20:36:11 +03:00
|
|
|
},
|
|
|
|
"2" :
|
|
|
|
{
|
2013-05-21 22:08:06 +03:00
|
|
|
"type" : "playerStart", "size" : 1, "owner" : 2,
|
|
|
|
"playerTowns" : { "castles" : 1 }, "neutralTowns" : { "towns" : 1 }, "townsAreSameType" : true
|
2013-05-11 20:36:11 +03:00
|
|
|
},
|
|
|
|
"3" :
|
|
|
|
{
|
2013-05-21 22:08:06 +03:00
|
|
|
"type" : "playerStart", "size" : 1, "owner" : 3,
|
|
|
|
"playerTowns" : { "castles" : 1 }, "neutralTowns" : { "towns" : 1 }, "townsAreSameType" : true
|
2013-05-11 20:36:11 +03:00
|
|
|
},
|
|
|
|
"4" :
|
|
|
|
{
|
2013-05-21 22:08:06 +03:00
|
|
|
"type" : "playerStart", "size" : 1, "owner" : 4,
|
|
|
|
"playerTowns" : { "castles" : 1 }, "neutralTowns" : { "towns" : 1 }, "townsAreSameType" : true
|
2013-05-11 20:36:11 +03:00
|
|
|
},
|
|
|
|
"5" :
|
|
|
|
{
|
2013-05-21 22:08:06 +03:00
|
|
|
"type" : "treasure", "size" : 2, "terrainTypes" : [ "sand" ], "neutralTowns" : { "castles" : 1 }
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"connections" :
|
|
|
|
[
|
2014-06-01 15:10:44 +03:00
|
|
|
{ "a" : "1", "b" : "5", "guard" : 5000 },
|
|
|
|
{ "a" : "2", "b" : "5", "guard" : 5000 },
|
|
|
|
{ "a" : "3", "b" : "5", "guard" : 5000 },
|
|
|
|
{ "a" : "4", "b" : "5", "guard" : 5000 }
|
2013-05-21 22:08:06 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"Upgrade" :
|
|
|
|
{
|
|
|
|
"minSize" : "m", "maxSize" : "m",
|
|
|
|
"players" : "2",
|
|
|
|
"zones" :
|
|
|
|
{
|
|
|
|
"1" :
|
|
|
|
{
|
|
|
|
"type" : "playerStart", "size" : 1, "owner" : 1,
|
|
|
|
"playerTowns" : { "castles" : 1 }
|
|
|
|
},
|
|
|
|
"2" :
|
|
|
|
{
|
|
|
|
"type" : "playerStart", "size" : 1, "owner" : 2,
|
|
|
|
"playerTowns" : { "castles" : 1 }
|
2013-05-11 20:36:11 +03:00
|
|
|
},
|
2013-05-21 22:08:06 +03:00
|
|
|
"3" :
|
2013-05-11 20:36:11 +03:00
|
|
|
{
|
2013-05-21 22:08:06 +03:00
|
|
|
"type" : "treasure", "size" : 2, "neutralTowns" : { "towns" : 1 }, "townTypeLikeZone" : "1"
|
2013-05-11 20:36:11 +03:00
|
|
|
},
|
2013-05-21 22:08:06 +03:00
|
|
|
"4" :
|
2013-05-11 20:36:11 +03:00
|
|
|
{
|
2013-05-21 22:08:06 +03:00
|
|
|
"type" : "treasure", "size" : 2, "neutralTowns" : { "towns" : 1 }, "townTypeLikeZone" : "2"
|
2013-05-11 20:36:11 +03:00
|
|
|
},
|
2013-05-21 22:08:06 +03:00
|
|
|
"5" :
|
2013-05-11 20:36:11 +03:00
|
|
|
{
|
2013-05-21 22:08:06 +03:00
|
|
|
"type" : "treasure", "size" : 3, "neutralTowns" : { "castles" : 1 }, "terrainTypes" : [ "sand" ]
|
2013-05-11 20:36:11 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"connections" :
|
|
|
|
[
|
2014-06-04 11:16:08 +03:00
|
|
|
{ "a" : "1", "b" : "3", "guard" : 3000 },
|
|
|
|
{ "a" : "1", "b" : "5", "guard" : 9000 },
|
|
|
|
{ "a" : "2", "b" : "4", "guard" : 3000 },
|
|
|
|
{ "a" : "2", "b" : "5", "guard" : 9000 },
|
|
|
|
{ "a" : "3", "b" : "5", "guard" : 6000 },
|
|
|
|
{ "a" : "4", "b" : "5", "guard" : 6000 }
|
2013-05-21 22:08:06 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"Golden Ring" :
|
|
|
|
{
|
|
|
|
"minSize" : "m", "maxSize" : "m",
|
|
|
|
"players" : "3",
|
|
|
|
"zones" :
|
|
|
|
{
|
|
|
|
"1" :
|
|
|
|
{
|
|
|
|
"type" : "playerStart", "size" : 3, "owner" : 1,
|
|
|
|
"playerTowns" : { "castles" : 1 }
|
|
|
|
},
|
|
|
|
"2" :
|
|
|
|
{
|
|
|
|
"type" : "playerStart", "size" : 3, "owner" : 2,
|
|
|
|
"playerTowns" : { "castles" : 1 }
|
|
|
|
},
|
|
|
|
"3" :
|
|
|
|
{
|
|
|
|
"type" : "playerStart", "size" : 3, "owner" : 3,
|
|
|
|
"playerTowns" : { "castles" : 1 }
|
|
|
|
},
|
|
|
|
"4" : { "type" : "treasure", "size" : 1, "terrainTypeLikeZone" : "1" },
|
|
|
|
"5" : { "type" : "treasure", "size" : 1, "terrainTypeLikeZone" : "1" },
|
|
|
|
"6" : { "type" : "treasure", "size" : 1, "terrainTypeLikeZone" : "2" },
|
|
|
|
"7" : { "type" : "treasure", "size" : 1, "terrainTypeLikeZone" : "2" },
|
|
|
|
"8" : { "type" : "treasure", "size" : 1, "terrainTypeLikeZone" : "3" },
|
|
|
|
"9" : { "type" : "treasure", "size" : 1, "terrainTypeLikeZone" : "3" },
|
|
|
|
"10" : { "type" : "treasure", "size" : 1, "neutralTowns" : { "towns" : 1 } },
|
|
|
|
"11" : { "type" : "treasure", "size" : 1, "neutralTowns" : { "towns" : 1 } },
|
|
|
|
"12" : { "type" : "treasure", "size" : 1, "neutralTowns" : { "towns" : 1 } }
|
|
|
|
},
|
|
|
|
"connections" :
|
|
|
|
[
|
2014-06-04 11:16:08 +03:00
|
|
|
{ "a" : "1", "b" : "4", "guard" : 2500 },
|
|
|
|
{ "a" : "1", "b" : "5", "guard" : 2500 },
|
|
|
|
{ "a" : "2", "b" : "6", "guard" : 2500 },
|
|
|
|
{ "a" : "2", "b" : "7", "guard" : 2500 },
|
|
|
|
{ "a" : "3", "b" : "8", "guard" : 2500 },
|
|
|
|
{ "a" : "3", "b" : "9", "guard" : 2500 },
|
2014-06-01 15:10:44 +03:00
|
|
|
{ "a" : "4", "b" : "10", "guard" : 20000 },
|
|
|
|
{ "a" : "5", "b" : "12", "guard" : 20000 },
|
|
|
|
{ "a" : "6", "b" : "10", "guard" : 20000 },
|
|
|
|
{ "a" : "7", "b" : "11", "guard" : 20000 },
|
|
|
|
{ "a" : "8", "b" : "12", "guard" : 20000 },
|
|
|
|
{ "a" : "9", "b" : "11", "guard" : 20000 }
|
2013-05-21 22:08:06 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"Unfair Game" :
|
|
|
|
{
|
|
|
|
"minSize" : "m", "maxSize" : "m",
|
|
|
|
"players" : "2", "cpu" : "2",
|
|
|
|
"zones" :
|
|
|
|
{
|
|
|
|
"1" :
|
|
|
|
{
|
|
|
|
"type" : "playerStart", "size" : 2, "owner" : 1,
|
|
|
|
"playerTowns" : { "castles" : 1 }
|
|
|
|
},
|
|
|
|
"2" :
|
|
|
|
{
|
|
|
|
"type" : "playerStart", "size" : 2, "owner" : 2,
|
|
|
|
"playerTowns" : { "castles" : 1 }
|
|
|
|
},
|
|
|
|
"3" :
|
|
|
|
{
|
|
|
|
"type" : "cpuStart", "size" : 3, "owner" : 3,
|
|
|
|
"playerTowns" : { "castles" : 1 }
|
|
|
|
},
|
|
|
|
"4" :
|
|
|
|
{
|
|
|
|
"type" : "cpuStart", "size" : 3, "owner" : 4,
|
|
|
|
"playerTowns" : { "castles" : 1 }
|
|
|
|
},
|
|
|
|
"5" : { "type" : "treasure", "size" : 1, "terrainTypeLikeZone" : "3" },
|
|
|
|
"6" : { "type" : "treasure", "size" : 1, "terrainTypeLikeZone" : "4" }
|
|
|
|
},
|
|
|
|
"connections" :
|
|
|
|
[
|
2014-06-01 15:10:44 +03:00
|
|
|
{ "a" : "1", "b" : "3", "guard" : 5000 },
|
|
|
|
{ "a" : "1", "b" : "4", "guard" : 5000 },
|
|
|
|
{ "a" : "2", "b" : "3", "guard" : 5000 },
|
|
|
|
{ "a" : "2", "b" : "4", "guard" : 5000 },
|
|
|
|
{ "a" : "3", "b" : "5", "guard" : 2000 },
|
|
|
|
{ "a" : "4", "b" : "6", "guard" : 2000 }
|
2013-05-11 20:36:11 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|