Can someone tell me why the game keeps saying "We must select a valid casus belli to declare war" whenever I try to use this casus belli I modded? The character does have the "Dragonrider" trait, but I can't use the casus belli for some reason.
Dragon_Conquest = {
name = CB_Dragon_Conquest
war_name = WAR_NAME_Dragon_Conquest
sprite = 8
truce_days = 31
is_permanent = yes
is_holy_war = no
check_de_jure_tier = DUKE # this scans all dejure duchies for the counties which are held by or vassals(or below) of selected character. Only valid if is_permanent = yes
can_use_gui = {
trait = Dragonrider
}
ROOT = {
trait = Dragonrider
}
can_use = {
trait = Dragonrider
}
ROOT = {
trait = Dragonrider
}
location = {
any_neighbor_province = {
OR = {
AND = {
has_owner = yes
owner = {
OR = {
character = ROOT
is_liege_or_above = ROOT
}
}
}
AND = {
is_land = no
any_neighbor_province = {
OR = {
AND = {
has_owner = yes
owner = {
OR = {
character = ROOT
is_liege_or_above = ROOT
}
}
}
AND = {
is_land = no
any_neighbor_province = {
owner = {
OR = {
character = ROOT
is_liege_or_above = ROOT
}
}
}
}
}
}
}
}
}
}
}
}
}
on_success = {
any_attacker = {
limit = { character = ROOT }
participation_scaled_piety = 100
participation_scaled_prestige = 50
}
any_attacker = {
limit = { NOT = { character = ROOT } }
hidden_tooltip = {
participation_scaled_piety = 100
participation_scaled_prestige = 50
}
}
FROM = { piety = -100 }
FROM = { prestige = -50 }
}
on_success_title = {
custom_tooltip = {
text = religious_cb_succ_tip
hidden_tooltip = {
ROOT = {
vassalize_or_take_under_title = {
title = PREV
enemy = FROM
same_religion = yes # Only vassalize rulers of my religion
is_religious = no
type = invasion
}
}
}
}
}
on_fail = {
ROOT = { piety = -200 }
ROOT = { prestige = -250 }
}
on_reverse_demand = {
ROOT = {
transfer_scaled_wealth = {
to = FROM
value = 4.0
}
}
any_defender = {
limit = { character = FROM }
participation_scaled_piety = 200
participation_scaled_prestige = 100
}
any_defender = {
limit = { NOT = { character = FROM } }
hidden_tooltip = {
participation_scaled_piety = 200
participation_scaled_prestige = 100
}
Dragon_Conquest = {
name = CB_Dragon_Conquest
war_name = WAR_NAME_Dragon_Conquest
sprite = 8
truce_days = 31
is_permanent = yes
is_holy_war = no
check_de_jure_tier = DUKE # this scans all dejure duchies for the counties which are held by or vassals(or below) of selected character. Only valid if is_permanent = yes
can_use_gui = {
trait = Dragonrider
}
ROOT = {
trait = Dragonrider
}
can_use = {
trait = Dragonrider
}
ROOT = {
trait = Dragonrider
}
location = {
any_neighbor_province = {
OR = {
AND = {
has_owner = yes
owner = {
OR = {
character = ROOT
is_liege_or_above = ROOT
}
}
}
AND = {
is_land = no
any_neighbor_province = {
OR = {
AND = {
has_owner = yes
owner = {
OR = {
character = ROOT
is_liege_or_above = ROOT
}
}
}
AND = {
is_land = no
any_neighbor_province = {
owner = {
OR = {
character = ROOT
is_liege_or_above = ROOT
}
}
}
}
}
}
}
}
}
}
}
}
}
on_success = {
any_attacker = {
limit = { character = ROOT }
participation_scaled_piety = 100
participation_scaled_prestige = 50
}
any_attacker = {
limit = { NOT = { character = ROOT } }
hidden_tooltip = {
participation_scaled_piety = 100
participation_scaled_prestige = 50
}
}
FROM = { piety = -100 }
FROM = { prestige = -50 }
}
on_success_title = {
custom_tooltip = {
text = religious_cb_succ_tip
hidden_tooltip = {
ROOT = {
vassalize_or_take_under_title = {
title = PREV
enemy = FROM
same_religion = yes # Only vassalize rulers of my religion
is_religious = no
type = invasion
}
}
}
}
}
on_fail = {
ROOT = { piety = -200 }
ROOT = { prestige = -250 }
}
on_reverse_demand = {
ROOT = {
transfer_scaled_wealth = {
to = FROM
value = 4.0
}
}
any_defender = {
limit = { character = FROM }
participation_scaled_piety = 200
participation_scaled_prestige = 100
}
any_defender = {
limit = { NOT = { character = FROM } }
hidden_tooltip = {
participation_scaled_piety = 200
participation_scaled_prestige = 100
}
Last edited: