You are on page 1of 3

invite_knights_decision = {

picture = "gfx/interface/illustrations/decisions/decision_invite_knights.dds"

ai_check_interval = 0

is_shown = {
NOR = {
dynasty = dynasty:13000001
dynasty = dynasty:13000002
dynasty = dynasty:13000003
dynasty = dynasty:13000004
dynasty = dynasty:13000005
dynasty = dynasty:13000006
dynasty = dynasty:13000007
}
}

cooldown = { days = 3650 }

desc = invite_knights_decision_desc

effect = {
#A flag to increase weights for knights in regular guest invites
add_character_flag = {
flag = invite_knights_decision_active
days = 1095
}
#A counter for the free "extra knights", will be reduced by 1 for every
extra knight and extra knights stops when it reaches 0
set_variable = {
name = number_of_invite_knights_countdown
value = 3 #If this number changes make sure the tooltips change
days = 1000
}
trigger_event = {
id = minor_decisions.0001
days = { 20 40 }
}

#Effect tooltip
if = {
limit = { culture = { has_cultural_parameter =
martial_custom_male_only_combatant } }
custom_tooltip = invite_knights_decision.men.tt
}
else_if = {
limit = { culture = { has_cultural_parameter =
martial_custom_female_only_combatant } }
custom_tooltip = invite_knights_decision.women.tt
}
else = {
custom_tooltip = invite_knights_decision.warriors.tt
}
}

cost = { prestige = { value = medium_prestige_value } }

ai_potential = {
always = no
}

ai_will_do = {
base = 0
}
}

invite_claimants_decision = {
picture = "gfx/interface/illustrations/decisions/decision_realm.dds"
ai_check_interval = 0

desc = invite_claimants_decision_desc

cooldown = { days = 3650 }

is_shown = {
is_landed = yes
primary_title.tier > tier_county
}

effect = {
#A flag to increase weights for claimants in regular guest invites
add_character_flag = {
flag = invite_claimants_decision_active
days = 1825
}
#A counter for the free "extra claimants", will be reduced by 1 for
every extra claimant and extra claimants stops when it reaches 0
set_variable = {
name = number_of_invite_claimants_countdown
value = 3 #If this number changes make sure the tooltips change
days = 1825
}
trigger_event = {
id = minor_decisions.0002
days = { 20 40 }
}

#Effect tooltip
custom_tooltip = invite_claimants_decision.tt
}

cost = { prestige = invite_claimants_decision_prestige_value }

ai_potential = {
always = no
}

ai_will_do = {
base = 0
}
}

scrape_the_barrel_decision = {
picture =
"gfx/interface/illustrations/decisions/decision_knight_kneeling.dds"
ai_check_interval = 0
sort_order = 80

desc = scrape_the_barrel_decision_desc

cooldown = { years = 2 }

is_shown = {
is_landed = yes
has_royal_court = yes
court_grandeur_current_level <= 4
is_vampire_trigger = no
}

effect = {
trigger_event = minor_decisions.0003

#Effect tooltip
custom_tooltip = scrape_the_barrel_decision.tt
}

cost = { prestige = 150 }

ai_potential = {
OR = {
has_trait = humble
has_trait = ambitious
has_trait = deviant
has_trait = intellect_bad
}
}

ai_will_do = {
base = 10
modifier = {
add = 10
has_trait = humble
}
modifier = {
add = 10
has_trait = ambitious
}
modifier = {
add = 10
has_trait = deviant
}
modifier = {
add = 10
has_trait = intellect_bad
}
}
}

You might also like