Reworked SWE_291002 and SWE_291003:
Code:
#(1482-1501) The coronation of King Hans -1-
event = {
id = 291002
trigger = {
exists = DAN
event = 159002 #DAN: The coronation of King Hans
NOT = { vassal = { country = DAN country = SWE } }
NOT = { event = 291003 } #SWE: The coronation of King Hans -II-
}
random = no
country = SWE
name = "EVENTNAME291002" #The coronation of King Hans
desc = "EVENTHIST291002"
#-#
date = { day = 1 month = may year = 1482 }
offset = 570
deathdate = { day = 8 month = august year = 1501 }
action_a = {
name = "ACTIONNAME291002A" #Stall the coronation of Hans
command = { type = stability value = -2 }
command = { type = relation which = DAN value = -50 }
command = { type = relation which = BRA value = -10 }
command = { type = sleepmonarch which = 0131503 } #Hans
command = { type = sleepmonarch which = 0131504 } #Christian II
[COLOR="Red"]command = { type = wakemonarch which = 0131509 } #Sten Sture den äldre
command = { type = wakemonarch which = 0131510 } #Svante Nilsson (Sture)
command = { type = wakemonarch which = 0131511 } #Sten Sture den yngre[/COLOR]
}
action_b = {
name = "ACTIONNAME291002B" #We will honor the agreement
command = { type = stability value = 1 }
command = { type = domestic which = innovative value = -1 }
command = { type = provincetax which = 257 value = -3 } #Bergslagen
command = { type = relation which = DAN value = 200 }
command = { type = trigger which = 159009 } #DAN: Sweden crowns Hans as their King
command = { type = sleepevent which = 291004 } #DAN: Swedish nobles support Sten Sture den äldre (the elder)
command = { type = sleepevent which = 159017 } #DAN: Sweden is stalling
[COLOR="red"]command = { type = wakemonarch which = 0131503 } #Hans
command = { type = wakemonarch which = 0131504 } #Christian II
command = { type = sleepmonarch which = 0131509 } #Sten Sture den äldre
command = { type = sleepmonarch which = 0131510 } #Svante Nilsson (Sture)
command = { type = sleepmonarch which = 0131511 } #Sten Sture den yngre[/COLOR]
}
action_c = {
name = "ACTIONNAME291002C" #Never! Sweden shall remain independent
command = { type = stability value = -7 }
command = { type = relation which = DAN value = -100 }
command = { type = relation which = BRA value = -25 }
command = { type = domestic which = aristocracy value = -1 }
command = { type = domestic which = centralization value = 1 }
command = { type = domestic which = serfdom value = -1 }
command = { type = revolt which = 252 } #Småland
command = { type = revolt which = 253 } #Västergötland
command = { type = revolt which = 254 } #Svealand
command = { type = trigger which = 159010 } #DAN: Sten Sture den äldre (the elder) refuses to crown Hans
command = { type = sleepevent which = 159017 } #DAN: Sweden is stalling
command = { type = sleepmonarch which = 0131503 } #Hans
command = { type = sleepmonarch which = 0131504 } #Christian II
[COLOR="red"]command = { type = wakemonarch which = 0131509 } #Sten Sture den äldre
command = { type = wakemonarch which = 0131510 } #Svante Nilsson (Sture)
command = { type = wakemonarch which = 0131511 } #Sten Sture den yngre[/COLOR]
}
}
#(1482-1501) The coronation of King Hans -II-
event = {
id = 291003
trigger = {
exists = DAN
event = 159002 #DAN: The coronation of King Hans.
vassal = { country = DAN country = SWE }
NOT = { event = 291002 } #SWE: The coronation of King Hans -I-
}
random = no
country = SWE
name = "EVENTNAME29100[COLOR="Red"]3[/COLOR][COLOR="Yellow"]2[/COLOR]" #The coronation of King Hans
desc = "EVENTHIST29100[COLOR="Red"]3[/COLOR][COLOR="Yellow"]2[/COLOR]"
#-#
date = { day = 1 month = may year = 1482 }
offset = 570
deathdate = { day = 8 month = august year = 1501 }
action_a = {
name = "ACTIONNAME29100[COLOR="Red"]3A[/COLOR][COLOR="Yellow"]2B[/COLOR]" #We will honor the agreement
command = { type = stability value = 1 }
command = { type = domestic which = innovative value = -1 }
command = { type = provincetax which = 257 value = -3 } #Bergslagen
command = { type = relation which = DAN value = 200 }
command = { type = trigger which = 159009 } #DAN: Sweden crowns Hans as their King
command = { type = sleepevent which = 291004 } #DAN: Swedish nobles support Sten Sture den äldre (the elder)
[COLOR="red"]command = { type = wakemonarch which = 0131503 } #Hans
command = { type = wakemonarch which = 0131504 } #Christian II
command = { type = sleepmonarch which = 0131509 } #Sten Sture den äldre
command = { type = sleepmonarch which = 0131510 } #Svante Nilsson (Sture)
command = { type = sleepmonarch which = 0131511 } #Sten Sture den yngre[/COLOR]
}
action_b = {
name = "ACTIONNAME291003B" #Never! Sweden shall be independent
command = { type = stability value = -7 }
command = { type = breakvassal which = DAN }
command = { type = relation which = DAN value = -200 }
command = { type = relation which = BRA value = -25 }
command = { type = domestic which = aristocracy value = -1 }
command = { type = domestic which = centralization value = 1 }
command = { type = domestic which = serfdom value = -1 }
command = { type = revolt which = 252 } #Småland
command = { type = revolt which = 253 } #Västergötland
command = { type = revolt which = 254 } #Svealand
command = { type = trigger which = 159010 } #DAN: Sten Sture den äldre (the elder) refuses to crown Hans
command = { type = sleepmonarch which = 0131503 } #Hans
command = { type = sleepmonarch which = 0131504 } #Christian II
[COLOR="red"]command = { type = wakemonarch which = 0131509 } #Sten Sture den äldre
command = { type = wakemonarch which = 0131510 } #Svante Nilsson (Sture)
command = { type = wakemonarch which = 0131511 } #Sten Sture den yngre[/COLOR]
}
}
#-#In may 1482 Hans the son of Christian I and Dorothea of Brandenburg were crowned King of Denmark. According to an old agreement he was to rule both Denmark, Norway and Sweden.
Is it correct?
i see this
#(1482-1501) The coronation of King Hans -1-
event = {
id = 291002
trigger = {
exists = DAN
event = 159002 #DAN: The coronation of King Hans
NOT = { vassal = { country = DAN country = SWE } }
NOT = { event = 291003 } #SWE: The coronation of King Hans
}
random = no
country = SWE
name = "EVENTNAME291002" #The coronation of King Hans
desc = "EVENTHIST291002"
#-#In may 1482 Hans the son of Christian I and Dorothea of Brandenburg were crowned King of Denmark. According to an old agreement he was to rule both Denmark, Norway and Sweden.
date = { day = 1 month = may year = 1482 }
offset = 570
deathdate = { day = 8 month = august year = 1501 }
action_a = {
name = "ACTIONNAME291002A" #Stall the coronation of Hans
command = { type = stability value = -2 }
command = { type = relation which = DAN value = -50 }
command = { type = relation which = BRA value = -10 }
command = { type = sleepmonarch which = 0131503 } #Hans
command = { type = sleepmonarch which = 0131504 } #Christian II
command = { type = wakemonarch which = 0131509 } #Sten Sture den äldre
command = { type = wakemonarch which = 0131510 } #Svante Nilsson (Sture)
command = { type = wakemonarch which = 0131511 } #Sten Sture den yngre
}
action_b = {
name = "ACTIONNAME291002B" #We will honor the agreement
command = { type = stability value = 1 }
command = { type = domestic which = innovative value = -1 }
command = { type = provincetax which = 257 value = -3 } #Bergslagen
command = { type = relation which = DAN value = 200 }
command = { type = trigger which = 159009 } #DAN: Sweden crowns Hans as their King
command = { type = sleepevent which = 291004 } #DAN: Swedish nobles support Sten Sture den äldre (the elder)
command = { type = sleepevent which = 159017 } #DAN: Sweden is stalling
command = { type = wakemonarch which = 0131503 } #Hans
command = { type = wakemonarch which = 0131504 } #Christian II
command = { type = sleepmonarch which = 0131509 } #Sten Sture den äldre
command = { type = sleepmonarch which = 0131510 } #Svante Nilsson (Sture)
command = { type = sleepmonarch which = 0131511 } #Sten Sture den yngre
}
action_
cb = {
name = "ACTIONNAME291002
CB" #Never! Sweden shall remain independent
command = { type = stability value = -7 }
command = { type = relation which = DAN value = -100 }
command = { type = relation which = BRA value = -25 }
command = { type = domestic which = aristocracy value = -1 }
command = { type = domestic which = centralization value = 1 }
command = { type = domestic which = serfdom value = -1 }
command = { type = revolt which = 252 } #Småland
command = { type = revolt which = 253 } #Västergötland
command = { type = revolt which = 254 } #Svealand
command = { type = trigger which = 159010 } #DAN: Sten Sture den äldre (the elder) refuses to crown Hans
command = { type = sleepevent which = 159017 } #DAN: Sweden is stalling
command = { type = sleepmonarch which = 0131503 } #Hans
command = { type = sleepmonarch which = 0131504 } #Christian II
command = { type = wakemonarch which = 0131509 } #Sten Sture den äldre
command = { type = wakemonarch which = 0131510 } #Svante Nilsson (Sture)
command = { type = wakemonarch which = 0131511 } #Sten Sture den yngre
}
}
and your 291003 as you indicated above