I have written this event / event-chain for German reparations payments:
My intention was that every year, on or about the 2nd of February, event 3013061 would fire for the Germans, and then trigger the others to fire as well. However, I am finding at the moment that the event is firing practically every day, and I have not even reached February yet! Can anyone please tell me what I have done wrong?
Code:
event = {
id = 3013061 # German payment of reparations 1
random = no
country = GER
style = 2
persistent = yes
trigger = {
and = {
day = 1
month = february
}
}
name = "Reparations payments."
desc = "Due to the Treaty of Versailles signed in 1919, Germany was obliged to make reparations payments to the victorious allied powers."
picture = "minister_died"
date = { day = 1 month = january year = 1930 }
offset = 1
deathdate = { day = 30 month = december year = 1940 }
action_a = {
name = "An unfair obligation indeed!"
command = { type = money value = -1000 }
command = { type = trigger which = 3013062 }
command = { type = trigger which = 3013063 }
command = { type = trigger which = 3013064 }
command = { type = trigger which = 3013065 }
command = { type = relation which = BEL value = 2 }
command = { type = relation which = ENG value = 2 }
command = { type = relation which = FRA value = 2 }
command = { type = relation which = USA value = 4 }
command = { type = manpowerpool value = -10 }
}
}
event = {
id = 3013062 # German payment of reparations 2
country = BEL
# Triggered by GER 3013061
name = "Reparations payments."
desc = "Due to the Treaty of Versailles signed in 1919, Germany was obliged to make reparations payments to the victorious allied powers."
style = 2
picture = "news_paper"
action = {
name = "The cost of the Great War must be repaid." # Excellent!
command = { type = money value = 200 }
command = { type = relation which = GER value = 2 }
command = { type = manpowerpool value = -2 }
}
}
event = {
id = 3013063 # German payment of reparations 3
country = ENG
# Triggered by GER 3013061
name = "Reparations payments."
desc = "Due to the Treaty of Versailles signed in 1919, Germany was obliged to make reparations payments to the victorious allied powers."
style = 2
picture = "news_paper"
action = {
name = "The cost of the Great War must be repaid." # Excellent!
command = { type = money value = 200 }
command = { type = relation which = GER value = 2 }
command = { type = manpowerpool value = -2 }
}
}
event = {
id = 3013064 # German payment of reparations 4
country = FRA
# Triggered by GER 3013061
name = "Reparations payments."
desc = "Due to the Treaty of Versailles signed in 1919, Germany was obliged to make reparations payments to the victorious allied powers."
style = 2
picture = "news_paper"
action = {
name = "The cost of the Great War must be repaid." # Excellent!
command = { type = money value = 200 }
command = { type = relation which = GER value = 2 }
command = { type = manpowerpool value = -2 }
}
}
event = {
id = 3013065 # German payment of reparations 5
country = USA
# Triggered by GER 3013061
name = "Reparations payments."
desc = "Due to the Treaty of Versailles signed in 1919, Germany was obliged to make reparations payments to the victorious allied powers."
style = 2
picture = "news_paper"
action = {
name = "The cost of the Great War must be repaid." # Excellent!
command = { type = money value = 400 }
command = { type = relation which = GER value = 4 }
command = { type = manpowerpool value = -4 }
}
}
My intention was that every year, on or about the 2nd of February, event 3013061 would fire for the Germans, and then trigger the others to fire as well. However, I am finding at the moment that the event is firing practically every day, and I have not even reached February yet! Can anyone please tell me what I have done wrong?