• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Caliph

Corporal
26 Badges
Oct 13, 2018
40
0
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Crusader Kings II: Horse Lords
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Crusader Kings II: Holy Fury
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Conclave
  • Crusader Kings II: Way of Life
  • Victoria 2
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II
I am currently working on modding a new succession type and have gotten to the "candidate_vote_score" part and am having difficultly understanding exactly how this section works. I don't understand what the "FROM" is referring to, why the "age = 40" isn't being scoped by anything. If anyone could explain what's going on here I would really appreciate it

Code:
    additive_modifier = {

                value = -10

                localisation_key = tooltip_feudal_elector_vote_youngster

                NOT = { character = FROM }

                age = 40

                FROM = {

                    age = 25

                    NOT = {

                        age = 35

                    }

                }

            }
 
I am currently working on modding a new succession type and have gotten to the "candidate_vote_score" part and am having difficultly understanding exactly how this section works. I don't understand what the "FROM" is referring to, why the "age = 40" isn't being scoped by anything. If anyone could explain what's going on here I would really appreciate it

Code:
    additive_modifier = {

                value = -10

                localisation_key = tooltip_feudal_elector_vote_youngster

                NOT = { character = FROM }

                age = 40

                FROM = {

                    age = 25

                    NOT = {

                        age = 35

                    }

                }

            }

elector_selection: ROOT is the elector, FROMFROM is the title. FROM and FROMFROMFROM are not used here.

elector_vote_strength: ROOT is the elector, FROMFROM is the title. FROM and FROMFROMFROM are not used here.

candidate_vote_score: ROOT is the elector, FROM is the candidate, FROMFROM is the title, FROMFROMFROM is the title holder's candidate (generally written as ROOT_FROMFROMFROM in vanilla's candidate_vote_score blocks due to being wrapped in a FROM).

candidate_trigger: ROOT is the current title holder, FROM is the candidate, FROMFROM is the title. FROMFROMFROM Is null, and should not be used.
 
elector_selection: ROOT is the elector, FROMFROM is the title. FROM and FROMFROMFROM are not used here.

elector_vote_strength: ROOT is the elector, FROMFROM is the title. FROM and FROMFROMFROM are not used here.

candidate_vote_score: ROOT is the elector, FROM is the candidate, FROMFROM is the title, FROMFROMFROM is the title holder's candidate (generally written as ROOT_FROMFROMFROM in vanilla's candidate_vote_score blocks due to being wrapped in a FROM).

candidate_trigger: ROOT is the current title holder, FROM is the candidate, FROMFROM is the title. FROMFROMFROM Is null, and should not be used.
Oooh thank you.