• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Lord Grave said:
Are you sure about this? I don't see a reason. Portugal became a satellite nation of England in 1703 (ENG_3093 and POR_260031). The mediation took place in 1661.
How could an English mediation take place without England on the map? My comment was just about your OR condition with POR vassal of ENG (England exists) or one of the Dowry event fired before (but England could have disappeared after these events).

Lord Grave said:
I seem to remember seeing it done this way, but maybe it was for advisors? How about this: There's a new monarch Luisa something (Afonso VI), but when Afonso VI comes of age he takes the throne with his 2/2/2 stats but get to choose who will advise him: Count of Castelo Melhor or his mother. (because it is no longer a regency). Does this sound adequate?
Yes, it does. New monarch can only be for regents, not for advisors nor Prime Ministers. See Mazarin or Richelieu for France.

Lord Grave said:
Maybe HOL_186087 was meant to be 18086? 186087 is supposed to be free according to the end of Dutch events file.
Yes, I think it is a leftover of Taiwan sequence between Netherlands and Japan. Id 186086 can be used for your proposal without problem.
 
Last edited:
YodaMaster said:
How could an English mediation take place without England on the map? My comment was just about your OR condition with POR vassal of ENG (England exists) or one of the Dowry event fired before (but England could have disappeared after these events).

Oh, sorry, I understood that you suggested removing the dowry from the OR because it is not enough to cause the mediation event to fire :)
 
I have reduced Afonso VI's stats because of bonuses given by his advisors, but it seems I forgot to include this in my first suggestion for his minority. Now with altered startdate:

Code:
historicalmonarch = {
	id = { type = 6 id = 0110513 }
[COLOR=Yellow]	startdate = {
		day = 21
		month = august
		year = 1661
	}[/COLOR]
	deathdate = {
		day = 23
		month = november
		year = 1667
	}
	name = "Afonso VI"
[COLOR=Yellow]	DIP = 2
	ADM = 2
	MIL = 2[/COLOR]
	dormant = no
	remark = "Feebleminded. Deposed by his brother Pedro."
}


And a new monarch for his mother. I don't know if including her family name is ok. It seems to me that all monarchs that are not from well-known dynasties have their family names included (Dodges of Venice and leaders of other republics, Francesco Sforza, Oliver Cromwell, etc)

Code:
historicalmonarch = {
	id = { type = 6 id = 0110540 }
	startdate = {
		day = 6
		month = november
		year = 1656
	}
[COLOR=Yellow]	deathdate = {
		day = 21
		month = august
		year = 1661
	}[/COLOR]
	name = "Luísa de Gusmão (Afonso VI)"
	DIP = 4
	ADM = 3
	MIL = 4
	dormant = no
	remark = "Mother of Afonso VI and his regent"
}
 
Last edited:
YodaMaster said:
Why January 1st, 1662 for monarchs when new End of minority event fires on November 6? Shouldn't dates match?

I don't know how I came up with November 6th. I'll put Afonso VI's birthday, although if this is correct then he came of age at 19. Don't know if this is ok for Portuguese culture.
 
Actually, it might be that Count of Castelo Melhor tried to seize power in 1662, after Afonso came of age in August 1661. I'll make him come of age at his 18th birthday, and the Count will try to seize power during the first half of 1662, with offset of 30.
 
With date change in new event, stats changes will only apply to current monarch (Luisa) and will be discarded when Afonso will be actived. Event must fire after Afonso's startdate.
 
YodaMaster said:
With date change in new event, stats changes will only apply to current monarch (Luisa) and will be discarded when Afonso will be actived. Event must fire after Afonso's startdate.

Ouch. I meant to change the year to 1661. Done now. So, to sum it up, Afonso VI takes the throne on his 18th birthday on August 21st 1661 as he is supposed to. However, he is feebleminded so in the first half of 1662 he has to choose who will aid him in ruling his kingdom.
 
Several proposal for Portugal colonial empire (the goal is to give core for all the provinces historically owned by this country) :

In africa

- fernando po :

Code:
#(1500-1580) Sugar in São Tomé
event = {
	id = 260024
	trigger = {
		owned = { province = 816 data = -1 } #Fernando Po
		control = { province = 816 data = -1 }
		NOT = { provincereligion = { province = 816 data = pagan } } #not a TP
	}
	random = no
	country = POR
	name = "EVENTNAME260024" #Sugar in São Tomé
	desc = "EVENTHIST260024"
	
	date = { day = 0 month = january year = 1500 }
	offset = 30
	deathdate = { day = 0 month = january year = 1580 }

	action_a = {
		name = "ACTIONNAME260024A" #We will become rich!
		command = { type = treasury value = -500 }
		command = { type = provincetax which = 816 value = 1 } #Fernando Po
		command = { type = gainmanufactory which = 816 value = refinery }
		[COLOR=Yellow]command = { type = addcore which = 816 } #Fernando Po[/COLOR]
	}
	action_b = {
		name = "ACTIONNAME260024B" #Too expensive
		command = { type = vp value = -5 }
	}
}


Code:
#(1777) An exchange between two continents
#by Fodoron
event = {
	id = 260017
	trigger = {
		owned = { province = 211 data = -1 } #Niteroi
		owned = { province = 223 data = SPA } #Aires (there is a border somewhere)
	}
	random = no
	country = POR
	name = "EVENTNAME260017" #An exchange between two continents
	desc = "EVENTHIST260017"

	date = { day = 1 month = october year = 1777 }

	action_a = {
		name = "ACTIONNAME260017A" #Sign the agreement
		command = { type = secedeprovince which = SPA value = 215 } #Uruguay
		command = { type = secedeprovince which = SPA value = 216 } #Artigas
		command = { type = secedeprovince which = SPA value = 217 } #Parana
		command = { type = secedeprovince which = SPA value = 218 } #Neembucu
		command = { type = secedeprovince which = SPA value = 816 } #Fernando Po
		[COLOR=Yellow]command = { type = removecore which = 816 } #Fernando Po[/COLOR]
		command = { type = relation which = SPA value = 100 }
		command = { type = trigger which = 285186 } #SPA: An exchange between two continents
	}
	action_b = {
		name = "ACTIONNAME260017B" #Reject the agreement
		command = { type = relation which = SPA value = -100 }
		command = { type = war which = SPA }
		command = { type = trigger which = 285187 } #SPA: Portugal refuses a peaceful solution over Brazil-La Plata
	}
}
Loss of the province

