Reworked Spanish events involving ownership of Luzon
Province shouldn't be a TP for some events:
Code:
#(1569-1576) May Nilad
#by Fodoron
event = {
id = 285163
trigger = {
owned = { province = 690 data = -1 } #Luzon
control = { province = 690 data = -1 } #Luzon
[COLOR=Yellow]NOT = { provincereligion = { province = 690 data = pagan } } #not a TP[/COLOR]
}
random = no
country = SPA
name = "EVENTNAME285163" #Mai Nilad
desc = "EVENTHIST285163"
#-#
date = { year = 1569 }
offset = 100
deathdate = { year = 1576 }
action_a = {
name = "ACTIONNAME285163A" #Found Manila
command = { type = treasury value = -75 }
command = { type = warships which = 690 value = 2 } #Luzon
command = { type = wakeleader which = 0127903 } #Juan de Salcedo (SPA)
command = { type = INF which = 690 value = 5000 }
command = { type = population which = 690 value = 500 } #Luzon
}
action_b = {
name = "ACTIONNAME285163B" #Not worth it
command = { type = vp value = -5 }
}
}
#-#Having established in the West coast of Luzon, Miguel de Legazpi sent an expedition led by his grandson, Juan de Salcedo, to conquer the city of May Nilad in the East coast. After some battles, he conquered the area and founded the Spanish part of the city, called Intramuros, where Legazpi moved in 1571.
Code:
#(1578-1750) War on Islam at Philippines (Brunei owns Palawan)
#by Fodoron
event = {
id = 285165
trigger = {
owned = { province = 690 data = -1 } #Luzon
[COLOR=Yellow]control = { province = 690 data = -1 } #Luzon
NOT = { provincereligion = { province = 690 data = pagan } } #not a TP[/COLOR]
owned = { province = 691 data = -1 } #Mindoro
owned = { province = 694 data = BEI } #Palawan
atwar = no
}
random = no
country = SPA
name = "EVENTNAME285165" #War on Islam at Philippines
desc = "EVENTHIST285165"
#-#
date = { year = 1578 }
offset = 100
deathdate = { year = 1750 }
action_a = {
name = "ACTIONNAME285165A" #Crusade
command = { type = treasury value = -250 }
command = { type = warships which = 690 value = 2 } #Luzon
command = { type = INF which = 690 value = 5000 }
command = { type = fortress which = 690 value = 1 } #Luzon
command = { type = fortress which = 691 value = 1 } #Mindoro
command = { type = war which = BEI }
}
action_b = {
name = "ACTIONNAME285165B" #Not now
command = { type = vp value = -5 }
}
}
#-#Spaniards had been fighting Muslims for over eight hundred years and they were currently fighting them in North Africa, the Mediterranean, and in the Alpujarras of Granada. For Spaniards, fighting Muslims was the natural thing to do if they rejected conversion and they had come all the way around the world to find that Muslims were as close here as they were at home. When they landed at Palawan, then under nominal suzeraneity of Brunei, the governor of Manila, Francisco de Sande, sent the following letter to the sultan of Brunei, Seif ul-Rijal: ''What you are to do is to admit preachers of the law of Christ in all security, and allow any person in your land to freely attend and if he wishes so, to become Christian without any ill befalling him. Further, I desire that you do not sent preachers of the sect of Mahoma to any part of these islands or your own island, inasmuch as the doctrine of Mahoma is false and evil law, and the religion of the Christians alone is true, holy and good.'' Conflict was served.
Code:
#(1578-1750) War on Islam at Philippines (Sulu owns Palawan)
#by Fodoron
event = {
id = 285192
trigger = {
owned = { province = 690 data = -1 } #Luzon
[COLOR=Yellow]control = { province = 690 data = -1 } #Luzon
NOT = { provincereligion = { province = 690 data = pagan } } #not a TP[/COLOR]
owned = { province = 691 data = -1 } #Mindoro
owned = { province = 694 data = U38 } #Palawan
atwar = no
}
random = no
country = SPA
name = "EVENTNAME285165" #War on Islam at Philippines
desc = "EVENTHIST285165"
#-#
date = { year = 1578 }
offset = 100
deathdate = { year = 1750 }
action_a = {
name = "ACTIONNAME285165A" #Crusade
command = { type = treasury value = -250 }
command = { type = warships which = 690 value = 2 } #Luzon
command = { type = INF which = 690 value = 5000 }
command = { type = fortress which = 690 value = 1 } #Luzon
command = { type = fortress which = 691 value = 1 } #Mindoro
command = { type = war which = U38 }
}
action_b = {
name = "ACTIONNAME285165B" #Not now
command = { type = vp value = -5 }
}
}
#-#Spaniards had been fighting Muslims for over eight hundred years and they were currently fighting them in North Africa, the Mediterranean, and in the Alpujarras of Granada. For Spaniards, fighting Muslims was the natural thing to do if they rejected conversion and they had come all the way around the world to find that Muslims were as close here as they were at home. When they landed at Palawan, then under nominal suzeraneity of Brunei, the governor of Manila, Francisco de Sande, sent the following letter to the sultan of Brunei, Seif ul-Rijal: ''What you are to do is to admit preachers of the law of Christ in all security, and allow any person in your land to freely attend and if he wishes so, to become Christian without any ill befalling him. Further, I desire that you do not sent preachers of the sect of Mahoma to any part of these islands or your own island, inasmuch as the doctrine of Mahoma is false and evil law, and the religion of the Christians alone is true, holy and good.'' Conflict was served.
Only problem to be solved now is ownership of Luzon by Spain...
EDIT: same changes for twin Portuguese events in Alt Iberia.