Modifier list

From CK3 Wiki
Jump to navigation Jump to search

Modifiers are applied to different scopes.

Note that there are two different things that the game calls "modifier". The first is a long term bonus or penalty that is applied to a character, dynasty, or other game item. The second is something that changes the chances of random effects happening. They are both called "modifier" but they are not related.

Creating a Character Modifier[edit | edit source]

Character modifiers are defined in .txt files in the directory: ../common/modifiers

A character modifier is defined as given below:

my_new_modifier = {
	icon = icon_name
	
	# Modifiers, such as
	# tax_mult = 0.25
	# county_opinion_add = -30
}

Icons[edit | edit source]

Each modifier has an icon that is displayed with its name. It can be set by using icon=icon_name in the main modifier block. The base game has the following modifier icons available:

Name Icon Name Icon
cat_positive cat_negative
cockroach_positive cockroach_negative
county_modifier_control_positive county_modifier_control_negative
county_modifier_corruption_positive county_modifier_corruption_negative
county_modifier_development_positive county_modifier_development_negative
county_modifier_opinion_positive county_modifier_opinion_negative
diplomacy_positive diplomacy_negative
dog_positive dog_negative
dread_positive dread_negative
drink_positive drink_negative
economy_positive economy_negative
family_positive family_negative
feast_positive feast_negative
fertility_positive fertility_negative
food_positive food_negative
health_positive health_negative
horse_positive horse_negative
hunt_positive hunt_negative
intrigue_positive intrigue_negative
learning_positive learning_negative
letter_positive letter_negative
love_positive love_negative
magic_positive magic_negative
martial_positive martial_negative
outdoors_positive outdoors_negative
piety_positive piety_negative
prestige_positive prestige_negative
prison_positive prison_negative
prowess_positive prowess_negative
rat_positive rat_negative
rock_positive rock_negative
social_positive social_negative
spoon_positive spoon_negative
stewardship_positive stewardship_negative
stress_positive stress_negative
treatment_positive treatment_negative

There are more; you can see all of them in gfx/interface/icons/modifiers/ in your game files.

Scripted Modifiers[edit | edit source]

Scripted modifiers work like scripted effects and triggers. They can be invoked without parameters using "name = yes" or can take any number of parameters. They are used to determine the weights of random events and ai choices etc. They are not related to the modifiers that are applied to characters.

Example:

Example modifier[edit | edit source]

example_modifier = {
	modifier = {
		add = { value = 10 multiply = $SCALE$ }
		$CHARACTER_1$ = {
			has_trait = ambitious
		}
	}
	opinion_modifier = {
		target = $CHARACTER_2$
		who = $CHARACTER_1$
		multiplier = { value = 0.25 multiply = $SCALE$ }
	}
	compare_modifier = {
		target = $CHARACTER_1$
		value = stress
		multiplier = $SCALE$
	}
}

Example invocation[edit | edit source]

random_list = {
	1 = {
		example_modifier = {
			CHARACTER_1 = root
			CHARACTER_2 = root
			SCALE = 0.1
		}
	}
}

List of Modifiers[edit | edit source]

These modifiers can be used in the definition of Modifiers to apply different effects to them. Note that this list has been generated from the output of the "script_docs" console command.