- Mombasa :

Code:
#(1505-1560) Mombasa is a threat to our hegemony in East Africa
#by sturmvogel
event = {
	id = 260116
	trigger = {
		discovered = 763
		owned = { province = 763 data = ZUL } #Mombasa
	}
	random = no
	country = POR
	name = "EVENTNAME260116" #Mombasa is a threat to our hegemony in East Africa
	desc = "EVENTHIST260116"

	date = { day = 1 month = july year = 1505 }
	offset = 90
	deathdate = { day = 1 month = january year = 1560 }

	action_a = {
		name = "ACTIONNAME260116A" #Sack Mombasa
		command = { type = trigger which = 336001 } #ZUL: Mombasa burnt by the Portuguese
		command = { type = treasury value = 25 }
		command = { type = relation which = ZUL value = -100 }
	}
	action_b = {
		name = "ACTIONNAME260116B" #We must hold Mombasa for ourselves
		command = { type = trigger which = 336002 } #ZUL: The Portuguese seek to conquer us
		command = { type = relation which = ZUL value = -200 }
		command = { type = casusbelli which = ZUL value = 60 }
		[COLOR=Yellow]command = { type = addcore which = 763 } #Mombasa[/COLOR]
	}
	action_c = {
		name = "ACTIONNAME260116C" #We will rule through a native puppet
		command = { type = relation which = ZUL value = -100 }
		command = { type = vassal which = ZUL }
	}
}

Code:
#(1505-1560) Capture of Mombasa
event = {
	id = 260117
	trigger = {
		control = { province = 763 data = -1 } #Mombasa
		event = 260116 #POR: Mombasa is a threat to our hegemony in East Africa
		exists = ZUL
	}
	random = no
	country = POR
	name = "EVENTNAME260117" #Capture of Mombasa
	desc = "EVENTHIST260117"
	#-#We have captured Mombasa as per D. Manuel's instructions. What shall we do now?

	date = { day = 1 month = july year = 1505 }
	offset = 30
	deathdate = { day = 1 month = january year = 1560 }

	action_a = {
		name = "ACTIONNAME260116B" #We must hold Mombasa for ourselves
		command = { type = inherit which = ZUL }
		command = { type = treasury value = 25 }
		[COLOR=Yellow]command = { type = addcore which = 763 } #Mombasa[/COLOR]
	}
	action_b = {
		name = "ACTIONNAME260116C" #We will rule through a native puppet
		command = { type = vassal which = ZUL }
		command = { type = treasury value = 25 }
		[COLOR=Yellow]command = { type = removecore which = 763 } #Mombasa[/COLOR]
	}
}

Code:
#(1528-1560) Mombasa has insulted us
event = {
	id = 260112
	trigger = {
		exists = ZUL
		event = 260111 #POR: Malindi cooperates against Mombasa
		NOT = {
			alliance = { country = ZUL country = POR }
			vassal = { country = POR country = ZUL }
		}
	}
	random = no
	country = POR
	name = "EVENTNAME260112" #Mombasa has insulted us
	desc = "EVENTHIST260111"

	date = { day = 1 month = october year = 1528 }
	offset = 1
	deathdate = { day = 1 month = january year = 1560 }

	action_a = {
		name = "ACTIONNAME260112A" #They shall be chastised for their impoliteness
		command = { type = relation which = ZUL value = -100 }
		command = { type = trigger which = 336003 } #ZUL: Mombasa burnt by the Portuguese
		command = { type = treasury value = 25 }
	}
	action_b = {
		name = "ACTIONNAME260116B" #We must hold Mombasa for ourselves
		command = { type = trigger which = 336004 } #ZUL: The Portuguese seek to conquer us
		command = { type = relation which = ZUL value = -200 }
		command = { type = casusbelli which = ZUL value = 60 }
		[COLOR=Yellow]command = { type = addcore which = 763 } #Mombasa[/COLOR]
	}
	action_c = {
		name = "ACTIONNAME260116C" #We will rule through a native puppet
		command = { type = relation which = ZUL value = -100 }
		command = { type = vassal which = ZUL }
	}
}

Code:
#(1528-1560) Capture of Mombasa
event = {
	id = 260062
	trigger = {
		control = { province = 763 data = -1 } #Mombasa
		event = 260112 #POR: Mombasa has insulted us
		exists = ZUL
	}
	random = no
	country = POR
	name = "EVENTNAME260117" #Capture of Mombasa
	desc = "EVENTHIST260062"
	#-#We have captured Mombasa. What shall we do now?

	date = { day = 1 month = october year = 1528 }
	offset = 30
	deathdate = { day = 1 month = january year = 1560 }

	action_a = {
		name = "ACTIONNAME260116B" #We must hold Mombasa for ourselves
		command = { type = inherit which = ZUL }
		command = { type = treasury value = 25 }
		[COLOR=Yellow]command = { type = addcore which = 763 } #Mombasa[/COLOR]
	}
	action_b = {
		name = "ACTIONNAME260116C" #We will rule through a native puppet
		command = { type = vassal which = ZUL }
		command = { type = treasury value = 25 }
		[COLOR=Yellow]command = { type = removecore which = 763 } #Mombasa[/COLOR]
	}
}

Code:
#(1585-1586) Result of Mirale Beque's second visit
#by sturmvogel
event = {
	id = 260139 #triggered by ZUL_336007 A
	random = no
	country = POR
	name = "EVENTNAME260139" #Result of Mirale Beque's second visit
	desc = "EVENTHIST260085"

	action_a = {
		name = "ACTIONNAME260139A" #We cannot tolerate this any further
		command = { type = casusbelli which = TUR value = 12 }
		command = { type = relation which = ZUL value = -100 }
		command = { type = relation which = TUR value = -100 }
		[COLOR=Yellow]command = { type = addcore which = 763 } #Mombasa[/COLOR]
		command = { type = merchants value = -1 }
		command = { type = trade value = -500 }
	}
	action_b = {
		name = "ACTIONNAME336006B" #Don't disturb the status quo
		command = { type = relation which = ZUL value = -100 }
		command = { type = relation which = TUR value = -100 }
		command = { type = merchants value = -1 }
		command = { type = trade value = -500 }
		command = { type = sleepevent which = 260140 } #POR: We have failed to retain Mombasa
		[COLOR=Yellow]command = { type = removecore which = 763 } #Mombasa[/COLOR]
	}
}

