Hello all,
I'm trying to cede provinces that have been occupied for some amount of time to the controller. However, I'm not able to see any way to accomplish all of that. The closest I can get is the following:
So the problem is that the secede_province command in this case cede's the province to the country that gets the event, which is the owner. Essentially, this is backwards of what I want. However, I can't figure out how to turn it around. Switching the controller/owner tags in the trigger causes the event to never fire, I'm guessing because any_province only looks at owned provinces.
My other thought was to do a province_event and use a trigger like so:
However, this goes nowhere as it looks like using THIS in a province event is not valid. So, any ideas?
I'm trying to cede provinces that have been occupied for some amount of time to the controller. However, I'm not able to see any way to accomplish all of that. The closest I can get is the following:
Code:
country_event = {
id = 7305
trigger = {
any_province = {
controller = { NOT = { tag = THIS } }
owner = { tag = THIS }
}
}
name = "lose city"
desc = "lost"
option = {
name = "boo"
random_owned = {
limit = {
controller = { NOT = { tag = THIS } }
owner = { tag = THIS }
}
secede_province = THIS # Here's the issue
}
}
}
So the problem is that the secede_province command in this case cede's the province to the country that gets the event, which is the owner. Essentially, this is backwards of what I want. However, I can't figure out how to turn it around. Switching the controller/owner tags in the trigger causes the event to never fire, I'm guessing because any_province only looks at owned provinces.
My other thought was to do a province_event and use a trigger like so:
Code:
trigger = {
any_neighbor_province = {
NOT = { owner = THIS }
controller = THIS
}
}
However, this goes nowhere as it looks like using THIS in a province event is not valid. So, any ideas?