I edited post #76 and here are new events involved
EVENTHIST3000048;Granada claimed the title of Khalifah in order to help grant more legitimacy to itself against the other forces that might threaten it because of its mostly Berber ethnicities which were often treated as second-class citizens in other Muslim nations. The Caliphe now demands the restitution of all the ancient Almohads lands from his Iberian vassals.;;;;;;;;;;
ACTIONNAME3000048A;Bow to the demands of the Caliphe;;;;;;;;;;
ACTIONNAME3000048B;Enough is enough!;;;;;;;;;;
Code:
#(1419-1820) Caliphate of Granada
event = {
id = 3000048 #triggered by GRA_3000016 / GRA_3000017
trigger = {
vassal = { country = GRA country = CAS }
OR = {
owned = { province = 732 data = -1 } #Tangiers
owned = { province = 733 data = -1 } #Fez
owned = { province = 806 data = -1 } #Toubkal
owned = { province = 805 data = -1 } #Sahara
owned = { province = 1595 data = -1 } #Anti Atlas
owned = { province = 734 data = -1 } #Orania
owned = { province = 735 data = -1 } #Atlas
owned = { province = 736 data = -1 } #Aures
owned = { province = 737 data = -1 } #Al Djazair
owned = { province = 738 data = -1 } #Kabylia
owned = { province = 739 data = -1 } #Tunisia
owned = { province = 740 data = -1 } #Tripolitania
#Extra
owned = { province = 821 data = -1 } #The Baleares
}
}
random = no
country = CAS
name = "EVENTNAME3000016" #Caliphate of Granada
desc = "EVENTHIST3000048"
#-#
action_a = {
name = "ACTIONNAME3000048A" #Bow to the demands of the Caliphe
command = { type = secedeprovince which = GRA value = 732 } #Tangiers
command = { type = secedeprovince which = GRA value = 733 } #Fez
command = { type = secedeprovince which = GRA value = 806 } #Toubkal
command = { type = secedeprovince which = GRA value = 805 } #Sahara
command = { type = secedeprovince which = GRA value = 1595 } #Anti Atlas
command = { type = secedeprovince which = GRA value = 734 } #Orania
command = { type = secedeprovince which = GRA value = 735 } #Atlas
command = { type = secedeprovince which = GRA value = 736 } #Aures
command = { type = secedeprovince which = GRA value = 737 } #Al Djazair
command = { type = secedeprovince which = GRA value = 738 } #Kabylia
command = { type = secedeprovince which = GRA value = 739 } #Tunisia
command = { type = secedeprovince which = GRA value = 740 } #Tripolitania
command = { type = secedeprovince which = GRA value = 821 } #The Baleares
command = { type = removecore which = 732 } #Tangiers
command = { type = removecore which = 733 } #Fez
command = { type = removecore which = 806 } #Toubkal
command = { type = removecore which = 805 } #Sahara
command = { type = removecore which = 1595 } #Anti Atlas
command = { type = removecore which = 734 } #Orania
command = { type = removecore which = 735 } #Atlas
command = { type = removecore which = 736 } #Aures
command = { type = removecore which = 737 } #Al Djazair
command = { type = removecore which = 738 } #Kabylia
command = { type = removecore which = 739 } #Tunisia
command = { type = removecore which = 740 } #Tripolitania
command = { type = removecore which = 821 } #The Baleares
}
action_b = {
name = "ACTIONNAME3000048B" #Enough is enough!
command = { type = breakvassal which = GRA }
}
}
#(1419-1820) Caliphate of Granada
event = {
id = 3000049 #triggered by GRA_3000016 / GRA_3000017
trigger = {
vassal = { country = GRA country = POR }
OR = {
owned = { province = 732 data = -1 } #Tangiers
owned = { province = 733 data = -1 } #Fez
owned = { province = 806 data = -1 } #Toubkal
owned = { province = 805 data = -1 } #Sahara
owned = { province = 1595 data = -1 } #Anti Atlas
owned = { province = 734 data = -1 } #Orania
owned = { province = 735 data = -1 } #Atlas
owned = { province = 736 data = -1 } #Aures
owned = { province = 737 data = -1 } #Al Djazair
owned = { province = 738 data = -1 } #Kabylia
owned = { province = 739 data = -1 } #Tunisia
owned = { province = 740 data = -1 } #Tripolitania
#Extra
owned = { province = 821 data = -1 } #The Baleares
}
}
random = no
country = POR
name = "EVENTNAME3000016" #Caliphate of Granada
desc = "EVENTHIST3000048"
#-#
action_a = {
name = "ACTIONNAME3000048A" #Bow to the demands of the Caliphe
command = { type = secedeprovince which = GRA value = 732 } #Tangiers
command = { type = secedeprovince which = GRA value = 733 } #Fez
command = { type = secedeprovince which = GRA value = 806 } #Toubkal
command = { type = secedeprovince which = GRA value = 805 } #Sahara
command = { type = secedeprovince which = GRA value = 1595 } #Anti Atlas
command = { type = secedeprovince which = GRA value = 734 } #Orania
command = { type = secedeprovince which = GRA value = 735 } #Atlas
command = { type = secedeprovince which = GRA value = 736 } #Aures
command = { type = secedeprovince which = GRA value = 737 } #Al Djazair
command = { type = secedeprovince which = GRA value = 738 } #Kabylia
command = { type = secedeprovince which = GRA value = 739 } #Tunisia
command = { type = secedeprovince which = GRA value = 740 } #Tripolitania
command = { type = secedeprovince which = GRA value = 821 } #The Baleares
command = { type = removecore which = 732 } #Tangiers
command = { type = removecore which = 733 } #Fez
command = { type = removecore which = 806 } #Toubkal
command = { type = removecore which = 805 } #Sahara
command = { type = removecore which = 1595 } #Anti Atlas
command = { type = removecore which = 734 } #Orania
command = { type = removecore which = 735 } #Atlas
command = { type = removecore which = 736 } #Aures
command = { type = removecore which = 737 } #Al Djazair
command = { type = removecore which = 738 } #Kabylia
command = { type = removecore which = 739 } #Tunisia
command = { type = removecore which = 740 } #Tripolitania
command = { type = removecore which = 821 } #The Baleares
}
action_b = {
name = "ACTIONNAME3000048B" #Enough is enough!
command = { type = breakvassal which = GRA }
}
}
#(1419-1820) Caliphate of Granada
event = {
id = 3000050 #triggered by GRA_3000016 / GRA_3000017
trigger = {
vassal = { country = GRA country = ARG }
OR = {
owned = { province = 732 data = -1 } #Tangiers
owned = { province = 733 data = -1 } #Fez
owned = { province = 806 data = -1 } #Toubkal
owned = { province = 805 data = -1 } #Sahara
owned = { province = 1595 data = -1 } #Anti Atlas
owned = { province = 734 data = -1 } #Orania
owned = { province = 735 data = -1 } #Atlas
owned = { province = 736 data = -1 } #Aures
owned = { province = 737 data = -1 } #Al Djazair
owned = { province = 738 data = -1 } #Kabylia
owned = { province = 739 data = -1 } #Tunisia
owned = { province = 740 data = -1 } #Tripolitania
#Extra
owned = { province = 821 data = -1 } #The Baleares
}
}
random = no
country = ARG
name = "EVENTNAME3000016" #Caliphate of Granada
desc = "EVENTHIST3000048"
#-#
action_a = {
name = "ACTIONNAME3000048A" #Bow to the demands of the Caliphe
command = { type = secedeprovince which = GRA value = 732 } #Tangiers
command = { type = secedeprovince which = GRA value = 733 } #Fez
command = { type = secedeprovince which = GRA value = 806 } #Toubkal
command = { type = secedeprovince which = GRA value = 805 } #Sahara
command = { type = secedeprovince which = GRA value = 1595 } #Anti Atlas
command = { type = secedeprovince which = GRA value = 734 } #Orania
command = { type = secedeprovince which = GRA value = 735 } #Atlas
command = { type = secedeprovince which = GRA value = 736 } #Aures
command = { type = secedeprovince which = GRA value = 737 } #Al Djazair
command = { type = secedeprovince which = GRA value = 738 } #Kabylia
command = { type = secedeprovince which = GRA value = 739 } #Tunisia
command = { type = secedeprovince which = GRA value = 740 } #Tripolitania
command = { type = secedeprovince which = GRA value = 821 } #The Baleares
command = { type = removecore which = 732 } #Tangiers
command = { type = removecore which = 733 } #Fez
command = { type = removecore which = 806 } #Toubkal
command = { type = removecore which = 805 } #Sahara
command = { type = removecore which = 1595 } #Anti Atlas
command = { type = removecore which = 734 } #Orania
command = { type = removecore which = 735 } #Atlas
command = { type = removecore which = 736 } #Aures
command = { type = removecore which = 737 } #Al Djazair
command = { type = removecore which = 738 } #Kabylia
command = { type = removecore which = 739 } #Tunisia
command = { type = removecore which = 740 } #Tripolitania
command = { type = removecore which = 821 } #The Baleares
}
action_b = {
name = "ACTIONNAME3000048B" #Enough is enough!
command = { type = breakvassal which = GRA }
}
}
#(1419-1820) Caliphate of Granada
event = {
id = 3000051 #triggered by GRA_3000016 / GRA_3000017
trigger = {
vassal = { country = GRA country = NAV }
OR = {
owned = { province = 732 data = -1 } #Tangiers
owned = { province = 733 data = -1 } #Fez
owned = { province = 806 data = -1 } #Toubkal
owned = { province = 805 data = -1 } #Sahara
owned = { province = 1595 data = -1 } #Anti Atlas
owned = { province = 734 data = -1 } #Orania
owned = { province = 735 data = -1 } #Atlas
owned = { province = 736 data = -1 } #Aures
owned = { province = 737 data = -1 } #Al Djazair
owned = { province = 738 data = -1 } #Kabylia
owned = { province = 739 data = -1 } #Tunisia
owned = { province = 740 data = -1 } #Tripolitania
#Extra
owned = { province = 821 data = -1 } #The Baleares
}
}
random = no
country = NAV
name = "EVENTNAME3000016" #Caliphate of Granada
desc = "EVENTHIST3000048"
#-#
action_a = {
name = "ACTIONNAME3000048A" #Bow to the demands of the Caliphe
command = { type = secedeprovince which = GRA value = 732 } #Tangiers
command = { type = secedeprovince which = GRA value = 733 } #Fez
command = { type = secedeprovince which = GRA value = 806 } #Toubkal
command = { type = secedeprovince which = GRA value = 805 } #Sahara
command = { type = secedeprovince which = GRA value = 1595 } #Anti Atlas
command = { type = secedeprovince which = GRA value = 734 } #Orania
command = { type = secedeprovince which = GRA value = 735 } #Atlas
command = { type = secedeprovince which = GRA value = 736 } #Aures
command = { type = secedeprovince which = GRA value = 737 } #Al Djazair
command = { type = secedeprovince which = GRA value = 738 } #Kabylia
command = { type = secedeprovince which = GRA value = 739 } #Tunisia
command = { type = secedeprovince which = GRA value = 740 } #Tripolitania
command = { type = secedeprovince which = GRA value = 821 } #The Baleares
command = { type = removecore which = 732 } #Tangiers
command = { type = removecore which = 733 } #Fez
command = { type = removecore which = 806 } #Toubkal
command = { type = removecore which = 805 } #Sahara
command = { type = removecore which = 1595 } #Anti Atlas
command = { type = removecore which = 734 } #Orania
command = { type = removecore which = 735 } #Atlas
command = { type = removecore which = 736 } #Aures
command = { type = removecore which = 737 } #Al Djazair
command = { type = removecore which = 738 } #Kabylia
command = { type = removecore which = 739 } #Tunisia
command = { type = removecore which = 740 } #Tripolitania
command = { type = removecore which = 821 } #The Baleares
}
action_b = {
name = "ACTIONNAME3000048B" #Enough is enough!
command = { type = breakvassal which = GRA }
}
}
ACTIONNAME3000048A;Bow to the demands of the Caliphe;;;;;;;;;;
ACTIONNAME3000048B;Enough is enough!;;;;;;;;;;