[[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 [#x28037f6]
Changes the current scope to any available countries.
Scope: country
Syntax:any_country = { effects… }
***random_country [#h899c05c]
Changes the current scope to any available country.
Scope: country
Syntax:random_country = { effects… }
***random_owned [#qdf2ae71]
Changes the current scope from the current country to any owned province.
Scope: province
Syntax:random_owned = { effects… }
***any_neighbor_province [#kc190fe3]
Changes the current scope to any neighbouring province.
Scope: province
Syntax:any_neighbor_province = { effects… }
Effects
***treasury [#x188b208]
国庫を増減させます。
Scope: country
Syntax:treasury = x ( x = +-1..)
***prestige [#y7081f8a]
国威を増減させます。
Scope: country
Syntax:prestige = x ( x = +-0..1)
***inflation [#t0acb668]
インフレを増減させます。
Scope: country
Syntax:inflation = x ( x = +-1..)
***stability [#j25bc1ee]
安定度を増減させます。
Scope: country
Syntax:stability = x (x = -3..3)
***war_exhaustion [#i52e79ff]
Increase/decrease the amount of war exhaustion a country has.
Scope: country
Syntax:war_exhuastion = x (x = +-1..10)
***manpower [#kd373fc4]
Increase/decrease the amount of manpower a country has.
Scope: country
Syntax:manpower = x (x = +-0..1)
***army_tradition [#xbf4de8a]
Increase/decrease the country’s army tradition.
Scope: country
Syntax:army_tradition = x (x = +-0..1)
***navy_tradition [#n77e4dbc]
Increase/decrease the country’s naval tradition.
Scope: country
Syntax:navy_tradition = x (x = +-0..1)
***badboy [#x08929d9]
悪評を増減させます。
Scope: country
Syntax:badboy = x (x = +- 1..)
***capital [#c908d629]
指定のプロヴィンスに遷都させます。
Scope: country
Syntax:capital = province id
***religion [#v04c5e0d]
国教、又はプロヴィンスの宗教を変更します。プロヴィンスの場合は「THIS」を指定でき、
その場合は国教と同じ宗教になります。DWでは「heretic」も指定でき同じ宗教グループの
宗教になります。「heathen」は指定できません。
Scope: country/province
Syntax:religion = religion type/THIS
***enable_religion [#a3db8f48]
Enable a certain religion.
Scope: country
Syntax:enable_religion = religion type
***add_core [#f8d56ed2]
指定のプロヴィンスを中核数にします。
Scope: country
Syntax:add_core = province id/THIS
***remove_core [#va79c46a]
Loose an existing core on a province.
Scope: country
Syntax:remove_core = province id
***primary_culture [#t2027645]
国の文化を変更します。
Scope: country
Syntax:primary_culture = culture name/THIS
***add_accepted_culture [#n5907fbb]
Make a certain culture accepted by the country.
Scope: country
Syntax:add_accepted_culture = culture name/THIS
***remove_accepted_culture [#q853fc1f]
Remove an accepted culture from the country.
Scope: country
Syntax:remove_accepted_culture = culture name
***elector [#i907d699]
Add/remove an elector.
Scope: country
Syntax:elector = yes/no
***add_idea [#x4772554]
Give the country a new idea.
Scope: country
Syntax:add_idea = name of idea
***remove_idea [#jb373a2e]
Remove an existing idea from the country.
Scope: country
Syntax:remove_idea = name of idea
***government [#w557fc3c]
政治体制を変更します。
Scope: country
Syntax:government = government type
***change_tag [#bfb5f37a]
国を変更します。イギリス建国等で使われます。
Scope: country
Syntax:change_tag = country tag
***technology_group [#yced4d13]
技術グループを変更します。
Scope: country
Syntax:technology_group = latin/eastern/muslim/indian/chinese/
african/new_world
***add_province_modifier [#dc0b3649]
Add a province modifier with certain effects to a province.
Scope: province
Syntax:add_province_modifier = name of modifier
***add_country_modifier [#o900d842]
Add a country modifier with certain effects to the country.
Scope: country
Syntax:add_country_modifier = name of modifier
***set_country_flag [#z3f7088c]
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 [#y9c49a53]
Remove a country flag.
Scope: country
Syntax:clr_country_flag = name of country flag
***set_province_flag [#a151b756]
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 [#p12ab9e3]
Remove a province flag.
Scope: province
Syntax:clr_province_flag = name of province flag
***create_revolt [#nb4d22b0]
Create a revolt of the specified size in a province.
Scope: province
Syntax:create_revolt = x (x = 1/2/3)
***create_pirate [#n01311ff]
Create a fleet of pirates of the specified size in a province.
Scope: none
Syntax:province id = { create_pirate = number of ships }
***native_ferocity [#jebe0341]
Increase/decrease the natives’ ferocity in a province.
Scope: province
Syntax:native_ferocity = x (x = +-1..)
***native_hostileness [#x8747cdf]
Increase/decrease the natives’ hostileness in a province.
Scope: province
Syntax:native_hostileness = x (x = +-1..)
***native_size [#ff15bc4a]
Increase/decrease the size of natives in a province.
Scope: province
Syntax:native_size = x (x = +-1..)
***base_tax [#q1fca95e]
基本税を増減させます。
Scope: province
Syntax:base_tax = x (x = +-1..)
***missionaries [#i688625d]
宣教師の人数を増減させます。
Scope: country
Syntax:missionaries = x (x = +-1..5)
***merchants [#sa3b519f]
商人の人数を増減させます。
Scope: country
Syntax:merchants = x (x = +-1..5)
***colonists [#a8f15fd6]
入植者の人数を増減させます。
Scope: country
Syntax:colonists = x (x = +-1..5)
***spies [#z8ca4cf9]
スパイの人数を増減させます。
Scope: country
Syntax:spies = x (x = +-1..5)
***diplomats [#u7a5a0a8]
官僚の人数を増減させます。
Scope: country
Syntax:diplomats = x (x = +-1..5)
***citysize [#p7eb3476]
プロヴィンスの人口を増減させます。
Scope: province
Syntax:citysize = x (x = +-1…)
***hre [#xc138aa0]
Allow a province to join/leave the Holy Roman Empire.
Scope: province
Syntax:hre = yes/no
***change_manpower [#h35f29c2]
Increase/decrease the manpower available in a province.
Scope: province
Syntax:change_manpower = x (x = +-1..)
***discover [#kfee7c15]
Allow a country to discover a certain province.
Scope: country
Syntax:province id = { discover = yes }
***cot [#ub82d96a]
プロヴィンスにcotを作成、又は消去します。
Scope: province
Syntax:cot = yes/no
***add_building [#n48a538e]
建物を建てます。
Scope: province
Syntax:add_building = name of building
***remove_building [#h7abac69]
建物を壊します。
Scope: province
Syntax:remove_building = name of building
***trade_goods [#i8bea2aa]
交易品を変更します。
Scope: province
Syntax:trade_goods = type of goods
***culture [#s3b59c03]
プロヴィンスの文化を変更します。
Scope: province
Syntax:culture = culture type
***casus_belli [#g3357078]
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 [#xd149c4c]
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 [#z30bbc71]
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 [#baccc7fb]
プロヴィンスを他の国に譲渡します。
Scope: country
Syntax:province id = { secede_province = country tag }
***inherit [#rdce3eee]
指定の国を併合します。
Scope: country
Syntax:inherit = country tag
***release [#lcc1a40e]
Allow the country to release the specified country and thereby create a new independent nation.
Scope: country
Syntax:release = country tag
***remove_advisor [#dbb07050]
Remove an advisor from the country’s court.
Scope: country
Syntax:remove_advisor = advisor type
***war [#sbcb94fc]
指定の国と戦争状態にします。
Scope: country
Syntax:war = country tag
***cavalry [#p0dae238]
Create the most advanced cavalry unit available to the current country.
Scope: province
Syntax:cavalry = province number/THIS
***infantry [#f5811bba]
Create the most advanced infantry unit available to the current country.
Scope: province
Syntax:infantry = province number/THIS
***artillery [#n1eac09c]
Create the most advanced artillery unit available to the current country.
Scope: province
Syntax:artillery = province number/THIS
***big_ship [#c3017be9]
Create the most advanced big ship available to the current country.
Scope: province
Syntax:big_ship = province number/THIS
***light_ship [#qd0dd822]
Create the most advanced light ship available to the current country.
Scope: province
Syntax:light_ship = province number/THIS
***transport [#gffa55e7]
Create the most advanced transport ship available to the current country.
Scope: province
Syntax:transport = province number/THIS
***galley [#f01d8bf2]
Create the most advanced galley ship available to the current country.
Scope: province
Syntax:galley = province number/THIS
***loan_size [#r6484d72]
Increase/decrease the loan size that is set for the country.
Scope: province
Syntax:loan_size = x (x = +-1..)
***change_controller [#a41add97]
Change the controller of a province.
Scope: province
Syntax:change_controller = country tag
***policies [#t650d470]
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 [#g58368ce]
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)
***country_event [#r0bf9c68]
国にイベントを発生させます。
Scope: country
Syntax:country_event = event_id
***province_event [#wea5ae72]
プロヴィンスにイベントを発生させます。
Scope: province
Syntax:province_event = event_id
***possible_province_event [#h4704bdd]
#pcomment(,10);
TIME:"2012-05-22 (火) 17:44:34"