Modifier list

From Imperator Wiki
Jump to navigation Jump to search

A modifier is a value that affects various attributes depending on the scope it is used in.

Overview[edit]

All modifiers operate on specific scopes when used in script. In Imperator these scopes can be: country, state, province or character.

All modifiers stack additively. For example, if you apply land_morale = 0.1 and then apply land_morale_modifier = 0.3, the country will have land_morale_modifier = 0.4.

However, the effect the modifier value has on its base value can be additive or multiplicative. For example: global_unrest = 1 adds the value to the base Global Unrest, whereas build_cost = 0.1 multiplies the base value by the modifier value.

Country modifiers[edit]

Modifier Example Description Effect Type Version Added
all_power_cost all_power_cost = 0.1 Modifies the cost of all prices for a country Multiplicative 1.0
<price>_cost_modifier stability_cost_modifier = 0.1 Modifies the cost the specified price. Note this is generated for all the price entries in the prices folder. Multiplicative 1.0
war_exhaustion war_exhaustion = 0.1 Modifies the war exhaustion gained by a country. Additive 1.0
max_war_exhaustion max_war_exhaustion = -10 Modifies the maximum war exhaustion of a country. Additive 1.0
monthly_centralization monthly_centralization = 0.1 Modifies the monthly centralization gained by a country. Additive 1.0
monthly_legitimacy monthly_legitimacy = 0.1 Modifies the monthly legitimacy gained by a country. Additive 1.0
monthly_corruption monthly_corruption = 0.1 Modifies the monthly corruption gained by characters in a country. Additive 1.0
monthly_tyranny monthly_tyranny = 0.1 Modifies the monthly tyranny gained by a country. Additive 1.0
global_unrest global_unrest = 1 Modifies the unrest across all cities in a country. Additive 1.0
country_civilization_value country_civilization_value = 1 Modifies the civilization value in a country. Additive 1.0
global_monthly_civilization global_monthly_civilization = 0.1 Modifies the monthly civilization value gained in a country. Multiplicative 1.0
pirate_spawn_chance pirate_spawn_chance = 0.1 Modifies the spawn chance of pirates by the coast of a country. Multiplicative 1.0

Economy[edit]

Modifier Example Description Effect Type Version Added
global_tax_income global_tax_income = 1 Modifies the tax income gained by a country. Additive 1.0
global_tax_modifier global_tax_modifier = 0.1 Modifies the tax income of a country. Multiplicative 1.0
global_capital_trade_routes global_capital_trade_routes = 1 Modifies the number of capital trade routes available in a country. Additive 1.0
global_state_trade_routes global_state_trade_routes = 1 Modifies the number of state trade routes available in a country. Additive 1.0
commerce_value commerce_value = 0.1 Modifies the commerce income gained in a country. Additive 1.0
state_commerce_modifier state_commerce_modifier = 0.1 Modifies the commerce income in a province. Multiplicative 1.1
global_commerce_modifier global_commerce_modifier = 0.1 Modifies the commerce income in a country. Multiplicative 1.0
<building>_cost population_building_cost = 0.1 Modifies the cost the specified building. Note this is generated for all the building entries in the buildings folder. Multiplicative 1.0
build_cost build_cost = 0.1 Modifies the build cost of buildings in a country. Multiplicative 1.0
build_time build_time = 0.1 Modifies the build time of buildings in a country. Multiplicative 1.0
global_building_slot global_building_slot = 1 Modifies the base amount of building slots each city has in a country. Additive 1.0

Government[edit]

Modifier Example Description Effect Type Version Added
senate_influence senate_influence = 0.1 Modifies the senate influence in a country. Additive 1.0
election_term_duration election_term_duration = 1 Modifies the election term duration for a country. Additive 1.0
<party>_influence civic_party_influence = 0.1 Modifies the influence of the specified party. Note this is generated for all the party entries in the party_types folder. Multiplicative 1.0

Technology[edit]

