• 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.

Samorim

Major
42 Badges
Jan 16, 2008
570
0
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria: Revolutions
  • For The Glory
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Europa Universalis 4: Emperor
  • Mount & Blade: Warband
  • 500k Club
  • Victoria 2
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Knights of Honor
  • Crusader Kings II
YodaMaster said:
We try to represent all big changes and the most representative of the evolution of each country but we can't model all the small ones.

You can send them to me at yodamaster@agceep.net and we will see what can be done for Portugal.

I guess you got a wrong impression of my post. I wasn't demading anything neither that critic of lack of flags was intented to criticize your (very demanding) work. I just felt that that area of AGCEEP could be improved and was offering my half done job to you. That's it. It was with the intention to make AGCEEP even better. ;)

I will send you the flags to the mail, if you feel to do finish them, great, if not, well, no problem, maybe I'll finish them myself some day and then send you.
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
5
Samorim said:
I guess you got a wrong impression of my post. I wasn't demading anything neither that critic of lack of flags was intented to criticize your (very demanding) work. I just felt that that area of AGCEEP could be improved and was offering my half done job to you. That's it. It was with the intention to make AGCEEP even better. ;)
I just tried to be clear about CoA/flag changes we can include and those we won't because we can't represent all tiny changes for all countries. Anyway, be assured we are always open to improvements.

Samorim said:
I will send you the flags to the mail, if you feel to do finish them, great, if not, well, no problem, maybe I'll finish them myself some day and then send you.
Thanks. I will be able to see which changes can be included according to our policies.
 

sturmvogel

Field Marshal
30 Badges
Oct 13, 2005
2.819
234
  • Europa Universalis IV: Rights of Man
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Europa Universalis IV: Dharma
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
According to this: http://www.colonialvoyage.com/PpossAs.html Bombay wasn't actually ceded to the English until 1665. Apparently the local governor refused to give it over and had to be persuaded. Is this worth modifying the existing event to represent? Presumably the best thing to do is to delete the current secede province command and write a new event for 1665 ceding it. This would make the Omani sack of Bombay in 1661-2 work properly, but is this worth the trouble?
Another issue is that Restoration Portugal was almost broke and had tremendous problems paying for its troops. One of the most useful conditions of the treaty was that the English would contribute some troops for Portugal's War of Independence. In game terms these would probably translate as 10,000 infantry and 2000 cavalry.
Code:
#(1661) The Dowry of Catherine of BraganÁa
event = {
	id = 21079
	trigger = {
		OR = {
			exists = HOL
			exists = SPA
		}
		NOT = { vassal = { country = SPA country = POR } }
		exists = ENG
		NOT = { war = { country = POR country = ENG } }
		OR = {
			atwar = yes
			NOT = { stability = 2 }
		}
		OR = {
			owned = { province = 548 data = -1 }
			owned = { province = 732 data = -1 }
		}
		NOT = { event = 21080 } #POR: The Dowry of Catherine of BraganÁa (no territory)
		OR = {
			NOT = { event = 3025 } #ENG: The English Civil War
			OR = {
				event = 3771 #ENG: King Charles and the New Monarchy
				event = 3028 #ENG: The Restoration of the Stuarts
			}
		}
	}
	random = no
	country = POR
	name = "EVENTNAME21079" #The Dowry of Catherine of BraganÁa
	desc = "EVENTHIST21079"
	#-#

	date = { day = 23 month = june year = 1661 }

	action_a = {
		name = "ACTIONNAME21079A" #Give Territory as a Dowry
		command = { type = secedeprovince which = ENG value = 548 } #Bombay
		command = { type = secedeprovince which = ENG value = 732 } #Tangiers
		command = { type = stability value = 1 }
		command = { type = relation which = ENG value = 100 }
		command = { type = trigger which = 21081 } #ENG: The Dowry of Territory from Catherine of BraganÁa
	}
	action_b = {
		name = "ACTIONNAME21079B" #Give Ducats as a Dowry
		command = { type = treasury value = -200 }
		command = { type = relation which = ENG value = 50 }
		command = { type = trigger which = 21082 } #ENG: The Dowry of Ducats from Catherine of BraganÁa
	}
	action_c = {
		name = "ACTIONNAME21079C" #We Don't Need England as an Ally
		command = { type = stability value = -1 }
		command = { type = relation which = ENG value = -50 }
		command = { type = trigger which = 21083 } #ENG: The Spurning of Charles II
	}
}
 

sturmvogel

Field Marshal
30 Badges
Oct 13, 2005
2.819
234
  • Europa Universalis IV: Rights of Man
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Europa Universalis IV: Dharma
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
YodaMaster said:
I agree for a new event in 1665 but only if action_a is chosen in 1661.

INF and CAV could appear in a only or both a and b?
Definitely for a, I'd have to think about b because I'm not sure just how historic b is. I'm not sure that it should be an option if Tangiers and Bombay are actually owned.
I'm also thinking that neither version of the event should appear if Portugal hadn't revolted from Spain. The Portuguese were desperate for aid against Spain and the Netherlands which is why they agreed to those terms.

We probably also need to do something to encourage the AI to attack the owner of Bombay, but I'd have to read up on the history a bit to figure out who that was. And, as usual, the Portuguese only owned a thin coastal strip of that province just to complicate things.
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
5
About CoA-flag of Portugal, we have a complete source here.

Things that could be represented are:
1. 1419-1485 with John I square flag
2. 1485-1495 with John II square flag
3. 1495-1577 with Manuel I rectangular flag
4. 1577-1816 with Sebastian rectangular flag (I don't think variations really deserve representation for this period)
5. 1816-1820 with John VI rectangular flag.

I'm not sure but I think CoA has to reflet changes for 1, 2, 3 and 4 (5 is the same as 4).

Five representative changes for Portugal are affordable or is it too much?

Any thought?
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
5
sturmvogel said:
Definitely for a, I'd have to think about b because I'm not sure just how historic b is. I'm not sure that it should be an option if Tangiers and Bombay are actually owned.
Ok
sturmvogel said:
I'm also thinking that neither version of the event should appear if Portugal hadn't revolted from Spain. The Portuguese were desperate for aid against Spain and the Netherlands which is why they agreed to those terms.
Agreed. IIRC, we have key event(s) for Spanish domination.
sturmvogel said:
We probably also need to do something to encourage the AI to attack the owner of Bombay, but I'd have to read up on the history a bit to figure out who that was. And, as usual, the Portuguese only owned a thin coastal strip of that province just to complicate things.
Isn't a granted core on the province the best way to model this?
 

sturmvogel

Field Marshal
30 Badges
Oct 13, 2005
2.819
234
  • Europa Universalis IV: Rights of Man
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Europa Universalis IV: Dharma
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
YodaMaster said:
Ok
Agreed. IIRC, we have key event(s) for Spanish domination.
Isn't a granted core on the province the best way to model this?
Probably, plus a relations drop, I'd say. But I need to read up on this because I don't think that the Portuguese gained the Bombay/Bassein/Chaul area until the middle 1530s, IIRC, and I need to put it into some context.

Edit: Seems that the Portuguese really gained the coastal strip as part of the struggle between Gujarat and the Mughals. Both sides ceded them land to prevent them from favoring the other side. Kinda hard to replicate in the game so maybe just a core will have to do. I certainly don't want either of them to simply cede the province to the Portuguese. Maybe a new event to grant the core that can fire somehow off the Gujaratis and Mughals. I haven't read their event files to see what we could use as triggers. Anybody got any ideas?
 
Last edited:

sturmvogel

Field Marshal
30 Badges
Oct 13, 2005
2.819
234
  • Europa Universalis IV: Rights of Man
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Europa Universalis IV: Dharma
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
YodaMaster said:
About CoA-flag of Portugal, we have a complete source here.

Things that could be represented are:
1. 1419-1485 with John I square flag
2. 1485-1495 with John II square flag
3. 1495-1577 with Manuel I rectangular flag
4. 1577-1816 with Sebastian rectangular flag (I don't think variations really deserve representation for this period)
5. 1816-1820 with John VI rectangular flag.

I'm not sure but I think CoA has to reflet changes for 1, 2, 3 and 4 (5 is the same as 4).

Five representative changes for Portugal are affordable or is it too much?

Any thought?
I'm OK with this, but I'm never too excited by graphics and the like.
 

sturmvogel

Field Marshal
30 Badges
Oct 13, 2005
2.819
234
  • Europa Universalis IV: Rights of Man
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Europa Universalis IV: Dharma
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
Code:
#(1661) The Dowry of Catherine of BraganÁa
event = {
	id = 21079
	trigger = {
		OR = {
			exists = HOL
			exists = SPA
		}
		NOT = { vassal = { country = SPA country = POR } }
		exists = ENG
		[COLOR=YellowGreen]event = 260090 #POR:National revolt in Portugal[/COLOR]
		NOT = { war = { country = POR country = ENG } }
		OR = {
			atwar = yes
			NOT = { stability = 2 }
		}
		OR = {
			owned = { province = 548 data = -1 }
			owned = { province = 732 data = -1 }
		}
		NOT = { event = 21080 } #POR: The Dowry of Catherine of BraganÁa (no territory)
		OR = {
			NOT = { event = 3025 } #ENG: The English Civil War
			OR = {
				event = 3771 #ENG: King Charles and the New Monarchy
				event = 3028 #ENG: The Restoration of the Stuarts
			}
		}
	}
	random = no
	country = POR
	name = "EVENTNAME21079" #The Dowry of Catherine of BraganÁa
	desc = "EVENTHIST21079"
	#-#

	date = { day = 23 month = june year = 1661 }

	action_a = {
		name = "ACTIONNAME21079A" #Give Territory as a Dowry
		[COLOR=Red]command = { type = secedeprovince which = ENG value = 548 } #Bombay[/COLOR]
		command = { type = secedeprovince which = ENG value = 732 } #Tangiers
		[COLOR=YellowGreen]command = { type = removecore which = 548 }
		command = { type = removecore which = 732 }
		command = { type = CAV which = 441 value = 2000 } #Tago
		command = { type = INF which = 441 value = 10000 }
[/COLOR]          command = { type = stability value = 1 }
		command = { type = relation which = ENG value = 100 }
		command = { type = trigger which = 21081 } #ENG: The Dowry of Territory from Catherine of BraganÁa
	}
	[COLOR=Red]action_b = {
		name = "ACTIONNAME21079B" #Give Ducats as a Dowry
		command = { type = treasury value = -200 }
		command = { type = relation which = ENG value = 50 }
		command = { type = trigger which = 21082 } #ENG: The Dowry of Ducats from Catherine of BraganÁa
	}[/COLOR]
	action_[COLOR=YellowGreen]b[/COLOR] = {
		name = "ACTIONNAME21079C" #We Don't Need England as an Ally
		command = { type = stability value = -1 }
		command = { type = relation which = ENG value = -50 }
		command = { type = trigger which = 21083 } #ENG: The Spurning of Charles II
		[COLOR=YellowGreen]command = { type = sleepevent which = 260130 } #POR:Bombay ceded to the English[/COLOR]
	}
}
#(1663) The Dowry of Catherine of Braganza (No Territory)
event = {
	id = 21080
	trigger = {
		OR = {
			exists = HOL
			exists = SPA
			}
		NOT = { vassal = { country = SPA country = POR } }
		exists = ENG
		[COLOR=YellowGreen]event = 260090 #POR:National revolt in Portugal[/COLOR]
		NOT = { war = { country = POR country = ENG } }
		OR = {
			atwar = yes
			NOT = { stability = 2 }
		}
		NOT = {
			owned = { province = 548 data = -1 }
			owned = { province = 732 data = -1 }
		}
		NOT = { event = 21079 } #POR: The Dowry of Catherine of BraganÁa
		OR = {
			NOT = { event = 3025 } #ENG: The English Civil War
			OR = {
				event = 3771 #ENG: King Charles and the New Monarchy
				event = 3028 #ENG: The Restoration of the Stuarts
			}
		}
	}
	random = no
	country = POR
	name = "EVENTNAME21079" #The Dowry of Catherine of BraganÁa
	desc = "EVENTHIST21080"
	#-#

	date = { day = 21 month = june year = 1663 }

	action_a = {
		name = "ACTIONNAME21079B" #Give Ducats as a Dowry
		[COLOR=YellowGreen]command = { type = CAV which = 441 value = 2000 } #Tago
		command = { type = INF which = 441 value = 10000 }[/COLOR]
		command = { type = treasury value = -200 }
		command = { type = stability value = 1 }
		command = { type = relation which = ENG value = 50 }
		command = { type = trigger which = 21082 } #ENG: The Dowry of Ducats from Catherine of BraganÁa
		[COLOR=YellowGreen]command = { type = sleepevent which = 260130 } #POR:Bombay ceded to the English[/COLOR]	}
	action_b = {
		name = "ACTIONNAME21079C" #We Don't Need England as an Ally
		command = { type = stability value = -1 }
		command = { type = relation which = ENG value = -50 }
		command = { type = trigger which = 21083 } #ENG: The Spurning of Charles II
		[COLOR=YellowGreen]command = { type = sleepevent which = 260130 } #POR:Bombay ceded to the English[/COLOR]	}
}
event = { 
	id = 260129 
	trigger = { 
		control = { province = 549 data = -1 } 
		owned = { province = 549 data = -1 }
	}
	random = no
    country = POR
	name = "EVENTNAME260129" #The Viceroyship of Nuno da Cunha
	desc = "EVENTHIST260129"
	#-#

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

	action_a = {
		name = "ACTIONNAME260129A" #Clever man
		command = { type = stability value = -1 }
		command = { type = relation which = MOG value = 100 }
		command = { type = relation which = GUJ value = 100 }
		command = { type = relation which = BGL value = 400 }
		command = { type = addcore which = 548 } #Bombay
	}
}
event = { 
	id = 260130 
	trigger = { 
		control = { province = 548 data = -1 } #Bombay
		owned = { province = 548 data = -1 }
		event = 21079 #POR: The Dowry of Catherine of Bragança
	}
	random = no
    country = POR
	name = "EVENTNAME260130" #Bombay ceded to the English
	desc = "EVENTHIST260130"
	#-#

	date = { day = 17 month = february year = 1665 }
	[COLOR=SandyBrown]offset = 1
	deathdate = { month = january year = 1690 }
[/COLOR]
	action_a = {
		name = "ACTIONNAME260130A" #Hand it over
		command = { type = secedeprovince which = ENG value = 548 } #Bombay
	}
}
EVENTNAME260129;The Viceroyship of Nuno da Cunha;;;;;;;;;;
EVENTHIST260129;In October 1529 Nuno da Cunha arrived in Goa to assume the governorship of the Indies. He began his tenure by cleaning up the rampant corruption there. He made trade agreements with Bengal and received Bombay and other coastal territories from both Gujarat and the Mughal Empire in exchange for his neutrality during their conflict.;;;;;;;;;;
ACTIONNAME260129A;Clever man;;;;;;;;;;

EVENTNAME260130;Bombay ceded to the English;;;;;;;;;;
EVENTHIST260130;The Viceroy of India was very reluctant to surrender Bombay to the English which eventually took place some two years after the treaty had been concluded.;;;;;;;;;;
ACTIONNAME260130A;Hand it over;;;;;;;;;;
 
Last edited:

sturmvogel

Field Marshal
30 Badges
Oct 13, 2005
2.819
234
  • Europa Universalis IV: Rights of Man
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Europa Universalis IV: Dharma
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
Garbon said:
If we're going to represent that Bombay wasn't handed over for 2 years post-treaty, then you need to add something to the English event or give the English some notification. Otherwise, the sequence is quite confusing.
Good point.

EVENTHIST21081
#-#Charles II has wed Catherine of BraganÁa. Included in the Portuguese dowry are the colonial possessions of Bombay and Tangiers. Although Bombay wouldn't actually be turned over for two years after the treaty was signed.
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
5
ACTIONNAME21079B becomes ACTIONNAME21080A
ACTIONNAME21079C becomes ACTIONNAME21079B

260130 can be slept in POR_21080 action_a and action_b too. No need for the engine to waste time checking this event in this case.

Core on Bombay could be lost in both actions of POP_21080 or Portugal will keep it until 1820. Is it intended?
Of course, core on Bombay will be added at the beginning of 1648 scenario.

What happens if Bombay is owned but not controlled (rebels for example) when POR_260130 should fire?
Couldn't dates of the event be extended until the end of the year or even until 1680 or more (1820?) if Portugal is at war and province occupied?
 
Last edited:

sturmvogel

Field Marshal
30 Badges
Oct 13, 2005
2.819
234
  • Europa Universalis IV: Rights of Man
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Europa Universalis IV: Dharma
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
YodaMaster said:
ACTIONNAME21079B becomes ACTIONNAME21080A
ACTIONNAME21079C becomes ACTIONNAME21079B

260130 can be slept in POR_21080 action_a and action_b too. No need for the engine to waste time checking this event in this case.

Core on Bombay could be lost in both actions of POP_21080 or Portugal will keep it until 1820. Is it intended?
Of course, core on Bombay will be added at the beginning of 1648 scenario.

What happens if Bombay is owned but not controlled (rebels for example) when POR_260130 should fire?
Couldn't dates of the event be extended until the end of the year or even until 1680 or more (1820?) if Portugal is at war and province occupied?
I didn't change the action names because there are multiple events that use them and I saw no need to make unnecessary changes to text.csv. The core on Bombay should be lost with the signing of the treaty, even before it's actually ceded. But only for 21079; if there's no territorial concessions to the English I see no need to give up the cores on Bombay or Tangiers.
 
Last edited:

sturmvogel

Field Marshal
30 Badges
Oct 13, 2005
2.819
234
  • Europa Universalis IV: Rights of Man
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Europa Universalis IV: Dharma
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
Code:
#(1649-1656) João IV organizes the Ordenança
#by sturmvogel
event = {
	id = 260131
	random = no
	country = POR
	name = "EVENTNAME260131" #João IV organizes the Ordenança
	desc = "EVENTHIST260131"
	#-#

	date = { day = 1 month = january year = 1649 }
	offset = 100
	deathdate = { day = 1 month = january year = 1656 }

	action_a = {
		name = "ACTIONNAME260131A" #Establish the Ordenança
		command = { type = domestic which = serfdom value = -1 }
		command = { type = domestic which = land value = 1 }
		command = { type = manpower value = 4 }
		command = { type = land value = 500 }
		command = { type = naval value = -1000 }
	}
	action_b = {
		name = "ACTIONNAME260114B" #A dangerous idea
		command = { }
	}
}
#(1806-1813) The Prince-Regent reforms the army
#by sturmvogel
event = {
	id = 260132
	trigger = { event = 260063 } #POR: War of the Oranges
	random = no
	country = POR
	name = "EVENTNAME260132" #The Prince-Regent reforms the army
	desc = "EVENTHIST260132"
	#-#

	date = { day = 18 month = may year = 1806 }
	offset = 720
	deathdate = { day = 1 month = january year = 1813 }

	action_a = {
		name = "ACTIONNAME260132A" #Reform the army
		command = { type = domestic which = serfdom value = -1 }
		command = { type = domestic which = land value = 1 }
		command = { type = manpower value = 4 }
		command = { type = domestic which = quality value = 1 }
		command = { type = domestic which = offensive value = -1 }
		command = { type = land value = 500 }
		command = { type = naval value = -1000 }
	}
	action_b = {
		name = "ACTIONNAME260114B" #A dangerous idea
		command = { }
	}
}
EVENTNAME260131;João IV organizes the Ordenança;;;;;;;;;;
EVENTHIST260131;Regularizing the militia proved insufficient to meet the manpower demands of the War of Independence. Consequently João IV established the Ordenança in 1649. It maintained a roster of every able-bodied male in the kingdom between the ages of 15 and 60 from which the regular and militia regiments were conscripted. It also served as the third line of defense for the nation as it was organized into 240 man companies organized all over the kingdom.;;;;;;;;;;
ACTIONNAME260131A;Establish the Ordenança;;;;;;;;;;

EVENTNAME260132;The Prince-Regent reforms the army;;;;;;;;;;
EVENTHIST260132;Humiliated by the ease with which the Spanish and Spanish had defeated the army in 1801 the Prince-Regent João, later João VI, determined to reform the army. He established a military council to propose reforms although political difficulties delayed the reorganization until 1806. It divided up the country into three divisions, Northern, Central and Southern. Every unit was assigned to one of these divisions. The size of the Regular Army remained the same, but militia regiments were increased to 48 from 43 and the Ordenança companies were organized into 24 brigades. The Ordenança brigades acted as a recruiting depot and reserve for a regiment of the line and two militia regiments. Enlisted men released after their service with a regular infantry or militia unit were obligated to serve another eight years in their Ordenança brigade. These reforms had only been partially implemented when the French invaded in 1807, but they were fully implemented by 1812.;;;;;;;;;;
ACTIONNAME260132A;Reform the army;;;;;;;;;;
 

sturmvogel

Field Marshal
30 Badges
Oct 13, 2005
2.819
234
  • Europa Universalis IV: Rights of Man
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Europa Universalis IV: Dharma
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • PDXCon 2017 Awards Winner
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Res Publica
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
Army and navy names

POR;6th Caçadores
POR;Legião de Tropas Ligeiras
POR;Divisão da direita
POR;Divisão da esquerda
POR;Divisão do centro
POR;Divisão da Beira
POR;Divisão do Algarve

SPA;Armada de Dunkerque
Hopefully this will be posted in time to make 1.55
 

unmerged(40707)

Just call me Yoda in private!
Mar 1, 2005
20.187
5
More open trigger for the Oath of Abjuration:
Code:
#(1581-1648) The Oath of Abjuration
event = {
	id = 285281
	trigger = {
		OR = {
			owned = { province = 337 data = -1 } #Friesen
			owned = { province = 338 data = -1 } #Gelre
			owned = { province = 339 data = -1 } #Holland
			owned = { province = 340 data = -1 } #Zeeland
		}
		NOT = {
			exists = HOL
			#The Netherlands own Holland at some point
			event = 186011 #HOL: Wartime devastation of Holland
		}
		[COLOR=Red]OR = {
			control = { province = 337 data = REB } #Friesen
			owned = { province = 337 data = FRI } #Friesen
		}
		OR = {
			control = { province = 338 data = REB } #Gelre
			owned = { province = 338 data = GEL } #Gelre
		}
		OR = {
			control = { province = 339 data = REB } #Holland
			owned = { province = 339 data = HLL } #Holland
		}
		OR = {
			control = { province = 340 data = REB } #Zeeland
			owned = { province = 340 data = HLL } #Zeeland
		}[/COLOR]
		[COLOR=Yellow]OR = {
			AND = {
				control = { province = 337 data = REB } #Friesen
				owned = { province = 337 data = -1 } #Friesen
			}
			NOT = {
				owned = { province = 337 data = -1 } #Friesen
			}
		}
		OR = {
			AND = {
				control = { province = 338 data = REB } #Gelre
				owned = { province = 338 data = -1 } #Gelre
			}
			NOT = {
				owned = { province = 338 data = -1 } #Gelre
			}
		}
		OR = {
			AND = {
				control = { province = 339 data = REB } #Holland
				owned = { province = 339 data = -1 } #Holland
			}
			NOT = {
				owned = { province = 339 data = -1 } #Holland
			}
		}
		OR = {
			AND = {
				control = { province = 340 data = REB } #Zeeland
				owned = { province = 340 data = -1 } #Zeeland
			}
			NOT = {
				owned = { province = 340 data = -1 } #Zeeland
			}
		}[/COLOR]
	}
	random = no
	country = SPA
	name = "EVENTNAME285281" #The Oath of Abjuration
	desc = "EVENTHIST285281"
	#-#

	date = { day = 26 month = july year = 1581 }
	offset = 30
	deathdate = { day = 1 month = january year = 1648 }

	action_a = {
		name = "ACTIONNAME285281A" #The Spanish lose Dutch sovereignty
		command = { type = independence which = HOL }
		command = { type = trigger which = 186057 } #HOL: The Oath of Abjuration
	}
}
#-#The Oath of Abjuration or Plakkaat van Verlatinghe, signed on July 26, 1581, was the formal declaration of independence of the northern Low Countries from the Spanish king, Philip II. This act followed the Union of Utrecht. The Oath of Abjuration meant a climax in the Dutch Revolt, a point of no return, in which the Low Countries asserted they were no longer loyal to their king. Sometimes, the oath is interpreted as an act of secession from Spain, but this is strictly speaking incorrect, as the provinces were never legally incorporated into the Spanish kingdoms, but were only bound to them by the looser tie of personal union. Legally, the oath deposed the provinces' current ruler, Philip of Habsburg - who, by dynastic coincidence, was also king of Spain. Philip's attempts to unify his various realms under a more centralized government based in Madrid were the major drivers behind the oath. Philip used troops from Spain and other areas loyal to him (such as Wallonia and Italy) to fight the rebels. In the Oath, the Staten-Generaal (the General Estates, a sort of federal parliament) assert that a king is a servant of his people and should respect their laws and traditions. When he no longer does this, the people have the right to choose another ruler.


With this, if all provinces owned by Spain are rebels controlled, event will fire whatever happens for other Dutch provinces.