:wacko:
I am trying to get a decision to work for a seazone. Basically I want it to be "allowed" when there is only one trireme in the sea province.
Test code so far as follows:
It then says:
That all looks perfect but the problem is even when I have zero ships in sea province 291 it is still "allowed". If I move in more than two it is no longer "allowed".
The "and" appears to make no difference.
Can anyone see what I have done wrong or what I need to change so that it read both parameters at the same time ?
Any help is much appreciated.
I am trying to get a decision to work for a seazone. Basically I want it to be "allowed" when there is only one trireme in the sea province.
Test code so far as follows:
Code:
allow = {
291 = {
and = {
units_in_province = this
NOT = { units_in_province = 2 }
}
}
}
Code:
allow = {
291 = {
units_in_province = this
NOT = { units_in_province = 2 }
}
}
Code:
allow = {
291 = {
units_in_province = 0
NOT = { units_in_province = 2 }
}
}
It then says:
(*) Mare Aegyptiacum
Have more units in Mare Aegyptiacum than 0
Have less units in Mare Aegyptiacum than2
That all looks perfect but the problem is even when I have zero ships in sea province 291 it is still "allowed". If I move in more than two it is no longer "allowed".
The "and" appears to make no difference.
Can anyone see what I have done wrong or what I need to change so that it read both parameters at the same time ?
Any help is much appreciated.