Modifier Example Description Effect Type Version Added
technology_investment technology_investment = 0.1 Modifies the investment into all technologies in a country. Additive 1.0
research_points research_points = 1 Modifies the amount of research points gained in a country. Additive 1.0
research_points_modifier research_points_modifier = 0.1 Modifies the amount of research points gained from citizens in a country. Multiplicative 1.0
<tech>_investment military_tech_investment = 0.1 Modifies the amount of investment into the specified technology. Note this is generated for all the technology entries in the technology_tables folder. Additive 1.0
monthly_<tech>_loyalty monthly_military_tech_loyalty = 0.1 Modifies the monthly loyalty gained by those holding the researcher position for the specified technology. Note this is generated for all the technology entries in the technology_tables folder. Multiplicative 1.0

Religion[edit]

Modifier Example Description Effect Type Version Added
omen_power omen_power = 0.1 Modifies the amount of Omen Power in a country. Additive 1.0
omen_duration omen_duration = 0.1 Modifies the duration of an omen in a country. omen_duration 1.0
convert_pop_cost_modifier convert_pop_cost_modifier = -0.33 Modifies the cost to convert a pop multiplicative 1.0

Diplomacy[edit]

Modifier Example Description Effect Type Version Added
diplomatic_reputation diplomatic_reputation = 1 Modifies the amount of diplomatic reputation a country has. Additive 1.0
diplomatic_relations diplomatic_relations = 1 Modifies the amount of diplomatic relations a country has. Additive 1.0
agressive_expansion_impact agressive_expansion_impact = 0.1 Modifies the impact of aggressive expansion in a country. Multiplicative 1.0
agressive_expansion_monthly_change agressive_expansion_monthly_change = 0.1 Modifies the monthly change in aggressive expansion in a country. Multiplicative 1.0
agressive_expansion_monthly_decay agressive_expansion_monthly_decay = 0.1 Modifies the monthly decay of aggressive expansion in a country. Multiplicative 1.0
tribute_income_modifier tribute_income_modifier = 0.1 Modifies the income from tributaries in a country. Multiplicative 1.0
integrate_speed integrate_speed = 0.1 Modifies the speed of integration of subjects by a country. Multiplicative 1.0
subject_opinions subject_opinions = 0.1 Modifies the opinion of subjects for their overlord country. Used by the overlord. Multiplicative 1.0
subject_loyalty subject_loyalty = 0.1 Modifies the loyalty of subjects for their overlord country. Used by the overlord. Multiplicative 1.0
loyalty_to_overlord loyalty_to_overlord = 0.1 Modifies the loyalty of subjects for their overlord country. Used by the subject. Multiplicative 1.0
improve_relation_impact improve_relation_impact = 0.1 Modifies the impact of the Improve Relations opinion gain. Multiplicative 1.0
war_score_cost war_score_cost = 0.1 Modifies the war score cost of peace terms. Multiplicative 1.0
control_range_modifier control_range_modifier = 0.1 Modifies the control range of a country. Multiplicative 1.0
diplomatic_range_modifier diplomatic_range_modifier = 0.1 Modifies the diplomatic range of a country. Multiplicative 1.0
next_ruler_legitimacy next_ruler_legitimacy = 0.1 Modifies the legitimacy of the next ruler. Additive 1.0
num_of_clan_chiefs num_of_clan_chiefs = 1 Modifies the number of clan chiefs in a tribal government. Additive 1.0
clan_retinue_size clan_retinue_size = 0.1 Modifies the size of a clan chief retinue in a tribal government. Multiplicative 1.0

Military[edit]