In Asia :

- colombo :

Code:
#(1597) Kandy's resistance to Portugal
event = {
	id = 260082 #triggered by U19_413002 A
	random = no
	country = POR
	name = "EVENTNAME260082" #Portugal inherits Kotte but the Kings of Kandy resist
	desc = "EVENTHIST413002"

	action_a = {
		name = "GREAT"
		[COLOR=Yellow]command = { type = addcore which = 576 } #Colombo[/COLOR]
		command = { type = casusbelli which = U19 value = 360 }
	}
}

Code:
#(1597) Portuguese annexation of Lanka
event = {
	id = 260081 #triggered by U19_413002 B / U19_413011
	random = no
	country = POR
	name = "EVENTNAME260081" #Portugal inherits Kotte
	desc = "EVENTHIST260081"

	action_a = {
		name = "GREAT"
		command = { type = inherit which = U19 }
		[COLOR=Yellow]command = { type = addcore which = 576 } #Colombo[/COLOR]
	}
}


- Johor :

Code:
#(1536) Portuguese attacks Johor
event = {
	id = 260957
	trigger = {
		owned = { province = 677 data = -1 } #Malacca
		control = { province = 677 data = -1 } #Malacca
		owned = { province = 678 data = MLC } #Johor
		discovered = 678
	}
	random = no
	country = POR
	name = "EVENTNAME260957" #Portuguese attacks Johor
	desc = "EVENTHIST260957"
	#-#Major Portuguese attack on Johore.

	date = { day = 1 month = january year = 1536 }
	offset = 30
	deathdate = { day = 29 month = december year = 1536 }

	action_a = {
		name = "ACTIONNAME260957A" #Take Johor!
		command = { type = domestic which = offensive value = 1 }
		command = { type = warships which = 677 value = 2 } #Malacca
		command = { type = INF which = 677 value = 5000 } #Malacca
		command = { type = relation which = MLC value = -200 }
		[COLOR=Yellow]command = { type = addcore which = 678 } #Johor[/COLOR]
		command = { type = war which = MLC }
	}
	action_b = {
		name = "ACTIONNAME260957B" #Just trade with them
		command = { type = domestic which = mercantilism value = -1 }
		command = { type = merchants value = 3 }
		command = { type = relation which = MLC value = 50 }
	}
}

Code:
#(1587) Portuguese attacks Johor from Malacca
event = {
	id = 260960
	trigger = {
		owned = { province = 678 data = MLC } #Johor
		owned = { province = 677 data = -1 } #Malacca
	}
	random = no
	country = POR
	name = "EVENTNAME260960" #Portuguese attacks Johor from Malacca
	desc = "EVENTHIST260960"
	#-#Portuguese in Melaka attacked Johor in 1587.

	date = { day = 1 month = january year = 1587 }
	offset = 30
	deathdate = { day = 1 month = january year = 1588 }

	action_a = {
		name = "ACTIONNAME260960A" #Take Johor!
		command = { type = domestic which = offensive value = 1 }
		command = { type = INF which = 677 value = 5000 } #Malacca
		command = { type = relation which = MLC value = -200 }
		[COLOR=Yellow]command = { type = addcore which = 678 } #Johor[/COLOR]
		command = { type = war which = MLC }
	}
	action_b = {
		name = "ACTIONNAME260960B" #Just trade with them
		command = { type = domestic which = mercantilism value = -1 }
		command = { type = merchants value = 3 }
		command = { type = relation which = MLC value = 50 }
		[COLOR=Yellow]command = { type = removecore which = 678 } #Johor[/COLOR]
	}
}

I will add an event for remove the core if Johor is not seized by portugal after a while.


- the philippines :

Code:
#(1529) Philippines belong to Spain (Portugal's part)
event = {
	id = 260956
	trigger = {
		OR = {
			owned = { province = 690 data = -1 } #Luzon
			owned = { province = 691 data = -1 } #Mindoro
			owned = { province = 692 data = -1 } #Samar
			owned = { province = 693 data = -1 } #Mindanao
			owned = { province = 694 data = -1 } #Palawan
		}
		exists = SPA
	}
	random = no
	country = POR
	name = "EVENTNAME260956" #Philippines belongs to Portugal
	desc = "EVENTHIST260956"

	date = { day = 1 month = january year = 1529 }
	offset = 30
	deathdate = { day = 1 month = january year = 1530 }

	action_a = {
		name = "ACTIONNAME260956A" #Accept the agreement
		command = { type = relation which = SPA value = 50 }
		command = { type = relation which = PAP value = 50 }
		command = { type = secedeprovince which = SPA value = 690 } #Luzon
		command = { type = secedeprovince which = SPA value = 691 } #Mindoro
		command = { type = secedeprovince which = SPA value = 692 } #Samar
		command = { type = secedeprovince which = SPA value = 693 } #Mindanao
		command = { type = secedeprovince which = SPA value = 694 } #Palawan
	}
	action_b = {
		name = "ACTIONNAME260956B" #No, Philippines is ours!
		command = { type = relation which = SPA value = -50 }
		command = { type = relation which = PAP value = -50 }
[COLOR=Yellow]		command = { type = addcore which = 690 }
		command = { type = addcore which = 691 }
		command = { type = addcore which = 692 }
		command = { type = addcore which = 693 }
		command = { type = addcore which = 694 }[/COLOR]
		command = { type = trigger which = 285962 } #SPA: Philippines belong to Spain
	}
}

In South America :

- Brasil :

