The AI European continent countries move the capital to America and Africa colonies when Nazi take over the Europe. But why they don't move the capital back to Europe when the Nazi was defeated?
They obviously prefer the tropical paradise of the belgian congo to stuffy old brussels
################################################## #######################
# 14302 - France returns capital to Paris
################################################## #######################
event = {
id = 14302
random = no
country = FRA
name = "France returns capital to Paris"
desc = "We must restore our capital."
style = 0
picture = "ger_surrender"
trigger = {
AND = {
NOT = { exists = GER }
owned = { province = 56 data = FRA }
}
}
date = { day = 2 month = january year = 1936 }
offset = 1 # Check for trigger conditions day
deathdate = { day = 30 month = december year = 1953 }
action_a = {
name = "Fix it" #
ai_chance = 100
command = { type = capital which = 56 }
}
}
################################################## #######################
# 14305 - Holland returns capital to Amsterdam
################################################## #######################
event = {
id = 14305
random = no
country = HOL
name = "Holland returns capital to Amsterdam"
desc = "We must restore our capital."
style = 0
picture = "ger_surrender"
trigger = {
AND = {
NOT = { exists = GER }
owned = { province = 47 data = HOL }
}
}
date = { day = 2 month = january year = 1936 }
offset = 1 # Check for trigger conditions day
deathdate = { day = 30 month = december year = 1953 }
action_a = {
name = "Fix it" #
ai_chance = 100
command = { type = capital which = 47 }
command = { type = addcore which = 46 }
command = { type = addcore which = 47 }
command = { type = addcore which = 48 }
command = { type = addcore which = 49 }
command = { type = addcore which = 77 }
command = { type = addcore which = 78 }
command = { type = addcore which = 79 }
}
}
################################################## #######################
# 14306 - Belgium returns capital to Brussels
################################################## #######################
event = {
id = 14306
random = no
country = BEL
name = "Belgium returns capital to Brussels"
desc = "We must restore our capital."
style = 0
picture = "ger_surrender"
trigger = {
AND = {
NOT = { exists = GER }
owned = { province = 51 data = BEL }
}
}
date = { day = 2 month = january year = 1936 }
offset = 1 # Check for trigger conditions day
deathdate = { day = 30 month = december year = 1953 }
action_a = {
name = "Fix it" #
ai_chance = 100
command = { type = capital which = 51 }
command = { type = addcore which = 45 }
command = { type = addcore which = 50 }
command = { type = addcore which = 51 }
command = { type = addcore which = 52 }
command = { type = addcore which = 65 }
command = { type = addcore which = 68 }
command = { type = addcore which = 69 }
command = { type = addcore which = 70 }
command = { type = removecore which = 1095 }
command = { type = removecore which = 1142 }
command = { type = removecore which = 1098 }
command = { type = removecore which = 1127 }
command = { type = removecore which = 1144 }
command = { type = removecore which = 1143 }
command = { type = removecore which = 1074 }
command = { type = removecore which = 1071 }
command = { type = removecore which = 1072 }
command = { type = removecore which = 1073 }
command = { type = removecore which = 1063 }
}
}
I use these events for that
Code:################################################## ####################### # 14302 - France returns capital to Paris ################################################## ####################### event = { id = 14302 random = no country = FRA name = "France returns capital to Paris" desc = "We must restore our capital." style = 0 picture = "ger_surrender" trigger = { AND = { NOT = { exists = GER } owned = { province = 56 data = FRA } } } date = { day = 2 month = january year = 1936 } offset = 1 # Check for trigger conditions day deathdate = { day = 30 month = december year = 1953 } action_a = { name = "Fix it" # ai_chance = 100 command = { type = capital which = 56 } } } ################################################## ####################### # 14305 - Holland returns capital to Amsterdam ################################################## ####################### event = { id = 14305 random = no country = HOL name = "Holland returns capital to Amsterdam" desc = "We must restore our capital." style = 0 picture = "ger_surrender" trigger = { AND = { NOT = { exists = GER } owned = { province = 47 data = HOL } } } date = { day = 2 month = january year = 1936 } offset = 1 # Check for trigger conditions day deathdate = { day = 30 month = december year = 1953 } action_a = { name = "Fix it" # ai_chance = 100 command = { type = capital which = 47 } command = { type = addcore which = 46 } command = { type = addcore which = 47 } command = { type = addcore which = 48 } command = { type = addcore which = 49 } command = { type = addcore which = 77 } command = { type = addcore which = 78 } command = { type = addcore which = 79 } } } ################################################## ####################### # 14306 - Belgium returns capital to Brussels ################################################## ####################### event = { id = 14306 random = no country = BEL name = "Belgium returns capital to Brussels" desc = "We must restore our capital." style = 0 picture = "ger_surrender" trigger = { AND = { NOT = { exists = GER } owned = { province = 51 data = BEL } } } date = { day = 2 month = january year = 1936 } offset = 1 # Check for trigger conditions day deathdate = { day = 30 month = december year = 1953 } action_a = { name = "Fix it" # ai_chance = 100 command = { type = capital which = 51 } command = { type = addcore which = 45 } command = { type = addcore which = 50 } command = { type = addcore which = 51 } command = { type = addcore which = 52 } command = { type = addcore which = 65 } command = { type = addcore which = 68 } command = { type = addcore which = 69 } command = { type = addcore which = 70 } command = { type = removecore which = 1095 } command = { type = removecore which = 1142 } command = { type = removecore which = 1098 } command = { type = removecore which = 1127 } command = { type = removecore which = 1144 } command = { type = removecore which = 1143 } command = { type = removecore which = 1074 } command = { type = removecore which = 1071 } command = { type = removecore which = 1072 } command = { type = removecore which = 1073 } command = { type = removecore which = 1063 } } }
Noline
Where can add it ?
Thanks!
add it to any event file in /db/events/[...].txt; It will only be applied for new games, though.
It works, thank you!
And how can let the Italy capital return to Rome and Yugoslavia return to Belglade?