Version: Vanilla 1.03b
Orignal thread where problem was identified: [thread=3216581][Here][/thread]
the command pop_militancy is broken. It does not check the where parameter.
The "Uprising in Canada" event has the following effect for option B. This should raise the militancy for all POPs in Quebec and Ontario by +2. However what it actually does is raise the MIL for all POPs in all states in the UK by +4 (+2 for each command event)
A test event like the one below demonstrates this problem by raising the militancy for any country if you manually fire it, even if you don't own the provinces in the where parameter.
Changing one of the commands to command = { type = pop_militancy which = capitalists value = 2 where = 174 } still ignores the where parameter and alters the MIL of all capitalists in the country.
Orignal thread where problem was identified: [thread=3216581][Here][/thread]
the command pop_militancy is broken. It does not check the where parameter.
The "Uprising in Canada" event has the following effect for option B. This should raise the militancy for all POPs in Quebec and Ontario by +2. However what it actually does is raise the MIL for all POPs in all states in the UK by +4 (+2 for each command event)
Code:
command = { type = pop_militancy which = 100 value = 2 where = 152 }
command = { type = pop_militancy which = 100 value = 2 where = 174 }
A test event like the one below demonstrates this problem by raising the militancy for any country if you manually fire it, even if you don't own the provinces in the where parameter.
Code:
event = {
id = 90000
random = no
name = "MIL Test"
desc = "MIL Test"
style = 0
action_a = {
command = { type = pop_militancy which = 100 value = 2 where = 152 }
command = { type = pop_militancy which = 100 value = 2 where = 174 }
}
}
Changing one of the commands to command = { type = pop_militancy which = capitalists value = 2 where = 174 } still ignores the where parameter and alters the MIL of all capitalists in the country.
Upvote
0