There are two two things I want to do here.
1/ I want to check if the player as a vassal, simple as that. I presume that using "isAVassal()" would work but I am not really sure on how to identify the vassal player correctly.
2/ I want something to happen to the vassal if the conditions are met for the master.
The goal is to have an harmonisation of the political regimes between vassals and masters, especially if they are communist or fascists. I had orignially planned to do this using events (I already have nice/terrifying (depending on how seriously you take it) descriptions for those)
So the basic formula would be if X is the master of Y and has State property, Y gains State property.
1/ I want to check if the player as a vassal, simple as that. I presume that using "isAVassal()" would work but I am not really sure on how to identify the vassal player correctly.
2/ I want something to happen to the vassal if the conditions are met for the master.
The goal is to have an harmonisation of the political regimes between vassals and masters, especially if they are communist or fascists. I had orignially planned to do this using events (I already have nice/terrifying (depending on how seriously you take it) descriptions for those)
So the basic formula would be if X is the master of Y and has State property, Y gains State property.