Modifier Example Description Effect Type Version Added
global_manpower global_manpower = 0.1 Modifies the manpower in a country. Additive 1.0
global_manpower_modifier global_manpower_modifier = 0.1 Modifies the manpower in a country. Multiplicative 1.0
manpower_recovery_speed manpower_recovery_speed = 0.1 Modifies the recovery speed of manpower in a country. Multiplicative 1.0
global_supply_limit_modifier global_supply_limit_modifier = 0.1 Modifies the supply limit of owned provinces in a country. Multiplicative 1.0
global_cohort_recruit_speed global_cohort_recruit_speed = 0.1 Modifies the recruitment speed of land units. Multiplicative 1.0
global_ship_recruit_speed global_ship_recruit_speed = 0.1 Modifies the recruitment speed of naval units. Multiplicative 1.0
fort_maintenance_cost fort_maintenance_cost = 0.1 Modifies the maintenance cost of forts. Multiplicative 1.0
army_maintenance_cost army_maintenance_cost = 0.1 Modifies the maintenance cost of a country's army. Multiplicative 1.0
navy_maintenance_cost navy_maintenance_cost = 0.1 Modifies the maintenance cost of a country's navy. Multiplicative 1.0
mercenary_maintenance_cost mercenary_maintenance_cost = 0.1 Modifies the maintenance cost of mercenaries hired by a country. Multiplicative 1.0
global_start_experience global_start_experience = 0.1 Modifies the starting experience of recruited units. Multiplicative 1.0
experience_decay experience_decay = 0.1 Modifies the experience decay of units. Multiplicative 1.0
retreat_delay retreat_delay = 0.1 Modifies the delay for retreating units. Multiplicative 1.0
hostile_attrition hostile_attrition = 1 Modifies the hostile attrition experienced by enemy units. Additive 1.0

Land Combat[edit]

Modifier Example Description Effect Type Version Added
<unit>_<terrain>_combat_bonus archers_plains_combat_bonus = 0.1 Modifies the combat bonus on the specified terrain for the specified unit. Note this is generated for all the unit entries in the units folder, for all the terrain entries in the terrain_types folder. Multiplicative 1.0
<unit>_discipline archers_discipline = 0.1 Modifies the discipline of the specified unit. Note this is generated for all the unit entries in the units folder Multiplicative 1.0
<unit>_morale archers_morale = 0.1 Modifies the morale of the specified unit. Note this is generated for all the unit entries in the units folder Multiplicative 1.0
<unit>_offensive archers_offensive = 0.1 Modifies the offensive power of the specified unit. Note this is generated for all the unit entries in the units folder Multiplicative 1.0
<unit>_defensive archers_defensive = 0.1 Modifies the defensive power of the specified unit. Note this is generated for all the unit entries in the units folder Multiplicative 1.0
<unit>_cost archers_cost = 0.1 Modifies the build cost of the specified unit. Note this is generated for all the unit entries in the units folder Multiplicative 1.0
<unit>_maintenance_cost archers_maintenance_cost = 0.1 Modifies the maintenance cost of the specified unit. Note this is generated for all the unit entries in the units folder Multiplicative 1.0
<unit>_movement_speed archers_movement_speed = 0.1 Modifies the movement speed of the specified unit. Note this is generated for all the unit entries in the units folder Multiplicative 1.0
land_morale land_morale = 0.1 Modifies the land morale for land units. Additive 1.0
land_morale_modifier land_morale_modifier = 0.1 Modifies the land morale for land units. Multiplicative 1.0
land_unit_attrition land_unit_attrition = 0.1 Modifies the attrition experienced by land units. Multiplicative 1.0
discipline discipline = 0.1 Modifies the discipline of land units. Multiplicative 1.0
global_defensive global_defensive = 0.1 Modifies the defensiveness of land units. Multiplicative 1.0
cohort_reinforcement_speed cohort_reinforcement_speed = 0.1 Modifies the reinforcement speed of land units. Multiplicative 1.0
land_morale_recovery land_morale_recovery = 0.1 Modifies the morale recovery speed of land units. Additive 1.0
siege_ability siege_ability = 0.1 Modifies the siege speed of land units. Multiplicative 1.0
assault_ability assault_ability = 0.1 Modifies the assault effectiveness of land units. Multiplicative 1.0
siege_engineers siege_engineers = 0.1 Modifies the siege bonus during sieges. Multiplicative 1.0
global_cohort_start_experience global_cohort_start_experience = 0.1 Modifies the starting experience of recruited land units. Multiplicative 1.0

Naval Combat[edit]

