• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(48679)

Captain
Sep 17, 2005
379
0
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 }
}
}
 

Ayeshteni

Jehanne's Slave
111 Badges
Jul 31, 2002
6.280
108
  • 500k Club
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • 200k Club
  • Heir to the Throne
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Hearts of Iron IV: No Step Back
  • Europa Universalis III
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • A Game of Dwarves
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
Mr Hearts said:
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 }
}
}

you may want to close some of those commands, add closing brackets (in green)

Ayeshteni