Scopes Several commands can change scope. Whenever the scope is changed, every effect from then on will refer to the new country or province. Some effects accept a THIS as an argument, which refers to the country or province that received the event.
Changes the current scope to any available countries.
Scope: country Syntax:any_country = { effects… }
Changes the current scope to any available country.
Scope: country Syntax:random_country = { effects… }
Changes the current scope from the current country to any owned province.
Scope: province Syntax:random_owned = { effects… }
Changes the current scope to any neighbouring province.
Scope: province Syntax:any_neighbor_province = { effects… }
Effects
Deduct/add money to the country’s treasury.
Scope: country Syntax:treasury = x ( x = +-1..)
Increase/decrease the amount of prestige the country has.
Scope: country Syntax:prestige = x ( x = +-0..1)
Increase/decrease the country’s inflation.
Scope: country Syntax:inflation = x ( x = +-1..)
Increase/decrease the country’s stability.
Scope: country Syntax:stability = x (x = -3..3)
Increase/decrease the amount of war exhaustion a country has.
Scope: country Syntax:war_exhuastion = x (x = +-1..10)
manpower Increase/decrease the amount of manpower a country has.
Scope: country Syntax:manpower = x (x = +-0..1)
Increase/decrease the country’s army tradition.
Scope: country Syntax:army_tradition = x (x = +-0..1)
Increase/decrease the country’s naval tradition.
Scope: country Syntax:navy_tradition = x (x = +-0..1)
Increase/decrease the country’s reputation-value.
Scope: country Syntax:badboy = x (x = +- 1..)
Move the capital to a new province.
Scope: country Syntax:capital = province id
Change a country’s religion.
Scope: country Syntax:religion = religion type/THIS
Enable a certain religion.
Scope: country Syntax:enable_religion = religion type
Make a certain province the country’s core.
Scope: country Syntax:add_core = province id/THIS
Loose an existing core on a province.
Scope: country Syntax:remove_core = province id
Change the country’s primary culture.
Scope: country Syntax:primary_culture = culture name/THIS
Make a certain culture accepted by the country.
Scope: country Syntax:add_accepted_culture = culture name/THIS
Remove an accepted culture from the country.
Scope: country Syntax:remove_accepted_culture = culture name
Add/remove an elector.
Scope: country Syntax:elector = yes/no
Give the country a new idea.
Scope: country Syntax:add_idea = name of idea
Remove an existing idea from the country.
Scope: country Syntax:remove_idea = name of idea
Change the current form of government for the country.
Scope: country Syntax:government = government type
Transform the country into a new nation.
Scope: country Syntax:change_tag = country tag
Allow the country to change technology group for better or for worse.
Scope: country Syntax:technology_group = latin/eastern/muslim/indian/chinese/
african/new_world
Add a province modifier with certain effects to a province.
Scope: province Syntax:add_province_modifier = name of modifier
Add a country modifier with certain effects to the country.
Scope: country Syntax:add_country_modifier = name of modifier
Set a flag for the country to indicate that certain criteria have been met.
Scope: country Syntax:set_country_flag = name of flag
Remove a country flag.
Scope: country Syntax:clr_country_flag = name of country flag
Set a flag for a province to indicate that certain criteria have been met.
Scope: province Syntax:set_province_flag = name of province flag
Remove a province flag.
Scope: province Syntax:clr_province_flag = name of province flag
Create a revolt of the specified size in a province.
Scope: province Syntax:create_revolt = x (x = 1/2/3)
Create a fleet of pirates of the specified size in a province.
Scope: none Syntax:province id = { create_pirate = number of ships }
Increase/decrease the natives’ ferocity in a province.
Scope: province Syntax:native_ferocity = x (x = +-1..)
Increase/decrease the natives’ hostileness in a province.
Scope: province Syntax:native_hostileness = x (x = +-1..)
Increase/decrease the size of natives in a province.
Scope: province Syntax:native_size = x (x = +-1..)
Increase/decrease the base tax in a province.
Scope: province Syntax:base_tax = x (x = +-1..)
Increase/decrease the number of missionaries that are available to the country.
Scope: country Syntax:missionaries = x (x = +-1..5)
Increase/decrease the number of merchants that are available to the country.
Scope: country Syntax:merchants = x (x = +-1..5)
Increase/decrease the number of colonists that are available to the country.
Scope: country Syntax:colonists = x (x = +-1..5)
Increase/decrease the number of spies that are available to the country.
Scope: country Syntax:spies = x (x = +-1..5)
Increase/decrease the number of diplomats that are available to the country.
Scope: country Syntax:diplomats = x (x = +-1..5)
Increase/decrease the population of a province.
Scope: province Syntax:citysize = x (x = +-1…)
Allow a province to join/leave the Holy Roman Empire.
Scope: province Syntax:hre = yes/no
Increase/decrease the manpower available in a province.
Scope: province Syntax:change_manpower = x (x = +-1..)
Allow a country to discover a certain province.
Scope: country Syntax:province id = { discover = yes }
Allow a province to gain or loose a center of trade.
Scope: province Syntax:cot = yes/no
Add the specified building to a province.
Scope: province Syntax:add_building = name of building
Remove the specified building from a province.
Scope: province Syntax:remove_building = name of building
Allow a province to change the type of goods it’s currently trading.
Scope: province Syntax:trade_goods = type of goods
Allow a province to change its culture type.
Scope: province Syntax:culture = culture type
Give another country a casus belli on the current country.
Scope: country Syntax:random_country = { casus_belli = THIS } Syntax:any_neighbor_country = { casus_belli = THIS }
Give the current country a casus belli on another country.
Scope: country Syntax:random_country = { add_casus_belli = THIS } Syntax:any_neighbor_country = { add_casus_belli = THIS }
Improve/Worsen relations between two countries. If this is used the scope has to be changed first so that the effects applies to both the current country and some other state.
Scope: country Syntax:relation = { who = country tag/THIS value = x }
Cede a specific province to the specified country.
Scope: country Syntax:province id = { secede_province = country tag }
Allow the country to inherit the specified country.
Scope: country Syntax:inherit = country tag
Allow the country to release the specified country and thereby create a new independent nation.
Scope: country Syntax:release = country tag
Remove an advisor from the country’s court.
Scope: country Syntax:remove_advisor = advisor type
Start a war between the current country and the specified state.
Scope: country Syntax:war = country tag
Create the most advanced cavalry unit available to the current country.
Scope: province Syntax:cavalry = province number/THIS
Create the most advanced infantry unit available to the current country.
Scope: province Syntax:infantry = province number/THIS
Create the most advanced artillery unit available to the current country.
Scope: province Syntax:artillery = province number/THIS
Create the most advanced big ship available to the current country.
Scope: province Syntax:big_ship = province number/THIS
Create the most advanced light ship available to the current country.
Scope: province Syntax:light_ship = province number/THIS
Create the most advanced transport ship available to the current country.
Scope: province Syntax:transport = province number/THIS
Create the most advanced galley ship available to the current country.
Scope: province Syntax:galley = province number/THIS
Increase/decrease the loan size that is set for the country.
Scope: province Syntax:loan_size = x (x = +-1..)
Change the controller of a province.
Scope: province Syntax:change_controller = country tag
policies Move the policy slider the specified amount of steps.
Scope: country Syntax:p = x (x = +-1..5) (p = aristocracy_plutocracy/ centralization_decentralization/ innovative_narrowminded/ mercantilism_freetrade/ offensive_defensive/ land_naval/ quality_quantity/ serfdom_freesubjects)
Invest a certain amount of money into the specified technology.
Scope: province Syntax:t = x (x = +-1..) (t = land_tech naval_tech trade_tech production_tech government_tech)