2024-07-16 20:29:20 +02:00
|
|
|
# Battlefield Format
|
|
|
|
|
2023-09-26 12:22:36 +02:00
|
|
|
```jsonc
|
|
|
|
// Human-readable name of the battlefield
|
2024-07-15 23:46:23 +02:00
|
|
|
"name" : "",
|
2023-09-26 12:22:36 +02:00
|
|
|
|
|
|
|
// 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
|
2024-07-15 23:46:23 +02:00
|
|
|
"isSpecial" : false,
|
2023-09-26 12:22:36 +02:00
|
|
|
|
|
|
|
// List of bonuses that will affect all battles on this battlefield
|
2024-07-15 23:46:23 +02:00
|
|
|
"bonuses" : { BONUS_FORMAT },
|
2023-09-26 12:22:36 +02:00
|
|
|
|
|
|
|
// Background image for this battlefield
|
2024-07-15 23:46:23 +02:00
|
|
|
"graphics" : "",
|
|
|
|
|
|
|
|
// Optional, filename for custom music to play during combat on this terrain
|
|
|
|
"music" : "",
|
|
|
|
|
|
|
|
// Optional, filename for custom sound to play during combat opening on this terrain
|
|
|
|
"openingSound" : "",
|
2023-09-26 12:22:36 +02:00
|
|
|
|
|
|
|
// List of battle hexes that will be always blocked on this battlefield (e.g. ship to ship battles)
|
2024-07-15 23:46:23 +02:00
|
|
|
"impassableHexes" : [ 10, 20, 50 ],
|
2023-09-26 12:22:36 +02:00
|
|
|
```
|