This page is under construction
Archives/bf1942/levels/Midway.rfa
bf1942/levels/Midway/ai/prerequisites.con
if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------
rem *** Create Prerequisites ***
rem *** Midway ***
aiStrategy.createPrerequisite outPostPrereq
aiStrategy.addCondition noFlankCond 10.0
rem aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite basePrereq
aiStrategy.addCondition noBaseCond 10.0
rem aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite bothPrereq
aiStrategy.addCondition noCPCond 10.0
rem aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite navyDestroyPrereq
aiStrategy.addCondition twoCPCond 10.0
rem *** Old Midway ***
beginrem
aiStrategy.createPrerequisite seaSinglePrereq
aiStrategy.addCondition maxOneStrongpointCond 10.0
aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite seaDoublePrereq
aiStrategy.addCondition noStrongpointCond 10.0
aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite landPrereq
aiStrategy.addCondition maxOneCentreCond 10.0
aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite rushPrereq
aiStrategy.addCondition noCpCond 10.0
aiStrategy.addCondition maxOneEnemyCpCond 10.0
aiStrategy.createPrerequisite rushedPrereq
aiStrategy.addCondition noCpCond 10.0
aiStrategy.addCondition minTwoEnemyCpCond 10.0
endrem
rem ----------------------------------------------------------------------------
endIf
rem ----- Host
rem ----------------------------------------------------------------------------
rem *** Create Prerequisites ***
rem *** Midway ***
aiStrategy.createPrerequisite outPostPrereq
aiStrategy.addCondition noFlankCond 10.0
rem aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite basePrereq
aiStrategy.addCondition noBaseCond 10.0
rem aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite bothPrereq
aiStrategy.addCondition noCPCond 10.0
rem aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite navyDestroyPrereq
aiStrategy.addCondition twoCPCond 10.0
rem *** Old Midway ***
beginrem
aiStrategy.createPrerequisite seaSinglePrereq
aiStrategy.addCondition maxOneStrongpointCond 10.0
aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite seaDoublePrereq
aiStrategy.addCondition noStrongpointCond 10.0
aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite landPrereq
aiStrategy.addCondition maxOneCentreCond 10.0
aiStrategy.addCondition timeCond 0.005
aiStrategy.createPrerequisite rushPrereq
aiStrategy.addCondition noCpCond 10.0
aiStrategy.addCondition maxOneEnemyCpCond 10.0
aiStrategy.createPrerequisite rushedPrereq
aiStrategy.addCondition noCpCond 10.0
aiStrategy.addCondition minTwoEnemyCpCond 10.0
endrem
rem ----------------------------------------------------------------------------
endIf