2 Questions

Hi.

I have 2 questions regarding the focus tree.

1) How do I set a trigger in Available for a "country xy doesn't exist" (what i mean is the focus can only be started if a certain country doesn't exist  anymore)

2) How can I make a focus that builds railways and supply hubs?


In the available box type:

NOT = {

country_exists = TAG

}


Where TAG is the country tag you're checking doesn't exist.

For supply hubs you will need to know both the state and province IDs you want to build it in.

For example, from the Soviet focus tree:

#Supply Hub in Yerevan

230 = {

add_building_construction = {

type = supply_node

level = 1

province = 12320

instant_build = yes

}

}


And for railways, you will need to know the IDs of the provinces to add the rail line in:

# Tbilisi - Yerevan

build_railway = {

path = { 1599 9702 12441 3564 12320 }

}


Thanks for the help!