Ticket #973: petra-navalManager.diff
File petra-navalManager.diff, 824 bytes (added by , 10 years ago) |
---|
-
0ad/binaries/data/mods/public/simulation/ai/petra/navalManager.js
40 40 41 41 // shore-line regions where we can load and unload units 42 42 this.landingZones = {}; 43 this.fishingZones = {}; 43 44 }; 44 45 45 46 // More initialisation for stuff that needs the gameState … … 409 410 continue; 410 411 } 411 412 } 413 414 415 if (this.seaWarShips[sea].length < this.wantedWarShips[sea]) 416 { 417 var template = this.getBestShip(gameState, sea, "attack"); 418 queues.ships.addItem(new m.TrainingPlan(gameState, template, { "base": 0, "sea": sea}, 1, 1)); 419 continue. 420 } 412 421 } 413 422 }; 414 423