• 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.
Reworked triggers for Lithuanian lost cores

Code:
#(1490-1569) Lost claims on Jedisan
event = {
	id = 210021
	trigger = {
		[COLOR=Yellow]core = { province = 296 data = -1 } #Jedisan[/COLOR]
		OR = {
			AND = {
				owned = { province = 319 data = TUR } #Bujak
				[COLOR=Yellow]OR = {
					owned = { province = 463 data = TUR } #Crimea[/COLOR]
					owned = { province = 463 data = CRI } #Crimea
				[COLOR=Yellow]}[/COLOR]
			}
			NOT = {
				control = { province = 296 data = -1 } #Jedisan
			}
		}
	}
	random = no
	country = LIT
	name = "EVENTNAME210021" #Lost claims on Jedisan
	desc = "EVENTHIST210021"
	#-#

	date = { day = 1 month = january year = 1490 }
	offset = 1000
	deathdate = { day = 1 month = january year = 1569 }

	action_a = {
		name = "DAMN"
		command = { type = removecore which = 296 } #Jedisan
	}
}
#-#With increasing menace of the Ottoman Empire and constant Tatar raids, Lithuania has dropped its claims on Jedisan.

Code:
#(1500-1569) Lost claims on Donetsk
event = {
	id = 210022
	trigger = {
		[COLOR=Yellow]core = { province = 460 data = -1 } #Donetsk[/COLOR]
		exists = RUS
		[COLOR=Yellow]OR = {[/COLOR]
			exists = CRI
			[COLOR=Yellow]owned = { province = 463 data = RUS } #Crimea
			owned = { province = 463 data = TUR } #Crimea
		}[/COLOR]
		NOT = {
			control = { province = 460 data = -1 } #Donetsk
		}
	}
	random = no
	country = LIT
	name = "EVENTNAME210022" #Lost claims on Donetsk
	desc = "EVENTHIST210022"
	#-#

	date = { day = 1 month = january year = 1500 }
	offset = 1000
	deathdate = { day = 1 month = january year = 1569 }

	action_a = {
		name = "DAMN"
		command = { type = removecore which = 460 } #Donetsk
	}
}
#-#Internal problems, unability to exploit victories (like battle at Orsza 1514) and to stop expansion of Muscovy under Ivan III, led to loss of control of Chernigov, Starodub, Novgorod-Seversk, Smolensk and other cities to Muscovy in the first half of XVI-th century. Additionally Lithuania was unable to contain Tatar raids which weakened country. Ultimately, in 1569 Lithuania gave the whole Ukraine to Poland and tightened its Union with Poland in order to obtain help and respise in their fights against Muscovy and Tatars.
 
new events for POM

Code:
#(1465) Loss of Danzig
event = {
id = 259017 
trigger = {
                neighbour = POL
		owned = { province = 301 data = -1 } #danzig
		control = { province = 301 data = -1 }
	}
random = no
country = POM
name = "EVENTNAME259017" #Loss of Danzig
desc = "EVENTHIST259017"
#-#

date = { day = 1 month = june year = 1465 }
	offset = 200
	deathdate = { day = 29 month = december year = 1478 }

action_a = {
name = "ACTIONNAME259017A" #Loss of Danzig
command = { type = secedeprovince which = POL value = 301 } #Danzig
command = { type = relation which = POL value = -30 }
command = { type = stability value = 1 }
}
action_b = {
name = "ACTIONNAME259017B" #Let us keep it
command = { type = relation which = POL value = -100 }
command = { type = badboy value = -2 }
}
}
EVENTNAME259017;Loss of Danzig;;;;;;;;;;
EVENTHIST259017;The populace of Danzig being dissatisfied with the aristocracy of the Pomeranian nobles forced the Pomeranian government to transfer the Kumberland, Ermland and Danzig to the Polish Crown.;;;;;;;;;;
ACTIONNAME259017A;Cede it;;;;;;;;;;
ACTIONNAME259017B;Let us keep it;;;;;;;;;;


Code:
#(1487) The Pommerian Capital
event = {
id = 259018 
trigger = {
		owned = { province = 304 data = -1 } #Vorpommern
		control = { province = 304 data = -1 }
         NOT = { 
          exists = STT 
        }
	}
random = no
country = POM
name = "EVENTNAME259018" #Capital relocation
desc = "EVENTHIST259018"
#-# 

date = { day = 1 month = march year = 1487 }
	offset = 100
	deathdate = { day = 29 month = december year = 1498 }

action_a = {
name = "ACTIONNAME259018A" #Capital Relocation
command = { type = capital which = 304 } #Vorpommern
command = { type = addcore which = 304 } #Vorpommern
command = { type = stability value = 1 }
command = { type = trade value = 500 }

}
action_b = {
name = "ACTIONNAME259018B" #Let keep it where it is
command = { type = stability value = 1 }
command = { badboy = -1 }
}
}
EVENTNAME259018;Capital relocation;;;;;;;;;;
EVENTHIST259018;Stolp was founded by Germans in the 6th century. In the 9th century the town was fortified and a small Slavic village was built on a hill. In the Middle Ages the area began to be settled in great number by ethnic Germans who built up the town. Any local Slavic culture which had existed disappeared as local people were assimilated and became germanised. In the reign of Bogislaw X a decision was made to move the capital to the more prospers city of Bialogard or to the newly acquired city of Stettin. Stettin was chosen.;;;;;;;;;;
ACTIONNAME259018A;Move the capital;;;;;;;;;;
ACTIONNAME259018B;Let keep it where it is;;;;;;;;;;



STT = { #Stettin
no = POM
date = { day = 1 month = january year = 1419 }
expirydate = { year = 1820 }
minimum = { 304 }
extra = { 302 }
capital = 304
group = latin
#ai = "peaceful.ai"
ai = "SmallTrade1.ai"
}


Also capital of hinterpommern (302) should be STOLP
 
Last edited:
POM_259017 should check if POL is neighbour.

POM_259018 action_b could have some positive effects. A player will probably never choose it as it is but AI has 5% chance...

About texts, suggestions and corrections:

EVENTNAME259017;Loss of Danzig;;;;;;;;;;
EVENTHIST259017;The populace of Danzig being dissatisfied with the aristocracy of the Pomeranian nobles forced the Pomeranian government to transfer the Kumberland, Ermland and Danzig to the Polish Crown.;;;;;;;;;;
ACTIONNAME259017A;Cede it;;;;;;;;;;
ACTIONNAME259017B;Let us keep it;;;;;;;;;;

EVENTNAME259018;Capital relocation;;;;;;;;;;
EVENTHIST259018;Stolp was founded by Germans in the 6th century. In the 9th century the town was fortified and a small Slavic village was built on a hill. In the Middle Ages the area began to be settled in great number by ethnic Germans who built up the town. Any local Slavic culture which had existed disappeared as local people were assimilated and became germanised. In the reign of Bogislaw X a decision was made to move the capital to the more prospers city of Bialogard or to the newly acquired city of Stettin. Stettin was chosen.;;;;;;;;;;
ACTIONNAME259018A;Move the capital;;;;;;;;;;
ACTIONNAME259018B;Let keep it where it is;;;;;;;;;;
 
YodaMaster said:
POM_259017 should check if POL is neighbour.

POM_259018 action_b could have some positive effects. A player will probably never choose it as it is but AI has 5% chance...

About texts, suggestions and corrections:

EVENTNAME259017;Loss of Danzig;;;;;;;;;;
EVENTHIST259017;The populace of Danzig being dissatisfied with the aristocracy of the Pomeranian nobles forced the Pomeranian government to transfer the Kumberland, Ermland and Danzig to the Polish Crown.;;;;;;;;;;
ACTIONNAME259017A;Cede it;;;;;;;;;;
ACTIONNAME259017B;Let us keep it;;;;;;;;;;

EVENTNAME259018;Capital relocation;;;;;;;;;;
EVENTHIST259018;Stolp was founded by Germans in the 6th century. In the 9th century the town was fortified and a small Slavic village was built on a hill. In the Middle Ages the area began to be settled in great number by ethnic Germans who built up the town. Any local Slavic culture which had existed disappeared as local people were assimilated and became germanised. In the reign of Bogislaw X a decision was made to move the capital to the more prospers city of Bialogard or to the newly acquired city of Stettin. Stettin was chosen.;;;;;;;;;;
ACTIONNAME259018A;Move the capital;;;;;;;;;;
ACTIONNAME259018B;Let keep it where it is;;;;;;;;;;


amended, post 1562 upgraded and also date of capital move confirmed
 
YodaMaster said:
Flag in first link seems very "Polish" and the one in second link very modern.

OK for the first link..but the second needs to be thought about especially as it was so involved with the pommerian aristocracy

plus I have never found a POM flag (except modern one ) and the only other thing I found was the COA of POM under POL ....which is yellow background with a black griffin

I just find it very confusing that BRA flag is very similar to POM
 
