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

国庫を増減させます。

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

prestige

国威を増減させます。

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

inflation

インフレを増減させます。

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

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

悪評を増減させます。

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

capital

指定のプロヴィンスに遷都させます。

Scope:	country
Syntax:capital = province id

religion

国教、又はプロヴィンスの宗教を変更します。プロヴィンスの場合は「THIS」を指定でき、 その場合は国教と同じ宗教になります。DWでは「heretic」も指定でき同じ宗教グループの 宗教になります。「heathen」は指定できません。

Scope:	country/province
Syntax:religion = religion type/THIS

enable_religion

Enable a certain religion.

Scope:	country
Syntax:enable_religion = religion type

add_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

国の文化を変更します。

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

政治体制を変更します。

Scope:	country
Syntax:government = government type

change_tag

国を変更します。イギリス建国等で使われます。

Scope:	country
Syntax:change_tag = country tag

technology_group

技術グループを変更します。

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

基本税を増減させます。

Scope:	province
Syntax:base_tax = x 			(x = +-1..)

missionaries

宣教師の人数を増減させます。

Scope:	country
Syntax:missionaries = x 		(x = +-1..5)

merchants

商人の人数を増減させます。

Scope:	country
Syntax:merchants = x 		(x = +-1..5)

colonists

入植者の人数を増減させます。

Scope:	country
Syntax:colonists = x 			(x = +-1..5)

spies

スパイの人数を増減させます。

Scope:	country
Syntax:spies = x 			(x = +-1..5)

diplomats

官僚の人数を増減させます。

Scope:	country
Syntax:diplomats = x 			(x = +-1..5)

citysize

プロヴィンスの人口を増減させます。

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

プロヴィンスにcotを作成、又は消去します。

Scope:	province
Syntax:cot = yes/no

add_building

建物を建てます。

Scope:	province
Syntax:add_building = name of building

remove_building

建物を壊します。

Scope:	province
Syntax:remove_building = name of building

trade_goods

交易品を変更します。

Scope:	province
Syntax:trade_goods = type of goods

culture

プロヴィンスの文化を変更します。

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

プロヴィンスを他の国に譲渡します。

Scope:	country
Syntax:province id = { secede_province = country tag }

inherit

指定の国を併合します。

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

指定の国と戦争状態にします。

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)

最新の10件を表示しています。 コメントページを参照

  • Scopeは専用のページがあるから消してもいいですかね?それと名前を「command」じゃなくて「Effect一覧」にした方がいいと思うのですが。 -- ユクシ 2011-11-03 (木) 14:52:37
  • DW日本語版で「add_core = THIS」がうまく動かないなのですが、他の方で試されたかたいませんか? -- ユクシ 2011-11-03 (木) 16:33:56
お名前:

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