Hey all, I'm struggling with modding the elector vote score. I want the electors to value the son of the current ruler. However, since the current truler isn't ROOT, FROM, PREV or FROMFROM*, I'm at a loss how to get the score to trigger. I've tried a number of options, of which a couple I have put down here. Any thoughts on how to handle this? All help is greatly appreciated!
20:27 update: The script below seemed to do something, but I can't see what because the sons of the ruler all got a 0 score. They did seemed to get chosen more often though.
additive_modifier = {
value = 15
localisation_key = tooltip_feudal_elector_vote_player_heir
NOT = { character = FROM }
FROM = {
is_child_of = ROOT_FROMFROM
}
}
additive_modifier = {
value = 15
localisation_key = tooltip_feudal_elector_vote_player_heir
NOT = { character = FROM }
FROM = {
is_child_of = {
holder_scope = FROMFROM }
}
}
* At the top of the succession voting file ROOT, FROM, FromFrom and FromFromFrom are described.additive_modifier = {
value = 15
localisation_key = tooltip_feudal_elector_vote_player_heir
NOT = { character = FROM }
FROM = {
FROMFROM = {
holder_scope = {
is_parent_of = FROM
}
}
}
}
# Root scope - Voter, the character voting in the election
# From scope - Candidate, Character considered for the title
# FromFrom scope - The title the nomination is for
# FromFromFrom scope - The title owner's candidate
20:27 update: The script below seemed to do something, but I can't see what because the sons of the ruler all got a 0 score. They did seemed to get chosen more often though.
additive_modifier = {
value = 15
localisation_key = tooltip_feudal_elector_vote_player_heir
NOT = { character = FROM }
FROM = {
FROMFROM = {
holder_scope = {
character = {
is_parent_of = FROM
}
}
}
}
}
Last edited: