Talk:Town Format
From VCMI Project Wiki
"mytown" : {
//mod ship will appear when bought in town of this faction, or when hero of faction buys ship in shipyard.
//if not defined, will be taken by alignment like previously it was
//if ship has bonus FLYING, it will appear near town on free cell, shipyard building will also be available always (there is no need to have water near)
//If hero boards FLYING ship, he will exit it when player chooses to visit map object or attack creatures/enemy heroes (if FREE_SHIP_BOARDING is not set in bonuses,
//it will cost remaining movement point)
"boat":
{
"animation":"mytown-boat/AB22.def",
"bonuses":
[
{
"type": "<hero bonus name>", //there are bonuses for hero. Boat can be treated as artefact in game. Mostly there are bonuses like
//SEA_MOVEMENT, FLYING (for zeppelins, planes etc), WHIRLPOOL_PROTECTION, FREE_SHIP_BOARDING etc
....
}
]
}
}
