22022. The sale of Friesland
This event should check if 22006 or 22018 fired, otherwise it doesn't make sense for this event to suggest that Friesland can even be sold.
Code:
#(1514-1516) The sale of Friesland
event = {
id = 22022
trigger = {
exists = GEL
[COLOR="yellow"]OR = {
event = 22006 #FRI: Albrecht von Sachsen
event = 22018 #FRI: Albrecht von Sachsen
}[/COLOR]
}
random = no
country = FRI
name = "EVENTNAME22007" #The sale of Friesland
desc = "EVENTHIST22022"
#-#Friesland agreed to be subjugated by Charles of Egmond, Duke of Guelders in October 1514. Heindrich sold his portion of West Friesland to his brother Georg, who sold it in May 1515, to Charles II of Burgundy. The Frisians were so outraged that their land had been sold to the count of Holland (their enemy-by-inheritance) that they called upon Charles of Egmond.
date = { day = 2 month = october year = 1514 }
offset = 25
deathdate = { day = 2 month = february year = 1516 }
action_a = {
name = "ACTIONNAME22022A" #Call upon Charles of Egmond (End Game)
[COLOR="yellow"]command = { type = wakeleader which = 050800 } #Greate Pier (FRI)[/COLOR]
[COLOR="yellow"]command = { type = wakeleader which = 050801 } #Wijerd Jelckama (FRI)[/COLOR]
command = { type = trigger which = 22023 } #GEL: The Frisians call upon us to assist them
}
action_b = {
name = "ACTIONNAME22022B" #Submit to Charles II
command = { type = trigger which = 22024 } #BUR: The vassalation of Friesland
}
action_c = {
name = "ACTIONNAME22022C" #Be free
command = { type = domestic which = innovative value = 2 }
command = { type = domestic which = centralization value = -3 }
command = { type = domestic which = serfdom value = -2 }
command = { type = INF which = -2 value = 5000 }
command = { type = CAV which = -2 value = 1000 }
command = { type = war which = BUR }
command = { type = relation which = BUR value = -200 }
command = { type = relation which = GEL value = 50 }
command = { type = relation which = OLD value = 50 }
command = { type = wakemonarch which = 050515 } #Frisian Council *
[COLOR="yellow"]command = { type = wakeleader which = 050800 } #Greate Pier (FRI)[/COLOR]
[COLOR="yellow"]command = { type = wakeleader which = 050801 } #Wijerd Jelckama (FRI)[/COLOR]
}
}
[/QUOTE]
This change will never work as albert is already dead and his sons heidrich and georg sold frisia to gelders
#(1515) The sale of Friesland
event = {
id = 22025 #triggered by U16_22009 / SAC_273038
trigger = {
NOT = { exists = GEL }
}
random = no
country = FRI
name = "EVENTNAME22007" #The sale of Friesland
desc = "EVENTHIST22007"
#-#In 1515, Georg had become so dissapointed with being unable to control Friesland that he sold it to Charles II of Burgundy, who was trying to unite the Netherlands.
action_a = {
name = "ACTIONNAME22022B" #Submit to Charles II
command = { type = trigger which = 137050 } #BUR: Effect of the sale of Friesland
}
action_b = {
name = "ACTIONNAME22022C" #Be free
command = { type = domestic which = innovative value = 2 }
command = { type = domestic which = centralization value = -3 }
command = { type = domestic which = serfdom value = -2 }
command = { type = INF which = -2 value = 5000 }
command = { type = CAV which = -2 value = 1000 }
command = { type = war which = BUR }
command = { type = relation which = BUR value = -200 }
command = { type = relation which = GEL value = 50 }
command = { type = relation which = OLD value = 50 }
command = { type = wakemonarch which = 050515 } #Frisian Council *
command = { type = wakeleader which = 050800 } #Greate Pier (FRI)
command = { type = wakeleader which = 050801 } #Wijerd Jelckama (FRI)
}
}
[/code]
OK
Also leader 050801 is wrong in leaders.fri
Code:
historicalleader = {
id = { type = 6 id = 050801 }
[COLOR="yellow"]category = general
name = "Wijerd Jelckama"
startdate = {
year = 1515
}
deathdate = {
year = 1523
}
rank = 3
movement = 3
fire = 3
shock = 3
siege = 0[/COLOR]
dormant = yes
}
this is what I have in V1.58
historicalleader = {
id = { type = 6 id = 050801 }
category = general
name = "Wijerd Jelckama"
startdate = {
year = 1515
}
deathdate = {
year = 1523
}
rank = 3
movement = 3
fire = 3
shock = 3
siege = 0
dormant = yes
}
whats the issue except to me he should start in 1519 ?
So, I am not sure which version you are on due to the leader, but below is the link for 1.58
http://forum.paradoxplaza.com/forum/showpost.php?p=8964841&postcount=1
All parts without the blue link have already been tested and passed, the "blue"linked events where still for discussion