Code:
#(1500-1600) Colonial Pact
#Idea: King of Brazil - Scripting by Annibale
event = {
	id = 18006
	trigger = { 
		OR = {
			discovered = 203 #Recife
			[COLOR=Yellow]discovered = 205 #Pernambuc	
			discovered = 207 #Diamentina
			discovered = 209 #Salvador[/COLOR]
		}
	}					
	random = no
	country = POR
	name = "EVENTNAME18006" #Colonial Pact
	desc = "EVENTHIST18006"

	date = { day = 1 month = january year = 1500 }
	offset = 360
	deathdate = { day = 1 month = january year = 1600 }

	action_a = {
		name = "ACTIONNAME18006A" #Strictly Control Trading Rights
		command = { type = domestic which = MERCANTILISM value = 2 }
		command = { type = relation which = CAS value = -50 }
		command = { type = relation which = SPA value = -50 }
		command = { type = relation which = ENG value = -50 }
		command = { type = relation which = FRA value = -50 }
	}
	action_b = {
		name = "ACTIONNAME18006B" #Relax Trading Restrictions
		command = { type = domestic which = MERCANTILISM value = -1 }
		command = { type = relation which = CAS value = 20 }
		command = { type = relation which = SPA value = 20 }
		command = { type = relation which = ENG value = 20 }
		command = { type = relation which = FRA value = 20 }
	}
}

Code:
#(1531-1560) Governor Martim Afonso de Sousa in Brazil
event = {
	id = 3271
	trigger = {
		OR = {
			owned = { province = 203 data = -1 } #Recife
			owned = { province = 205 data = -1 } #Pernambuc
			owned = { province = 207 data = -1 } #Diamentina
			owned = { province = 209 data = -1 } #Salvador
			owned = { province = 210 data = -1 } #Itaimas
			owned = { province = 211 data = -1 } #Niteroi
			owned = { province = 213 data = -1 } #Curitiba
		}
	}
	random = no
	country = POR
	name = "EVENTNAME3271" #Governor Martim Afonso de Sousa in Brazil
	desc = "EVENTHIST3271"

	date = { day = 1 month = january year = 1531 }
	offset = 60
	deathdate = { day = 1 month = january year = 1560 }

	action_a = {
		name = "ACTIONNAME3271A" #Appoint de Sousa
		command = { type = wakeleader which = 0110817 } #Martim de Sousa (POR)
		command = { type = warships which = -1 value = 5 }
		command = { type = treasury value = 100 }
		command = { type = colonists value = 2 }
		[COLOR=Yellow]command = { type = addcore which = 205 } #Pernambuc[/COLOR]
		command = { type = addcore which = 207 } #Diamentina
		command = { type = addcore which = 209 } #Salvador
		command = { type = addcore which = 210 } #Itaimas
	}
}

One of the first TP was built in pernambouc
 
Last edited:
New events for Portugal (addcore too)

- Asia :

Code:
#(1522-1580) Fort at Hitu
event = {
	id = 260953
	trigger = {
		[COLOR=Yellow]event = 260152 #POR: Settlement at Hitu[/COLOR]
		owned = { province = 715 data = -1 } #Ceram
		NOT = { provincereligion = { province = 715 data = pagan } }
		control = { province = 715 data = -1 }
		ai = yes
	}
	random = no
	country = POR
	name = "EVENTNAME260953" #Fort at Hitu
	desc = "EVENTHIST260953"
	#-#Portuguese built fort at Hitu on Ambon

	date = { day = 1 month = may year = 1522 }
	offset = 24
	deathdate = { day = 1 month = january year = 1580 }

	action_a = {
		name = "ACTIONNAME260953A" #Build fort
		command = { type = treasury value = -100 }

		command = { type = addcore which = 715 } #Ceram

		command = { type = fortress which = 715 value = 1 } #Ceram
	}
	action_b = {
		name = "ACTIONNAME260953B" #We don't have money
		command = { }
	}
}

[COLOR=Lime]#(1522-1580) Settlement at Hitu
event = {
	id = 260152
	trigger = {
		owned = { province = 715 data = -1 } #Ceram
	}
	random = no
	country = POR
	name = "EVENTNAME260152" 
	desc = "EVENTHIST260152"

	date = { day = 1 month = january year = 1522 }
	offset = 40
	deathdate = { day = 1 month = january year = 1580 }

	action_a = {
		name = "ACTIONNAME260152A" #It's ours !
		command = { type = addcore which = 715 } #Ceram
	}
}[/COLOR]
EVENTNAME260152;Settlement at Hitu;;;;;;;;;;
EVENTHIST260152;Hitu belong to us!;;;;;;;;;;
ACTIONNAME260152A;GOOD;;;;;;;;;;


Code:
#(1550-1580) Fort on Flores
event = {
	id = 260958
	trigger = {
		[COLOR=Yellow]event = 260153 #POR: Settlement on Flores[/COLOR]
		owned = { province = 711 data = -1 } #Flores
		NOT = { provincereligion = { province = 711 data = pagan } }
		control = { province = 711 data = -1 }
		ai = yes
	}
	random = no
	country = POR
	name = "EVENTNAME260958" #Fort on Flores
	desc = "EVENTHIST260958"
	#-#In 1550 Portuguese began building forts on Flores.

	date = { day = 1 month = january year = 1550 }
	offset = 30
	deathdate = { day = 1 month = january year = 1580 }

	action_a = {
		name = "ACTIONNAME260958A" #Build fort
		command = { type = treasury value = -100 }
		command = { type = fortress which = 711 value = 1 } #Flores
	}
	action_b = {
		name = "ACTIONNAME260958B" #We don't have money
		command = { }
	}
}

[COLOR=Lime]#(1522-1580) Settlement on Flores
event = {
	id = 260153
	trigger = {
		owned = { province = 711 data = -1 } #Flores
	}
	random = no
	country = POR
	name = "EVENTNAME260153" 
	desc = "EVENTHIST260153"

	date = { day = 1 month = january year = 1522 }
	offset = 40
	deathdate = { day = 1 month = january year = 1580 }

	action_a = {
		name = "ACTIONNAME260153A" #It's ours !
		command = { type = addcore which = 711 } #Flores
	}
}[/COLOR]
EVENTNAME260153;Settlement on Flores;;;;;;;;;;
EVENTHIST260153;Flores belong to us!;;;;;;;;;;
ACTIONNAME260153A;GOOD;;;;;;;;;;


