Event for the start of the war:
/Elisson
Code:
##########################
# AUSTRIA-HUNGARY #
##########################
# Franz Ferdinand is shot
event = {
id = 3001
country = U11
name = "Assasination of Franz Ferdinand in Sarajevo"
desc = "Franz Ferdinand was assasinated by Serbian nationalists!"
style = 0
trigger = {
exists = SER
NOT = {
war = { country = U11 country = SER }
}
}
random = no
date = { day = 27 month = june year = 1914 }
action_a = {
name = "Send tough conditions to Serbia, let's wait a month for their answer."
command = { type = dissent value = -5 }
}
action_b = {
name = "Declare war on Serbia and hope that Russia won't support them!"
command = { type = dissent value = 15 }
command = { type = trigger which = 48001 } # Russia decides to help in early war or not
command = { type = sleepevent which = 50001 } # Serbia answers tough conditions
}
}
# Russia supports Serbia in early war
event = {
id = 3002
country = U11
name = "Russian support"
desc = "Russia supports Serbia and declares war on us."
style = 0
random = no
action_a = {
name = "Then let us crush them too."
command = { type = war which = SER }
}
}
# Russia doesn't support Serbia in early war
event = {
id = 3003
country = U11
name = "No support"
desc = "Russia won't support Serbia."
style = 0
random = no
action_a = {
name = "Good!"
command = { type = war which = SER }
}
}
# Serbia Accepts our demands
event = {
id = 3004
random = no
country = U11
name = "Serbia Accepts demands"
desc = "Serbia accepted our demands."
style = 0
action_a = {
name = "Good!"
command = { type = make_puppet which = SER }
}
}
# Russia supports Serbia in late war
event = {
id = 3005
country = U11
name = "Serbia doesn't give in"
desc = "Serbia won't accept our demands and Russia decided to back them up."
style = 0
random = no
action_a = {
name = "Declare war and crush them both!"
command = { type = war which = SER }
}
action_b = {
name = "Forgive Serbia and withdraw those demands."
command = { type = dissent value = 25 }
command = { type = trigger which = 50002 } # Let Serbia know this
command = { type = sleepevent which = 27002 } # Italy won't leave alliance
}
}
# Russia doesn't support Serbia in late war
event = {
id = 3006
country = U11
name = "Serbia doesn't give in"
desc = "Serbia won't accept our demands but Russia decided not to back them up."
style = 0
random = no
action_a = {
name = "Declare war!"
command = { type = war which = SER }
}
action_b = {
name = "Forgive Serbia and withdraw those demands."
command = { type = dissent value = 25 }
command = { type = trigger which = 50002 } # Let Serbia know this
command = { type = sleepevent which = 27002 } # Italy won't leave alliance
}
}
/Elisson