Toio said:
I just find it very confusing that BRA flag is very similar to POM
It is a fact small flags above cities are very similar but difference is visible for normal ones.

But I agree it is not very easy to find a Pomeranian flag. Maybe we could tweak its shape to swallowtail (like Poland-Lithuania).
 
YodaMaster said:
It is a fact small flags above cities are very similar but difference is visible for normal ones.

But I agree it is not very easy to find a Pomeranian flag. Maybe we could tweak its shape to swallowtail (like Poland-Lithuania).

do not bother yourself.....i will use the vorpommern one in kaigon site as he has mixed up his vor and hinter flags
 
monarchs changes for POM

historicalmonarch = {
id = { type = 6 id = 0110004 }
startdate = {
day = 5
month = october
year = 1523
}
deathdate = {
day = 10
month = may
year = 1531
}
name = "Georg I"
DIP = 7
ADM = 7
MIL = 6
dormant = no
}
historicalmonarch = {
id = { type = 6 id = 0110005 }
startdate = {
day = 10
month = may
year = 1531
}
deathdate = {
day = 14
month = february
year = 1560
}
name = "Philipp I"
DIP = 6
ADM = 5
MIL = 5
dormant = no
}
historicalmonarch = {
id = { type = 6 id = 0110006 }
startdate = {
day = 14
month = february
year = 1560
}
deathdate = {
day = 25
month = july
year = 1569
}
name = "Regentschaftsrat" "Johann Friedrich I"
DIP = 3
ADM = 6
MIL = 5
dormant = no
remark = "Regency" "shared with Barnim XII"
}
historicalmonarch = {
id = { type = 6 id = 0110007 }
startdate = {
day = 25
month = july
year = 1569
}
deathdate = {
day = 17
month = june
year = 1592 1607
}
name = "Ernst Ludwig" "Bogislaw XIII"
DIP = 5
ADM = 5
MIL = 4
dormant = no
}
historicalmonarch = {
id = { type = 6 id = 0110008 }
startdate = {
day = 17
month = june
year = 1592 1607
}
deathdate = {
day = 6
month = february
year = 1625 1620
}
name = "Philipp Julius"
DIP = 6
ADM = 6
MIL = 4
dormant = no
}
historicalmonarch = {
id = { type = 6 id = 0110009 }
startdate = {
day = 6
month = february
year = 1625 1620
}
deathdate = {
day = 10
month = march
year = 1637
}
name = "Bogislaw XIV"
DIP = 4
ADM = 3
MIL = 3
dormant = no
}
 
more events for POM

Code:
#(1493) The Pyritz Agreement
event = {
id = 259019 
trigger = {
		 exists = BRA
        NOT = { war = { country = POM country = BRA } 
        }
       	}
random = no
country = POM
name = "EVENTNAME259019" #Pyritz Agreement
desc = "EVENTHIST259019"
#-# 

date = { day = 17 month = may year = 1493 }
	offset = 100
	deathdate = { day = 29 month = december year = 1498 }

action_a = {
name = "ACTIONNAME259019A" #Agree on agreement
command = { type = relation which = BRA value = 30 }
command = { type = breakvassal which = POL }
command = { type = breakvassal which = DAN }
command = { type = alliance which = BRA }
command = { type = stability value = 1 }
}
}
EVENTNAME259019;Pyritz Agreement;;;;;;;;;;
EVENTHIST259019;At the Pyritz Agreement, Duke Bogislaw X, succeeded with lifting the lienship and swearing an allegiance to supply Brandenburg with Pommerian troops, but Bogislaw X did not agree on the inheritance sequence .;;;;;;;;;;
ACTIONNAME259019A;Agree on agreement;;;;;;;;;;




Code:
#(1529) The Grimnitz Agreement
event = {
id = 259020 
trigger = {
		 exists = BRA
        vassal = { country = BRA country = POM }
              	}
random = no
country = POM
name = "EVENTNAME259020" #Grimnitz Agreement
desc = "EVENTHIST259020"
#-# 

date = { day = 27 month = august year = 1529 }
	offset = 100
	deathdate = { day = 29 month = december year = 1538 }

action_a = {
name = "ACTIONNAME259020A" #Agree on agreement
command = { type = relation which = BRA value = 30 }
command = { type = breakvassal which = BRA }
command = { type = stability value = 1 }
}
}
EVENTNAME259020;Grimnitz Agreement;;;;;;;;;;
EVENTHIST259020;At the Grimnitz agreement, the Brandenburg electors agreed to release the lienship over Pommeria, but accepted the inheritance of Pommerian in the case of no male heir.;;;;;;;;;;
ACTIONNAME259020A;Agree on agreement;;;;;;;;;;