Code:
#(1526-1580) First fort on Timor
event = {
	id = 260954
	trigger = {
		[COLOR=Yellow]event = 260154 #POR: Settlement on Timor[/COLOR]
		owned = { province = 712 data = -1 } #Timor
		NOT = { provincereligion = { province = 712 data = pagan } }
		control = { province = 712 data = -1 }
		ai = yes
	}
	random = no
	country = POR
	name = "EVENTNAME260954" #First fort on Timor
	desc = "EVENTHIST260954"
	#-#Portuguese built first fort on Timor.

	date = { day = 1 month = january year = 1526 }
	offset = 30
	deathdate = { day = 1 month = january year = 1580 }

	action_a = {
		name = "ACTIONNAME260954A" #Build fort
		command = { type = treasury value = -100 }
		command = { type = fortress which = 712 value = 1 } #Timor
	}
	action_b = {
		name = "ACTIONNAME260954B" #We don't have money
		command = { }
	}
}


[COLOR=Lime]#(1522-1580) Settlement on Timor
event = {
	id = 260154
	trigger = {
		owned = { province = 712 data = -1 } #Timor
	}
	random = no
	country = POR
	name = "EVENTNAME260154" 
	desc = "EVENTHIST260154"

	date = { day = 1 month = january year = 1522 }
	offset = 40
	deathdate = { day = 1 month = january year = 1580 }

	action_a = {
		name = "ACTIONNAME260154A" #It's ours !

		command = { type = addcore which = 712 } #Timor
	}
}[/COLOR]
EVENTNAME260154;Settlement on Timor;;;;;;;;;;
EVENTHIST260154;Timor belong to us!;;;;;;;;;;
ACTIONNAME260154A;GOOD;;;;;;;;;;

Code:
#(1558-1580) Fortress on Bacan
event = {
	id = 260959
	trigger = {
		[COLOR=Yellow]event = 260155 #POR: Settlement on Bacan[/COLOR]
		owned = { province = 713 data = -1 } #Tindore
		NOT = { provincereligion = { province = 713 data = pagan } }
		control = { province = 713 data = -1 }
		ai = yes
	}
	random = no
	country = POR
	name = "EVENTNAME260959" #Fortress on Bacan
	desc = "EVENTHIST260959"
	#-#In 1558 Portuguese built a fortress on Bacan.

	date = { day = 1 month = january year = 1558 }
	offset = 30
	deathdate = { day = 1 month = january year = 1580 }

	action_a = {
		name = "ACTIONNAME260959A" #Build fort
		command = { type = treasury value = -100 }
		command = { type = fortress which = 713 value = 1 } #Tindore
	}
	action_b = {
		name = "ACTIONNAME260959B" #We don't have money
		command = { }
	}
}

[COLOR=Lime]#(1522-1580) Settlement on Bacan
event = {
	id = 260155
	trigger = {
		owned = { province = 713 data = -1 } #Tindore
	}
	random = no
	country = POR
	name = "EVENTNAME260155" 
	desc = "EVENTHIST260155"

	date = { day = 1 month = january year = 1522 }
	offset = 40
	deathdate = { day = 1 month = january year = 1580 }

	action_a = {
		name = "ACTIONNAME260155A" #It's ours !
		command = { type = addcore which = 713 } #Tindore
	}
}[/COLOR]
EVENTNAME260155;Settlement on Bacan;;;;;;;;;;
EVENTHIST260155;Bacan belong to us!;;;;;;;;;;
ACTIONNAME260155A;GOOD;;;;;;;;;;

- Cape Verde

Code:
#(1432) Cape Bojador
event = {
	id = 18002
	trigger = {
		NOT = { domestic = { type = land value = 4 } }
	}
	random = no
	country = POR
	name = "EVENTNAME18002" #Cape Bojador
	desc = "EVENTHIST18002"

	date = { day = 25 month = december year = 1432 }

	action_a = {
		name = "ACTIONNAME18002A" #Explore African Coast
		command = { type = wakeleader which = 0110801 } #Gil Eanes (POR)
		command = { type = naval value = 250 }
		[COLOR=Red]command = { type = addcore which = 818 } #Cape Verde[/COLOR]
		command = { type = treasury value = -25 }
	}
}

Code:
#(1450) Discovery of Cape Verde
event = {
	id = 260156
	trigger = {
		event = 18002 #Cape Bojador
		[COLOR=Yellow]NOT core = { province = 818 data = -1 }
		OR = {
			discovered = 818 #Cape Verde
			discovered = 1121 #Cape Verde Islands
		}[/COLOR]
	}
	random = no
	country = POR
	name = "EVENTNAME260156" #Cape Verde
	desc = "EVENTHIST260156"

	date = { day = 1 month = january year = 1450 }
	offset = 90
	deathdate = { day = 29 month = december = 1600 }

	action_a = {
		name = "ACTIONNAME260156A" #New Islands !
		command = { type = addcore which = 818 } #Cape Verde
	}
}

EVENTNAME260156;Discovery Cape Verde;;;;;;;;;;
EVENTHIST260156;In 1456, Alvise da Mosto discovered some of the islands. In the next decade, Diogo Dias and António Noli, captains in the service of Prince Henry the Navigator, discovered the remaining islands of the archipelago.;;;;;;;;;;
ACTIONNAME260156A;New islands !;;;;;;;;;;

Code:
#(1450) Mascate belong tu us
event = {
	id = 260157
	trigger = {
		event = 260009 #The Portuguese take possession of Ormuz
		owned = { province = 504 data = -1 } #Mascate
		NOT core = { province = 504 data = -1 }
	}
	random = no
	country = POR
	name = "EVENTNAME260157" #Mascate belong tu us
	desc = "EVENTHIST260157"

	date = { day = 0 month = april year = 1515 }
	offset = 90
	deathdate = { day = 29 month = december = 1600 }

	action_a = {
		name = "ACTIONNAME260157A" #Good !
		command = { type = addcore which = 504 } #Mascate
	}
}

