To go with this submission and because of breakvassal command behaviour:Garbon said:Some fixes to prevent the strange situations when Scotland has been vassalized by England.
Code:#(1542) Arran's Regency #by Count Six event = { id = 20423 random = no country = SCO name = "EVENTNAME20423" #Arran's Regency desc = "EVENTHIST20423" #-# date = { day = 15 month = december year = 1542 } action_a = { name = "ACTIONNAME20423A" #Support Arran command = { type = relation which = ENG value = 100 } command = { type = relation which = FRA value = -100 } command = { type = stability value = -1 } [color=yellow]command = { type = breakvassal which = FRA }[/color] } action_b = { name = "ACTIONNAME20423B" #Support Beaton command = { type = relation which = FRA value = 100 } } } #(1543) Beaton Regains Control #by Count Six - Edited by Johnny Canuck event = { id = 20424 random = no country = SCO name = "EVENTNAME20424" #Beaton regains control desc = "EVENTHIST20424" #-# date = { day = 11 month = december year = 1543 } action_a = { name = "ACTIONNAME20424A" #Support Beaton command = { type = relation which = ENG value = -100 } command = { type = relation which = FRA value = 100 } command = { type = DIP which = 3 value = 29 } command = { type = ADM which = 2 value = 29 } command = { type = MIL which = 2 value = 29 } [color=yellow]command = { type = breakvassal which = ENG }[/color] command = { type = stability value = -1 } command = { type = revoltrisk which = 12 value = 2 } } action_b = { name = "ACTIONNAME20424B" #Ratify the Marriage Alliance with England [color=yellow]command = { type = breakvassal which = FRA }[/color] command = { type = relation which = ENG value = 100 } command = { type = dynastic which = ENG } command = { type = sleepevent which = 21131 } #ENG: The Rough Wooing command = { type = sleepevent which = 20426 } #SCO: Regency of Mary of Guise command = { type = sleepevent which = 20427 } #SCO: The First Band of the Lords of Congregation command = { type = sleepevent which = 3076 } #SCO: The Fate of Mary Stuart command = { type = sleepevent which = 3077 } #SCO: The Time of the Regents } } #(1546) Beaton's Murder #by Count Six event = { id = 20425 trigger = { event = 21131 #The Rough Wooing (ENG) [color=yellow]NOT = { vassal = { country = ENG country = SCO } relation = { country = ENG data = 100 } }[/color] } random = no country = SCO name = "EVENTNAME20425" #The Murder of Cardinal Beaton desc = "EVENTHIST20425" #-# date = { day = 29 month = may year = 1546 } action_a = { name = "ACTIONNAME20425A" #The Siege of St Andrews Castle command = { type = religiousrevolt which = 239 } #Strathclyde [color=yellow]command = { }[/color] } action_b = { name = "ACTIONNAME20425B" #Avoid foreign intervention command = { type = sleepevent which = 21132 } #ENG: Somerset's Invasion command = { type = sleepevent which = 170020 } #FRA: The Marriage of Mary and the Dauphin command = { type = religiousrevolt which = 239 } #Strathclyde command = { type = stability value = -3 } } } #(1554) Regency of Mary of Guise #by Count Six - Edited by Johnny Canuck event = { id = 20426 trigger = { exists = FRA NOT = { war = { country = SCO country = FRA } } } random = no country = SCO name = "EVENTNAME20426" #Regency of Mary of Guise desc = "EVENTHIST20426" #-# date = { day = 1 month = april year = 1554 } action_a = { name = "ACTIONNAME20426A" #Mary of Guise command = { type = relation which = FRA value = 100 } [color=yellow]command = { type = relation which = ENG value = -100 }[/color] [color=yellow]command = { type = breakvassal which = ENG }[/color] command = { type = DIP which = 2 value = 29 } command = { type = ADM which = 2 value = 29 } command = { type = stability value = -1 } command = { type = revoltrisk which = 72 value = 2 } } } #(1544) The Rough Wooing #Created by Count Six - Edited by Johnny Canuck event = { id = 21131 trigger = { event = 20424 #SCO: Beaton Regains Control [color=yellow]NOT = { vassal = { country = ENG country = SCO } relation = { country = SCO data = 100 } }[/color] } random = no country = ENG name = "EVENTNAME21131" #The Rough Wooing desc = "EVENTHIST21131" #-# date = { day = 1 month = may year = 1544 } action_a = { name = "ACTIONNAME21131A" #Attack Immediately! command = { type = relation which = SCO value = -100 } command = { type = INF which = 240 value = 2000 } #Northumberland command = { type = CAV which = 240 value = 1000 } #Northumberland } action_b = { name = "ACTIONNAME21131B" #Wait to see how things develop command = { type = relation which = SCO value = -25 } } } #(1546) Somerset's Invasion #Created by Count Six - Edited by Johnny Canuck event = { id = 21132 trigger = { event = 20425 #SCO: Beaton's Murder [color=yellow]NOT = { vassal = { country = ENG country = SCO } relation = { country = SCO data = 100 } }[/color] } random = no country = ENG name = "EVENTNAME21132" #Somerset's Invasion desc = "EVENTHIST21132" #-# date = { day = 1 month = september year = 1546 } action_a = { name = "ACTIONNAME21132A" #Attack Scotland command = { type = relation which = SCO value = -100 } command = { type = INF which = 240 value = 2000 } #Northumberland command = { type = CAV which = 240 value = 1000 } #Northumberland } action_b = { name = "ACTIONNAME21132B" #Wait to see how things develop command = { type = relation which = SCO value = -25 } } }
Code:
#(1542) Arran's Regency -I-
#by Count Six
event = {
id = 20423
trigger = {
vassal = { country = FRA country = SCO }
}
random = no
country = SCO
name = "EVENTNAME20423" #Arran's Regency
desc = "EVENTHIST20423"
#-#
date = { day = 15 month = december year = 1542 }
action_a = {
name = "ACTIONNAME20423A" #Support Arran
command = { type = relation which = ENG value = 100 }
command = { type = relation which = FRA value = -100 }
command = { type = stability value = -1 }
command = { type = breakvassal which = FRA }
command = { type = sleepevent which = 276023 } #SCO: Arran's Regency -II-
}
action_b = {
name = "ACTIONNAME20423B" #Support Beaton
command = { type = relation which = FRA value = 100 }
command = { type = sleepevent which = 276023 } #SCO: Arran's Regency -II-
}
}
#(1542) Arran's Regency -II-
event = {
id = 276023
trigger = {
NOT = { vassal = { country = FRA country = SCO } }
}
random = no
country = SCO
name = "EVENTNAME20423" #Arran's Regency
desc = "EVENTHIST20423"
#-#
date = { day = 15 month = december year = 1542 }
action_a = {
name = "ACTIONNAME20423A" #Support Arran
command = { type = relation which = ENG value = 100 }
command = { type = relation which = FRA value = -100 }
command = { type = stability value = -1 }
command = { type = sleepevent which = 20423 } #SCO: Arran's Regency -I-
}
action_b = {
name = "ACTIONNAME20423B" #Support Beaton
command = { type = relation which = FRA value = 100 }
command = { type = sleepevent which = 20423 } #SCO: Arran's Regency -I-
}
}
Code:
#(1543) Beaton Regains Control -I-
#by Count Six - Edited by Johnny Canuck
event = {
id = 20424
trigger = {
vassal = { country = ENG country = SCO }
}
random = no
country = SCO
name = "EVENTNAME20424" #Beaton regains control
desc = "EVENTHIST20424"
#-#
date = { day = 11 month = december year = 1543 }
action_a = {
name = "ACTIONNAME20424A" #Support Beaton
command = { type = relation which = ENG value = -100 }
command = { type = relation which = FRA value = 100 }
command = { type = DIP which = 3 value = 29 }
command = { type = ADM which = 2 value = 29 }
command = { type = MIL which = 2 value = 29 }
command = { type = breakvassal which = ENG }
command = { type = stability value = -1 }
command = { type = revoltrisk which = 12 value = 2 }
command = { type = sleepevent which = 276024 } #SCO: Beaton regains control -II-
command = { type = sleepevent which = 276025 } #SCO: Beaton regains control -III-
}
action_b = {
name = "ACTIONNAME20424B" #Ratify the Marriage Alliance with England
command = { type = relation which = ENG value = 100 }
command = { type = dynastic which = ENG }
command = { type = sleepevent which = 21131 } #ENG: The Rough Wooing
command = { type = sleepevent which = 20426 } #SCO: Regency of Mary of Guise -I-
command = { type = sleepevent which = 276026 } #SCO: Regency of Mary of Guise -II-
command = { type = sleepevent which = 20427 } #SCO: The First Band of the Lords of Congregation
command = { type = sleepevent which = 3076 } #SCO: The Fate of Mary Stuart
command = { type = sleepevent which = 3077 } #SCO: The Time of the Regents
command = { type = sleepevent which = 276024 } #SCO: Beaton regains control -II-
command = { type = sleepevent which = 276025 } #SCO: Beaton regains control -III-
}
}
#(1543) Beaton Regains Control -II-
event = {
id = 276024
trigger = {
vassal = { country = FRA country = SCO }
}
random = no
country = SCO
name = "EVENTNAME20424" #Beaton regains control
desc = "EVENTHIST20424"
#-#
date = { day = 11 month = december year = 1543 }
action_a = {
name = "ACTIONNAME20424A" #Support Beaton
command = { type = relation which = ENG value = -100 }
command = { type = relation which = FRA value = 100 }
command = { type = DIP which = 3 value = 29 }
command = { type = ADM which = 2 value = 29 }
command = { type = MIL which = 2 value = 29 }
command = { type = stability value = -1 }
command = { type = revoltrisk which = 12 value = 2 }
command = { type = sleepevent which = 20424 } #SCO: Beaton regains control -I-
command = { type = sleepevent which = 276025 } #SCO: Beaton regains control -III-
}
action_b = {
name = "ACTIONNAME20424B" #Ratify the Marriage Alliance with England
command = { type = breakvassal which = FRA }
command = { type = relation which = ENG value = 100 }
command = { type = dynastic which = ENG }
command = { type = sleepevent which = 21131 } #ENG: The Rough Wooing
command = { type = sleepevent which = 20426 } #SCO: Regency of Mary of Guise -I-
command = { type = sleepevent which = 276026 } #SCO: Regency of Mary of Guise -II-
command = { type = sleepevent which = 20427 } #SCO: The First Band of the Lords of Congregation
command = { type = sleepevent which = 3076 } #SCO: The Fate of Mary Stuart
command = { type = sleepevent which = 3077 } #SCO: The Time of the Regents
command = { type = sleepevent which = 20424 } #SCO: Beaton regains control -I-
command = { type = sleepevent which = 276025 } #SCO: Beaton regains control -III-
}
}
#(1543) Beaton Regains Control -III-
event = {
id = 276025
trigger = {
NOT = {
vassal = { country = ENG country = SCO }
vassal = { country = FRA country = SCO }
}
}
random = no
country = SCO
name = "EVENTNAME20424" #Beaton regains control
desc = "EVENTHIST20424"
#-#
date = { day = 11 month = december year = 1543 }
action_a = {
name = "ACTIONNAME20424A" #Support Beaton
command = { type = relation which = ENG value = -100 }
command = { type = relation which = FRA value = 100 }
command = { type = DIP which = 3 value = 29 }
command = { type = ADM which = 2 value = 29 }
command = { type = MIL which = 2 value = 29 }
command = { type = stability value = -1 }
command = { type = revoltrisk which = 12 value = 2 }
command = { type = sleepevent which = 20424 } #SCO: Beaton regains control -I-
command = { type = sleepevent which = 276024 } #SCO: Beaton regains control -II-
}
action_b = {
name = "ACTIONNAME20424B" #Ratify the Marriage Alliance with England
command = { type = relation which = ENG value = 100 }
command = { type = dynastic which = ENG }
command = { type = sleepevent which = 21131 } #ENG: The Rough Wooing
command = { type = sleepevent which = 20426 } #SCO: Regency of Mary of Guise -I-
command = { type = sleepevent which = 276026 } #SCO: Regency of Mary of Guise -II-
command = { type = sleepevent which = 20427 } #SCO: The First Band of the Lords of Congregation
command = { type = sleepevent which = 3076 } #SCO: The Fate of Mary Stuart
command = { type = sleepevent which = 3077 } #SCO: The Time of the Regents
command = { type = sleepevent which = 20424 } #SCO: Beaton regains control -I-
command = { type = sleepevent which = 276024 } #SCO: Beaton regains control -II-
}
}
Code:
#(1554) Regency of Mary of Guise -I-
#by Count Six - Edited by Johnny Canuck
event = {
id = 20426
trigger = {
exists = FRA
NOT = { war = { country = SCO country = FRA } }
vassal = { country = ENG country = SCO }
}
random = no
country = SCO
name = "EVENTNAME20426" #Regency of Mary of Guise
desc = "EVENTHIST20426"
#-#
date = { day = 1 month = april year = 1554 }
action_a = {
name = "ACTIONNAME20426A" #Mary of Guise
command = { type = relation which = FRA value = 100 }
command = { type = relation which = ENG value = -100 }
command = { type = breakvassal which = ENG }
command = { type = DIP which = 2 value = 29 }
command = { type = ADM which = 2 value = 29 }
command = { type = stability value = -1 }
command = { type = revoltrisk which = 72 value = 2 }
command = { type = sleepevent which = 276026 } #SCO: Regency of Mary of Guise -II-
}
}
#(1554) Regency of Mary of Guise -II-
event = {
id = 276026
trigger = {
exists = FRA
NOT = { war = { country = SCO country = FRA } }
NOT = { vassal = { country = ENG country = SCO } }
}
random = no
country = SCO
name = "EVENTNAME20426" #Regency of Mary of Guise
desc = "EVENTHIST20426"
#-#
date = { day = 1 month = april year = 1554 }
action_a = {
name = "ACTIONNAME20426A" #Mary of Guise
command = { type = relation which = FRA value = 100 }
command = { type = relation which = ENG value = -100 }
command = { type = DIP which = 2 value = 29 }
command = { type = ADM which = 2 value = 29 }
command = { type = stability value = -1 }
command = { type = revoltrisk which = 72 value = 2 }
command = { type = sleepevent which = 20426 } #SCO: Regency of Mary of Guise -I-
}
}
Code:
#(1544) The Rough Wooing
#Created by Count Six - Edited by Johnny Canuck
event = {
id = 21131
trigger = {
[COLOR=Yellow]OR = {
event = 20424 #SCO: Beaton Regains Control -I-
event = 276024 #SCO: Beaton Regains Control -II-
event = 276025 #SCO: Beaton Regains Control -III-
}[/COLOR]
NOT = {
vassal = { country = ENG country = SCO }
relation = { country = SCO data = 100 }
}
}
random = no
country = ENG
name = "EVENTNAME21131" #The Rough Wooing
desc = "EVENTHIST21131"
#-#
date = { day = 1 month = may year = 1544 }
action_a = {
name = "ACTIONNAME21131A" #Attack Immediately!
command = { type = relation which = SCO value = -100 }
command = { type = INF which = 240 value = 2000 } #Northumberland
command = { type = CAV which = 240 value = 1000 } #Northumberland
}
action_b = {
name = "ACTIONNAME21131B" #Wait to see how things develop
command = { type = relation which = SCO value = -25 }
}
}
Last edited: