How do i make a focus annex a state/country?

i made a custom country that is set to rule the balkan sea but i am not sure how to make focuses annex countrys or states

Do you want to annex them without asking the country, or would you like to fire an event to the country in question for them to accept/deny?

If the former, all you need is:

STATEID = {

transfer_state_to = TAG

}

Where STATEID is the ID of the state you wish to transfer and TAG is the tag of the country to receive the state.


Or for the whole country:

TAG = {

annex_country = {

    target = TAG

    transfer_troops = yes

}

}

Where the first TAG is your country, and the second is the country to be annexed.


If the event, then you will need to create the event first. With one option that has the effect, as per the above rewards.

And another which is:

TAG = {

declare_war_on = {

    target = TAG

    type = annex_everything

}

}

Same as the annex reward, but this will declare war on the target nation instead.


Set the event to have no trigger, and tick the "Is triggered only?" box, and save the event.


Then hover over your event, and copy the ID at the bottom, it'll look something like "your_event_id.1"


Then, in your focus, the reward will be:

news_event = {

    id = YOUR_EVENT_ID

    days = 1

}

If the event type is "News", if it's a "Country" event, then:

country_event = {

    id = YOUR_EVENT_ID

    days = 1

}