Tomasz Zieliński 7 mēneši atpakaļ
vecāks
revīzija
ea80cccb25
1 mainītis faili ar 16 papildinājumiem un 0 dzēšanām
  1. 16 0
      docs/modders/Random_Map_Template.md

+ 16 - 0
docs/modders/Random_Map_Template.md

@@ -93,6 +93,22 @@
 
 	//possible terrain types. All terrains will be available if not specified
 	"terrainTypes" : [ "sand" ], 
+
+	// List of type hints for every town, in the order of placement. First present hint if used for each town
+	"townHints" : [
+		{
+			// Main town has same type as main town type in zone 1
+			"likeZone" : 1,
+		},
+		{
+			// 2nd town matches terrain type of zone 4
+			"relatedToZoneTerrain" : 4
+		},
+		{
+			// 3rd town type cannot match any of the following zones. Can be integer or vector of integers
+			"notLikeZone" : [1, 2, 3, 4]
+		},
+	],
 	
 	//optional, list of explicitly banned terrain types
 	"bannedTerrains" : ["lava", "asphalt"]