EVENTNAME260157;Mascate belong tu us;;;;;;;;;;
EVENTHIST260009;In 1515 Albuquerque had the Persian governor of Ormuz, Reys Hamad, killed. He then had a fortress built in Ormuz and took control of Ormuz's arsenal making the Sheik of Ormuz a virtual puppet and giving Portugal control of Ormuz and its territory.;;;;;;;;;;
ACTIONNAME260157A;Good !;;;;;;;;;;
 
Last edited:
About Zanzibar, why isn't POR_260123 involved for addcore in action_a and removecore in POR_260124 action_b in supplement to addcore in action_a (still needed because POR_260123 action_b doesn't sleep 260124)?
But I don't understand why a core is granted on Zanzibar in this sequence because POR_260123 is an ahistorical event. Historical path will never give direct ownership of Zanzibar and a core to Portugal. Did I miss something?


About Mombasa, shouldn't a removecore be involved in POR_260117 action_b?
Same question with POR_260112 granting no core and possible removecore in POR_260062 action_b and POR_260139 action_b?
Better not use AI only POR_18036 for addcore command. Players can't be involved.

=> For both provinces and removecore, is it part of proposal that will follow?


About the Settlement events, I suggest to use "<name of province> belongs to us!" as default EVENTHIST if no better description, and "GOOD" as common short action name.

When a Fort event is associated (same timeframe), I suggest to add Settlement event as condition for the Fort event. Better see Settlement before Fort in the history.


In POR_260156, for consistency with leaders.por: Alvise Cadamosto => Alvise da Mosto
and prince => Prince

Because only effect of the event is core, better add a "NOT core = { province = 818 data = -1 }" condition as safety.
Why not adding discovery of "Cape Verde Islands" (1121) sea zone? According to your successful tests, it seems unnecessary but islands are obviously here when this sea zone is discovered.


In POR_260157, date should be the same as for POR_260009:
Code:
	date = { day = 0 month = april year = 1515 }
No need to check event before because of the "event = 260009" condition. Same remark as for POR_260156 and NOT core condition.
Without desc for 260157, better reuse EVENTHIST260009.


Just waiting for removecore events now. :)
 
Should the Navarra sequence in the Spain event file (SPA_285041, SPA_285042, and SPA_285280) test whether ARG_111024 happened? (i.e. if Spain was formed by Aragon and had basque culture from the start) It seems a bit strange for Spain to have basque culture and then receive it again.

On a similar note, why does Aragon-turned-Spain get basque from the start while a Castillian Spain doesn't? My guess would be on the basis of John II's kingship in Navarra, and Ferdinand inheriting that claim, but that sounds like something more in the realm of cores or temporary CBs than cultures...
 
Slavick3000 said:
Should the Navarra sequence in the Spain event file (SPA_285041, SPA_285042, and SPA_285280) test whether ARG_111024 happened? (i.e. if Spain was formed by Aragon and had basque culture from the start) It seems a bit strange for Spain to have basque culture and then receive it again.

The usual protocol when changing country tag is to remove all cultures and add them again to make sure that the correct culture is the primary one. I don't know if this was done in case of Spain, but I don't remember having any problems while playing it in earlier versions of AGCEEP (1.54 or 1.55). To answer your question, Basque would have to be removed just in case newborn Spain has it and then added again.

Slavick3000 said:
On a similar note, why does Aragon-turned-Spain get basque from the start while a Castillian Spain doesn't? My guess would be on the basis of John II's kingship in Navarra, and Ferdinand inheriting that claim, but that sounds like something more in the realm of cores or temporary CBs than cultures...

Spain receives Basque culture in SPA_285041.
 
Castille starts the GC with iberian(castillian). In 1479-1490, it gets italian, amazonian(catalan), and maltese, inherits Aragon, and becomes Spain with CAS_142013 and CAS_142014. 1497/1512/1517-1820 it gets basque with SPA_285041, SPA_285042, and SPA_285280.

Aragon starts the GC with amazonian(catalan), italian, and maltese. Loses iberian(castillian)(possible if ARG revolts in the Aragon province I guess...) in a 1469 event B-choice (ARG_111021B). Then in 1479-1490 (ARG_111024) it gains iberian(castillian) and then loses and re-gains amazonian(catalan), italian, basque, and maltese (maltese isn't actually removed and re-added in the current version, but should be (see the 1.56 bug thread))

So, right after Spain is formed, it has iberian(castillian), italian, amazonian(catalan), and maltese if formed by Castille.
If formed by Aragon, however, it has iberian(castillian), amazonian(catalan), italian, basque, and maltese.

The both get basque with SPA_285041, SPA_285042, and SPA_285280.

This gives an Aragon-created Spain basque for at least 18, and at most 340 more years with basque culture (if Navarra doesn't exist and Spain doesn't own the actual province and Habsburg Spain doesn't win the War of Spanish Succession) than a Castille-created Spain.

Another inconsistency in the inheritance events is the core over Navarra (428). Castille gets a core on it when it inherits Aragon (CAS_142013). Aragon, however, can only get the core in 1512 with ARG_111008, and even then only if Foix -> Navarra event chain happened. 1512 is definitely after the historical creation of Spain is possible, so we can often up with Spain created by Castille with a Navarra core and no basque culture, or a Spain created by Aragon with basque culture and no Navarra core.

My suggestion is to remove the Navarra core from CAS_142013 and basque culture from ARG_111024. Have both added by SPA_285041, SPA_285042, and SPA_285280. Since Spain won't have a core on Navarra, it won't attempt to conquer it militarily then, but will get the core once it vassalizes/inherits it by event.
 
Slavick3000 said:
So, right after Spain is formed, it has iberian(castillian), italian, amazonian(catalan), and maltese if formed by Castille.
If formed by Aragon, however, it has iberian(castillian), amazonian(catalan), italian, basque, and maltese.

inconsistency true, it should be

Spain is formed, it has iberian(castillian), italian, amazonian(catalan), and maltese if formed by Castille.

Aragon, however, it has amazonian(catalan), basque, iberian(castillian), italian, , and maltese.
 
YodaMaster said:
About Zanzibar, why isn't POR_260123 involved for addcore in action_a and removecore in POR_260124 action_b in supplement to addcore in action_a (still needed because POR_260123 action_b doesn't sleep 260124)? But I don't understand why a core is granted on Zanzibar in this sequence because POR_260123 is an ahistorical event. Historical path will never give direct ownership of Zanzibar and a core to Portugal. Did I miss something?
you're right, i had a bad idea, proposal deleted.

YodaMaster said:
About Mombasa, shouldn't a removecore be involved in POR_260117 action_b?
Same question with POR_260112 granting no core and possible removecore in POR_260062 action_b and POR_260139 action_b?
Better not use AI only POR_18036 for addcore command. Players can't be involved.
ok and edited for POR_260117
ok and edited for POR_260062
ok and edited for POR_260139
ok for POR_18036


=> For both provinces and removecore, is it part of proposal that will follow?
i will write events for the final loss of the provinces

About the Settlement events, I suggest to use "<name of province> belongs to us!" as default EVENTHIST if no better description, and "GOOD" as common short action name.
ok edited

When a Fort event is associated (same timeframe), I suggest to add Settlement event as condition for the Fort event. Better see Settlement before Fort in the history.
good idea :)