Name Description Usage Supported Scopes Category
diplomacy Adds or Subtracts skill points from the characters Diplomacy skill. diplomacy = 1 Any from the Character group. Character
martial Adds or Subtracts skill points from the characters Martial skill. martial = -3 Any from the Character group. Character
stewardship Adds or Subtracts skill points from the characters Stewardship skill. stewardship = 2 Any from the Character group. Character
intrigue Adds or Subtracts skill points from the characters Intrigue skill. intrigue = -2 Any from the Character group. Character
learning Adds or Subtracts skill points from the characters Learning skill. learning = 3 Any from the Character group. Character
prowess Adds or Subtracts skill points from the characters Prowess skill. prowess = 3 Any from the Character group. Character
negate_diplomacy_penalty_add Character
negate_martial_penalty_add Character
negate_stewardship_penalty_add Character
negate_intrigue_penalty_add Character
negate_learning_penalty_add Character
negate_prowess_penalty_add Character
no_prowess_loss_from_age Character
diplomacy_per_piety_level The character will receive or lose a point of Diplomacy skill for every level of piety. diplomacy_per_piety_level = 1 Any from the Character group. Character
martial_per_piety_level The character will receive or lose a point of Martial skill for every level of piety. martial_per_piety_level = -2 Any from the Character group. Character
stewardship_per_piety_level The character will receive or lose a point of Stewardship skill for every level of piety. stewardship_per_piety_level = 1 Any from the Character group. Character
intrigue_per_piety_level The character will receive or lose a point of Intrigue skill for every level of piety. intrigue_per_piety_level = 2 Any from the Character group. Character
learning_per_piety_level The character will receive or lose a point of Learning skill for every level of piety. learning_per_piety_level = -1 Any from the Character group. Character
prowess_per_piety_level The character will receive or lose a point of Prowess skill for every level of piety. prowess_per_piety_level = 1 Any from the Character group. Character
diplomacy_per_prestige_level Any from the Character group. Character
martial_per_prestige_level Character
stewardship_per_prestige_level Character
intrigue_per_prestige_level Character
learning_per_prestige_level Character
prowess_per_prestige_level Character
piety_level_impact_mult Character
prestige_level_impact_mult Character
diplomacy_per_stress_level Character
martial_per_stress_level Character
stewardship_per_stress_level Character
intrigue_per_stress_level Character
learning_per_stress_level Character
prowess_per_stress_level Character
random_skills_per_child Character
fertility Character
health Character
negate_fertility_penalty_add Character
negate_health_penalty_add Character
monthly_income Character
monthly_income_mult Character
monthly_war_income_add Character
monthly_war_income_mult Character
monthly_income_per_stress_level_add Character
monthly_income_per_stress_level_mult Character
monthly_piety Character
monthly_piety_gain_mult Character
monthly_piety_gain_per_happy_powerful_vassal_add Character
monthly_piety_gain_per_happy_powerful_vassal_mult Character
monthly_piety_gain_per_dread_add Character
monthly_piety_gain_per_dread_mult Character
monthly_piety_gain_per_knight_add Character
monthly_piety_gain_per_knight_mult Character
monthly_prestige Character
monthly_prestige_gain_mult Character
monthly_prestige_gain_per_happy_powerful_vassal_add Character
monthly_prestige_gain_per_happy_powerful_vassal_mult Character
monthly_prestige_gain_per_dread_add Character
monthly_prestige_gain_per_dread_mult Character
monthly_prestige_gain_per_knight_add Character
monthly_prestige_gain_per_knight_mult Character
monthly_piety_from_buildings_mult Character
monthly_prestige_from_buildings_mult Character
monthly_dynasty_prestige Character
monthly_dynasty_prestige_mult Character
stress_gain_mult Character
stress_loss_mult Character
monthly_dread Character
dread_gain_mult Character
dread_loss_mult Character
tyranny_gain_mult Character
tyranny_loss_mult Character
monthly_tyranny Character
dread_baseline_add Character
dread_decay_add Character
dread_decay_mult Character
dread_per_tyranny_add Character
dread_per_tyranny_mult Character
domain_limit Character
vassal_limit Character
domain_tax_mult Character
domain_tax_same_faith_mult Character
domain_tax_different_faith_mult Character
domain_tax_mult_even_if_baron Character
domain_tax_same_faith_mult_even_if_baron Character
domain_tax_different_faith_mult_even_if_baron Character
vassal_tax_mult Character
men_at_arms_maintenance Character
men_at_arms_maintenance_per_dread_mult Character
army_maintenance_mult Character
short_reign_duration_mult Character
long_reign_bonus_mult Character
diplomatic_range_mult Character
inbreeding_chance Character
positive_inactive_inheritance_chance Character
negative_inactive_inheritance_chance Character
positive_random_genetic_chance Character
negative_random_genetic_chance Character
genetic_trait_strengthen_chance Character
life_expectancy Adds a number of years to the default life expectancy.
character_modifier = {
    life_expectancy = 5 # Adds +5 years to expected old age death
}
Character
years_of_fertility Character
knight_limit Character
knight_effectiveness_mult Character
title_creation_cost Character
title_creation_cost_mult Character
monthly_lifestyle_xp_gain_mult Character
mercenary_hire_cost_add Character
mercenary_hire_cost_mult Character
same_culture_mercenary_hire_cost_add Character
same_culture_mercenary_hire_cost_mult Character
holy_order_hire_cost_mult Character
holy_order_hire_cost_add Character
same_culture_holy_order_hire_cost_mult Character
same_culture_holy_order_hire_cost_add Character
opinion_of_female_rulers Character
opinion_of_male_rulers Character
opinion_of_same_culture Character
opinion_of_different_culture Character
opinion_of_same_faith Character
opinion_of_different_faith Character
opinion_of_liege Character
opinion_of_vassal Character
opinion_of_different_faith_liege Character
same_culture_opinion Character
different_culture_opinion Character
same_faith_opinion Character
different_faith_opinion Character
direct_vassal_opinion Character
fellow_vassal_opinion Character
independent_ruler_opinion Character
general_opinion Character
attraction_opinion Character
religious_vassal_opinion Character
religious_head_opinion Character
spouse_opinion Character
twin_opinion Character
close_relative_opinion Character
dynasty_house_opinion Character
dynasty_opinion Character
liege_opinion Character
different_faith_liege_opinion Character
vassal_opinion Character
clergy_opinion Character
councillor_opinion Character
realm_priest_opinion Character
powerful_vassal_opinion Character
courtier_opinion Character
guest_opinion Character
courtier_and_guest_opinion Character
prisoner_opinion Character
player_heir_opinion Character
child_opinion Character
child_except_player_heir_opinion Character
eligible_child_opinion Character
eligible_child_except_player_heir_opinion Character
ignore_negative_culture_opinion Character
ignore_different_faith_opinion Character
pursue_efficiency Combat
counter_efficiency Combat
min_combat_roll Combat
max_combat_roll Combat
men_at_arms_limit Affects size of individual regiments Combat
men_at_arms_cap Affects total number of regiments possible Combat
embarkation_cost_mult Combat
naval_movement_speed_mult Combat
siege_phase_time Siege
siege_morale_loss Siege
revolting_siege_morale_loss_add Siege
revolting_siege_morale_loss_mult Siege
vassal_tax_contribution_add Government
vassal_tax_contribution_mult Government
intimidated_vassal_tax_contribution_add Character
intimidated_vassal_tax_contribution_mult Character
cowed_vassal_tax_contribution_add Character
cowed_vassal_tax_contribution_mult Character
vassal_levy_contribution_add Government
vassal_levy_contribution_mult Government
intimidated_vassal_levy_contribution_add Character
intimidated_vassal_levy_contribution_mult Character
cowed_vassal_levy_contribution_add Character
cowed_vassal_levy_contribution_mult Character
happy_powerful_vassal_tax_contribution_add Character
happy_powerful_vassal_tax_contribution_mult Character
happy_powerful_vassal_levy_contribution_add Character
happy_powerful_vassal_levy_contribution_mult Character
scheme_power Scheme
scheme_resistance Scheme
scheme_secrecy Scheme
scheme_success_chance Scheme
hostile_scheme_power_add Character
hostile_scheme_power_mult Character
personal_scheme_power_add Character
personal_scheme_power_mult Character
hostile_scheme_resistance_add Character
hostile_scheme_resistance_mult Character
personal_scheme_resistance_add Character
personal_scheme_resistance_mult Character
diplomacy_scheme_power Character
intrigue_scheme_power Character
stewardship_scheme_power Character
martial_scheme_power Character
prowess_scheme_power Character
learning_scheme_power Character
diplomacy_scheme_resistance Character
intrigue_scheme_resistance Character
stewardship_scheme_resistance Character
martial_scheme_resistance Character
prowess_scheme_resistance Character
learning_scheme_resistance Character
scheme_discovery_chance_mult Character
max_personal_schemes_add Character
max_hostile_schemes_add Character
owned_hostile_scheme_success_chance_add Character
owned_personal_scheme_success_chance_add Character
enemy_hostile_scheme_success_chance_add Character
enemy_personal_scheme_success_chance_add Character
movement_speed Combat
retreat_losses Combat
hard_casualty_modifier Combat
enemy_hard_casualty_modifier Combat
advantage Combat
attacker_advantage Combat
defender_advantage Combat
enemy_terrain_advantage Combat
tolerance_advantage_mod Combat
advantage_against_coreligionists Combat
random_advantage Combat
controlled_province_advantage Combat
no_water_crossing_penalty Combat
raid_speed Combat
hostile_county_attrition Combat
supply_duration Combat
supply_limit_mult Province
supply_limit Province
fort_level Province
supply_capacity_add Province
supply_capacity_mult Province
hostile_raid_time Province
levy_size Holding
garrison_size Holding
levy_reinforcement_rate Holding
levy_reinforcement_rate_same_faith Character
levy_reinforcement_rate_different_faith Character
levy_reinforcement_rate_even_if_baron Character
levy_reinforcement_rate_same_faith_even_if_baron Character
levy_reinforcement_rate_different_faith_even_if_baron Character
levy_reinforcement_rate_friendly_territory Holding
build_speed Holding
build_gold_cost Holding
build_piety_cost Holding
build_prestige_cost Holding
holding_build_speed Holding
holding_build_gold_cost Holding
holding_build_piety_cost Holding
holding_build_prestige_cost Holding
tax_mult Holding
development_growth_factor County
development_growth County
character_capital_county_monthly_development_growth_add Character
monthly_county_control_change_add County
monthly_county_control_change_factor County
monthly_county_control_change_add_even_if_baron County
monthly_county_control_change_factor_even_if_baron County
county_opinion_add County
different_faith_county_opinion_mult County
county_opinion_add_even_if_baron County
different_faith_county_opinion_mult_even_if_baron County
mercenary_count_mult Culture
cultural_head_fascination_add Character
cultural_head_fascination_mult Character
faith_conversion_piety_cost_add Character
faith_conversion_piety_cost_mult Character
faith_creation_piety_cost_add Character
faith_creation_piety_cost_mult Character
ai_boldness AI
ai_compassion AI
ai_sociability AI
ai_greed AI
ai_energy AI
ai_honor AI
ai_rationality AI
ai_vengefulness AI
ai_zeal AI
ai_war_chance AI
ai_war_cooldown AI
castle_holding_build_speed County
castle_holding_build_gold_cost County
castle_holding_build_piety_cost County
castle_holding_build_prestige_cost County
castle_holding_holding_build_speed County
castle_holding_holding_build_gold_cost County
castle_holding_holding_build_piety_cost County
castle_holding_holding_build_prestige_cost County
tribal_holding_build_speed County
tribal_holding_build_gold_cost County
tribal_holding_build_piety_cost County
tribal_holding_build_prestige_cost County
tribal_holding_holding_build_speed County
tribal_holding_holding_build_gold_cost County
tribal_holding_holding_build_piety_cost County
tribal_holding_holding_build_prestige_cost County
city_holding_build_speed County
city_holding_build_gold_cost County
city_holding_build_piety_cost County
city_holding_build_prestige_cost County
city_holding_holding_build_speed County
city_holding_holding_build_gold_cost County
city_holding_holding_build_piety_cost County
city_holding_holding_build_prestige_cost County
church_holding_build_speed County
church_holding_build_gold_cost County
church_holding_build_piety_cost County
church_holding_build_prestige_cost County
church_holding_holding_build_speed County
church_holding_holding_build_gold_cost County
church_holding_holding_build_piety_cost County
church_holding_holding_build_prestige_cost County
<culture>_opinion Works with modded cultures. Character
monthly_diplomacy_lifestyle_xp_gain_mult Character
monthly_martial_lifestyle_xp_gain_mult Character
monthly_stewardship_lifestyle_xp_gain_mult Character
monthly_intrigue_lifestyle_xp_gain_mult Character
monthly_learning_lifestyle_xp_gain_mult Character
court_grandeur_baseline_add Character
learn_language_scheme_power_mult Character
max_learn_language_schemes_add Character

