A little update.
There is a line now in Internal Settings for ALLOW_LOCKED_PERKS. If this one is set to 0 then locked perks won't work.
Also I included a function called LockPerk(perkname). This will lock a perk.
Btw I didn't tell yet but the description of the perk can be changed when it's locked.
In the file RESOURCE\INI\TEXTS\ENGLISH\AbilityDescribe.txt you can add a field like this:
It will show this text then when the perk is locked. I'm thinking of making this a perk property but not sure yet.
If you dont set a text for the perk is will show "Locked (...description...)" where ...description.. will be the normal description.
There is a line now in Internal Settings for ALLOW_LOCKED_PERKS. If this one is set to 0 then locked perks won't work.
Also I included a function called LockPerk(perkname). This will lock a perk.
Btw I didn't tell yet but the description of the perk can be changed when it's locked.
In the file RESOURCE\INI\TEXTS\ENGLISH\AbilityDescribe.txt you can add a field like this:
Code:
perkBasicLandOwnerLocked
{
Gain a gouvernors trust to enable this Perk. (The crop yield is 50% higher on the character's estates)
}
It will show this text then when the perk is locked. I'm thinking of making this a perk property but not sure yet.
If you dont set a text for the perk is will show "Locked (...description...)" where ...description.. will be the normal description.
Last edited: