If I read the event file properly (and am less sure about the RoP syntax than for the newer games). I think there are two event chains, one if the AI is in charge and the other for PBEM.
But *I think* there is a bug. To me it looks like the AI chain should have 2 tests. I think the first step is the Prussians should have more than 75 'sub-units' (elements I presume) in Saxony. But the code has an error.
What is there is:
SelectSubUnits = Region $Pirna;Families $famElite $famLine $famLightInf $famSkirmisher $famMilitia $famCavalry $famHvyCavalry $famLightArty $famMedArty $famHvyArty;FactionTags SAX
EvalSubUnitCount = <;75
RegInit = 1
SelectSubUnits = Area $Theater_Bohemia;Families $famElite $famLine $famLightInf $famSkirmisher $famMilitia $famCavalry $famHvyCavalry $famLightArty $famMedArty $famHvyArty;FactionTags SAX
RegInit = 2
SelectSubUnits = Area $Theater_Saxony;Families $famElite $famLine $famLightInf $famSkirmisher $famMilitia $famCavalry $famHvyCavalry $famLightArty $famMedArty $famHvyArty;FactionTags SAX
RegInit = 3
RegSum = Registry 1 2
RegEvalNum = 3;>=;75
RegDeactivate = NULL
So my interpretation is that if the Prussians don't have 75 elements, the AI chain stops. But that code has an error as each line refers to Saxony.
I *think* it should read:
SelectSubUnits = Region $Pirna;Families $famElite $famLine $famLightInf $famSkirmisher $famMilitia $famCavalry $famHvyCavalry $famLightArty $famMedArty $famHvyArty;FactionTags SAX
EvalSubUnitCount = <;75
RegInit = 1
SelectSubUnits = Area $Theater_Bohemia;Families $famElite $famLine $famLightInf $famSkirmisher $famMilitia $famCavalry $famHvyCavalry $famLightArty $famMedArty $famHvyArty;FactionTags [color="#FF0000"]AUS[/color]
RegInit = 2
SelectSubUnits = Area $Theater_Saxony;Families $famElite $famLine $famLightInf $famSkirmisher $famMilitia $famCavalry $famHvyCavalry $famLightArty $famMedArty $famHvyArty;FactionTags [color="#FF0000"]PRU[/color]
RegInit = 3
RegSum = Registry 1 2
RegEvalNum = 3;>=;75
RegDeactivate = NULL
That would give the desired calculation. Now in almost any game of RoP the Prussian AI is going to meet that in any case, unless the Austrians win a battle very early (this fires for September with a 75% probablity).
Once that has been passed, the chain is:
The Saxons are told to escape (if they can) which is unlikely given a normal siege;
Consider a sortie - more likely, especially if there is a decent Austrian army nearby - so this is feasible to play for on the grounds it will at least kill some Prussians
The next stage is an evaluation of owned regions:
EvalRgnOwned = $Dresden
SelectFaction = $PRU
SelectRegion = $Dresden
SelectRegion = $Dresden
EvalControl = >=;60
SelectRegion = $Dippoldiswalde
EvalControl = >=;60
SelectRegion = $Radeberg
EvalControl = >=;60
SelectRegion = $Pirna
EvalControl = >=;60
EvalAreaPowerRatio = LAND;$Theater_Saxony;100;>=;50;25
That one seems ok, in effect Prussia needs 60% NM of the named Provinces and to outnumber the allies
The final test is a simple siege assessment (ie is Pirna under siege)
Now I *think* the problem is that the first test in some ways does not make sense (as written) and the result is the chain skips some stages and comes back to the simple siege test.
Unlike some other files, there is no MP version, so its the same in both (instead each event has an AI test, ie do this if the AI is in control). My suspicion is the first event (force evaluation) isn't working and for some reason that means the next test applied is the existence of a siege?