Modifier Example Description Effect Type Version Added
naval_morale naval_morale = 0.1 Modifies the naval morale for naval units. Additive 1.0
naval_morale_modifier naval_morale_modifier = 0.1 Modifies the naval morale for naval units. Multiplicative 1.0
naval_unit_attrition naval_unit_attrition = 0.1 Modifies the attrition experienced by naval units. Multiplicative 1.0
naval_morale_recovery naval_morale_recovery = 0.1 Modifies the morale recovery of naval units. Additive 1.0
blockade_efficiency blockade_efficiency = 0.1 Modifies the blockade efficiency of naval units. Multiplicative 1.0
global_ship_start_experience global_ship_start_experience = 0.1 Modifies the starting experience of recruited naval units. Multiplicative 1.0
ship_repair_at_sea ship_repair_at_sea = 0.1 Modifies the amount of ship repair whilst at sea. Additive 1.0

Population[edit]

Modifier Example Description Effect Type Version Added
global_<pop>_output global_slaves_output = 0.1 Modifies the output of the specified pop type. Note this is generated for all the pop entries in the pop_types folder Multiplicative 1.0
global_<pop>_happyness global_slaves_happyness = 0.1 Modifies the happiness of the specified pop type. Note this is generated for all the pop entries in the pop_types folder Additive 1.0
global_<pop>_promotion_cost_modifier global_slaves_promotion_cost_modifier = 0.1 Modifies the promotion cost of the specified pop type. Note this is generated for all the pop entries in the pop_types folder Multiplicative 1.0
global_population_growth global_population_growth = 0.1 Modifies the population growth in cities. Additive 1.0
global_goods_from_slaves global_goods_from_slaves = 0.1 Modifies the amount of slaves needed for a surplus good. Additive 1.0
enslavement_efficiency enslavement_efficiency = 0.1 Modifies the effectiveness of slaves. Multiplicative 1.0

Character[edit]

Modifier Example Description Effect Type Version Added
ruler_popularity_gain ruler_popularity_gain = 0.1 Modifies the popularity gain of the ruler in a country. Additive 1.0
max_loyalty max_loyalty = 10 Modifies the maximum loyalty in a country. Additive 1.0
global_monthly_state_loyalty global_monthly_state_loyalty = 0.1 Modifies the monthly loyalty gain in states. Additive 1.0
monthly_wage_modifier monthly_wage_modifier = 0.1 Modifies the wage costs for characters in a country. Multiplicative 1.0
monthly_governor_wage monthly_governor_wage = 0.1 Modifies the wage costs for governors in a country. Multiplicative 1.0
loyalty_gain_chance_modifier loyalty_gain_chance_modifier = 0.1 Modifies the loyalty gain chance for characters in a country. Multiplicative 1.0
monthly_general_loyalty monthly_general_loyalty = 0.1 Modifies the loyalty gain for general characters in a country. Additive 1.0
monthly_admiral_loyalty monthly_admiral_loyalty = 0.1 Modifies the loyalty gain for admiral characters in a country. Additive 1.0
monthly_governor_loyalty monthly_governor_loyalty = 0.1 Modifies the loyalty gain for governor characters in a country. Additive 1.0
monthly_office_<office>_loyalty monthly_office_pontifex_loyalty = 0.1 Modifies the monthly loyalty of the character employed in the specified office position. Note this is generated for all the office entries in the offices folder. Additive 1.0

State modifiers[edit]

Modifier Example Description Effect Type Version Added
local_monthly_state_loyalty local_monthly_state_loyalty = 0.1 Modifies the monthly loyalty gain in a state. Additive 1.0
local_state_trade_routes local_state_trade_routes = 1 Modifies the amount of trade routes in a state. Additive 1.0

Province modifiers[edit]

