Hi all, I'm updating my unification events to have some of Prussia's events fire for an early-unified Germany, but I'm having problems with the spanish throne event chain.
This event works fine:
This event's trigger doesn't work so I have commented it out for the meantime, help with it would be nice but does not concern me just yet:
What I don't understand is why this event fires for Prussia
:
This event works fine:
Code:
#########################################################################
# The Spanish Succession Crisis
#########################################################################
event = {
id = 7705
random = no
country = SPA
picture = 7705
trigger = {
OR = {
AND = {
exists = GER
not = {
constitution = { country = GER type = democracy }
}
}
AND = {
exists = PRU
not = {
constitution = { country = PRU type = democracy }
}
}
}
}
name = "EVT_4631_NAME"
desc = "EVT_4631_DESC"
style = 0
date = { day = 1 month = june year = 1870 }
action_a = {
name = "ACTIONNAME7705A" # Offer the throne to a Hohenzollern
command = { type = prestige value = 50 }
command = { type = trigger which = 4631 }
}
action_b = {
name = "ACTIONNAME7705B" # Offer the throne to an Italian
command = { type = prestige value = -50 }
}
}
This event's trigger doesn't work so I have commented it out for the meantime, help with it would be nice but does not concern me just yet:
Code:
########################################################################
# The Spanish Succession Crisis
#########################################################################
event = {
id = 4631
random = no
province = 342 #Berlin
#Triggered by SPA 7705
#trigger = {
#not = {
#OR = {
#constitution = { country = GER type = democracy }
#constitution = { country = PRU type = democracy }
#}
#}
#}
name = "EVT_4631_NAME"
desc = "EVT_4631_DESC"
style = 0
action_a = {
name = "ACCEPT" # Accept
command = { type = prestige value = 25 }
command = { type = relation which = FRA value = -200 }
command = { type = trigger which = 7234 } # FRA
}
action_b = {
name = "DECLINE" # Decline
command = { type = prestige value = -25 }
command = { type = relation which = FRA value = -50 }
}
}
What I don't understand is why this event fires for Prussia
Code:
#########################################################################
# A Hohenzollern on the Spanish Throne
#########################################################################
event = {
id = 7234
random = no
country = FRA
# Triggered by PRU 4631A
trigger = {
NOT = {
peace_treaty = { country = FRA country = PRU }
peace_treaty = { country = GER country = PRU }
}
}
name = "EVT_7234_NAME"
desc = "EVT_4631_DESC"
style = 0
action_a = {
name = "ACTIONNAME7234A" # No, this means War
command = { type = war which = PRU }
command = { type = war which = GER }
command = { type = setflag which = flg_Austrian_vengeance }
}
action_b = {
name = "ACTIONNAME7234B" # Who cares about Spain
command = { type = prestige value = -10 }
}
}
Last edited: