• 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.
Code:
#(1564) The Great Carrack of Alexandria
event = {
	id = 3537
	trigger = {
		exists = TUR
		NOT = { alliance = { country = KNI country = TUR } }
[COLOR=Yellow]                owned = { province = 744 data = TUR }  #Alexandria[/COLOR]
	}
	random = no
	country = KNI
	name = "EVENTNAME3537" #The Great Carrack of Alexandria
	desc = "EVENTHIST3537"
#-#The small but proficient fleet of the Knights was the scourge of Muslims for hundreds of years. Keeping the waters clear of enemy privateers as well as capturing trade ships of the Muslims, kept the coffers on Rhodos full and Muslim sailors in terror. One of the most famous events was the capturing of the Great Carrack from Alexandria in 1569, filled with enormous riches.

Code:
date = { day = 1 month = april year = 1564 }
	offset = 150
	deathdate = { day = 1 month = september year = 1564 }

	action_a = {
		name = "ACTIONNAME3537A" #Praise the lord!!
		command = { type = treasury value = 1500 }
		command = { type = relation which = TUR value = -200 }
		command = { type = galleys which = -1 value = 1 }
		command = { type = trigger which = 3364 } #TUR: The Great Carrack of Alexandria
	}
	action_b = {
		name = "ACTIONNAME3537B" #Refrain from our Piracy
		command = { type = relation which = TUR value = 60 }
		command = { type = trigger which = 3365 } #TUR: The Great Carrack of Alexandria
	}
}
Should it not be this way? Or is there reason to have the event fire anyway? Perhaps it should be renamed in that case.
 
Good idea. Maybe we could split this event in several ones. Something like 9 on the whole period of piracy with 150 gold each and the one around 1569 with 300. Ending the piracy will sleep following events.

Only question is when did it start and when did it end.
 
YodaMaster said:
Good idea. Maybe we could split this event in several ones. Something like 9 on the whole period of piracy with 150 gold each and the one around 1569 with 300. Ending the piracy will sleep following events.
Or maybe a couple of random events? I don't know the AGCEEP policy on country-specific random events, but it seems that it would be more realistic not to have a specific number of possible piratical acts.
 
Problem is the same for dates and random events but my idea was to model +1500 gold for KNI. We can model a sort of randomness with standard events with overlapping startdates and deathdates.

Only problem with random events is to ensure they will fire with correct probabilities for the same average effect. But this is not easy to test.
 
YodaMaster said:
Problem is the same for dates and random events but my idea was to model +1500 gold for KNI. We can model a sort of randomness with standard events with overlapping startdates and deathdates.

Only problem with random events is to ensure they will fire with correct probabilities for the same average effect. But this is not easy to test.
Well, but isn't it true that the knights captured a great many ships and we don't know the total value of their cargoes? Besides, I tend to think that the number 1500 was pulled out of the air anyway; the vagueness of "enormous riches" leads me to believe that whoever researched it couldn't come up with a number.

But I do see your point; we don't want the Knights to randomly end up with 3000 ducats sometimes and 300 other times. :)
 
MichaelM said:
Well, but isn't it true that the knights captured a great many ships and we don't know the total value of their cargoes? Besides, I tend to think that the number 1500 was pulled out of the air anyway; the vagueness of "enormous riches" leads me to believe that whoever researched it couldn't come up with a number.

But I do see your point; we don't want the Knights to randomly end up with 3000 ducats sometimes and 300 other times. :)

christian piratical raids from cyprus and rhodes where from 1453 till 1800 although from 1520 they where only from malta

I would also lower the relations between VEN and TUR with KOSJ by -50 every time these events occurred

problem is, if VEN owned cyprus, no piratical riads occurred as VEN fought the pirates as well because the pirates did not care if the where christian ships or not.

In the game I would give 200 ducats every 50 years to KOSJ , from 1453 to 1800
 
1453 as in the fall of Constantinople, right?

Conditions for the events could be:
1. if OE owns Thrace or BYZ doesn't exists and TUR exists
2. Venice doesn't own and control Cyprus
3. KNI are not in alliance with TUR

Is it sufficient?

Condition 3 could be extended with KNI not vassals of OE too.

As I said, we can easily play with dates/offsets for semi-random effect.

200 ducats are fine for 8 events.
 
YodaMaster said:
1453 as in the fall of Constantinople, right?
yes, we can use the fall as the trigger

Conditions for the events could be:
1. if OE owns Thrace or BYZ doesn't exists and TUR exists
agree

2. Venice doesn't own and control Cyprus
and KNI own rhodes or malta

3. KNI are not in alliance with TUR
agree

Is it sufficient?

Condition 3 could be extended with KNI not vassals of OE too.

agree

As I said, we can easily play with dates/offsets for semi-random effect.

200 ducats are fine for 8 events.

or

200 ducats if rhodes under KNI as the trade would be more heavy in that area, and only 100 ducats if KNI own only malta
 
I had to make two sets of 9 events instead and tweaked values accordingly:

First set:
Code:
#(1440-1820) The Pirates of St. John - Two sets of 9 events (Rhodes owned of not)

#(1440-1500) The Pirates of St. John
event = {
	id = 201005
	trigger = {
		owned = { province = 481 data = -1 } #Rhodes
		OR = {
			owned = { province = 357 data = TUR } #Thrace
			AND = {
				exists = TUR
				NOT = { exists = BYZ }
			}
		}
		NOT = {
			AND = {
				owned = { province = 484 data = VEN } #Cyprus
				control = { province = 484 data = VEN } #Cyprus
			}
		}
		NOT = {
			alliance = { country = KNI country = TUR }
			vassal = { country = TUR country = KNI }
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME201005" #The Pirates of St. John
	desc = "EVENTHIST201005"
	#-#

	date = { day = 1 month = january year = 1440 }
	offset = 21000
	deathdate = { day = 29 month = december year = 1500 }

	action_a = {
		name = "ACTIONNAME201005A" #Praise the lord!
		command = { type = treasury value = 175 }
		command = { type = relation which = TUR value = -50 }
		command = { type = sleepevent which = 201018 } #KNI: The Pirates of St. John
	}
	action_b = {
		name = "ACTIONNAME201005B" #Refrain from our Piracy
		command = { type = relation which = TUR value = 25 }
		command = { type = sleepevent which = 201018 } #KNI: The Pirates of St. John
	}
}
#(1480-1540) The Pirates of St. John
event = {
	id = 201006
	trigger = {
		owned = { province = 481 data = -1 } #Rhodes
		OR = {
			owned = { province = 357 data = TUR } #Thrace
			AND = {
				exists = TUR
				NOT = { exists = BYZ }
			}
		}
		NOT = {
			AND = {
				owned = { province = 484 data = VEN } #Cyprus
				control = { province = 484 data = VEN } #Cyprus
			}
		}
		NOT = {
			alliance = { country = KNI country = TUR }
			vassal = { country = TUR country = KNI }
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME201005" #The Pirates of St. John
	desc = "EVENTHIST201005"
	#-#

	date = { day = 1 month = january year = 1480 }
	offset = 21000
	deathdate = { day = 29 month = december year = 1540 }

	action_a = {
		name = "ACTIONNAME201005A" #Praise the lord!
		command = { type = treasury value = 175 }
		command = { type = relation which = TUR value = -50 }
		command = { type = sleepevent which = 201019 } #KNI: The Pirates of St. John
	}
	action_b = {
		name = "ACTIONNAME201005B" #Refrain from our Piracy
		command = { type = relation which = TUR value = 25 }
		command = { type = sleepevent which = 201019 } #KNI: The Pirates of St. John
	}
}
#(1520-1580) The Pirates of St. John
event = {
	id = 201007
	trigger = {
		owned = { province = 481 data = -1 } #Rhodes
		OR = {
			owned = { province = 357 data = TUR } #Thrace
			AND = {
				exists = TUR
				NOT = { exists = BYZ }
			}
		}
		NOT = {
			AND = {
				owned = { province = 484 data = VEN } #Cyprus
				control = { province = 484 data = VEN } #Cyprus
			}
		}
		NOT = {
			alliance = { country = KNI country = TUR }
			vassal = { country = TUR country = KNI }
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME201005" #The Pirates of St. John
	desc = "EVENTHIST201005"
	#-#

	date = { day = 1 month = january year = 1520 }
	offset = 21000
	deathdate = { day = 29 month = december year = 1580 }

	action_a = {
		name = "ACTIONNAME201005A" #Praise the lord!
		command = { type = treasury value = 175 }
		command = { type = relation which = TUR value = -50 }
		command = { type = sleepevent which = 201020 } #KNI: The Pirates of St. John
	}
	action_b = {
		name = "ACTIONNAME201005B" #Refrain from our Piracy
		command = { type = relation which = TUR value = 25 }
		command = { type = sleepevent which = 201020 } #KNI: The Pirates of St. John
	}
}
#(1560-1620) The Pirates of St. John
event = {
	id = 201008
	trigger = {
		owned = { province = 481 data = -1 } #Rhodes
		OR = {
			owned = { province = 357 data = TUR } #Thrace
			AND = {
				exists = TUR
				NOT = { exists = BYZ }
			}
		}
		NOT = {
			AND = {
				owned = { province = 484 data = VEN } #Cyprus
				control = { province = 484 data = VEN } #Cyprus
			}
		}
		NOT = {
			alliance = { country = KNI country = TUR }
			vassal = { country = TUR country = KNI }
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME201005" #The Pirates of St. John
	desc = "EVENTHIST201005"
	#-#

	date = { day = 1 month = january year = 1560 }
	offset = 21000
	deathdate = { day = 29 month = december year = 1620 }

	action_a = {
		name = "ACTIONNAME201005A" #Praise the lord!
		command = { type = treasury value = 175 }
		command = { type = relation which = TUR value = -50 }
		command = { type = sleepevent which = 201021 } #KNI: The Pirates of St. John
	}
	action_b = {
		name = "ACTIONNAME201005B" #Refrain from our Piracy
		command = { type = relation which = TUR value = 25 }
		command = { type = sleepevent which = 201021 } #KNI: The Pirates of St. John
	}
}
#(1600-1660) The Pirates of St. John
event = {
	id = 201013
	trigger = {
		owned = { province = 481 data = -1 } #Rhodes
		OR = {
			owned = { province = 357 data = TUR } #Thrace
			AND = {
				exists = TUR
				NOT = { exists = BYZ }
			}
		}
		NOT = {
			AND = {
				owned = { province = 484 data = VEN } #Cyprus
				control = { province = 484 data = VEN } #Cyprus
			}
		}
		NOT = {
			alliance = { country = KNI country = TUR }
			vassal = { country = TUR country = KNI }
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME201005" #The Pirates of St. John
	desc = "EVENTHIST201005"
	#-#

	date = { day = 1 month = january year = 1600 }
	offset = 21000
	deathdate = { day = 29 month = december year = 1660 }

	action_a = {
		name = "ACTIONNAME201005A" #Praise the lord!
		command = { type = treasury value = 175 }
		command = { type = relation which = TUR value = -50 }
		command = { type = sleepevent which = 201022 } #KNI: The Pirates of St. John
	}
	action_b = {
		name = "ACTIONNAME201005B" #Refrain from our Piracy
		command = { type = relation which = TUR value = 25 }
		command = { type = sleepevent which = 201022 } #KNI: The Pirates of St. John
	}
}
#(1640-1700) The Pirates of St. John
event = {
	id = 201014
	trigger = {
		owned = { province = 481 data = -1 } #Rhodes
		OR = {
			owned = { province = 357 data = TUR } #Thrace
			AND = {
				exists = TUR
				NOT = { exists = BYZ }
			}
		}
		NOT = {
			AND = {
				owned = { province = 484 data = VEN } #Cyprus
				control = { province = 484 data = VEN } #Cyprus
			}
		}
		NOT = {
			alliance = { country = KNI country = TUR }
			vassal = { country = TUR country = KNI }
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME201005" #The Pirates of St. John
	desc = "EVENTHIST201005"
	#-#

	date = { day = 1 month = january year = 1640 }
	offset = 21000
	deathdate = { day = 29 month = december year = 1700 }

	action_a = {
		name = "ACTIONNAME201005A" #Praise the lord!
		command = { type = treasury value = 175 }
		command = { type = relation which = TUR value = -50 }
		command = { type = sleepevent which = 201023 } #KNI: The Pirates of St. John
	}
	action_b = {
		name = "ACTIONNAME201005B" #Refrain from our Piracy
		command = { type = relation which = TUR value = 25 }
		command = { type = sleepevent which = 201023 } #KNI: The Pirates of St. John
	}
}
#(1680-1740) The Pirates of St. John
event = {
	id = 201015
	trigger = {
		owned = { province = 481 data = -1 } #Rhodes
		OR = {
			owned = { province = 357 data = TUR } #Thrace
			AND = {
				exists = TUR
				NOT = { exists = BYZ }
			}
		}
		NOT = {
			AND = {
				owned = { province = 484 data = VEN } #Cyprus
				control = { province = 484 data = VEN } #Cyprus
			}
		}
		NOT = {
			alliance = { country = KNI country = TUR }
			vassal = { country = TUR country = KNI }
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME201005" #The Pirates of St. John
	desc = "EVENTHIST201005"
	#-#

	date = { day = 1 month = january year = 1680 }
	offset = 21000
	deathdate = { day = 29 month = december year = 1740 }

	action_a = {
		name = "ACTIONNAME201005A" #Praise the lord!
		command = { type = treasury value = 175 }
		command = { type = relation which = TUR value = -50 }
		command = { type = sleepevent which = 201024 } #KNI: The Pirates of St. John
	}
	action_b = {
		name = "ACTIONNAME201005B" #Refrain from our Piracy
		command = { type = relation which = TUR value = 25 }
		command = { type = sleepevent which = 201024 } #KNI: The Pirates of St. John
	}
}
#(1720-1780) The Pirates of St. John
event = {
	id = 201016
	trigger = {
		owned = { province = 481 data = -1 } #Rhodes
		OR = {
			owned = { province = 357 data = TUR } #Thrace
			AND = {
				exists = TUR
				NOT = { exists = BYZ }
			}
		}
		NOT = {
			AND = {
				owned = { province = 484 data = VEN } #Cyprus
				control = { province = 484 data = VEN } #Cyprus
			}
		}
		NOT = {
			alliance = { country = KNI country = TUR }
			vassal = { country = TUR country = KNI }
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME201005" #The Pirates of St. John
	desc = "EVENTHIST201005"
	#-#

	date = { day = 1 month = january year = 1720 }
	offset = 21000
	deathdate = { day = 29 month = december year = 1780 }

	action_a = {
		name = "ACTIONNAME201005A" #Praise the lord!
		command = { type = treasury value = 175 }
		command = { type = relation which = TUR value = -50 }
		command = { type = sleepevent which = 201025 } #KNI: The Pirates of St. John
	}
	action_b = {
		name = "ACTIONNAME201005B" #Refrain from our Piracy
		command = { type = relation which = TUR value = 25 }
		command = { type = sleepevent which = 201025 } #KNI: The Pirates of St. John
	}
}
#(1760-1820) The Pirates of St. John
event = {
	id = 201017
	trigger = {
		owned = { province = 481 data = -1 } #Rhodes
		OR = {
			owned = { province = 357 data = TUR } #Thrace
			AND = {
				exists = TUR
				NOT = { exists = BYZ }
			}
		}
		NOT = {
			AND = {
				owned = { province = 484 data = VEN } #Cyprus
				control = { province = 484 data = VEN } #Cyprus
			}
		}
		NOT = {
			alliance = { country = KNI country = TUR }
			vassal = { country = TUR country = KNI }
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME201005" #The Pirates of St. John
	desc = "EVENTHIST201005"
	#-#

	date = { day = 1 month = january year = 1760 }
	offset = 21000
	deathdate = { year = 1820 }

	action_a = {
		name = "ACTIONNAME201005A" #Praise the lord!
		command = { type = treasury value = 175 }
		command = { type = relation which = TUR value = -50 }
		command = { type = sleepevent which = 201026 } #KNI: The Pirates of St. John
	}
	action_b = {
		name = "ACTIONNAME201005B" #Refrain from our Piracy
		command = { type = relation which = TUR value = 25 }
		command = { type = sleepevent which = 201026 } #KNI: The Pirates of St. John
	}
}
Second set:
Code:
#(1440-1500) The Pirates of St. John
event = {
	id = 201018
	trigger = {
		NOT = {
			owned = { province = 481 data = -1 } #Rhodes
		}
		owned = { province = 819 data = -1 } #Malta
		OR = {
			owned = { province = 357 data = TUR } #Thrace
			AND = {
				exists = TUR
				NOT = { exists = BYZ }
			}
		}
		NOT = {
			AND = {
				owned = { province = 484 data = VEN } #Cyprus
				control = { province = 484 data = VEN } #Cyprus
			}
		}
		NOT = {
			alliance = { country = KNI country = TUR }
			vassal = { country = TUR country = KNI }
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME201005" #The Pirates of St. John
	desc = "EVENTHIST201005"
	#-#

	date = { day = 1 month = january year = 1440 }
	offset = 21000
	deathdate = { day = 29 month = december year = 1500 }

	action_a = {
		name = "ACTIONNAME201005A" #Praise the lord!
		command = { type = treasury value = 85 }
		command = { type = relation which = TUR value = -50 }
	}
	action_b = {
		name = "ACTIONNAME201005B" #Refrain from our Piracy
		command = { type = relation which = TUR value = 25 }
	}
}
#(1480-1540) The Pirates of St. John
event = {
	id = 201019
	trigger = {
		NOT = {
			owned = { province = 481 data = -1 } #Rhodes
		}
		owned = { province = 819 data = -1 } #Malta
		OR = {
			owned = { province = 357 data = TUR } #Thrace
			AND = {
				exists = TUR
				NOT = { exists = BYZ }
			}
		}
		NOT = {
			AND = {
				owned = { province = 484 data = VEN } #Cyprus
				control = { province = 484 data = VEN } #Cyprus
			}
		}
		NOT = {
			alliance = { country = KNI country = TUR }
			vassal = { country = TUR country = KNI }
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME201005" #The Pirates of St. John
	desc = "EVENTHIST201005"
	#-#

	date = { day = 1 month = january year = 1480 }
	offset = 21000
	deathdate = { day = 29 month = december year = 1540 }

	action_a = {
		name = "ACTIONNAME201005A" #Praise the lord!
		command = { type = treasury value = 85 }
		command = { type = relation which = TUR value = -50 }
	}
	action_b = {
		name = "ACTIONNAME201005B" #Refrain from our Piracy
		command = { type = relation which = TUR value = 25 }
	}
}
#(1520-1580) The Pirates of St. John
event = {
	id = 201020
	trigger = {
		NOT = {
			owned = { province = 481 data = -1 } #Rhodes
		}
		owned = { province = 819 data = -1 } #Malta
		OR = {
			owned = { province = 357 data = TUR } #Thrace
			AND = {
				exists = TUR
				NOT = { exists = BYZ }
			}
		}
		NOT = {
			AND = {
				owned = { province = 484 data = VEN } #Cyprus
				control = { province = 484 data = VEN } #Cyprus
			}
		}
		NOT = {
			alliance = { country = KNI country = TUR }
			vassal = { country = TUR country = KNI }
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME201005" #The Pirates of St. John
	desc = "EVENTHIST201005"
	#-#

	date = { day = 1 month = january year = 1520 }
	offset = 21000
	deathdate = { day = 29 month = december year = 1580 }

	action_a = {
		name = "ACTIONNAME201005A" #Praise the lord!
		command = { type = treasury value = 85 }
		command = { type = relation which = TUR value = -50 }
	}
	action_b = {
		name = "ACTIONNAME201005B" #Refrain from our Piracy
		command = { type = relation which = TUR value = 25 }
	}
}
#(1560-1620) The Pirates of St. John
event = {
	id = 201021
	trigger = {
		NOT = {
			owned = { province = 481 data = -1 } #Rhodes
		}
		owned = { province = 819 data = -1 } #Malta
		OR = {
			owned = { province = 357 data = TUR } #Thrace
			AND = {
				exists = TUR
				NOT = { exists = BYZ }
			}
		}
		NOT = {
			AND = {
				owned = { province = 484 data = VEN } #Cyprus
				control = { province = 484 data = VEN } #Cyprus
			}
		}
		NOT = {
			alliance = { country = KNI country = TUR }
			vassal = { country = TUR country = KNI }
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME201005" #The Pirates of St. John
	desc = "EVENTHIST201005"
	#-#

	date = { day = 1 month = january year = 1560 }
	offset = 21000
	deathdate = { day = 29 month = december year = 1620 }

	action_a = {
		name = "ACTIONNAME201005A" #Praise the lord!
		command = { type = treasury value = 85 }
		command = { type = relation which = TUR value = -50 }
	}
	action_b = {
		name = "ACTIONNAME201005B" #Refrain from our Piracy
		command = { type = relation which = TUR value = 25 }
	}
}
#(1600-1660) The Pirates of St. John
event = {
	id = 201022
	trigger = {
		NOT = {
			owned = { province = 481 data = -1 } #Rhodes
		}
		owned = { province = 819 data = -1 } #Malta
		OR = {
			owned = { province = 357 data = TUR } #Thrace
			AND = {
				exists = TUR
				NOT = { exists = BYZ }
			}
		}
		NOT = {
			AND = {
				owned = { province = 484 data = VEN } #Cyprus
				control = { province = 484 data = VEN } #Cyprus
			}
		}
		NOT = {
			alliance = { country = KNI country = TUR }
			vassal = { country = TUR country = KNI }
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME201005" #The Pirates of St. John
	desc = "EVENTHIST201005"
	#-#

	date = { day = 1 month = january year = 1600 }
	offset = 21000
	deathdate = { day = 29 month = december year = 1660 }

	action_a = {
		name = "ACTIONNAME201005A" #Praise the lord!
		command = { type = treasury value = 85 }
		command = { type = relation which = TUR value = -50 }
	}
	action_b = {
		name = "ACTIONNAME201005B" #Refrain from our Piracy
		command = { type = relation which = TUR value = 25 }
	}
}
#(1640-1700) The Pirates of St. John
event = {
	id = 201023
	trigger = {
		NOT = {
			owned = { province = 481 data = -1 } #Rhodes
		}
		owned = { province = 819 data = -1 } #Malta
		OR = {
			owned = { province = 357 data = TUR } #Thrace
			AND = {
				exists = TUR
				NOT = { exists = BYZ }
			}
		}
		NOT = {
			AND = {
				owned = { province = 484 data = VEN } #Cyprus
				control = { province = 484 data = VEN } #Cyprus
			}
		}
		NOT = {
			alliance = { country = KNI country = TUR }
			vassal = { country = TUR country = KNI }
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME201005" #The Pirates of St. John
	desc = "EVENTHIST201005"
	#-#

	date = { day = 1 month = january year = 1640 }
	offset = 21000
	deathdate = { day = 29 month = december year = 1700 }

	action_a = {
		name = "ACTIONNAME201005A" #Praise the lord!
		command = { type = treasury value = 85 }
		command = { type = relation which = TUR value = -50 }
	}
	action_b = {
		name = "ACTIONNAME201005B" #Refrain from our Piracy
		command = { type = relation which = TUR value = 25 }
	}
}
#(1680-1740) The Pirates of St. John
event = {
	id = 201024
	trigger = {
		NOT = {
			owned = { province = 481 data = -1 } #Rhodes
		}
		owned = { province = 819 data = -1 } #Malta
		OR = {
			owned = { province = 357 data = TUR } #Thrace
			AND = {
				exists = TUR
				NOT = { exists = BYZ }
			}
		}
		NOT = {
			AND = {
				owned = { province = 484 data = VEN } #Cyprus
				control = { province = 484 data = VEN } #Cyprus
			}
		}
		NOT = {
			alliance = { country = KNI country = TUR }
			vassal = { country = TUR country = KNI }
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME201005" #The Pirates of St. John
	desc = "EVENTHIST201005"
	#-#

	date = { day = 1 month = january year = 1680 }
	offset = 21000
	deathdate = { day = 29 month = december year = 1740 }

	action_a = {
		name = "ACTIONNAME201005A" #Praise the lord!
		command = { type = treasury value = 85 }
		command = { type = relation which = TUR value = -50 }
	}
	action_b = {
		name = "ACTIONNAME201005B" #Refrain from our Piracy
		command = { type = relation which = TUR value = 25 }
	}
}
#(1720-1780) The Pirates of St. John
event = {
	id = 201025
	trigger = {
		NOT = {
			owned = { province = 481 data = -1 } #Rhodes
		}
		owned = { province = 819 data = -1 } #Malta
		OR = {
			owned = { province = 357 data = TUR } #Thrace
			AND = {
				exists = TUR
				NOT = { exists = BYZ }
			}
		}
		NOT = {
			AND = {
				owned = { province = 484 data = VEN } #Cyprus
				control = { province = 484 data = VEN } #Cyprus
			}
		}
		NOT = {
			alliance = { country = KNI country = TUR }
			vassal = { country = TUR country = KNI }
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME201005" #The Pirates of St. John
	desc = "EVENTHIST201005"
	#-#

	date = { day = 1 month = january year = 1720 }
	offset = 21000
	deathdate = { day = 29 month = december year = 1780 }

	action_a = {
		name = "ACTIONNAME201005A" #Praise the lord!
		command = { type = treasury value = 85 }
		command = { type = relation which = TUR value = -50 }
	}
	action_b = {
		name = "ACTIONNAME201005B" #Refrain from our Piracy
		command = { type = relation which = TUR value = 25 }
	}
}
#(1760-1820) The Pirates of St. John
event = {
	id = 201026
	trigger = {
		NOT = {
			owned = { province = 481 data = -1 } #Rhodes
		}
		owned = { province = 819 data = -1 } #Malta
		OR = {
			owned = { province = 357 data = TUR } #Thrace
			AND = {
				exists = TUR
				NOT = { exists = BYZ }
			}
		}
		NOT = {
			AND = {
				owned = { province = 484 data = VEN } #Cyprus
				control = { province = 484 data = VEN } #Cyprus
			}
		}
		NOT = {
			alliance = { country = KNI country = TUR }
			vassal = { country = TUR country = KNI }
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME201005" #The Pirates of St. John
	desc = "EVENTHIST201005"
	#-#

	date = { day = 1 month = january year = 1760 }
	offset = 21000
	deathdate = { year = 1820 }

	action_a = {
		name = "ACTIONNAME201005A" #Praise the lord!
		command = { type = treasury value = 85 }
		command = { type = relation which = TUR value = -50 }
	}
	action_b = {
		name = "ACTIONNAME201005B" #Refrain from our Piracy
		command = { type = relation which = TUR value = 25 }
	}
}
EVENTNAME201005;The Pirates of St. John;;;;;;;;;;
EVENTHIST201005;The small but proficient fleet of the Knights was the scourge of Muslims for hundreds of years. Keeping the waters clear of enemy privateers as well as capturing trade ships of the Muslims, kept the coffers on Rhodos full and Muslim sailors in terror. One of the most famous events was the capturing of the Great Carrack from Alexandria in 1569, filled with enormous riches.;;;;;;;;;;
ACTIONNAME201005A;Praise the lord!;;;;;;;;;;
ACTIONNAME201005B;Refrain from our Piracy;;;;;;;;;;

Events of second set don't sleep corresponding one of the first set. It is intentional.

KNI_3537, TUR_3364 and TUR_3365 are removed.

Other modification:
Code:
#(1507) Capture of the Morgarbina
event = {
	id = 24015
	trigger = {
		[COLOR=Red]exists = MAM[/COLOR]
		[COLOR=Yellow]owned = { province = 744 data = MAM } #Alexandria[/COLOR]
		NOT = {
			alliance = { country = KNI country = MAM }
			[COLOR=Yellow]vassal = { country = MAM country = KNI }[/COLOR]
		}
	}
	random = no
	country = KNI
	name = "EVENTNAME24015" #Capture of the Morgarbina
	desc = "EVENTHIST24015"
	#-#

	date = { day = 1 month = april year = 1507 }
	offset = 150
	deathdate = { day = 1 month = september year = 1507 }

	action_a = {
		name = "ACTIONNAME201005A" #Praise the lord!
		command = { type = treasury value = 150 }
		command = { type = relation which = MAM value = -300 }
		command = { type = galleys which = -1 value = 1 }
		command = { type = transports which = -3 value = 1 }
	}
	action_b = {
		name = "ACTIONNAME201005B" #Refrain from our Piracy
		command = { type = relation which = MAM value = 60 }
		command = { type = sleepevent which = 24032 } #MAM: Capture of the Morgarbina
	}
}
#-#The Morgarbina was a gigantic vessel with seven decks which plied the seas between Tunis and Constantinople. Wealthy merchants confidently used her to ship their richest wares, confident that not even the notorious Knights could capture her. Commander de Gastineau, a wily captain from Limousin, waylaid the leviathan off Crete. Under pretence of parleying, he laid the Order's own great carrack alongside and then mowed down the captain and officers on the poop with one murderous salvo of grapeshot. The leaderless crew struck their colours and the Knights boarded to find a staggering consignment of silver and jewellery as well as bales of silk, cashmere and carpets, and quantities of pepper, ginger, cloves, and cinnamon. On the way home, the brethern captured three smaller cargo ships, and the entire treasure was eventually sold in France, its owners being held to ransom or sent to the slave market.
 
Unrest in Yemen and Aden

This is the start of a sequence where the Turks own Aden and/or Yemen rather than just have them vassalized in the existing events. I'll model it after the Omani sequence, although things are vastly complicated by the possibilities of either Aden or Yemen being independent.

Am I correct in assuming that the revolt risk will be terminated when Aden and Yemen become independent?

Code:
#(1598-1619) The Anti-Turkish Resistance
#by sturmvogel
event = {
	id = 301131
	trigger = {
		OR = {													
owned = { province = 500 data = -1 } #Aden
			owned = { province = 499 data = -1 } #Yemen
		}
	}
	random = no
	country = TUR
	name = "EVENTNAME321002" #The Anti-Turkish Resistance
	desc = "EVENTHIST321002"
	#-#

	date = { day = 1 month = january year = 1598 }
	offset = 60
	deathdate = { day = 29 month = december year = 1619 }

	action_a = {
		name = "DAMN"
		command = { type = revolt which = 500 } #Aden
		command = { type = revolt which = 499 } #Yemen
		command = { type = province_revoltrisk which = 500 value = 10 } #Aden
		command = { type = province_revoltrisk which = 499 value = 10 } #Yemen
	}
}
 
Last edited:
@sturmvogel: I thought 301131 was an existing event because of EVENTNAME321002 + EVENTHIST321002 and just answered the question...

Do I have to assume this is an ahistorical event? If yes, please amend the first comment line and add "- Ahistorical" at the end of the line.
 
@sturmvogel: I thought 301131 was an existing event because of EVENTNAME321002 + EVENTHIST321002 and just answered the question...

Do I have to assume this is an ahistorical event? If yes, please amend the first comment line and add "- Ahistorical" at the end of the line.
Nope, it's perfectly historical, it just reuses some appropriate text from a Yemeni event. I'm in the process of expanding an independence sequence for both Yemen and Aden for which it serves as the base.