Code:
#(1572) Loitz house
event = {
id = 259021 
trigger = {
		owned = { province = 304 data = -1 } #Vorpommern
		control = { province = 304 data = -1 }
              	}
random = no
country = POM
name = "EVENTNAME259021" #Loitz house
desc = "EVENTHIST259021"
#-# 

date = { day = 21 month = november year = 1572 }
	offset = 100
	deathdate = { day = 29 month = december year = 1578 }

action_a = {
name = "ACTIONNAME259021A" #Damn, trade loss
command = { type = provincetax which = 304 value = -2 } #vorpommern
command = { type = stability value = -3 }
}
}
EVENTNAME259021;Loitz house;;;;;;;;;;
EVENTHIST259021;The Great Stettin trading house of the Loitz's family finally goes bankrupt after 200 years.;;;;;;;;;;
ACTIONNAME259021A;bankrupt house;;;;;;;;;;
 
@Toio: because of the breakvassal commands, Pyritz Agreement could have 3 versions:
1. not vassal of POL nor DAN
2. vassal of POL
3. vassal of DAN

Pyritz Agreement could have an action_b.

Is there any condition in order to avoid Loitz house?


@rybka: no difference between CoA and flag then.
 
Toio said:
should we think about a change of COA of POM to the ostvorpommern COA 9 yellow and black) after the capital change ( they are the ducal COA ) ??
It could be a solution:
Vorpommern is situated in that part of Pomerania that was governed by a branch of the ducal family that had the black griffin in his coat of arms.
But is it the right branch we use?

For Ücker Randow and Uckermark, the griffin is still red.


About POM reworked monarchs, monarchs of Stettin don't match after 1531 for some dates and names.
 
YodaMaster said:
It could be a solution:
But is it the right branch we use?

For Ücker Randow and Uckermark, the griffin is still red.


About POM reworked monarchs, monarchs of Stettin don't match after 1531 for some dates and names.

but ucker randow and uckermark are bordering areas with brandenburg and hence have the red brandeburg eagle in their COA as well........I think we need to ignore them.
 
YodaMaster said:
@Toio: because of the breakvassal commands, Pyritz Agreement could have 3 versions:
1. not vassal of POL nor DAN
2. vassal of POL
3. vassal of DAN

Pyritz Agreement could have an action_b.

Is there any condition in order to avoid Loitz house?


@rybka: no difference between CoA and flag then.

we can eliminate the breakvassal commands for POL and DAN ..it was something I added by error when I really wanted a relations commands of -25

what do you suggest to Pyritz option B ?

loitz house could have a trigger condition of:
if the countrysize is 3 or greater.do not fire event.........this would represent IMO the loitz house having more trade opportunities
 
monarchs of STT



historicalmonarch = {
id = { type = 6 id = 0129510 }
startdate = {
day = 22
month = september
year = 1451
}
deathdate = {
year = 1460 1464
}
name = "Hohenzollern regency" "Otto III"
DIP = 6
ADM = 4
MIL = 4
dormant = yes no
}

historicalmonarch = {
id = { type = 6 id = 0129511 }
startdate = {
day = 22
month = september
year = 1451 1464
}
deathdate = {
year = 1460 1474
}
name = "Regency council *" "Eric II"
DIP = 4
ADM = 6
MIL = 5
dormant = yes no
remark = "Eric II became monarch of Stettin after he was replaced as Danish Monarch"
}

historicalmonarch = {
id = { type = 6 id = 0129502 }
startdate = {
year = 1460 1474
}
deathdate = {
day = 10
month = september
year = 1464 1531
}
name = "Otto III" "Wartislaw X"
DIP = 4
ADM = 5
MIL = 6
dormant = no
remark = "1474-1523 Stettin was ruled by POM, Bogislaw X"
}


STT monarchs after 1531 seem to be as accurate as can be
 
Toio said:
we can eliminate the breakvassal commands for POL and DAN ..it was something I added by error when I really wanted a relations commands of -25

what do you suggest to Pyritz option B ?
Without breakvassal commands in action_a (will they be replaced with relations -25 for DAN and POL?), we could have relations with BRA -50 and +25 with POL and DAN but ADM -2 for 12 months.

Toio said:
loitz house could have a trigger condition of:
if the countrysize is 3 or greater.do not fire event.........this would represent IMO the loitz house having more trade opportunities
Ok for countrysize = 3 or ownership of Danzig perhaps?