old error said:--- Error 1 of 1 ---
At <mod>\common\cb_types\00_cb_types.txt [crusade\on_success_title\if[2]\most_participating_attacker\if\if\limit\NOT\cultu re] (Line 2365, Column 16):
"PREV" is not a valid Culture, ThisChar, or ThisProv.
This is in the Crusade CB, the relevant block is:
Code:on_success_title = { #<- PREV for statement where error is reported if = { limit = { has_holder = yes holder_scope = { religion = ROOT } } holder_scope = { gain_settlements_under_title = { title = PREV enemy = FROM is_crusade = yes # Even if the title holder is not participating in the war, gain holdings occupied by all Crusade participants } } } if = { limit = { OR = { has_holder = no NOT = { holder_scope = { religion = ROOT } } } } most_participating_attacker = { gain_settlements_under_title = { title = PREV enemy = FROM } if = { limit = { primary_title = { is_primary_type_title = no } # Mercs, the Pope, Holy Orders, etc PREV = { has_holder = no } OR = { NOT = { character = ROOT } independent = yes liege = { tier = EMPEROR } } } usurp_title = PREV if = { limit = { NOT = { culture = PREV } #<- Line where error is reported. } hidden_tooltip = { PREV = { conquest_culture = THIS } } } } } } any_attacker = { limit = { character = ROOT } participation_scaled_prestige = 500 participation_scaled_piety = 1000 if = { limit = { religion_group = muslim } participation_scaled_decadence = -100 } } any_attacker = { limit = { NOT = { character = ROOT } } hidden_tooltip = { participation_scaled_prestige = 500 participation_scaled_piety = 1000 if = { limit = { religion_group = muslim } participation_scaled_decadence = -100 } } } ROOT = { religion_authority = 0.2 } FROM = { piety = -100 } }
Do titles have cultures?
The above now gives this error:
--- Error 1 of 1 ---
At <mod>\common\cb_types\00_cb_types.txt [crusade\on_success_title\if[2]\most_participating_attacker\if\if\limit\NOT\culture] (Line 2365, Column 16):
No direct match found for culture (is the casing correct?). However, other possible matches in scope CharTrigger were found.
Left: ["culture"] Right: [Culture]
Left: ["culture"] Right: [ThisChar or ThisProv]