Modifier Example Description Effect Type Version Added
local_<pop>_output local_citizen_output = 0.1 Modifies the output of the specified pop. Note this is generated for all the pop entries in the pop_types folder. Multiplicative 1.0
local_<pop>_happyness local_citizen_happyness = 0.1 Modifies the happiness of the specified pop. Note this is generated for all the pop entries in the pop_types folder. Multiplicative 1.0
tax_income tax_income = 0.1 Modifies the tax income in a province. Additive 1.0
local_tax_modifier local_tax_modifier = 0.1 Modifies the tax income in a province. Multiplicative 1.0
local_building_slot local_building_slot = 0.1 Modifies the number of available building slots in a province. Additive 1.0
local_population_growth local_population_growth = 0.1 Modifies the population growth rate in a province. Additive 1.0
local_output_modifier local_output_modifier = 0.1 Modifies the output of all pop types in a province. Multiplicative 1.0
happiness_for_wrong_culture_modifier happiness_for_wrong_culture_modifier = 0.1 Modifies the happiness of pops that belong to a non-primary culture in a province. Additive 1.0
happiness_for_same_culture_modifier happiness_for_same_culture_modifier = 0.1 Modifies the happiness of pops that belong to the primary culture in a province. Additive 1.0
local_goods_from_slaves local_goods_from_slaves = 0.1 Modifies the number of slaves needed for a goods surplus in a province. Additive 1.0
base_resources base_resources = 0.1 Modifies the goods surplus in a province. Additive 1.0
city_monthly_state_loyalty city_monthly_state_loyalty = 0.1 Modifies the state loyalty rate in a province. Additive 1.0
minimum_unrest minimum_unrest = 0.1 Modifies the minimum unrest value in a province. Additive 1.0
local_unrest local_unrest = 0.1 Modifies the unrest in a province. Additive 1.0
local_country_civilization_value local_country_civilization_value = 0.1 Modifies the civilization value in a province. Additive 1.0
barbarian_growth barbarian_growth = 0.1 Modifies the barbarian growth rate in a province. Additive 1.0
barbarian_spawn_chance barbarian_spawn_chance = 0.1 Modifies the barbarian spawn chance in a province. Additive 1.0
monthly_local_governor_wage monthly_local_governor_wage = 0.1 Modifies the governor wage for the governor of the province. Multiplicative 1.0
local_manpower local_manpower = 0.1 Modifies the base manpower gained from a province. Additive 1.0
local_manpower_modifier local_manpower_modifier = 0.1 Modifies the manpower gained from a province. Multiplicative 1.0
attrition attrition = 0.1 Modifies the attrition experienced in a province. Additive 1.0
max_attrition max_attrition = 0.1 Modifies the maximum attrition experienced in a province. Additive 1.0
supply_limit supply_limit = 0.1 Modifies the base supply limit in a province. Additive 1.0
supply_limit_modifier supply_limit_modifier = 0.1 Modifies the supply limit in a province. Multiplicative 1.0
fort_level fort_level = 0.1 Modifies the fort level in a province. Additive 1.0
local_ship_recruit_speed local_ship_recruit_speed = 0.1 Modifies the recruitment speed of ships in a province. Multiplicative 1.0
local_cohort_recruit_speed local_cohort_recruit_speed = 0.1 Modifies the recruitment speed of cohorts in a province. Multiplicative 1.0
garrison_size garrison_size = 0.1 Modifies the size of the garrison in a province. Multiplicative 1.0
garrison_growth garrison_growth = 0.1 Modifies the garrison recovery rate in a province. Multiplicative 1.0
movement_cost movement_cost = 0.1 Modifies the movement cost for units in a province. Multiplicative 1.0
army_movement_speed army_movement_speed = 0.1 Modifies the movement cost for armies in a province. Multiplicative 1.0
navy_movement_speed navy_movement_speed = 0.1 Modifies the movement cost for navies in a province. Multiplicative 1.0
movement_speed_if_no_road movement_speed_if_no_road = 0.1 Modifies the movement cost for units in a province whilst no road exists. Multiplicative 1.0
local_research_points_modifier local_research_points_modifier = 0.1 Modifies the research points gained from a province. Multiplicative 1.0
local_defensive local_defensive = 0.1 Modifies the defensiveness of a province. Multiplicative 1.0
local_commerce_modifier local_commerce_modifier = 0.1 Modifies the commerce income in a province. Multiplicative 1.0
local_monthly_civilization local_monthly_civilization = 0.1 Modifies the monthly civilization rate in a province. Multiplicative 1.0
local_start_experience local_start_experience = 0.1 Modifies the starting experience for units recruited in a province. Multiplicative 1.0
local_cohort_start_experience local_cohort_start_experience = 0.1 Modifies the starting experience for armies recruited in a province. Multiplicative 1.0
local_ship_start_experience local_ship_start_experience = 0.1 Modifies the starting experience for navies recruited in a province. Multiplicative 1.0
local_pirate_spawn_chance local_pirate_spawn_chance = 0.1 Modifies the pirate spawn chance in a province. Multiplicative 1.0
local_hostile_attrition local_hostile_attrition = 0.1 Modifies the hostile attrition experienced in a province. Multiplicative 1.0