In POR_260156, for consistency with leaders.por: Alvise Cadamosto => Alvise da Mosto
and prince => Prince
edited

Because only effect of the event is core, better add a "NOT core = { province = 818 data = -1 }" condition as safety.
Why not adding discovery of "Cape Verde Islands" (1121) sea zone? According to your successful tests, it seems unnecessary but islands are obviously here when this sea zone is discovered.
ok edited ( :p )


In POR_260157, date should be the same as for POR_260009:
Code:
	date = { day = 0 month = april year = 1515 }
No need to check event before because of the "event = 260009" condition. Same remark as for POR_260156 and NOT core condition.
Without desc for 260157, better reuse EVENTHIST260009.
ok


Just waiting for removecore events now. :)
yes, and also addcore events for brasil.
 
De-VILLARS said:
yes, and also addcore events for brasil.
About Mombasa and POR_260112, I think it is the same as for Zanzibar. Core shouldn't be granted in action_b. Removecore command in POR_260062 action_b becomes useless then.
 
Last edited:
Toio said:
inconsistency true, it should be

Spain is formed, it has iberian(castillian), italian, amazonian(catalan), and maltese if formed by Castille.

Aragon, however, it has amazonian(catalan), basque, iberian(castillian), italian, , and maltese.
Why?

With formation of Spain, IMHO, Castilian culture should become dominant (for colonization purpose in particular).
 
Last edited:
Slavick3000 said:
My suggestion is to remove the Navarra core from CAS_142013 and basque culture from ARG_111024. Have both added by SPA_285041, SPA_285042, and SPA_285280. Since Spain won't have a core on Navarra, it won't attempt to conquer it militarily then, but will get the core once it vassalizes/inherits it by event.
I agree.

Reworked events:
Code:
#(1479-1490) Isabel and Fernando Kings of Aragon
#by Twoflower and Fodoron
event = {
	id = 142013 #triggered by ARG_111023
	random = no
	country = CAS
	name = "EVENTNAME142013" #Isabel and Fernando Kings of Aragon
	desc = "EVENTHIST142013"
	#-#

	action_a = {
		name = "ACTIONNAME142013A" #Isabel and Fernando will rule Aragon jointly from now on
		command = { type = addcore which = 427 } #Gerona
		command = { type = addcore which = 429 } #Catalonia
		command = { type = addcore which = 430 } #Aragon
		command = { type = addcore which = 437 } #Valencia
		command = { type = addcore which = 821 } #The Baleares
		command = { type = addcore which = 395 } #Messina
		command = { type = addcore which = 396 } #Sicily
		command = { type = addcore which = 397 } #Sardinia
		command = { type = addcore which = 426 } #Roussillon
		[COLOR=Red]command = { type = addcore which = 428 } #Navarra[/COLOR]
		command = { type = addcore which = 819 } #Malta
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = add_countryculture which = italian }
		command = { type = add_countryculture which = amazonian } #Catalan
		command = { type = add_countryculture which = maltese }
		command = { type = inherit which = ARG }
		command = { type = stability value = 2 }
	}
}
#-#After the death of his father Juan, Fernando and his wife Isabel became also Kings of Aragon with the same agreement than for Castile, they will both have the same powers, but Fernando will have precedence and exclusivity over the crown. Europe was fascinated by the Iberian experiment, where more than the marriage of the Kings, it appeared that the countries were marrying in equal terms. The new Kings soon showed the power of a strong monarchy, administering justice everywhere, subjugating the rebellious nobles, reorganizing the military orders, and introducing church reforms. The problems of instability, anarchy and banditry that have plagued Castile and Aragon were solved. The city rights were restored and the high nobility put under control and balanced by the increase in numbers of the lower nobility.

