Hi, I have problems with two events that I have created for Sweden.
Could someone look at these and then tell me what I have been doing wrong so I don't make the same mistakes again?
The first one:
#########################################################################
# Sweden Turns Fascist
#########################################################################
event = {
id = 999999999
random = no
country = SWE
name = "Fascist Uprising"
desc = "The Swedish National Socialist Party NSAP led by Martin Ekström has accused the Social Democratic Government of Sweden to be corrupt and weak and has stage a coup in Stockholm. The outcome hangs in balance..."
style = 0
picture = "uprising"
trigger = {
atwar = no
NOT = {
ispuppet = SWE
}
}
date = { day = 3 month = january year = 1936 }
action_a = {
ai_chance = 1
name = "Surrender"
command = { type = domestic which = interventionism value = 6 }
command = { type = set_domestic which = democratic value = -7 }
command = { type = set_domestic which = political_left value = -7 }
command = { type = headofstate which = 7011
command = { type = headofgovernment which = 7012
command = { type = foreignminister which = 7013
command = { type = armamentminister which = 7014
command = { type = ministerofsecurity which = 7015
command = { type = ministerofintelligence which = 7016
command = { type = chiefofstaff which = 7017
command = { type = chiefofarmy which = 7018
command = { type = chiefofnavy which = 7019
command = { type = chiefofair which = 7020
command = { type = relation which = GER value = 50 }
command = { type = relation which = SOV value = -10 }
command = { type = relation which = ENG value = -20 }
command = { type = relation which = FRA value = -20 }
command = { type = relation which = NOR value = -50 }
command = { type = relation which = DEN value = -50 }
command = { type = relation which = FIN value = -50 }
}
action_b = {
ai_chance= 99
name = "Crush them!"
command = { type = dissent value = -5 }
}
}
And the second one:
#########################################################################
# Reformation of the Swedish Empire
#########################################################################
event = {
id = 9999999999
random = no
country = SWE
name = "Old Scores"
desc = "After centuries, The Swedish Empire is about to return to glory. It is time to let the world know what we desire..."
style = 0
#picture = "reinforcements"
trigger = {
government = authoritarian
}
date = { day = 2 month = january year = 1936 }
offset = 3 # Check for trigger conditions day
deathdate = { day = 30 month = december year = 1947 }
action_a = {
name = "Our time has come..." #
ai_chance = 100
command = { type = addcore which = 107 } #Norway
command = { type = addcore which = 108 }
command = { type = addcore which = 109 }
command = { type = addcore which = 110 }
command = { type = addcore which = 111 }
command = { type = addcore which = 116 }
command = { type = addcore which = 117 }
command = { type = addcore which = 118 }
command = { type = addcore which = 124 }
command = { type = addcore which = 125 }
command = { type = addcore which = 128 }
command = { type = addcore which = 129 }
command = { type = addcore which = 292 }
command = { type = addcore which = 92 } #Denmark
command = { type = addcore which = 91 }
command = { type = addcore which = 293 }
command = { type = addcore which = 294 }
command = { type = addcore which = 295 }
command = { type = addcore which = 1 }
command = { type = addcore which = 2 }
command = { type = addcore which = 800 }
command = { type = addcore which = 103 } #Aland
command = { type = addcore which = 141 } #Finland
command = { type = addcore which = 142 }
command = { type = addcore which = 140 }
command = { type = addcore which = 143 }
command = { type = addcore which = 144 }
command = { type = addcore which = 138 }
command = { type = addcore which = 139 }
command = { type = addcore which = 147 }
command = { type = addcore which = 148 }
command = { type = addcore which = 149 }
command = { type = addcore which = 136 }
command = { type = addcore which = 137 }
command = { type = addcore which = 131 }
command = { type = addcore which = 130 }
command = { type = addcore which = 132 }
command = { type = addcore which = 145 } #Possibly Soviet
command = { type = addcore which = 146 }
command = { type = addcore which = 135 } #Eastern Karelia
command = { type = addcore which = 150 }
command = { type = addcore which = 152 }
command = { type = addcore which = 193 } #Estonia
command = { type = addcore which = 194 }
command = { type = addcore which = 195 }
command = { type = addcore which = 196 }
command = { type = addcore which = 203 } #Latvia
command = { type = addcore which = 204 }
command = { type = addcore which = 205 }
command = { type = addcore which = 197 }
command = { type = addcore which = 202 }
command = { type = addcore which = 207 } #Lithuania
command = { type = addcore which = 208 }
command = { type = addcore which = 511 }
command = { type = addcore which = 577 }
}
}
Could someone look at these and then tell me what I have been doing wrong so I don't make the same mistakes again?
The first one:
#########################################################################
# Sweden Turns Fascist
#########################################################################
event = {
id = 999999999
random = no
country = SWE
name = "Fascist Uprising"
desc = "The Swedish National Socialist Party NSAP led by Martin Ekström has accused the Social Democratic Government of Sweden to be corrupt and weak and has stage a coup in Stockholm. The outcome hangs in balance..."
style = 0
picture = "uprising"
trigger = {
atwar = no
NOT = {
ispuppet = SWE
}
}
date = { day = 3 month = january year = 1936 }
action_a = {
ai_chance = 1
name = "Surrender"
command = { type = domestic which = interventionism value = 6 }
command = { type = set_domestic which = democratic value = -7 }
command = { type = set_domestic which = political_left value = -7 }
command = { type = headofstate which = 7011
command = { type = headofgovernment which = 7012
command = { type = foreignminister which = 7013
command = { type = armamentminister which = 7014
command = { type = ministerofsecurity which = 7015
command = { type = ministerofintelligence which = 7016
command = { type = chiefofstaff which = 7017
command = { type = chiefofarmy which = 7018
command = { type = chiefofnavy which = 7019
command = { type = chiefofair which = 7020
command = { type = relation which = GER value = 50 }
command = { type = relation which = SOV value = -10 }
command = { type = relation which = ENG value = -20 }
command = { type = relation which = FRA value = -20 }
command = { type = relation which = NOR value = -50 }
command = { type = relation which = DEN value = -50 }
command = { type = relation which = FIN value = -50 }
}
action_b = {
ai_chance= 99
name = "Crush them!"
command = { type = dissent value = -5 }
}
}
And the second one:
#########################################################################
# Reformation of the Swedish Empire
#########################################################################
event = {
id = 9999999999
random = no
country = SWE
name = "Old Scores"
desc = "After centuries, The Swedish Empire is about to return to glory. It is time to let the world know what we desire..."
style = 0
#picture = "reinforcements"
trigger = {
government = authoritarian
}
date = { day = 2 month = january year = 1936 }
offset = 3 # Check for trigger conditions day
deathdate = { day = 30 month = december year = 1947 }
action_a = {
name = "Our time has come..." #
ai_chance = 100
command = { type = addcore which = 107 } #Norway
command = { type = addcore which = 108 }
command = { type = addcore which = 109 }
command = { type = addcore which = 110 }
command = { type = addcore which = 111 }
command = { type = addcore which = 116 }
command = { type = addcore which = 117 }
command = { type = addcore which = 118 }
command = { type = addcore which = 124 }
command = { type = addcore which = 125 }
command = { type = addcore which = 128 }
command = { type = addcore which = 129 }
command = { type = addcore which = 292 }
command = { type = addcore which = 92 } #Denmark
command = { type = addcore which = 91 }
command = { type = addcore which = 293 }
command = { type = addcore which = 294 }
command = { type = addcore which = 295 }
command = { type = addcore which = 1 }
command = { type = addcore which = 2 }
command = { type = addcore which = 800 }
command = { type = addcore which = 103 } #Aland
command = { type = addcore which = 141 } #Finland
command = { type = addcore which = 142 }
command = { type = addcore which = 140 }
command = { type = addcore which = 143 }
command = { type = addcore which = 144 }
command = { type = addcore which = 138 }
command = { type = addcore which = 139 }
command = { type = addcore which = 147 }
command = { type = addcore which = 148 }
command = { type = addcore which = 149 }
command = { type = addcore which = 136 }
command = { type = addcore which = 137 }
command = { type = addcore which = 131 }
command = { type = addcore which = 130 }
command = { type = addcore which = 132 }
command = { type = addcore which = 145 } #Possibly Soviet
command = { type = addcore which = 146 }
command = { type = addcore which = 135 } #Eastern Karelia
command = { type = addcore which = 150 }
command = { type = addcore which = 152 }
command = { type = addcore which = 193 } #Estonia
command = { type = addcore which = 194 }
command = { type = addcore which = 195 }
command = { type = addcore which = 196 }
command = { type = addcore which = 203 } #Latvia
command = { type = addcore which = 204 }
command = { type = addcore which = 205 }
command = { type = addcore which = 197 }
command = { type = addcore which = 202 }
command = { type = addcore which = 207 } #Lithuania
command = { type = addcore which = 208 }
command = { type = addcore which = 511 }
command = { type = addcore which = 577 }
}
}