MOD作成

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.

any_country Changes the current scope to any available countries. Scope: country Syntax: any_country = { effects… }

random_country Changes the current scope to any available country. Scope: country Syntax: random_country = { effects… }

random_owned Changes the current scope from the current country to any owned province. Scope: province Syntax: random_owned = { effects… }

any_neighbor_province Changes the current scope to any neighbouring province. Scope: province Syntax: any_neighbor_province = { effects… }

Effects

treasury Deduct/add money to the country’s treasury. Scope: country

	Syntax:	treasury = x		( x = +-1..)

prestige Increase/decrease the amount of prestige the country has. Scope: country

	Syntax:	prestige = x 		( x = +-0..1)

inflation Increase/decrease the country’s inflation. Scope: country

	Syntax:	inflation = x 		( x = +-1..)

stability Increase/decrease the country’s stability. Scope: country

	Syntax:	stability = x		(x = -3..3)

war_exhaustion 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)

army_tradition Increase/decrease the country’s army tradition. Scope: country

	Syntax:	army_tradition = x	(x = +-0..1)

navy_tradition Increase/decrease the country’s naval tradition. Scope: country

	Syntax:	navy_tradition = x 	(x = +-0..1)

badboy Increase/decrease the country’s reputation-value. Scope: country

	Syntax:	badboy = x		(x = +- 1..)

capital Move the capital to a new province. Scope: country Syntax: capital = province id

religion Change a country’s religion. Scope: country Syntax: religion = religion type/THIS

enable_religion Enable a certain religion. Scope: country Syntax: enable_religion = religion type

add_core Make a certain province the country’s core. Scope: country Syntax: add_core = province id/THIS

remove_core Loose an existing core on a province. Scope: country Syntax: remove_core = province id

primary_culture Change the country’s primary culture. Scope: country Syntax: primary_culture = culture name/THIS

add_accepted_culture Make a certain culture accepted by the country. Scope: country Syntax: add_accepted_culture = culture name/THIS

remove_accepted_culture Remove an accepted culture from the country. Scope: country Syntax: remove_accepted_culture = culture name

elector Add/remove an elector. Scope: country Syntax: elector = yes/no

add_idea Give the country a new idea. Scope: country Syntax: add_idea = name of idea

remove_idea Remove an existing idea from the country. Scope: country Syntax: remove_idea = name of idea

government Change the current form of government for the country. Scope: country Syntax: government = government type

change_tag Transform the country into a new nation. Scope: country Syntax: change_tag = country tag

technology_group 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_province_modifier Add a province modifier with certain effects to a province. Scope: province Syntax: add_province_modifier = name of modifier

add_country_modifier Add a country modifier with certain effects to the country. Scope: country Syntax: add_country_modifier = name of modifier

set_country_flag Set a flag for the country to indicate that certain criteria have been met. Scope: country Syntax: set_country_flag = name of flag clr_country_flag Remove a country flag. Scope: country Syntax: clr_country_flag = name of country flag

set_province_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

clr_province_flag Remove a province flag. Scope: province Syntax: clr_province_flag = name of province flag

create_revolt Create a revolt of the specified size in a province. Scope: province Syntax: create_revolt = x (x = 1/2/3)

create_pirate Create a fleet of pirates of the specified size in a province. Scope: none Syntax: province id = { create_pirate = number of ships }

native_ferocity Increase/decrease the natives’ ferocity in a province. Scope: province Syntax: native_ferocity = x (x = +-1..)

native_hostileness Increase/decrease the natives’ hostileness in a province. Scope: province Syntax: native_hostileness = x (x = +-1..)

native_size Increase/decrease the size of natives in a province. Scope: province Syntax: native_size = x (x = +-1..)

base_tax Increase/decrease the base tax in a province. Scope: province Syntax: base_tax = x (x = +-1..)

missionaries Increase/decrease the number of missionaries that are available to the country. Scope: country Syntax: missionaries = x (x = +-1..5)

merchants Increase/decrease the number of merchants that are available to the country. Scope: country Syntax: merchants = x (x = +-1..5)

colonists Increase/decrease the number of colonists that are available to the country. Scope: country Syntax: colonists = x (x = +-1..5)

spies Increase/decrease the number of spies that are available to the country. Scope: country Syntax: spies = x (x = +-1..5)

diplomats Increase/decrease the number of diplomats that are available to the country. Scope: country Syntax: diplomats = x (x = +-1..5)

citysize Increase/decrease the population of a province. Scope: province Syntax: citysize = x (x = +-1…)

hre Allow a province to join/leave the Holy Roman Empire. Scope: province Syntax: hre = yes/no

change_manpower Increase/decrease the manpower available in a province. Scope: province Syntax: change_manpower = x (x = +-1..)

discover Allow a country to discover a certain province. Scope: country Syntax: province id = { discover = yes }

cot Allow a province to gain or loose a center of trade. Scope: province Syntax: cot = yes/no

add_building Add the specified building to a province. Scope: province Syntax: add_building = name of building

remove_building Remove the specified building from a province. Scope: province Syntax: remove_building = name of building

trade_goods Allow a province to change the type of goods it’s currently trading. Scope: province Syntax: trade_goods = type of goods

culture Allow a province to change its culture type. Scope: province Syntax: culture = culture type

casus_belli 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 }

add_casus_belli 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 }

relation 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 }

secede_province Cede a specific province to the specified country. Scope: country Syntax: province id = { secede_province = country tag }

inherit Allow the country to inherit the specified country. Scope: country Syntax: inherit = country tag

release Allow the country to release the specified country and thereby create a new independent nation. Scope: country Syntax: release = country tag

remove_advisor Remove an advisor from the country’s court. Scope: country Syntax: remove_advisor = advisor type

war Start a war between the current country and the specified state. Scope: country Syntax: war = country tag

cavalry Create the most advanced cavalry unit available to the current country. Scope: province Syntax: cavalry = province number/THIS

infantry Create the most advanced infantry unit available to the current country. Scope: province Syntax: infantry = province number/THIS

artillery Create the most advanced artillery unit available to the current country. Scope: province Syntax: artillery = province number/THIS

big_ship Create the most advanced big ship available to the current country. Scope: province Syntax: big_ship = province number/THIS

light_ship Create the most advanced light ship available to the current country. Scope: province Syntax: light_ship = province number/THIS

transport Create the most advanced transport ship available to the current country. Scope: province Syntax: transport = province number/THIS

galley Create the most advanced galley ship available to the current country. Scope: province Syntax: galley = province number/THIS

loan_size Increase/decrease the loan size that is set for the country. Scope: province Syntax: loan_size = x (x = +-1..)

change_controller 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)

technology 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)

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS