gfx\\interface\\modifier_icons.tga
Cheers! Check your PM, by the way.
gfx\\interface\\modifier_icons.tga
Yes for events, no for traits. Events can use if = { limit = { religion = x } effects } to do different things for different religions. With traits, you could make multiple versions with one set for each religion, but you can't put an if clause inside a modifier.
Any neighbor province needs to be inside a province scope. So you need something like this:
Code:any_demesne_province = { any_neighbor_province = { owner = { top_liege = { character = FROM } } } } }
AFAIK, not directly, but if you don't mind huge mumbojumbos (see below) it is doable.
option = { #
name = "EVTOPTA250299"
trigger = {
any_courtier = {
is_female = no
martial = 9
prisoner = no
capable_only = yes }
}
random_courtier = {
limit = {
is_female = no
martial = 23
prisoner = no
capable_only = yes
not = { PREV = { has_character_flag = alr_elected_champion } }
}
hidden_tooltip = { character_event = { id = 250290 } }
PREV = { set_character_flag = alr_elected_champion }
}
random_courtier = {
limit = {
is_female = no
martial = 22
prisoner = no
capable_only = yes
not = { PREV = { has_character_flag = alr_elected_champion } }
}
hidden_tooltip = { character_event = { id = 250290 } }
PREV = { set_character_flag = alr_elected_champion }
}
random_courtier = {
limit = {
is_female = no
martial = 21
prisoner = no
capable_only = yes
not = { PREV = { has_character_flag = alr_elected_champion } }
}
hidden_tooltip = { character_event = { id = 250290 } }
PREV = { set_character_flag = alr_elected_champion }
}
random_courtier = {
limit = {
is_female = no
martial = 20
prisoner = no
capable_only = yes
not = { PREV = { has_character_flag = alr_elected_champion } }
}
hidden_tooltip = { character_event = { id = 250290 } }
PREV = { set_character_flag = alr_elected_champion }
}
random_courtier = {
limit = {
is_female = no
martial = 19
prisoner = no
capable_only = yes
not = { PREV = { has_character_flag = alr_elected_champion } }
}
hidden_tooltip = { character_event = { id = 250290 } }
PREV = { set_character_flag = alr_elected_champion }
}
random_courtier = {
limit = {
is_female = no
martial = 18
prisoner = no
capable_only = yes
not = { PREV = { has_character_flag = alr_elected_champion } }
}
hidden_tooltip = { character_event = { id = 250290 } }
PREV = { set_character_flag = alr_elected_champion }
}
random_courtier = {
limit = {
is_female = no
martial = 17
prisoner = no
capable_only = yes
not = { PREV = { has_character_flag = alr_elected_champion } }
}
hidden_tooltip = { character_event = { id = 250290 } }
PREV = { set_character_flag = alr_elected_champion }
}
random_courtier = {
limit = {
is_female = no
martial = 16
prisoner = no
capable_only = yes
not = { PREV = { has_character_flag = alr_elected_champion } }
}
hidden_tooltip = { character_event = { id = 250290 } }
PREV = { set_character_flag = alr_elected_champion }
}
random_courtier = {
limit = {
is_female = no
martial = 15
prisoner = no
capable_only = yes
not = { PREV = { has_character_flag = alr_elected_champion } }
}
hidden_tooltip = { character_event = { id = 250290 } }
PREV = { set_character_flag = alr_elected_champion }
}
random_courtier = {
limit = {
is_female = no
martial = 14
prisoner = no
capable_only = yes
not = { PREV = { has_character_flag = alr_elected_champion } }
}
hidden_tooltip = { character_event = { id = 250290 } }
PREV = { set_character_flag = alr_elected_champion }
}
random_courtier = {
limit = {
is_female = no
martial = 13
prisoner = no
capable_only = yes
not = { PREV = { has_character_flag = alr_elected_champion } }
}
hidden_tooltip = { character_event = { id = 250290 } }
PREV = { set_character_flag = alr_elected_champion }
}
random_courtier = {
limit = {
is_female = no
martial = 12
prisoner = no
capable_only = yes
not = { PREV = { has_character_flag = alr_elected_champion } }
}
hidden_tooltip = { character_event = { id = 250290 } }
PREV = { set_character_flag = alr_elected_champion }
}
random_courtier = {
limit = {
is_female = no
martial = 11
prisoner = no
capable_only = yes
not = { PREV = { has_character_flag = alr_elected_champion } }
}
hidden_tooltip = { character_event = { id = 250290 } }
PREV = { set_character_flag = alr_elected_champion }
}
random_courtier = {
limit = {
is_female = no
martial = 10
prisoner = no
capable_only = yes
not = { PREV = { has_character_flag = alr_elected_champion } }
}
hidden_tooltip = { character_event = { id = 250290 } }
PREV = { set_character_flag = alr_elected_champion }
}
random_courtier = {
limit = {
is_female = no
martial = 9
prisoner = no
capable_only = yes
not = { PREV = { has_character_flag = alr_elected_champion } }
}
hidden_tooltip = { character_event = { id = 250290 } }
PREV = { set_character_flag = alr_elected_champion }
}
}
Has anyone had any luck using flags or variables inside a title scope? I'm looking for some way to distinguish between castles in a province other than by name or is_capital.
Distinguish how? If you want specific castle in specific province, baron titles should be enough.
I want to make a series of mutually exclusive buildings. If you've built building A, you can't build building B, etc.
AFAICT, there's no way to do this in the building potential/triggers/prereqs. What I can do is use province flags/modifiers, but those affect all the castles in the province.
What I'm looking for, however, is a way to make it so that if there are 3 castles in a province, and castle 1 has building A and castles 2 and 3 have neither building, then castle 1 wouldn't be able to build building B, but castles 2 and 3 would be able to build either one. In other words, I want a general way of flagging a specific holding to say this title does/doesn't have this building.
I could make a whole series of modifiers using the defined holding names, but that would be way more work that I want to do.
Yeah, I was hoping for some way to put a flag inside a title, but flags seem limited to characters and provinces.I dont think there is a way, ive been trying to achieve it for a long time and i dont think it would even work with holding specific modifiers.
Yeah, I was hoping for some way to put a flag inside a title, but flags seem limited to characters and provinces.
It seems that barony level flags are non existent, which is unfortunate.... maybe theyll add them-in in future.
Is there a list of all of the scopes/commands in CK2 yet? I really wish there was a CK2 wiki on Paradoxian.![]()
I don't think so. IIRC, death is like getting pregnant--it can be done by events, but it is also hardcoded.Death is an event no?