1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-10 09:50:17 +02:00
vcmi/docs/modders/Entities_Format/Battlefield_Format.md
2023-09-26 15:55:27 +03:00

664 B

< Documentation / Modding / Entities Format / Battlefield Format

	// Human-readable name of the battlefield
	"name" : ""
	
	// If set to true, obstacles will be taken from "specialBattlefields" property of an obstacle
	// If set to false, obstacles will be taken from "allowedTerrains" instead
	"isSpecial" : false
	
	// List of bonuses that will affect all battles on this battlefield
	"bonuses" : { BONUS_FORMAT }
	
	// Background image for this battlefield
	"graphics" : ""
	
	// List of battle hexes that will be always blocked on this battlefield (e.g. ship to ship battles)
	"impassableHexes" : [ 10, 20, 50 ]