Hey all, I've managed to use the seced province commands to form Germany without BB. I've now like to make some events for the GPs in europe triggered by the unification event. I've not really done much modding, and my first attempts aren't working out. Here's the events I made for France:
Could someone tell me what I'm doing wrong? The event don't trigger in game, and I can't trigger them with f12 but they don't make the game crash.
Code:
#Popular unification reaction
event = {
id = 96010
random = no
country = FRA
trigger = {
event = 4612
constitution = { country = FRA type = monarchy }
constitution = { country = FRA type = constitutional_monarchy }
}
name = "Democratic Germany formed"
desc = "The will of the people has united Germany"
style = 0
date = { day = 1 month = january year = 1836 }
offset = 30
deathdate = { day = 30 month = december year = 1920 }
action_a = {
name = "We can't stand democracies!"
command = { type = relation which = GER value = -150 }
}
action_b = {
name = "We must crush them!"
command = { type = war which = GER }
}
}
#Popular unification reaction
event = {
id = 96020
random = no
country = FRA
trigger = {
event = 4616
constitution = { country = FRA type = democracy }
}
name = "Democratic Germany formed"
desc = "The will of the people has united Germany"
style = 0
date = { day = 1 month = january year = 1836 }
offset = 30
deathdate = { day = 30 month = december year = 1920 }
action_a = {
name = "A democratic Germany isn't so bad"
command = { type = relation which = GER value = -50 }
}
action_b = {
name = "We must crush them!"
command = { type = war which = GER }
}
}
#Conservitive empire reaction
event = {
id = 96030
random = no
country = FRA
trigger = {
event = 4616
constitution = { country = FRA type = democracy }
}
name = "Conservitive Germany formed"
desc = "The reactionaries have united Germany"
style = 0
date = { day = 1 month = january year = 1836 }
offset = 30
deathdate = { day = 30 month = december year = 1920 }
action_a = {
name = "We can't stand reactionaries!"
command = { type = relation which = GER value = -150 }
}
action_b = {
name = "We must crush them!"
command = { type = war which = GER }
}
}
#Conservitive empire reaction
event = {
id = 96040
random = no
country = FRA
trigger = {
event = 4616
constitution = { country = FRA type = monarchy }
constitution = { country = FRA type = constitutional_monarchy }
}
name = "Democratic Germany formed"
desc = "The will of the people has united Germany"
style = 0
date = { day = 1 month = january year = 1836 }
offset = 30
deathdate = { day = 30 month = december year = 1920 }
action_a = {
name = "A conservitive Germany isn't so bad"
command = { type = relation which = GER value = -50 }
}
action_b = {
name = "We must crush them!"
command = { type = war which = GER }
}
}
Could someone tell me what I'm doing wrong? The event don't trigger in game, and I can't trigger them with f12 but they don't make the game crash.