Mystery solved; province_setup had "1570 =" rather than "1470 =". They still look like they're sea provinces on the map, since the terrain map has the ocean color where they're located, but are in fact land provinces
spriteType = {
name = "GFX_society_main_background_the_assassins"
texturefile = "gfx\\interface\\societies\\society_bg_assassins.dds"
}
So, how will you handle when a ruler has 2 or more eligible holy sites? Making it random seems absurd for something so important.Ah, I see, will try that, thank you.
The decision is for that Building yes - basically I have an Event series where the player is able to build a great Temple on a holy site, dedicated to a particular god. At first I tried to add a new holding type, but by now I'm fairly certain that thats not (easily) moddable, so I'm going with a special building that gets added to a normal Temple, as well as a province modifier.
I'm doing that via a general decision rather than a settlement decision to have it be more visible to the player. For the decision itself I wanted it to be active if the player has at least 1 holy site with at least 1 free holding in his realm. The holy site part works as mentioned when using the any_realm_title scope. I've implemented the free holding now with just directly scoping to each holy site province individually, though this is super ugly (it will break if the holy sites are ever changed and is a lot of work if I want to use it for other religions), so I'd still appreciate a more elegant solution![]()
is_married_matrilineally = yes/noIs there a version of "is_married = y/n" that can check for a matrilineal marriage specifically? Or is checking for a matrilineal marriage more complicated than that? Is it possible at all?
When you do all the math to get to a modified number of months, that is how long it would take for 50% of eligible characters to get the event.
For example, If you have a mtth of 10 years, and 1000 eligible characters, you would expect 500 characters to have this event fire for them in that 10 years. Now, these are averages over time, so it won't always line up exactly. So what you need to do is get the modifiers to result in a mtth of 2 years.
It's a multiplier. 360*2=720, 360*0.75=270. Also, remember that the comparisons are actually >=; 15-20 has both factors applied unless the block for diplomancy=10 has NOT={diplomacy =15}.Thanks, I'll try that.
One last thing that makes no sense to me...
The wiki says a Modifier of 2 would double the Mean Time To Happen. So 360 + Factor = 2 would be 720; but for the Counsellor 10-14 has a 0.75 factor, and 15-20+ has a 0.95 factor; it obviously works in-game, but... doesn't that go against logic if the Wiki is correct?
Ah, awesome! That explains it, then! Thank-you bothIt's a multiplier. 360*2=720, 360*0.75=270. Also, remember that the comparisons are actually >=; 15-20 has both factors applied unless the block for diplomancy=10 has NOT={diplomacy =15}.
Is there any on action or, combination of them, that I can use to fire an event for every character that is created, no matter what way they come into being?
I have a few of such species in my own mod.Is there a way to apply immortality to all members of an ethnicity? I see no modifiers on the wiki that allow me to add traits like immortality to all members.
So, how will you handle when a ruler has 2 or more eligible holy sites? Making it random seems absurd for something so important.
Also, if the Great Temple is just a building, I'd just add it to any existing temple holding in the province.
My suggestion (and this is just they way *I'd* do it, not necessarily "more correct"):
• One settlement_decision that applies to any temple holding in a holy site without a great temple. Builds the great temple there.
• One title_decision targeting any county with a holy site but no temple holding. Builds a temple holding with great temple.
• Either an event that fires occasionally to remind the ruler that he could build a great temple, or an on_action event when acquiring an eligible holy site to let him know.
In the potential & trigger clauses of building definitions, FROMFROM scopes to the holding itself. That's where you'd check for buildings. My own published mod does that for a different purpose.At the moment the player can choose the building site of the temple within an event (i basically hard-coded 5 optionns (in 2 events) for the 5 holy sites, which is not super elegant, but so far I've not found a better way to do it).
I might later change it to the way you are describing it, once I figure out how to do the building itself.
For now I have tried to add the has_building = BUILDINGID to the potential, like you suggested, I've also tried to utilize the trigger parameter (which I think works like non-building pre-requisites, right?) however, I think the problem always boils down to not being able to scope to the currently selected holding, as all of the building parameters scope to the Province (according to the wiki) - this would also mean that the has_building does not work outside of the any_province_holding scope as we are scoped to the province.
Do you know of a way to drill down to the currently selected holding?
*EDIT* For now I found a (very hacky) way to circumvent the problem -- before I build my new holding through the decision, I put a new "Blocker" Building into all existing holdings, which I put in the not_if_x_exists clause for my unique building. This way I can only build it in the new holding. This will lead to a problem that I'll have to update new holdings if they are being built, but that should work.
I've also played around with maybe only having the the second level of the building be visible and to build the first tier together with the event decision, but I could not get that to work either.
Part of the problem here is that I found no way to access the newly build holding.
I've been looking for something like a new_province_holding scope, similar to a character, but that does not seem to exist.
In the potential & trigger clauses of building definitions, FROMFROM scopes to the holding itself. That's where you'd check for buildings. My own published mod does that for a different purpose.
As for scoping to a newly built holding, there are a few ways, all of them a bit clunky.
If you are using static sites, build_holding takes a "title=b_whatever". That title has to be in a landed tiles file, but not built yet (tested by b_whatever={has_holder = no}). Then you can simply scope to b_whatever. (This is how the vanilla files handle founding holy orders, etc.)
If you want to do it dynamically, you could:
A. Create a dummy character. Scope to him with new_character. Build the holding with (I think) "holder=THIS" (build_holding also takes a holder clause…). Since that will be that character's only holding, scope to it via him, and do stuff to the holding. When done, usurp the holding, and kill him. (This *will* put the dummy in the title history as the 1st (brief) holder.)
or:
B. Give every barony title in the province a flag. Create the holding normally. Use any_province_holding = { limit = { <doesn't have that flag> } <do stuff to the new holding> }. When done, clear the flag from all the holdings. (This would be my preference.)