Government Related Modifiers[edit | edit source]

These modifiers affect the opinions and contributions of characters of certain governments towards other characters. The syntax is given in the table below and valid values for <government_name> are: feudal_government, republic_government, theocracy_government, clan_government, tribal_government, mercenary_government, holy_order_government.

Name Description Usage Supported Scopes Category
<government_name>_opinion Character
<government_name>_vassal_opinion Character
<government_name>_opinion_same_faith Character
<government_name>_tax_contribution_add Character
<government_name>_tax_contribution_mult Character
<government_name>_levy_contribution_add Character
<government_name>_levy_contribution_mult Character

Scheme Related Modifiers[edit | edit source]

These modifiers affect the schemes of characters. The syntax is given in the table below and valid values for <scheme_name> are: abduct, befriend, claim_throne, convert_to_witchcraft, courting, elope, fabricate_hook, murder, seduce, sway.

Name Description Usage Supported Scopes Category
max_<scheme_name>_schemes_add Character
<scheme_name>_scheme_power_add Character
<scheme_name>_scheme_power_mult Character
<scheme_name>_scheme_resistance_add Character
<scheme_name>_scheme_resistance_mult Character

Terrain Combat Modifiers[edit | edit source]

These modifiers change the effects of the different terrains on combat. The syntax is given in the table below and valid values for <terrain_name> are: plains, farmlands, hills, mountains, desert, desert_mountains, oasis, jungle, forest, taiga, wetlands, steppe, floodplains, drylands.

Name Description Usage Supported Scopes Category
<terrain_name>_attrition_mult Combat
<terrain_name>_cancel_negative_supply Combat
<terrain_name>_advantage Combat
<terrain_name>_min_combat_roll Combat
<terrain_name>_max_combat_roll Combat

Men-at-Arms Related Modifiers[edit | edit source]

These modifiers affect the size and efficacy of Men-at-Arms units of a character. The syntax is given in the table below and valid values for <men_at_arms_name> are: heavy_infantry, pikemen, archers, light_cavalry, heavy_cavalry, archer_cavalry, camel_cavalry, elephant_cavalry, skirmishers, siege_weapon.

Name Description Usage Supported Scopes Category
<men_at_arms_name>_max_size_add Character
<men_at_arms_name>_max_size_mult Character
<men_at_arms_name>_siege_value_add Character
<men_at_arms_name>_siege_value_mult Character
<men_at_arms_name>_damage_add Character
<men_at_arms_name>_damage_mult Character
<men_at_arms_name>_toughness_add Character
<men_at_arms_name>_toughness_mult Character
<men_at_arms_name>_pursuit_add Character
<men_at_arms_name>_pursuit_mult Character
<men_at_arms_name>_screen_add Character
<men_at_arms_name>_screen_mult Character