Hi! I've done a event for the creation of prussia like this.
country_event = {
id = 7016
trigger = {
NOT = { exists = PRU }
NOT = { has_country_flag = prussian_nation_declined }
NOT = { exists = GER }
NOT = { has_country_flag = german_nation_declined }
OR = {
TAG = BRA
TAG = TEU
}
owns = 40 # Memel
owns = 41 # Ostpreussen
owns = 42 # Warmia
owns = 48 # Hinterpommern
owns = 49 # Neumark
owns = 50 # Brandenburg
owns = 52 # Altmark
owns = 51 # Ruppin
war = no
}
mean_time_to_happen = {
months = 60
modifier = {
factor = 0.95
owns = 45 # Lübeck
}
modifier = {
factor = 0.95
owns = 47 # Vorpommern
}
modifier = {
factor = 0.95
owns = 254 # Poznan
}
modifier = {
factor = 0.95
owns = 43 # Danzig
}
modifier = {
factor = 0.95
owns = 53 # Lüneburg
}
modifier = {
factor = 0.95
owns = 58 # Anhalt
}
modifier = {
factor = 0.95
owns = 57 # Hannover
}
}
title = "Nasce la Prussia"
desc = "Di fronte alla minaccia francese i principi tedeschi seppero costituire un fronte unico della nazione germanica."
option = {
name = "Dai vita alla Prussia"
ai_chance = { factor = 75 }
change_tag = PRU
PRU = {
add_core = 40 # Memel
add_core = 41 # Ostpreussen
add_core = 42 # Warmia
add_core = 48 # Hinterpommern
add_core = 49 # Neumark
add_core = 50 # Brandenburg
add_core = 52 # Altmark
add_core = 51 # Ruppin
}
capital = 41
primary_culture = prussian
government = feudal_monarchy
centralization_decentralization = -2
merchants = 1
random_owned = {
base_tax = 1
}
prestige = 0.05
}
option = {
name = "Rifiuta la possibilità"
ai_chance = { factor = 25 }
set_country_flag = prussian_nation_declined
centralization_decentralization = 2
random_owned = {
base_tax = -1
}
}
}
only one question:
I would like to set that at the creatione of new state (Prussia) this state have casus belli against other state (es. Austria); how can I set this in the file event? which command must I use for this?
somebody can explain me?
thank a lot
country_event = {
id = 7016
trigger = {
NOT = { exists = PRU }
NOT = { has_country_flag = prussian_nation_declined }
NOT = { exists = GER }
NOT = { has_country_flag = german_nation_declined }
OR = {
TAG = BRA
TAG = TEU
}
owns = 40 # Memel
owns = 41 # Ostpreussen
owns = 42 # Warmia
owns = 48 # Hinterpommern
owns = 49 # Neumark
owns = 50 # Brandenburg
owns = 52 # Altmark
owns = 51 # Ruppin
war = no
}
mean_time_to_happen = {
months = 60
modifier = {
factor = 0.95
owns = 45 # Lübeck
}
modifier = {
factor = 0.95
owns = 47 # Vorpommern
}
modifier = {
factor = 0.95
owns = 254 # Poznan
}
modifier = {
factor = 0.95
owns = 43 # Danzig
}
modifier = {
factor = 0.95
owns = 53 # Lüneburg
}
modifier = {
factor = 0.95
owns = 58 # Anhalt
}
modifier = {
factor = 0.95
owns = 57 # Hannover
}
}
title = "Nasce la Prussia"
desc = "Di fronte alla minaccia francese i principi tedeschi seppero costituire un fronte unico della nazione germanica."
option = {
name = "Dai vita alla Prussia"
ai_chance = { factor = 75 }
change_tag = PRU
PRU = {
add_core = 40 # Memel
add_core = 41 # Ostpreussen
add_core = 42 # Warmia
add_core = 48 # Hinterpommern
add_core = 49 # Neumark
add_core = 50 # Brandenburg
add_core = 52 # Altmark
add_core = 51 # Ruppin
}
capital = 41
primary_culture = prussian
government = feudal_monarchy
centralization_decentralization = -2
merchants = 1
random_owned = {
base_tax = 1
}
prestige = 0.05
}
option = {
name = "Rifiuta la possibilità"
ai_chance = { factor = 25 }
set_country_flag = prussian_nation_declined
centralization_decentralization = 2
random_owned = {
base_tax = -1
}
}
}
only one question:
I would like to set that at the creatione of new state (Prussia) this state have casus belli against other state (es. Austria); how can I set this in the file event? which command must I use for this?
somebody can explain me?
thank a lot