This page is under construction
archives/bf1942/levels/DC_LostVillage_Brit.rfa
bf1942/levels/DC_LostVillage_Brit/ai/prerequisites.con
rem prerequisites for DCX version of DC_LostVillage by cajunwolf

if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------


rem ---------------------------------------------------------------
rem ------------- Opposition prerequisites ---------------------------
rem ---------------------------------------------------------------


rem * Defend *
aiStrategy.createPrerequisite DefendPrereq
aiStrategy.addCondition DefenceCond 10.0
aiStrategy.addCondition timeCond 0.1

rem * RepelEnemy *
aiStrategy.createPrerequisite RepelPrereq
aiStrategy.addCondition RepelCond 15.0
aiStrategy.addCondition timeCond 0.1

rem * TakeBackVillage *
aiStrategy.createPrerequisite TakeBackPrereq
aiStrategy.addCondition troubleCond 20.0
aiStrategy.addCondition timeCond 0.1


rem -------------------------------------------------------------
rem ------------------- Coalition prerequisites --------------------
rem -------------------------------------------------------------


rem * TakeTheVillage *
aiStrategy.createPrerequisite AttackPrereq
aiStrategy.addCondition AttackCond 10.0
aiStrategy.addCondition timeCond 0.1

rem * FootHold *
aiStrategy.createPrerequisite FootHoldPrereq
aiStrategy.addCondition HoldCond 15.0
aiStrategy.addCondition timeCond 0.1


rem * HoldTheVillage *
aiStrategy.createPrerequisite HoldVillagePrereq
aiStrategy.addCondition HoldTheVillageCond 20.0
aiStrategy.addCondition timeCond 0.1



rem ----------------------------------------------------------------------------
endIf