Code:
#(1479-1490) Fernando and Isabel Kings of Aragon
#by Twoflower and Fodoron
event = {
	id = 111024 #triggered by CAS_142015
	random = no
	country = ARG
	name = "EVENTNAME111024" #Fernando and Isabel Kings of Aragon
	desc = "EVENTHIST111024"
	#-#

	action_a = {
		name = "ACTIONNAME111024A" #Fernando and Isabel will rule Aragon jointly from now on
		command = { type = addcore which = 431 } #Cantabria
		command = { type = addcore which = 432 } #Asturias
		command = { type = addcore which = 433 } #Galicia
		command = { type = addcore which = 435 } #Leon
		command = { type = addcore which = 436 } #Castilla
		command = { type = addcore which = 438 } #Murcia
		command = { type = addcore which = 439 } #Toledo
		command = { type = addcore which = 440 } #Estramadura
		command = { type = addcore which = 443 } #Andalusia
		command = { type = addcore which = 444 } #Granada
		command = { type = addcore which = 445 } #Gibraltar
		command = { type = addcore which = 817 } #The Canary Islands
		command = { type = add_countryculture which = iberian } #Castilian
		command = { type = remove_countryculture which = amazonian } #to order them properly
		command = { type = remove_countryculture which = italian }
		command = { type = remove_countryculture which = maltese }
		command = { type = remove_countryculture which = basque }
		command = { type = add_countryculture which = amazonian }
		[COLOR=Red]command = { type = add_countryculture which = basque }[/COLOR]
		command = { type = add_countryculture which = italian }
		command = { type = add_countryculture which = maltese }
		command = { type = inherit which = CAS }
		command = { type = stability value = 2 }
		#command = { type = wakeleader which = XXXXX } #Fernando of Aragon - removed in 1.40 => no such leader for Aragon
	}
}
#-#After the death of his father Juan, Fernando and his wife Isabel became also Kings of Aragon with the same agreement as the one for Castile, they will both have the same powers, but Fernando will have precedence and exclusivity over the crown. Europe was fascinated by the Iberian experiment, where more than the marriage of the Kings, it appeared that the countries were marrying in equal terms. The new Kings soon showed the power of a strong monarchy, administering justice everywhere, subjugating the rebellious nobles, reorganizing the military orders, and introducing church reforms. The problems of instability, anarchy and banditry that have plagued Castile and Aragon were solved. The city rights were restored and the high nobility put under control and balanced by the increase in numbers of the lower nobility.

Code:
#(1497) The Castilian Protectorate of Navarre
#by Fodoron
event = {
	id = 285041 #triggered by NAV_241027 A
	random = no
	country = SPA
	name = "EVENTNAME285041" #The Castilian protectorate of Navarre
	desc = "EVENTHIST285041"
	#-#

	action_a = {
		name = "ACTIONNAME285041A" #Establish the Spanish protectorate over Navarre
		[COLOR=Yellow]command = { type = addcore which = 428 } #Navarra[/COLOR]
		command = { type = add_countryculture which = basque }
		command = { type = vassal which = NAV }
		command = { type = sleepevent which = 285280 } #SPA: The fate of the Kingdom of Navarre
	}
}
#-#The ascension of Fernando to the throne of Castile radically changed the situation in Navarre. Castile had always supported the Beaumonts against Juan and the Gramonts, but Fernando was able to convince his father that Castile could play a role in the pacification of Navarre. Instead of dropping the support of the Beaumonts, Fernando signs with Juan the Treaty of Tudela in 1476, establishing a defensive protectorate of Castile over Navarre. The Castilian protectorate will last thirty years, and although it will not end the war between the Beaumonts and Gramonts, it will greatly abate it. It will also serve as a Spanish counterweight against the French orientation of the House of Foix. At the treaty of Pamplona-Medina del Campo in January 1494, Jean and Catherine accepted the marriage of their heir to the heir of Spain, and the continuation of the Castilian protectorate. This allowed them to defeat Jean of Foix-Narbonne, who renounced to his claim to the crown of Navarre in 1497. But the confrontation between Spain and France that was starting in Italy left no room for a neutral Navarre. Strategically, Navarre could be used as a backdoor to invade the neighboring country, allowing the armies to cross the Pyrenees unmolested. A war between France and Spain over Navarre was in the horizon. This time Navarre seemed to tilt towards Spain.

Code:
#(1512) The War of Navarre
#by Fodoron
event = {
	id = 285042 #triggered by NAV_241029 A
	random = no
	country = SPA
	name = "EVENTNAME285042" #The conquest of Navarre
	desc = "EVENTHIST285042"
	#-#

	action_a = {
		name = "ACTIONNAME285042A" #Union with Spain has been achieved
		[COLOR=Yellow]command = { type = addcore which = 428 } #Navarra[/COLOR]
		command = { type = add_countryculture which = basque }
		command = { type = stability value = 1 }
		command = { type = inherit which = NAV }
		command = { type = trigger which = 170157 } #FRA: The war of Navarre
		command = { type = sleepevent which = 285280 } #SPA: The fate of the Kingdom of Navarre
	}
}
#-#The alliance of Jean d'Albret and Louis XII of France in the context of the wars of Italy, precipitated the Spanish invasion of Navarre. The Beaumonts supported the invasion, and surrendered Pamplona to the Old Duke of Alba. The Gramonts were quickly overrun. The French armies under command of the Dauphin made numerous mistakes, ignoring the requests of Jean d'Albret, using the Navarrans and Gascoigners to lead the assaults and abusing the local population. The siege of Pamplona was a complete failure, and with the arrival of the winter they suffered grave loses, retreating back to France in a difficult march across the Pyrenees. By the spring of 1513, the Spaniards had resisted the French attack in the Basque region and were the masters of Navarre. That year, Fernando was crowned King of Navarre, and in 1515, he surprisingly decided to incorporate Navarre to the Kingdom of Castile.

Code:
#(1517-1820) The fate of the Kingdom of Navarre - Ahistorical
event = {
	id = 285280
	trigger = {
		NOT = {
			exists = NAV
			event = 285041 #SPA: The Castilian protectorate of Navarre
			event = 285042 #SPA: The conquest of Navarre
		}
		owned = { province = 428 data = -1 } #Navarra
		control = { province = 428 data = -1 } #Navarra
		atwar = no
	}
	random = no
	country = SPA
	name = "EVENTNAME285280" #The fate of the Kingdom of Navarre
	desc = "EVENTHIST285280"
	#-#

	date = { day = 1 month = january year = 1517 }
	offset = 60
	deathdate = { year = 1820 }

	action_a = {
		name = "ACTIONNAME285042A" #Union with Spain has been achieved
		[COLOR=Yellow]command = { type = addcore which = 428 } #Navarra[/COLOR]
		command = { type = add_countryculture which = basque }
	}
}
#-#Navarre is incorporated in the Kingdom of Spain.
 
Last edited:
No cores should be granted on Mombasa or Zanzibar if either is conquered ahistorically early. The core prevents unrest, etc. that otherwise would happen. The core for Mombasa in the Mirale Beque events is where it should be, not earlier under any circumstances because the Portuguese never felt that they actually had to spend the resources to conquer it until the Arabs began to threaten their dominance of East Africa. And Zanzibar was never worth it to them, so no core ever.