
#Mint in Pamiers
event = {
      id = 320000
      random = no
      country = BEA
      name = "Mint in Pamiers"
      desc = "In 1419 Count Jean de Foix created his own mint in the city of Pamiers to improve his financial situation. The copper coins produced were called 'Guilhems' because they were used for a war against Guillaume d'Orange. However, French King Carlos VII considered the production of coins a royal privilege and demanded the mint's closure in 1422. Honoring his status as a vassal of the crown, Jean obeyed and closed the mint."
      style = 1
      
      date = { day = 1 month = january year = 1422 }
      offset = 300 
      
      action_a = {
               name = "Obey the King and close the mint"
               command = { type = relation which = FRA value = 50 }
               command = { type = stability value = 1 }
                 }
      action_b = {
               name = "Keep the mint"
               command = { type = relation which = FRA value = -100 }
               command = { type = inflation value = 5 }
               command = { type = treasury value = 75 }
               command = { type = provincetax which = -2 value = 1 }
               command = { type = stability value = -1 }
                 }
}
#Territorial consolidation
event = {
      id = 320001
      random = no
      country = BEA
      name = "Acquisition of Bigorre, Marquefave, Villemur and Auterive"
      desc = "After the death of Jean de Foix-Grailly in 1436 the new possessions he had acquired during his reign, the County of Bigorre and the Lordships of Marquefave, Villemur and Auterive, were secured for his heirs and annexed definitely to Foix."
      style = 1
      
      date = { day = 1 month = january year = 1436 }
      offset = 100
      
      action_a = { 
               name = "Great" 
               command = { type = provincetax which = -2 value = 1 }
               command = { type = provincemanpower which = -2 value = 1 }
               command = { type = population which = -2 value = 2000 }
                 }
}
#Inheritance of Navarra
event = {
      id = 320002
      random = no
      country = BEA
      name = "Inheritance of Navarra"
      desc = "In the Treaty of Barcelona of 1456 John of Navarra dispossessed his son Carlos de Viana and appointed the Count of Foix, then Gaston IV, his successor, appreciating his support in the civil war in Navarra and Aragon. When John died in 1479 the treaty came into effect and Navarra passed to Gaston's son François Febus."
      style = 1
      
      action_a = {
               name = "Fine"
               command = { type = addcore which = 428 } #Navarra
               command = { type = addcore which = 921 }
               command = { type = inherit which = NAV }
                 }
}
event = {
      id = 320003
      random = no
      country = BEA
      name = "Treaty of Barcelona ignored"
      desc = "In the Treaty of Barcelona of 1456 John of Navarra dispossessed his son Carlos de Viana and appointed the Count of Foix, then Gaston IV, his successor, appreciating his support in the civil war in Navarra and Aragon. After John died in 1479 Navarra dared to ignore the Treaty. Navarra had to fight to secure their rightful heritage."
      style = 1
           
      action_a = {
               name = "This is outrageous"
               command = { type = relation which = NAV value = -300 }
               command = { type = addcore which = 428 } #core on Navarra added no matter what
               command = { type = addcore which = 921 }
                 }
}
#Civil war in Navarra continues
event = {
      id = 320004
      trigger = { event = 320002 #BEA: Inheritance of Navarra
                  owned = { province = 428 data = -1 } #Navarra
                }
      random = no     
      country = BEA
      name = "War between Beaumont and Gramont continues"
      desc = "Since 1452 two factions led by hostile families, Beaumont and Gramont, waged a bloody, exhausting civil war in Navarra about the legimate succession to the throne, one supporting John of Aragon, the other his son Carlos de Viana.  This struggle continued after the death of Carlos in 1461 and even after the death of John when the Count of Foix inherited Navarra, preventing his coronation."
      style = 1 
      
      date = { day = 13 month = february year = 1479 }
      offset = 0
      
      action_a = {
               name = "Damn them"
               command = { type = removecore which = 428 } #Navarra
               command = { type = removecore which = 921 }
               command = { type = province_revoltrisk which = 428 value = 7 } 
               command = { type = province_revoltrisk which = 921 value = 7 }
               command = { type = revolt which = 428 }
               command = { type = revolt which = 921 }
                 }
}
#Coronation in Pamplona
event = {
      id = 320005
      trigger = { 
                  owned = { province = 428 data = -1 }
                  control = { province = 428 data = -1 }
                }
      random = no
      country = BEA
      name = "Coronation in Pamplona"
      desc = "For two years after his recognition as heir to the crown of Navarra, François Febus wasn't even able to enter his new Kingdom safely because of the ongoing civil war between the Beaumont and Gramont factions. In 1481 his uncle, Cardinal Pierre de Foix, finally managed to restore order in Navarra and to get both sides to accept François-Febus. Hence, he could travel to Pamplona and be crowned King of Navarra on November 3rd, 1481."
      style = 1
      
      date = { day = 3 month = november year = 1481 }
      offset = 0
      deathdate = { day = 31 month = december year = 1500 }
      
      action_a = {
               name = "Finally"
               command = { type = country which = NAV }
               command = { type = capital which = 428 } #Navarra
               command = { type = vp value = 50 }
               command = { type = addcore which = 428 }
               command = { type = addcore which = 921 }
               command = { type = province_revoltrisk which = 428 value = -7 }
               command = { type = province_revoltrisk which = 921 value = -7 }
               command = { type = breakvassal which = FRA } 
               command = { type = breakvassal which = ARG }
                }
}
event = {
      id = 320006
      trigger = { NOT = { event = 320005 } } #BEA: Coronation in Pamplona (Foix has NOT turned into Navarra)
      random = no
      country = BEA
      name = "Catherine de Foix marries Jean D'Albret"
      desc = "Catherine de Foix, heiress to Foix, Béarn and the throne of Navarra, married Jean D'Albret who had extensive possessions in Southern France. Thus, the domains of the Foix and the Albret were united and a new dominating dynasty in Occitania created. Jean took control of all their territories and unfortunately very soon proved to be completely uninterested and incompetent."
      style = 1 
      
      date = { day = 1 month = january year = 1484 }
      offset = 10 
      
      action_a = { 
               name = "Ok" 
               command = { type = provincetax which = 1415 value = 2 }
               command = { type = provincemanpower which = 1415 value = 1 }
               command = { type = population which = 1420 value = 6000 }
               command = { type = vp value = 10 }
                 }
}
event = {
      id = 320007
      trigger = { NOT = { event = 320005 } } #BEA: Coronation in Pamplona (Foix has NOT turned into Navarra)
      random = no
      country = BEA
      name = "War of Succession in the Foix territories"
      desc = "Upon the premature childless death of François Febus his sister Catherine succeeded him. This arrangement was opposed by the next male relative, Jean Vicomte de Narbonne who started contesting his niece's and her husband's inheritance in 1494. The war lasted for three years and crippled the whole country until Jean finally submitted in the Peace of Tarbes on September 7th 1497."
      style = 1
      
      date = { day = 1 month = january year = 1494 }
      offset = 100 
      
      action_a = {
               name = "Support Catherine and Jean D'Albret"
               command = { type = stability value = 1 }
               command = { type = revoltrisk which = 36 value = 6 }
               command = { type = revolt which = -1 }
               command = { type = revolt which = -1 }
                 }
      action_b = { 
               name = "Support the Vicomte de Foix-Narbonne"
               command = { type = stability value = -2 }
               command = { type = revoltrisk which = 48 value = 4 }
               command = { type = revolt which = -1 }
               command = { type = revolt which = -1 }
               command = { type = desertion which = -1 value = 6000 }
               command = { type = sleepmonarch which = 24154 } #Jean II d'Albret
               command = { type = wakemonarch which = 19439 } #Jean III
               command = { type = wakemonarch which = 19440 } #Gaston V
                 }
}   
