• 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.

zyh233

Recruit
23 Badges
Feb 27, 2020
4
0
  • Stellaris - Path to Destruction bundle
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Imperator: Rome - Magna Graecia
  • Stellaris: Federations
  • Stellaris: Ancient Relics
  • Imperator: Rome
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Way of Life
  • Europa Universalis IV
  • Crusader Kings II
  • Stellaris: Synthetic Dawn
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
I am trying to add a unique councillor for the chinese imperial government. I find it is said on the CKII wiki that(under the Councillor tab on the Modding Suggestions page):
Add an "allowed_to_grant" or "potential" field for job titles, scoped to the liege (as there is for minor titles), to prevent them from showing up in the interface according to certain conditions.
So I try to script like this:
Code:
# common/job_titles/00_job_titles.txt
job_chancellor = {
    is_chancellor = yes
    is_voter = yes
    attribute = diplomacy
    dignity = 0.33
    opinion_effect = 10
    
    monthly_salary = 0.1
    monthly_prestige = 0.75
    
    #allow = {
    #    can_be_chancellor_trigger = yes
    #}
    allowed_to_grant = {
        always = no
    }
    allowed_to_hold = {
        always = no
    }
        ...
}
However, when I open the council interface, the first councillor is chancellor but the second one is "Holder Condition". And there's a lot of other wrong councillors as "dismiss trigger" and even "}". I guess that the game cannot recognize the "allowed_to_grant" field in job_titles ("potential" doesn't work as well ). But wiki suggest I should do so.
Well, then I turn here to ask for help. I'd be grateful if anyone can give me some tips.
 
Since it is in the moddability suggestions (some community member suggestions to improve moddability), it is likely not implemented, unless stated otherwise in that suggestion list.
From what you say, it messes up the code, meaning it doesn't recognize such code line/block as valid.
 
Since it is in the moddability suggestions (some community member suggestions to improve moddability), it is likely not implemented, unless stated otherwise in that suggestion list.
From what you say, it messes up the code, meaning it doesn't recognize such code line/block as valid.
That sounds disappointed. Guess I have to think of another way. Thanks anyway.
 
The suggestions page is just that, suggestions to the paradox devs to improve the modding language, anyone can add anything to it, unless it's in the implemented section then it isn't actually something you can do currently.
I thought it was suggestions for mod devs, but actually it seems to be suggestions for the game devs. Thanks anyway.