I've been trying to create a title decision that would allow me to change a kingdom's prefix to Principality. I haven't been able to get the decision to change the prefix, so any help would be appreciated.
Code:
designate_principality = {
from_potential = {
ai = no
independent = yes
}
potential = {
real_tier = KING
holder_scope = {
same_realm = FROM
}
NOT = {
ROOT = {
has_title_flag = designated_principality
}
}
}
allow = {
FROM = {
primary_title = {
real_tier = EMPEROR
}
wealth = 200
prestige = 500
}
}
effect = {
ROOT = {
title = KINGPRINCE
title_prefix = KINGPRINCE_OF
foa = KINGPRINCE_FOA
set_title_flag = designated_principality
}
FROM = {
wealth = -200
prestige = -500
}
}
}