From various sections in the cb_types file:
is_valid = {
ROOT = {
OR = {
liege = {
character = PREV # either independent
}
liege = {
FROM = {
is_liege_or_above = PREV # or have shared liege
}
}
}
}
FROM = {
higher_tier_than = ROOT
}
}
I don't get it right... FROM is the character declaring war, and ROOT the character who is declared war on, right?
In the independence cb, I don't get it or I'm just missunderstanding bad here:
The code actually says that the valid option (green light) is that the FROM is higher tier than the ROOT?
isn't it just the opposite?

????
And two, if I change in that line, ROOT with a title, this means that any character higher than that
tier can declare war?.
So if I put DUKE, this means that Counts can't declare war?
And also, what should I put if I want BARONS to be able to declare war?.
And last of all:
if a characters has a "desires to get X duchy", but he doesn't even has a claim on that duchy,
how can I mod it out that:
a) desiring a duchy automatically laid a claim on that duchy OR
b) If "not claim" THEN "no desire"?