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,
|
2014-06-04 16:16:23 +03:00
|
|
|
"playerTowns" : { "castles" : 1 }, "neutralTowns" : { "towns" : 1 }, "townsAreSameType" : true,
|
|
|
|
"treasure" : {"min" : 1000, "max": 3000}
|
2013-05-11 20:36:11 +03:00
|
|
|
},
|
|
|
|
"2" :
|
|
|
|
{
|
2013-05-21 22:08:06 +03:00
|
|
|
"type" : "playerStart", "size" : 1, "owner" : 2,
|
2014-06-04 16:16:23 +03:00
|
|
|
"playerTowns" : { "castles" : 1 }, "neutralTowns" : { "towns" : 1 }, "townsAreSameType" : true,
|
2014-06-04 16:41:32 +03:00
|
|
|
"treasureLikeZone" : 1
|
2013-05-11 20:36:11 +03:00
|
|
|
},
|
|
|
|
"3" :
|
|
|
|
{
|
2013-05-21 22:08:06 +03:00
|
|
|
"type" : "playerStart", "size" : 1, "owner" : 3,
|
2014-06-04 16:16:23 +03:00
|
|
|
"playerTowns" : { "castles" : 1 }, "neutralTowns" : { "towns" : 1 }, "townsAreSameType" : true,
|
2014-06-04 16:41:32 +03:00
|
|
|
"treasureLikeZone" : 1
|
2013-05-11 20:36:11 +03:00
|
|
|
},
|
|
|
|
"4" :
|
|
|
|
{
|
2013-05-21 22:08:06 +03:00
|
|
|
"type" : "playerStart", "size" : 1, "owner" : 4,
|
2014-06-04 16:16:23 +03:00
|
|
|
"playerTowns" : { "castles" : 1 }, "neutralTowns" : { "towns" : 1 }, "townsAreSameType" : true,
|
2014-06-04 16:41:32 +03:00
|
|
|
"treasureLikeZone" : 1
|
2013-05-11 20:36:11 +03:00
|
|
|
},
|
|
|
|
"5" :
|
|
|
|
{
|
2014-06-04 16:16:23 +03:00
|
|
|
"type" : "treasure", "size" : 2, "terrainTypes" : [ "sand" ], "neutralTowns" : { "castles" : 1 },
|
|
|
|
"treasure" : {"min" : 5000, "max": 10000}
|
2013-05-21 22:08:06 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"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,
|
2014-06-04 16:16:23 +03:00
|
|
|
"playerTowns" : { "castles" : 1 },
|
|
|
|
"treasure" : {"min" : 500, "max": 2000}
|
2013-05-21 22:08:06 +03:00
|
|
|
},
|
|
|
|
"2" :
|
|
|
|
{
|
|
|
|
"type" : "playerStart", "size" : 1, "owner" : 2,
|
2014-06-04 16:16:23 +03:00
|
|
|
"playerTowns" : { "castles" : 1 },
|
2014-06-04 16:41:32 +03:00
|
|
|
"treasureLikeZone" : 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
|
|
|
{
|
2014-06-04 16:16:23 +03:00
|
|
|
"type" : "treasure", "size" : 2, "neutralTowns" : { "towns" : 1 }, "townTypeLikeZone" : "1",
|
|
|
|
"treasure" : {"min" : 1500, "max": 4000}
|
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
|
|
|
{
|
2014-06-04 16:16:23 +03:00
|
|
|
"type" : "treasure", "size" : 2, "neutralTowns" : { "towns" : 1 }, "townTypeLikeZone" : "2",
|
2014-06-04 16:41:32 +03:00
|
|
|
"treasureLikeZone" : 3
|
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
|
|
|
{
|
2014-06-04 16:16:23 +03:00
|
|
|
"type" : "treasure", "size" : 3, "neutralTowns" : { "castles" : 1 }, "terrainTypes" : [ "sand" ],
|
|
|
|
"treasure" : {"min" : 6000, "max": 12000}
|
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,
|
2014-06-04 16:16:23 +03:00
|
|
|
"playerTowns" : { "castles" : 1 },
|
|
|
|
"treasure" : {"min" : 300, "max": 3000}
|
2013-05-21 22:08:06 +03:00
|
|
|
},
|
|
|
|
"2" :
|
|
|
|
{
|
|
|
|
"type" : "playerStart", "size" : 3, "owner" : 2,
|
2014-06-04 16:16:23 +03:00
|
|
|
"playerTowns" : { "castles" : 1 },
|
2014-06-04 21:59:01 +03:00
|
|
|
"treasureLikeZone" : 1
|
2013-05-21 22:08:06 +03:00
|
|
|
},
|
|
|
|
"3" :
|
|
|
|
{
|
|
|
|
"type" : "playerStart", "size" : 3, "owner" : 3,
|
2014-06-04 16:16:23 +03:00
|
|
|
"playerTowns" : { "castles" : 1 },
|
2014-06-04 21:59:01 +03:00
|
|
|
"treasureLikeZone" : 1
|
2013-05-21 22:08:06 +03:00
|
|
|
},
|
2014-06-04 16:16:23 +03:00
|
|
|
"4" : { "type" : "treasure", "size" : 1, "terrainTypeLikeZone" : "1", "treasure" : {"min" : 3000, "max": 10000} },
|
2014-06-04 16:41:32 +03:00
|
|
|
"5" : { "type" : "treasure", "size" : 1, "terrainTypeLikeZone" : "1", "treasureLikeZone" : 4},
|
|
|
|
"6" : { "type" : "treasure", "size" : 1, "terrainTypeLikeZone" : "2", "treasureLikeZone" : 4 },
|
|
|
|
"7" : { "type" : "treasure", "size" : 1, "terrainTypeLikeZone" : "2", "treasureLikeZone" : 4 },
|
|
|
|
"8" : { "type" : "treasure", "size" : 1, "terrainTypeLikeZone" : "3", "treasureLikeZone" : 4 },
|
|
|
|
"9" : { "type" : "treasure", "size" : 1, "terrainTypeLikeZone" : "3", "treasureLikeZone" : 4 },
|
2014-06-04 16:16:23 +03:00
|
|
|
"10" : { "type" : "treasure", "size" : 1, "neutralTowns" : { "towns" : 1 }, "treasure" : {"min" : 10000, "max": 25000} },
|
2014-06-04 16:41:32 +03:00
|
|
|
"11" : { "type" : "treasure", "size" : 1, "neutralTowns" : { "towns" : 1 }, "treasureLikeZone" : 10 },
|
|
|
|
"12" : { "type" : "treasure", "size" : 1, "neutralTowns" : { "towns" : 1 }, "treasureLikeZone" : 10 }
|
2013-05-21 22:08:06 +03:00
|
|
|
},
|
|
|
|
"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
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|