Well this make me appear stupid. I'm sorry if I bother you all with my questions, but it's the first time I mod a Paradox title and I am lost! Thank you very much! Using your validator, btw, very useful tool!
Is there any way to check if a building has been built in a province?
I tried "has_building = <buildingname>", but that seems only to work on "start" scope.
13,5k lines of code for NOTHING!![]()
That works, but it will also allow construction in any demesne province once the requirement is build somewhere...has_building works in title scope. So you'd want something like any_province_title = { has_building = <buildingname> }, except I don't remember what any_province_title should be. I'll tell you in a few hours if you don't happen to know it.
Say I wanted to change the animated graphics for soldiers moving about on screen for each individual culture I'm creating in my mod. Is there anyone here with experience in doing this that could direct me as to how to do that?
That works, but it will also allow construction in any demesne province once the requirement is build somewhere...
What I need is a "potential = { }" trigger that checks only the current holding for a building.
Desired scenario:
If holding A has building X, do not show building Y as a building option.
christian_church = {
not_if_x_exists = { buddhist_temple shinto_shrine }
build_cost = 100
build_time = 730
faction = christian
global_tax_modifier = 0.02
technology = 1 # Needs western influence
}
Does anyone have a template file for creating new trait gfx? I mean, a graphic file that is round and matches with the vanilla trait gfx, but is blank so I can just overlay a trait-specific graphic. I'm guessing no one has done this as all the mods I have seen that add new traits have gfx that don't match the vanilla style. I'd like to ensure any traits I add share that same style/look.
Good Sir, I have just applied the "opinion_grateful" modifier to our account relationship.Hmm I see, that sounds hard. Longshot, maybe you can try not_if_x_exists? It works in Sengoku, so who knows.
Good Sir, I have just applied the "opinion_grateful" modifier to our account relationship.
Because I tested it: AND IT WORKS!
All the unavailable buildings will clutter the bottom of the building list, but IT WORKS!
I will make sure you will be mentioned in the next BGA patchlog.![]()
Nice. Thank you! Now just need templates for the other trait types.@duinnin, I actually did make a biege circle template for my ambitions mod, but its 28x28. I resized it for you and recolored for personality traits,![]()
I am making a decision (which leads into a triggered event) that allows one kingdom title to become another. I have the hand-off working just fine, but does anyone have an idea how I would pass the de Jure land to the new title (as in the de Jure claims, not transferring vassals or anything like that)? (We are going from king tier to king tier)
k_oldtitle = {
any_de_jure_vassal_title = {
de_jure_liege = k_newtitle
}
destroy_landed_title = yes
}
Do note that the any_de_jure_vassal_title scope is a bit bugged, so it won't apply to uncreated duchies.
k_tuscany = {
color = { 237 28 36 }
capital = 328 # Firenze
culture = italian
allow = {
is_independant = yes
NOT = {
[B][U]k_italy = exists[/U][/B] #like this?
}
culture = italian
religion_group = christian
}
}
}