• 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.

Tayran

Colonel
38 Badges
Jan 3, 2001
895
18
Visit site
  • Darkest Hour
  • Cities: Skylines - After Dark
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Crusader Kings II
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III
  • Hearts of Iron III
  • Tyranny: Archon Edition
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Mass Transit
  • Surviving Mars
  • Empire of Sin
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Cities: Skylines Industries
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Cities: Skylines
  • 500k Club
  • Warlock: Master of the Arcane
  • Victoria 2
I am coding this event. And the program Im using to check it complains about this part. Ive checked the file with and without this part, and the problem lies here. But I cannot figure out what!
Can anyone have look?

########################################
#### Sweden
########################################

## Reorganization of the army ##
event = {
id = 94009
random = no
country = SWE
style = 0
picture = "militaryparade1"

date = { day = 1 month = february year = 1936 }
offset = 1
deathdate = { day = 1 month = september year = 1936 }
name = "SNSAP reorganizes the army"
desc = "One of biggest issues on SNSAP's agenda was the restoriration of Sweden as a military power."

action_a = {
name = "We build for war."
command = { type = manpowerpool value = 100 }
command = { type = supplies value = 1000 }
command = { type = relative_manpower = 10 }
command = { type = dissent = 2 }

}
}
 

unmerged(58571)

Field Marshal
Jul 1, 2006
6.288
0
1. Please use code tags to preserve indentation.
2. You should get rid of "random = no" and "style = 0" as these are default values; while two extra lines of information is not much for a single event, it will be a great deal of useless spam when you reach several hundred events.
3. You should get rid of the offset and deathdate; since you have no trigger conditions and offset = 1 it will always trigger on either February 2 or February 3, 1936.
4. command = { type = relative_manpower value = 10 }
 

unmerged(58571)

Field Marshal
Jul 1, 2006
6.288
0
[ code ] <your code> [ /code ] without the extra spaces around the brackets.