Difference between revisions of "Talk:Town Format"

From VCMI Project Wiki
Jump to: navigation, search
Line 2: Line 2:
 
"mytown" :
 
"mytown" :
 
  {
 
  {
.....
 
 
//mod ship will appear when bought in town of this faction, or when hero of faction buys ship in shipyard.
 
//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 not defined, will be taken by alignment like previously it was

Revision as of 21:36, 19 April 2014

"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 (is FREE_SHIP_BOARDING is not set it 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
                ....
                
           }
         ]
 }
}