OK guys, I need your help in figuring something out. Let me first set forth the event:
event = {
id = 1000000
random = no
province = 1697
date = { day = 2 month = january year = 1836 }
offset = 30
deathdate = { day = 30 month = december year = 1837 }
trigger = {
NOT = { exists = MEX }
NOT = { continent = america }
}
name = "Mexico declares independence!"
desc = "In the 16 years that your Lordship has been away, the Empire has been racked with revolt. Our colonies in the Americas have declared a desire for independence."
action_a = {
name = "History marches on" # Accept the inevitable
ai_chance = 85
command = { type = independence which = MEX value = 0 } # Mexico
}
action_b = {
name = "Let us amend history" # Vassalisation, supposedly. But does not work.
ai_chance = 14
command = { type = independence which = MEX value = 1 } # Mexico
command = { type = prestige value = 30 }
}
action_c = {
name = "History is bunk!" # Amended event
ai_chance = 1
command = { type = prestige value = 10 }
command = { type = pop_militancy which = labourers value = 1 }
command = { type = pop_militancy which = farmers value = 1 }
command = { type = pop_militancy which = clergymen value = -1 }
command = { type = pop_militancy which = soldiers value = -1 }
command = { type = pop_militancy which = officers value = -1 }
command = { type = pop_militancy which = clerks value = 1 }
command = { type = pop_militancy which = craftsmen value = 1 }
}
}
The problem is that both option a and option b result in independence. Despite what the event_commands.txt says, putting the value = 1 in event b only means that you retain any armies.... but does not grant vassalisation. Where's the problem?
PS Event fires OK, don't worry about the dates and stuff - its for the EU2Vic optional events files.
event = {
id = 1000000
random = no
province = 1697
date = { day = 2 month = january year = 1836 }
offset = 30
deathdate = { day = 30 month = december year = 1837 }
trigger = {
NOT = { exists = MEX }
NOT = { continent = america }
}
name = "Mexico declares independence!"
desc = "In the 16 years that your Lordship has been away, the Empire has been racked with revolt. Our colonies in the Americas have declared a desire for independence."
action_a = {
name = "History marches on" # Accept the inevitable
ai_chance = 85
command = { type = independence which = MEX value = 0 } # Mexico
}
action_b = {
name = "Let us amend history" # Vassalisation, supposedly. But does not work.
ai_chance = 14
command = { type = independence which = MEX value = 1 } # Mexico
command = { type = prestige value = 30 }
}
action_c = {
name = "History is bunk!" # Amended event
ai_chance = 1
command = { type = prestige value = 10 }
command = { type = pop_militancy which = labourers value = 1 }
command = { type = pop_militancy which = farmers value = 1 }
command = { type = pop_militancy which = clergymen value = -1 }
command = { type = pop_militancy which = soldiers value = -1 }
command = { type = pop_militancy which = officers value = -1 }
command = { type = pop_militancy which = clerks value = 1 }
command = { type = pop_militancy which = craftsmen value = 1 }
}
}
The problem is that both option a and option b result in independence. Despite what the event_commands.txt says, putting the value = 1 in event b only means that you retain any armies.... but does not grant vassalisation. Where's the problem?
PS Event fires OK, don't worry about the dates and stuff - its for the EU2Vic optional events files.