Ticket #1654: fortress.js.patch

File fortress.js.patch, 1.8 KB (added by FeXoR, 12 years ago)

SVN patch of the changes

  • binaries/data/mods/public/maps/random/fortress.js

     
    159159    // Place custom fortress
    160160    if (civ == "brit" || civ == "celt" || civ == "gaul" || civ == "iber")
    161161    {
    162         var wall = ['entryTower', 'wall', 'wall',
    163             'cornerIn', 'wall', 'barracks', 'wall', 'gate', 'wall', 'house', 'wall',
    164             'cornerIn', 'wall', 'house', 'wall', 'entryTower', 'wall', 'house', 'wall',
    165             'cornerIn', 'wall', 'house', 'wall', 'gate', 'wall', 'house', 'wall',
    166             'cornerIn', 'wall', 'house', 'wall'];
     162        var wall = ["gate", "tower", "wallLong",
     163            "cornerIn", "wallLong", "barracks", "tower", "wallLong", "tower", "house", "wallLong",
     164            "cornerIn", "wallLong", "house", "tower", "gate", "tower", "house", "wallLong",
     165            "cornerIn", "wallLong", "house", "tower", "wallLong", "tower", "house", "wallLong",
     166            "cornerIn", "wallLong", "house", "tower"];
    167167    }
    168168    else
    169169    {
    170         var wall = ['entryTower', 'wall', 'wall',
    171             'cornerIn', 'wall', 'barracks', 'wall', 'gate', 'wall', 'wall',
    172             'cornerIn', 'wall', 'house', 'wall', 'entryTower', 'wall', 'wall',
    173             'cornerIn', 'wall', 'house', 'wall', 'gate', 'wall', 'wall',
    174             'cornerIn', 'wall', 'house', 'wall'];
     170        var wall = ["gate", "tower", "wallLong",
     171            "cornerIn", "wallLong", "barracks", "tower", "wallLong", "tower", "wallLong",
     172            "cornerIn", "wallLong", "house", "tower", "gate", "tower", "wallLong",
     173            "cornerIn", "wallLong", "house", "tower", "wallLong", "tower", "wallLong",
     174            "cornerIn", "wallLong", "house", "tower"];
    175175    }
    176176    placeCustomFortress(playerX[i], playerZ[i], new Fortress("Spahbod", wall), civ, i+1, BUILDING_ANGlE);
    177177}