Character modifiers[edit]

Modifier Example Description Effect Type Version Added
martial martial = 1 Modifies the Martial skill of a character. Additive 1.0
finesse finesse = 1 Modifies the Finesse skill of a character. Additive 1.0
charisma charisma = 1 Modifies the Charisma skill of a character. Additive 1.0
zeal zeal = 1 Modifies the Zeal skill of a character. Additive 1.0
fertility fertility = 1 Modifies the fertility of a character. Additive 1.0
health health = 0.1 Modifies the health of a character. Additive 1.0
prominence prominence = 0.1 Modifies the prominence of a character. Additive 1.0
current_corruption current_corruption = 0.1 Modifies the minimum corruption for a character. Additive 1.0
disallow_job disallow_job = yes Disables a character from taking any jobs. Boolean 1.0
disallow_office disallow_office = yes Disables a character from taking any offices. Boolean 1.0
disallow_command disallow_command = yes Disables a character from taking any army jobs. Boolean 1.0
monthly_character_wealth monthly_character_wealth = 0.1 Modifies the wealth gain rate of a character. Additive 1.0
primary_heir_attraction primary_heir_attraction = 0.1 Modifies the primary heir support from a character. Multiplicative 1.0
support_for_character_as_heir support_for_character_as_heir = 0.1 Modifies the support for a character as heir. Multiplicative 1.0
max_rivals max_rivals = 1 Modifies the maximum number of rivals a character can have. Additive 1.0
max_friends max_friends = 1 Modifies the maximum number of friends a character can have. Additive 1.0
monthly_wage_for_character monthly_wage_for_character = 0.1 Modifies the monthly wage for a character. Additive 1.0
monthly_wage_on_character_modifier monthly_wage_on_character_modifier = 0.1 Modifies the monthly wage for a character. Multiplicative 1.0
monthly_character_loyalty monthly_character_loyalty = 0.1 Modifies the monthly loyalty rate for a character. Additive 1.0
monthly_character_popularity monthly_character_popularity = 0.1 Modifies the monthly popularity rate for a character. Additive 1.0
monthly_character_popularity_decay monthly_character_popularity_decay = 0.1 Modifies the monthly popularity decay rate for a character. Additive 1.0
monthly_character_prominence monthly_character_prominence = 0.1 Modifies the monthly prominence rate for a character. Additive 1.0
monthly_character_fam_prestige monthly_character_fam_prestige = 0.1 Modifies the monthly prestige rate for a character's family. Additive 1.0
loyalty_gain_chance loyalty_gain_chance = 0.1 Modifies the loyalty gain chance for a character. Additive 1.0
loyalty_gain_chance_modifier loyalty_gain_chance = 0.1 Modifies the loyalty gain chance for a character. Multiplicative 1.0
monthly_<party>_conviction monthly_civic_party_conviction = 0.1 Modifies the monthly party conviction for a republic party. Note this is generated for all the party entries in the party_types folder. Additive 1.0
Documentation EffectsTriggersModifiersScopesVariablesData TypesLocalisationCustomizable localization
Scripting AIBuildingsCasus belliCharacterCharacter InteractionsCombat TacticsCountriesCultureDecisionsDefinesEconomic PoliciesEventsEthnicitiesGovernmentGovernor PoliciesIdeasModifiersMilitary TraditionsOfficesOn ActionsPartiesPricesPopsReligionScript ValuesScript ModifiersSetupSubject TypesTechnologyTrade goodsTraitsUnits
Map MapTerrain
Graphics 3D ModelsInterfaceGraphical AssetsFontsParticlesShadersUnit models
Audio MusicSound
Other Console commandsChecksumMod structureTroubleshooting