Jelajahi Sumber

Mage guild configurable doc update

Laserlicht 4 bulan lalu
induk
melakukan
e3adae7fbd
1 mengubah file dengan 13 tambahan dan 1 penghapusan
  1. 13 1
      docs/modders/Entities_Format/Faction_Format.md

+ 13 - 1
docs/modders/Entities_Format/Faction_Format.md

@@ -250,7 +250,19 @@ Each town requires a set of buildings (Around 30-45 buildings)
 	"primaryResource" : "gems", 
 
 	// maximum level of mage guild
-	"mageGuild" : 4,
+	"mageGuild" : 5,
+
+	// Coordinates of spell images in mage guild screen. Should contain the maximum level of mage guild amount of elements. Example are HoMM3 defaults:
+	"guildSpellPositions" : [
+		[ { "x": 222, "y": 445 }, { "x": 312, "y": 445 }, { "x": 402, "y": 445 }, { "x": 520, "y": 445 }, { "x": 610, "y": 445 }, { "x": 700, "y": 445 } ],
+		[ { "x":  48, "y":  53 }, { "x":  48, "y": 147 }, { "x":  48, "y": 241 }, { "x":  48, "y": 335 }, { "x":  48, "y": 429 } ],
+		[ { "x": 570, "y":  82 }, { "x": 672, "y":  82 }, { "x": 570, "y": 157 }, { "x": 672, "y": 157 } ],
+		[ { "x": 183, "y":  42 }, { "x": 183, "y": 148 }, { "x": 183, "y": 253 } ],
+		[ { "x": 491, "y": 325 }, { "x": 591, "y": 325 } ]
+	],
+
+	// Coordinates of window image in mage guild screen. Example is HoMM3 default:
+	"guildWindowPosition": { "x": 332, "y": 76 },
 
 	// Identifier of spell that will create effects for town moat during siege
 	"moatAbility" : "castleMoat"