差分

ナビゲーションに移動 検索に移動
24,422 バイト除去 、 2023年3月20日 (月) 23:46
スクリプトコマンドの一部効果欄に備考追加
1行目: 1行目:  
{{Version|1.2}}
 
{{Version|1.2}}
   −
このページでは、コンソールウィンドウに入力できるコードの一覧を示します。コンソールウィンドウは特別なデバッグウィンドウで、デバッグモードのときにShift+2、Alt+2+1、Shift+3、{{key press|§}}、{{key press|~}}、{{key press|^}}、{{key press|²}}、または{{key press|`}}(キーはキーボードレイアウトによって異なります<ref>日本語環境下に置いては調査中</ref>)を押すとアクセスできます。QWERTYキーボードの場合、キーは{{key press|`}}<ref>訳者注:バックスラッシュのことです。日本語キーボードではアットマークの部分をシフトを押しながら印可してください</ref>です。それ以外の場合は、上記の組み合わせが機能しなかった場合に、Shift+Alt+Cが機能することがあります。上矢印キーまたは下矢印キーを押して、前に実行したコマンドに移動します。多くのコードは、コマンドを再度繰り返すことによってオフにすることができますが、保存の再読み込みやゲームの終了が必要になる場合もあります。
+
このページでは、コンソールウィンドウに入力できるコードの一覧を示します。コンソールウィンドウは特別なデバッグウィンドウで、デバッグモードのときにShift+2、Alt+2+1、Shift+3、{{key press|§}}、{{key press|~}}、{{key press|^}}、{{key press|²}}、または{{key press|`}}(キーはキーボードレイアウトによって異なります)を押すとアクセスできます。QWERTYキーボードの場合、キーは{{key press|`}}です。'''訳者注:Windowsの日本語キーボード環境においてはエスケープキーの下にある半角/全角漢字キーを押してください。<ref>Macとlinuxの日本語環境の人は追記をお願いいたします。</ref>'''それ以外の場合は、上記の組み合わせが機能しなかった場合に、Shift+Alt+Cが機能することがあります。上矢印キーまたは下矢印キーを押して、前に実行したコマンドに移動します。多くのコードは、コマンドを再度繰り返すことによってオフにすることができますが、保存の再読み込みやゲームの終了が必要になる場合もあります。
    
キャラクターIDは、デバッグモードを有効にした時にキャラクターの上にカーソルを置くと表示されます。
 
キャラクターIDは、デバッグモードを有効にした時にキャラクターの上にカーソルを置くと表示されます。
9行目: 9行目:     
__TOC__
 
__TOC__
 +
 +
== デバッグモード ==
 +
デバッグモードは、ゲーム内のツールのセットで、通常はユーザからは見えません。これを使い、ユーザーは通常の手段を超えてゲームの動作を変更できます。デバッグモードには、次のツールが含まれます。
 +
 +
* コンソールウィンドウ(ユーザがコンソールコマンドを入力するためのもの)
 +
* デバッグメニュー(ポートレートエディタ、GUIエディタ、微調整メニュー、その他いろいろが含まれます)
 +
* [[#Debug info|デバッグ情報]]
 +
* インタラクション(対話型)デバッグ(ユーザーは即座に意見を変えたり、投獄したり、その他いろいろなことができます)
 +
* コントロール(Ctrl)キーを押しながらポートレートをクリックすると、キャラクターをコントロールできます。 オルト(Alt)キーを押しながらクリックすると、キャラクターを殺すことができます。
 +
* 変更されたファイル(Modも含む)を自動的にメモリーに再ロードするファイル監視機構。
 +
 +
=== デバッグモードを有効にする ===
 +
ゲームの起動時にデバッグモードを有効にする必要があります。コンソールウィンドウで無効にすることもできます。
 +
 +
==== Steam ====
 +
デバッグモードでゲームを開始するには、Steam内で右クリックしてゲームのプロパティを設定し、一般タブを開き、起動オプションに'''-debug_mode'''を追加します<ref>訳者注:SteamのUIが変更されたため、元の文章から多少文言を変更しました。この説明だとわからないかもしれないため、その場合は日本語Discordのチャンネルで質問してみてください。</ref>。ゲームをリスタートする必要があります。
 +
 +
==== Steamを使わない ====
 +
また、Steamを使用せずに、CK3のインストールフォルダに移動し、CK3のアプリケーション<ref>訳者注:Windowsだとexeのことです</ref>を右クリックメニューから「ショートカットを作成」を選択してショートカットを作成することで、ゲームをデバッグモードで起動することもできます。新しいショートカットを右クリックし、プロパティを選択します。「ショートカット」 タブで 「リンク先」を表示し、そのテキストの最後に空白を1文字<ref>訳者注:文言を追記しました</ref>とその後ろに'''-debug_mode'''を追加し、「適用」 をクリックします。このショートカットを使用してゲームを起動すると、デバッグモードが有効になります。
 +
 +
==== Xboxゲームパス====
 +
Xboxゲームパス版/Windows 10ストア版では、通常のショートカットを作成できないため、ゲームを開くたびにコマンドプロンプトで次のコマンドを実行する必要があります。
 +
 +
<code>start shell:AppsFolder\ParadoxInteractive.ProjectTitus_zfnrdv2de78ny!App -debug_mode</code>
 +
 +
毎回コマンドプロンプトを実行したくない場合は、上記のコマンドを実行するバッチ (.bat) ファイルを作成し、デスクトップから実行できます。
 +
Windows 10で単純なバッチファイルを作成するには、次の手順に従います。
 +
* スタートボタンを押す
 +
* メモ帳を検索し、一番上の結果をクリックしてアプリを起動する。
 +
* 前述のコマンドを貼り付けます。
 +
* ファイルメニューをクリック
 +
* 保存をクリックするか{{key press|CTRL}} + {{key press|SHIFT}} + {{key press|S}}を押して保存処理をする。
 +
* スクリプトの名前を入力、例えば"ck3debug.bat"など。名前は何でも良いですが、'''.batで終わるように'''してください。
 +
* デスクトップを保存先にする
 +
* 保存をクリックして実行!
 +
 +
=== デバッグモードを無効にする ===
 +
実績を有効にするには、デバッグモードを完全に無効にする必要があります(コンソール・ウィンドウだけでなく)。
 +
 +
==== Steam ====
 +
デバッグモードを無効にするには、Steam内で右クリックしてゲームのプロパティを設定し、一般タブを開き、起動オプションから'''-debug_mode'''を削除します<ref>訳者注:SteamのUIが変更されたため、元の文章から多少文言を変更しました。</ref>ゲームをリスタートする必要があります。
 +
 +
=== デバッグ情報 ===
 +
デバッグモードを有効にすると、キャラクター、インタラクション、イベントに通常のゲームプレイ中は表示されないデバッグ情報が表示されます。
    
== チート ==
 
== チート ==
チートは、純粋なテスト目的ではなく不当な利得を生じさせるのに用いることが可能なコンソールコマンドのことです。
+
 
 +
Cheatはコンソール・コマンドであり、単独のテスト目的ではなく、不公正な利点を与えるために使用できます。スクリプト[[コマンド]]とは異なります。デバッグウィンドウを開いた状態でTabキーを押すとコマンドの一覧が表示され、選択したコマンドを入力した後でもう一度タブ(Tab)キーを押すと、そのコマンドで使用できるパラメータがデバッグウィンドウに表示されます
 +
 
 
{| class="wikitable"
 
{| class="wikitable"
 
! コマンド
 
! コマンド
 
! 効果
 
! 効果
! パラメーター
   
! 例
 
! 例
 
|-
 
|-
| age
+
| age [数値] [キャラクターID]
 
| [キャラクターID]に[数値]分の年齢を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値が負の場合は減算します
 
| [キャラクターID]に[数値]分の年齢を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値が負の場合は減算します
| [数値] [キャラクターID]
   
| age 20
 
| age 20
 
|-
 
|-
| add_claim
+
| add_claim [称号ID] [キャラクターID]
 
| [タイトルID]への請求権を[キャラクターID]に追加します
 
| [タイトルID]への請求権を[キャラクターID]に追加します
| [称号ID] [キャラクターID]
   
| add_claim e_hre
 
| add_claim e_hre
 
|-
 
|-
| add_doctrine
+
| add_doctrine [教義ID] [宗派ID]
 
| [教義ID]を[宗派ID]に追加します。宗派が指定されていない場合はプレイヤーの宗派に追加されます。tabキーを押すことですべての教義IDを閲覧できます
 
| [教義ID]を[宗派ID]に追加します。宗派が指定されていない場合はプレイヤーの宗派に追加されます。tabキーを押すことですべての教義IDを閲覧できます
| [教義ID] [宗派ID]
   
| add_doctrine doctrine_pluralism_fundamentalist catholic
 
| add_doctrine doctrine_pluralism_fundamentalist catholic
 
|-
 
|-
| add_dread
+
| add_dread [数値] [キャラクターID]
 
| [キャラクターID]に[数値]分の恐怖を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値が負の場合は減算します
 
| [キャラクターID]に[数値]分の恐怖を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値が負の場合は減算します
| [数値] [キャラクターID]
   
| add_dread 100
 
| add_dread 100
 
|-
 
|-
| add_maa
+
| add_maa [連隊ID] [キャラクターID]
 
| [キャラクターID]に[連隊ID]の常備軍を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。tabキーを押すことですべての連隊IDを閲覧できます
 
| [キャラクターID]に[連隊ID]の常備軍を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。tabキーを押すことですべての連隊IDを閲覧できます
| [連隊ID] [キャラクターID]
   
| add_maa bowmen
 
| add_maa bowmen
 
|-
 
|-
| add_perk
+
| add_perk [パークID] [キャラクターID]
 
| [キャラクターID]に[パークID]を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。tabキーを押すことですべてのパークIDを閲覧できます
 
| [キャラクターID]に[パークID]を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。tabキーを押すことですべてのパークIDを閲覧できます
| [パークID] [キャラクターID]
   
| add_perk thoughtful_perk
 
| add_perk thoughtful_perk
 
|-
 
|-
| add_piety
+
| add_piety [数値]
 
| プレイヤーキャラクターの信仰点に[数値]分の値を追加します。数値の指定がない場合は1000付与されます
 
| プレイヤーキャラクターの信仰点に[数値]分の値を追加します。数値の指定がない場合は1000付与されます
| [数値]
   
| add_piety 9000
 
| add_piety 9000
 
|-
 
|-
| add_prestige
+
| add_prestige [数値]
 
| プレイヤーキャラクターの威信点に[数値]分の値を追加します。負の値の場合には減算します。数値の指定がない場合は1000付与されます
 
| プレイヤーキャラクターの威信点に[数値]分の値を追加します。負の値の場合には減算します。数値の指定がない場合は1000付与されます
| [数値]
   
| add_prestige 16000
 
| add_prestige 16000
 
|-
 
|-
| add_realm_law
+
| add_realm_law [法律ID] [キャラクターID]
 
| [キャラクターID]の領国で[法律ID]を可決させます。キャラクターの指定がない場合はプレイヤーキャラクターの領国が対象となります。tabキーを押すことですべての法律IDを閲覧できます
 
| [キャラクターID]の領国で[法律ID]を可決させます。キャラクターの指定がない場合はプレイヤーキャラクターの領国が対象となります。tabキーを押すことですべての法律IDを閲覧できます
| [法律ID] [キャラクターID]
   
| add_realm_law crown_authority_3
 
| add_realm_law crown_authority_3
 
|-
 
|-
| add_realm_law_skip_effects
+
| add_realm_law_skip_effects [法律ID] [キャラクターID]
 
| [キャラクターID]の領国に[法律ID]を付与します。キャラクターの指定がない場合はプレイヤーキャラクターの領国が対象となります。tabキーを押すことですべての法律IDを閲覧できます
 
| [キャラクターID]の領国に[法律ID]を付与します。キャラクターの指定がない場合はプレイヤーキャラクターの領国が対象となります。tabキーを押すことですべての法律IDを閲覧できます
| [法律ID] [キャラクターID]
   
| add_realm_law_skip_effects crown_authority_3
 
| add_realm_law_skip_effects crown_authority_3
 
|-
 
|-
| add_relation
+
| add_relation [関係ID] [キャラクターID]
 
| [キャラクターID]と[キャラクターID]の間に[関係ID]を付与します。キャラクターが一人しか指定されていない場合は、プレイヤーキャラクターがもう一方の対象となります
 
| [キャラクターID]と[キャラクターID]の間に[関係ID]を付与します。キャラクターが一人しか指定されていない場合は、プレイヤーキャラクターがもう一方の対象となります
| [関係ID] [キャラクターID]
   
| add_relation friend 1234
 
| add_relation friend 1234
 
|-
 
|-
| add_secret
+
| add_secret [秘密ID]
 
| プレイヤーキャラクターに[秘密ID]を付与します。tabキーを押すことですべての秘密IDを閲覧できます
 
| プレイヤーキャラクターに[秘密ID]を付与します。tabキーを押すことですべての秘密IDを閲覧できます
| [秘密ID]
   
| add_secret secret_witch
 
| add_secret secret_witch
 
|-
 
|-
| add_stress
+
| add_stress [数値] [キャラクターID]
 
| [キャラクターID]に[数値]分のストレスを付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値が負の場合は減算します
 
| [キャラクターID]に[数値]分のストレスを付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値が負の場合は減算します
| [数値] [キャラクターID]
   
| add_stress 50
 
| add_stress 50
 
|-
 
|-
| add_title_law
+
| add_title_law [称号ID] [法律ID]
 
| [称号ID]に[継承法ID]を付与します
 
| [称号ID]に[継承法ID]を付与します
| [称号ID] [法律ID]
   
| add_title_law e_hre feudal_elective_succession_law
 
| add_title_law e_hre feudal_elective_succession_law
 
|-
 
|-
| add_trait
+
| add_trait [特性ID] [キャラクターID]
 
| [キャラクターID]に[特性ID]を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。tabキーを押すことですべての特性IDを閲覧できます
 
| [キャラクターID]に[特性ID]を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。tabキーを押すことですべての特性IDを閲覧できます
| [特性ID] [キャラクターID]
   
| add_trait witch
 
| add_trait witch
 
|-
 
|-
| add_lifestyle_xp_all
+
| add_lifestyle_xp_all [数値] [キャラクターID]
 
| [キャラクターID]に[数値]分の全ライフスタイルの経験値を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値の指定がない場合は1000付与されます
 
| [キャラクターID]に[数値]分の全ライフスタイルの経験値を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値の指定がない場合は1000付与されます
| [数値] [キャラクターID]
   
| add_lifestyle_xp_all 2000
 
| add_lifestyle_xp_all 2000
 
|-
 
|-
| add_diplomacy_lifestyle_xp
+
| add_diplomacy_lifestyle_xp [数値] [キャラクターID]
 
| [キャラクターID]に[数値]分の外交ライフスタイルの経験値を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値の指定がない場合は1000付与されます
 
| [キャラクターID]に[数値]分の外交ライフスタイルの経験値を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値の指定がない場合は1000付与されます
| [数値] [キャラクターID]
   
| add_diplomacy_lifestyle_xp 2000
 
| add_diplomacy_lifestyle_xp 2000
 
|-
 
|-
| add_martial_lifestyle_xp
+
| add_martial_lifestyle_xp [数値] [キャラクターID]
 
| [キャラクターID]に[数値]分の軍事ライフスタイルの経験値を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値の指定がない場合は1000付与されます
 
| [キャラクターID]に[数値]分の軍事ライフスタイルの経験値を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値の指定がない場合は1000付与されます
| [数値] [キャラクターID]
   
| add_martial_lifestyle_xp 2000
 
| add_martial_lifestyle_xp 2000
 
|-
 
|-
| add_stewardship_lifestyle_xp
+
| add_stewardship_lifestyle_xp [数値] [キャラクターID]
 
| [キャラクターID]に[数値]分の管理ライフスタイルの経験値を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値の指定がない場合は1000付与されます
 
| [キャラクターID]に[数値]分の管理ライフスタイルの経験値を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値の指定がない場合は1000付与されます
| [数値] [キャラクターID]
   
| add_stewardship_lifestyle_xp 2000
 
| add_stewardship_lifestyle_xp 2000
 
|-
 
|-
| add_intrigue_lifestyle_xp
+
| add_intrigue_lifestyle_xp [数値] [キャラクターID]
 
| [キャラクターID]に[数値]分の策略ライフスタイルの経験値を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値の指定がない場合は1000付与されます
 
| [キャラクターID]に[数値]分の策略ライフスタイルの経験値を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値の指定がない場合は1000付与されます
| [数値] [キャラクターID]
   
| add_intrigue_lifestyle_xp 2000
 
| add_intrigue_lifestyle_xp 2000
 
|-
 
|-
| add_learning_lifestyle_xp
+
| add_learning_lifestyle_xp [数値] [キャラクターID]
 
| [キャラクターID]に[数値]分の学識ライフスタイルの経験値を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値の指定がない場合は1000付与されます
 
| [キャラクターID]に[数値]分の学識ライフスタイルの経験値を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値の指定がない場合は1000付与されます
| [数値] [キャラクターID]
   
| add_learning_lifestyle_xp 2000
 
| add_learning_lifestyle_xp 2000
 
|-
 
|-
| change_culture
+
| change_culture [伯爵領ID] [文化ID]
 
| [伯爵領ID]の文化を[文化ID]に変更します
 
| [伯爵領ID]の文化を[文化ID]に変更します
| [伯爵領ID] [文化ID]
   
| change_culture 496 swedish
 
| change_culture 496 swedish
 
|-
 
|-
| change_development_level
+
| change_development_level [数値] [伯爵領ID]
 
| [伯爵領ID]に[数値]分の開発度を付与します。伯爵領が指定されていない場合はプレイヤーキャラクターの首都が対象となります。数値が負の場合は減算します
 
| [伯爵領ID]に[数値]分の開発度を付与します。伯爵領が指定されていない場合はプレイヤーキャラクターの首都が対象となります。数値が負の場合は減算します
| [数値] [伯爵領ID]
   
| change_development_level 100 496
 
| change_development_level 100 496
 
|-
 
|-
| change_fervor
+
| change_fervor [数値] [宗派ID]
 
| [宗派ID]に[数値]分の情熱を付与します。宗派が指定されていない場合はプレイヤーキャラクターの宗派が対象となります。数値が負の場合は減算します。数値の指定がない場合は10付与されます
 
| [宗派ID]に[数値]分の情熱を付与します。宗派が指定されていない場合はプレイヤーキャラクターの宗派が対象となります。数値が負の場合は減算します。数値の指定がない場合は10付与されます
| [数値] [宗派ID]
   
| change_fervor 100 catholic
 
| change_fervor 100 catholic
 
|-
 
|-
| change_diplomacy
+
| change_diplomacy [数値] [キャラクターID]
 
| [キャラクターID]に[数値]分の外交能力を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値が負の場合は減算します
 
| [キャラクターID]に[数値]分の外交能力を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値が負の場合は減算します
| [数値] [キャラクターID]
   
| change_diplomacy 16
 
| change_diplomacy 16
 
|-
 
|-
| change_martial
+
| change_martial [数値] [キャラクターID]
 
| [キャラクターID]に[数値]分の軍事能力を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値が負の場合は減算します
 
| [キャラクターID]に[数値]分の軍事能力を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値が負の場合は減算します
| [数値] [キャラクターID]
   
| change_martial 16
 
| change_martial 16
 
|-
 
|-
| change_stewardship
+
| change_stewardship [数値] [キャラクターID]
 
| [キャラクターID]に[数値]分の管理能力を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値が負の場合は減算します
 
| [キャラクターID]に[数値]分の管理能力を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値が負の場合は減算します
| [数値] [キャラクターID]
   
| change_stewardship 16
 
| change_stewardship 16
 
|-
 
|-
| change_intrigue
+
| change_intrigue [数値] [キャラクターID]
 
| [キャラクターID]に[数値]分の策略能力を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値が負の場合は減算します
 
| [キャラクターID]に[数値]分の策略能力を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値が負の場合は減算します
| [数値] [キャラクターID]
   
| change_intrigue 16
 
| change_intrigue 16
 
|-
 
|-
| change_learning
+
| change_learning [数値] [キャラクターID]
 
| [キャラクターID]に[数値]分の学識能力を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値が負の場合は減算します
 
| [キャラクターID]に[数値]分の学識能力を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値が負の場合は減算します
| [数値] [キャラクターID]
   
| change_learning 16
 
| change_learning 16
 
|-
 
|-
| change_prowess
+
| change_prowess [数値] [キャラクターID]
 
| [キャラクターID]に[数値]分の武勇能力を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値が負の場合は減算します
 
| [キャラクターID]に[数値]分の武勇能力を付与します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。数値が負の場合は減算します
| [数値] [キャラクターID]
   
| change_prowess 16
 
| change_prowess 16
 
|-
 
|-
| clear_character_modifiers
+
| clear_character_modifiers [キャラクターID]
 
| [キャラクターID]のすべての補正を削除します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
 
| [キャラクターID]のすべての補正を削除します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
| [キャラクターID]
   
| clear_character_modifiers
 
| clear_character_modifiers
 
|-
 
|-
| clear_title_laws
+
| clear_title_laws [称号ID]
 
| [称号ID]のすべての継承法を削除します
 
| [称号ID]のすべての継承法を削除します
| [称号ID]
   
| clear_title_laws e_hre
 
| clear_title_laws e_hre
 
|-
 
|-
| clear_traits
+
| clear_traits [キャラクターID]
 
| [キャラクターID]のすべての特性を削除します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
 
| [キャラクターID]のすべての特性を削除します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
| [キャラクターID]
   
| clear_traits
 
| clear_traits
 
|-
 
|-
| discover_all_eras
+
| discover_all_eras [キャラクターID]
 
| [キャラクターID]の文化にすべての革新性を発見させます。キャラクターの指定がない場合はプレイヤーキャラクターの文化が対象となります
 
| [キャラクターID]の文化にすべての革新性を発見させます。キャラクターの指定がない場合はプレイヤーキャラクターの文化が対象となります
| [キャラクターID]
   
| discover_all_eras
 
| discover_all_eras
 
|-
 
|-
| discover_era
+
| discover_era [時代ID]
 
| プレイヤーキャラクターの文化に[時代ID]とその時代のすべての革新性を発見させます。tabキーを押すことですべての時代IDを閲覧できます。指定がない場合は現在の時代が対象となります
 
| プレイヤーキャラクターの文化に[時代ID]とその時代のすべての革新性を発見させます。tabキーを押すことですべての時代IDを閲覧できます。指定がない場合は現在の時代が対象となります
| [時代ID]
   
| discover_era culture_era_early_medieval
 
| discover_era culture_era_early_medieval
 
|-
 
|-
| discover_fascination
+
| discover_fascination [キャラクターID]
 
| [キャラクターID]の文化に現在のfascinationを発見させます。キャラクターの指定がない場合はプレイヤーキャラクターの文化が対象となります
 
| [キャラクターID]の文化に現在のfascinationを発見させます。キャラクターの指定がない場合はプレイヤーキャラクターの文化が対象となります
| [キャラクターID]
   
| discover_fascination
 
| discover_fascination
 
|-
 
|-
| discover_innovation
+
| discover_innovation [革新性ID] [キャラクターID]
 
| [キャラクターID]の文化に[革新性ID]を発見させます。キャラクターの指定がない場合はプレイヤーキャラクターの.tabキーを押すことですべての革新性IDを閲覧できます
 
| [キャラクターID]の文化に[革新性ID]を発見させます。キャラクターの指定がない場合はプレイヤーキャラクターの.tabキーを押すことですべての革新性IDを閲覧できます
| [革新性ID] [キャラクターID]
   
| discover_innovation innovation_motte
 
| discover_innovation innovation_motte
 
|-
 
|-
| dynasty_prestige
+
| dynasty_prestige [数値] [王朝ID]
 
| [王朝ID]に[数値]分の名誉を付与します。王朝が指定されていない場合はプレイヤーキャラクターの王朝が対象となります。数値が負の場合は減算します。数値の指定がない場合は1000付与されます
 
| [王朝ID]に[数値]分の名誉を付与します。王朝が指定されていない場合はプレイヤーキャラクターの王朝が対象となります。数値が負の場合は減算します。数値の指定がない場合は1000付与されます
| [数値] [王朝ID]
   
| dynasty_prestige 100000
 
| dynasty_prestige 100000
 
|-
 
|-
 
| end_schemes
 
| end_schemes
 
| プレイヤーキャラクターを対象とするすべての計画が放棄されます
 
| プレイヤーキャラクターを対象とするすべての計画が放棄されます
| なし
   
| end_schemes
 
| end_schemes
 
|-
 
|-
| event
+
| event [イベントID]
 
| [イベントID]を発生させます
 
| [イベントID]を発生させます
| [イベントID]
   
| event lifestyle_nicknames.0001
 
| event lifestyle_nicknames.0001
 
|-
 
|-
| gain_all_dynasty_perks
+
| gain_all_dynasty_perks [キャラクターID]
 
| [キャラクターID]の王朝がすべての王朝の遺産を獲得します。キャラクターの指定がない場合はプレイヤーキャラクターの王朝が対象となります
 
| [キャラクターID]の王朝がすべての王朝の遺産を獲得します。キャラクターの指定がない場合はプレイヤーキャラクターの王朝が対象となります
| [キャラクターID]
   
| gain_all_dynasty_perks
 
| gain_all_dynasty_perks
 
|-
 
|-
| gain_all_perks
+
| gain_all_perks [キャラクターID]
 
| [キャラクターID]にすべてのライフスタイルのパークを与えます。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
 
| [キャラクターID]にすべてのライフスタイルのパークを与えます。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
| [キャラクターID]
   
| gain_all_perks
 
| gain_all_perks
 
|-
 
|-
| give_title
+
| give_title [称号ID] [キャラクターID]
 
| [キャラクターID]に[称号ID]を与えます。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
 
| [キャラクターID]に[称号ID]を与えます。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
| [称号ID] [キャラクターID]
   
| give_title e_hre
 
| give_title e_hre
 
|-
 
|-
| gold
+
| gold [数値]
 
| プレイヤーキャラクターに[数値]分の金を付与します。数値が負の場合は減算します。数値の指定がない場合は1000付与されます
 
| プレイヤーキャラクターに[数値]分の金を付与します。数値が負の場合は減算します。数値の指定がない場合は1000付与されます
| [数値]
   
| add_gold 500
 
| add_gold 500
 
|-
 
|-
 
| instabuild
 
| instabuild
 
| プレイヤーキャラクターの領土内の領地や建築物の建設は1日で完了します。再度入力することで無効化されます
 
| プレイヤーキャラクターの領土内の領地や建築物の建設は1日で完了します。再度入力することで無効化されます
| なし
   
| instabuild
 
| instabuild
 
|-
 
|-
 
| instant_birth
 
| instant_birth
 
| 妊娠期間は1日で終了します。再度入力することで無効化されます
 
| 妊娠期間は1日で終了します。再度入力することで無効化されます
| なし
   
| instant_birth
 
| instant_birth
 
|-
 
|-
| join_era
+
| join_era [時代ID]
 
| [キャラクターID]の文化が[時代ID]に入ります。キャラクターの指定がない場合はプレイヤーキャラクターの文化が対象となります。tabキーを押すことですべての時代IDを閲覧できます
 
| [キャラクターID]の文化が[時代ID]に入ります。キャラクターの指定がない場合はプレイヤーキャラクターの文化が対象となります。tabキーを押すことですべての時代IDを閲覧できます
| [時代ID]
   
| join_era culture_era_high_medieval
 
| join_era culture_era_high_medieval
 
|-
 
|-
| kill
+
| kill [キャラクターID]
 
| [キャラクターID]を殺害します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
 
| [キャラクターID]を殺害します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
| [キャラクターID]
   
| kill
 
| kill
 
|-
 
|-
 
| know_schemes
 
| know_schemes
 
| プレイヤーキャラクターを対象とするすべての計画を発見します
 
| プレイヤーキャラクターを対象とするすべての計画を発見します
| なし
   
| know_schemes
 
| know_schemes
 
|-
 
|-
| merge_culture
+
| merge_culture [文化ID] [文化ID]
 
| [文化ID]のすべての伯爵領が[文化ID]に変化します
 
| [文化ID]のすべての伯爵領が[文化ID]に変化します
| [文化ID] [文化ID]
   
| merge_culture greek swedish
 
| merge_culture greek swedish
 
|-
 
|-
| pregnancy
+
| pregnancy [キャラクターID] [キャラクターID]
| 女性[キャラクターID][キャラクターID]の子を身ごもります。キャラクターの指定がない場合父親は不明になります
+
| [キャラクターID]が父[キャラクターID]の子を身ごもります。キャラクターの指定がない場合父親は不明になります
| [キャラクターID] [キャラクターID]
   
| pregnancy 1234
 
| pregnancy 1234
 
|-
 
|-
| remove_doctrine
+
| remove_doctrine [doctrine id] [宗派ID]
 
| [宗派ID]から[教義ID]を削除します。宗派が指定されていない場合はプレイヤーキャラクターの信仰が対象となります。tabキーを押すことですべての教義IDを閲覧できます
 
| [宗派ID]から[教義ID]を削除します。宗派が指定されていない場合はプレイヤーキャラクターの信仰が対象となります。tabキーを押すことですべての教義IDを閲覧できます
| [doctrine id] [宗派ID]
   
| remove_doctrine doctrine_pluralism_righteous catholic
 
| remove_doctrine doctrine_pluralism_righteous catholic
 
|-
 
|-
| remove_nick
+
| remove_nick [キャラクターID]
 
| [キャラクターID]から現在のニックネームを削除します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
 
| [キャラクターID]から現在のニックネームを削除します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
| [キャラクターID]
   
| remove_nick
 
| remove_nick
 
|-
 
|-
| remove_relation
+
| remove_relation [関係ID] [キャラクターID]
 
| [キャラクターID]と[キャラクターID]の間にある[関係ID]を削除します。キャラクターが一人しか指定されていない場合は、プレイヤーキャラクターがもう一方の対象となります
 
| [キャラクターID]と[キャラクターID]の間にある[関係ID]を削除します。キャラクターが一人しか指定されていない場合は、プレイヤーキャラクターがもう一方の対象となります
| [関係ID] [キャラクターID]
   
| remove_relation friend 1234
 
| remove_relation friend 1234
 
|-
 
|-
| remove_trait
+
| remove_trait [特性ID] [キャラクターID]
 
| [キャラクターID]から[特性ID]を削除します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。tabキーを押すことですべての特性IDを閲覧できます
 
| [キャラクターID]から[特性ID]を削除します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。tabキーを押すことですべての特性IDを閲覧できます
| [特性ID] [キャラクターID]
   
| remove_trait witch
 
| remove_trait witch
 
|-
 
|-
| set_culture
+
| set_culture [文化ID] [キャラクターID]
| [キャラクターID]の文化を[文化ID]に変更します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。tabキーを押すことですべての文化IDを閲覧できます| [文化ID] [キャラクターID]
+
| [キャラクターID]の文化を[文化ID]に変更します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。tabキーを押すことですべての文化IDを閲覧できます
 
| set_culture swedish
 
| set_culture swedish
 
|-
 
|-
| set_dread
+
| set_dread [数値] [キャラクターID]
 
| [キャラクターID]の恐怖を[数値]に設定します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
 
| [キャラクターID]の恐怖を[数値]に設定します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
| [数値] [キャラクターID]
   
| set_dread 100
 
| set_dread 100
 
|-
 
|-
| set_faith
+
| set_faith [宗派ID] [キャラクターID]
 
| [キャラクターID]の宗派を[宗派ID]に設定します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。tabキーを押すことですべての宗派IDを閲覧できます
 
| [キャラクターID]の宗派を[宗派ID]に設定します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります。tabキーを押すことですべての宗派IDを閲覧できます
| [宗派ID] [キャラクターID]
   
| set_faith catholic
 
| set_faith catholic
 
|-
 
|-
| set_focus
+
| set_focus [フォーカスID] [キャラクターID]
 
| [キャラクターID]のフォーカスを[フォーカスID]に設定します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
 
| [キャラクターID]のフォーカスを[フォーカスID]に設定します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
| [フォーカスID] [キャラクターID]
   
| set_focus diplomacy_majesty_focus
 
| set_focus diplomacy_majesty_focus
 
|-
 
|-
| set_nick
+
| set_nick [ニックネームID] [キャラクターID]
 
| [キャラクターID]に[ニックネームID]を与えます。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
 
| [キャラクターID]に[ニックネームID]を与えます。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
| [ニックネームID] [キャラクターID]
   
| set_nick nick_the_lazy
 
| set_nick nick_the_lazy
 
|-
 
|-
| set_sexuality
+
| set_sexuality [性的関心ID] [キャラクターID]
 
| [キャラクターID]の性的指向を[性的関心ID]に変更します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
 
| [キャラクターID]の性的指向を[性的関心ID]に変更します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
| [性的関心ID] [キャラクターID]
   
| set_sexuality bisexual
 
| set_sexuality bisexual
 
|-
 
|-
| set_stress
+
| set_stress [数値] [キャラクターID]
 
| [キャラクターID]のストレスを[数値]に設定します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
 
| [キャラクターID]のストレスを[数値]に設定します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
| [数値] [キャラクターID]
   
| set_stress 0
 
| set_stress 0
 
|-
 
|-
| set_diplomacy
+
| set_diplomacy [数値] [キャラクターID]
 
| [キャラクターID]の外交能力を[数値]に設定します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
 
| [キャラクターID]の外交能力を[数値]に設定します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
| [数値] [キャラクターID]
   
| set_diplomacy 16
 
| set_diplomacy 16
 
|-
 
|-
| set_martial
+
| set_martial [数値] [キャラクターID]
 
| [キャラクターID]の軍事能力を[数値]に設定します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
 
| [キャラクターID]の軍事能力を[数値]に設定します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
| [数値] [キャラクターID]
   
| set_martial 16
 
| set_martial 16
 
|-
 
|-
| set_stewardship
+
| set_stewardship [数値] [キャラクターID]
 
| [キャラクターID]の管理能力を[数値]に設定します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
 
| [キャラクターID]の管理能力を[数値]に設定します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
| [数値] [キャラクターID]
   
| set_stewardship 16
 
| set_stewardship 16
 
|-
 
|-
| set_intrigue
+
| set_intrigue [数値] [キャラクターID]
 
| [キャラクターID]の策略能力を[数値]に設定します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
 
| [キャラクターID]の策略能力を[数値]に設定します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
| [数値] [キャラクターID]
   
| set_intrigue 16
 
| set_intrigue 16
 
|-
 
|-
| set_learning
+
| set_learning [数値] [キャラクターID]
 
| [キャラクターID]の学識能力を[数値]に設定します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
 
| [キャラクターID]の学識能力を[数値]に設定します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
| [数値] [キャラクターID]
   
| set_learning 16
 
| set_learning 16
 
|-
 
|-
| set_prowess
+
| set_prowess [数値] [キャラクターID]
 
| [キャラクターID]の武勇能力を[数値]に設定します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
 
| [キャラクターID]の武勇能力を[数値]に設定します。キャラクターの指定がない場合はプレイヤーキャラクターが対象となります
| [数値] [キャラクターID]
   
| set_prowess 16
 
| set_prowess 16
 
|-
 
|-
 
| yesmen
 
| yesmen
 
| AIキャラクターはすべての提案を受け入れます。再度入力することで無効化されます
 
| AIキャラクターはすべての提案を受け入れます。再度入力することで無効化されます
| なし
   
| yesmen
 
| yesmen
 
|}
 
|}
   −
== Testing commands ==
+
== スクリプトコマンド ==
Testing commands are used for developer, beta tester or modder testing.
+
スクリプトコマンドはより複雑なコンソールコマンドであり、主にイベントの設定等で使用されます。これらは、コンソールでチートとして利用することができます。
 +
 
 
{| class="wikitable"
 
{| class="wikitable"
! Command
+
!コマンド
! Effect
+
!効果
! Parameters
+
!変数
! Example
+
!
|-
  −
| clear
  −
| Clears console history.
  −
| None
  −
| clear
  −
|-
  −
| effect
  −
| Executes a scripted effect.
  −
| [effect script]
  −
| effect test
  −
|-
  −
| faction_spawn
  −
| Spawns [faction type] if there are valid counties or courtiers to create it.
  −
| [faction type]
  −
| faction_spawn peasant_faction
  −
|-
  −
| generate_cadet_coa
  −
| Generates a new coat of arms for the player character's house.
  −
| None
  −
| generate_cadet_coa
  −
|-
  −
| help
  −
| Prints the description of [command], if empty lists all console commands.
  −
| [command]
  −
| help help
  −
|-
  −
| instamove
  −
| Armies more one barony per day.
  −
| None
  −
| instamove
  −
|-
  −
| map_editor
  −
| Opens the map editor.
  −
| None
  −
| map_editor
  −
|-
  −
| nomen
  −
| AI characters refuse all proposals. Entering it again disables it.
  −
| None
  −
| nomen
  −
|-
  −
| observe
  −
| Enters observer mode.
  −
| None
  −
| observe
  −
|-
  −
| play
  −
| Switches character to [character id].
  −
| [character id]
  −
| play 1234
   
|-
 
|-
| portrait_editor
+
|<nowiki>effect = { set_global_variable = { name = char_culture value = root.culture }}</nowiki>
| Opens the portrait editor.
+
|現在のキャラクターの文化をグローバル変数として設定します。<code>global_var</code>が含まれるコマンドでは本コマンドで設定された変数を参照します。
| None
  −
| portrait_editor
  −
|-
  −
| run
  −
| Executes the commands in [file name]. The file must be placed in Documents/Paradox Interactive/Crusader Kings III.
  −
| None
  −
| run test.ini
  −
|-
  −
| set_is_ai
  −
| Allows the AI to control [character id].
  −
| [character id]
  −
| set_is_ai 1234
  −
|-
  −
| set_is_player
  −
| Disallows the AI to control [character id].
  −
| [character id]
  −
| set_is_player 1234
  −
|-
  −
| yesmen
  −
| AI characters accept all proposals. Entering it again disables it.
  −
| None
  −
| yesmen
  −
|}
  −
 
  −
==List of commands==  
  −
 
  −
'''Commands''' or '''effects''' are used in [[scripting]] to alter the target that was selected with [[scopes]] and [[conditions]].
  −
 
  −
They appear in:
  −
* command blocks (the ''immediate'' and ''option'' sections of [[events]], or similar: effect, creation_effect, gain_effect, success, ...)
  −
* [[scripted effect]]s, which can be used to group commands into re-usable macro.
  −
 
  −
(Scripting) commands are different from [[console commands]], though some console commands have a scripting equivalent.
  −
 
  −
Available commands depend on the current [[scope]] type.
  −
{| class="wikitable sortable"
  −
|-
  −
!Command
  −
!Used in vanilla
  −
!Used from scope
  −
!Value type
  −
!Description
  −
!Example
  −
!Category
  −
|-
  −
|add_dynasty_modifier
  −
|
  −
|dynasty
   
|
 
|
|Adds a modifier to a dynasty.
+
|<nowiki>effect = { set_global_variable = { name = char_culture value = root.culture }}</nowiki>
|add_dynasty_modifier = name<br>add_dynasty_modifier = { modifier = name days/weeks/months/years = int }
  −
|Modifiers
   
|-
 
|-
 
+
|<nowiki>effect = { every_held_title = { set_county_culture = global_var:char_culture}}</nowiki>
|add_dynasty_perk
+
|統治者の所領の文化を変更します。
 
|
 
|
|dynasty
+
|<nowiki>effect = { every_held_title = { set_county_culture = char_culture }}</nowiki>
|key
  −
|Adds dynasty perk.
  −
|add_dynasty_perk = key
  −
|Lifestyles
   
|-
 
|-
 
+
|<nowiki>effect = { every_held_title = { set_county_culture = root.culture}}</nowiki>
|add_dynasty_prestige
+
|上のコマンドと同様の効果です。ただし現在のキャラクターの文化を参照するため、この一行だけで実行できます。
|
  −
|dynasty
  −
|int
  −
|Adds dynasty prestige.
   
|
 
|
|Dynasty
+
|<nowiki>effect = { every_held_title = { set_county_culture = root.culture}}</nowiki>
 
|-
 
|-
 
+
|<nowiki>effect = { every_sub_realm_county = { set_county_culture = global_var:char_culture }}</nowiki>
|add_dynasty_prestige_level
+
|すべての封臣領地を統治者の文化に変更します。
|
  −
|dynasty
  −
|
  −
|Adds dynasty prestige levels.
   
|
 
|
|Dynasty
+
| <nowiki>effect = { every_sub_realm_county = { set_county_culture = global_var:char_culture }}</nowiki>
 
|-
 
|-
 
+
|<nowiki>effect = { every_sub_realm_county = { set_county_faith = faith:[宗派ID] }}</nowiki>
|remove_all_dynasty_modifier_instances
+
|すべての封臣領地を指定された[faith: faith id]に変更します。
|
+
|[faith: faith id]
|dynasty
+
| <nowiki>effect = { every_sub_realm_county = { set_county_faith = faith:dynamic_faith_101 }}</nowiki>
|modifier
  −
|Remove all instances of a modifier from a dynasty.
  −
|remove_all_dynasty_modifier_instances = name
  −
|Modifiers
   
|-
 
|-
 
+
|<nowiki>effect = { every_vassal_or_below = { set_culture = global_var:char_culture }}</nowiki>
|remove_dynasty_modifier
+
|すべての封臣とその封臣を統治者の文化に変更します。
 
|
 
|
|dynasty
+
|<nowiki>effect = { every_vassal_or_below = { set_culture = global_var:char_culture }}</nowiki>
|modifier
  −
|Remove a modifier from a dynasty.
  −
|remove_dynasty_modifier = name
  −
|Modifiers
   
|-
 
|-
 
+
|<nowiki>effect = { every_vassal_or_below = { set_character_faith = faith:[宗派ID] }}</nowiki>
|add_house_modifier
+
|すべての封臣とその封臣を統治者の信仰に変えます。
|
+
|[faith: faith id]
|dynasty/house
+
|<nowiki>effect = { every_vassal_or_below = { set_character_faith = faith:dynamic_faith_101 }}</nowiki>
|modifier
  −
|Add a modifier to a house.
  −
|add_house_modifier = name
  −
|Modifiers
   
|-
 
|-
 
+
|<nowiki>effect = { every_courtier_or_guest = { set_culture = global_var:char_culture }}</nowiki>
|remove_all_house_modifier_instances
+
|すべての廷臣と客人を支配者の文化に変えます。
 
|
 
|
|dynasty/house
+
|<nowiki>effect = { every_courtier_or_guest = { set_culture = global_var:char_culture }}</nowiki>
|modifier
  −
|Remove all instances of a modifier from a house.
  −
|remove_all_house_modifier_instances = name
  −
|Modifiers
   
|-
 
|-
 
+
|<nowiki>effect = { every_courtier_or_guest = { set_character_faith = faith:[宗派ID] }}</nowiki>
|remove_house_modifier
+
|すべての廷臣と客人を支配者の信仰に変えます。
|
+
|[faith: faith id]
|dynasty/house
+
|<nowiki>effect = { every_courtier_or_guest = { set_character_faith = faith:dynamic_faith_101 }}</nowiki>
|modifier
  −
|Remove a modifier from a house.
  −
|remove_house_modifier = name
  −
|Modifiers
   
|-
 
|-
 
+
|<nowiki>effect = {house = { every_house_member = { set_culture = global_var:char_culture }}</nowiki>
|add_scheme_modifier
+
|家の一族を支配者の文化に変えます。
 
|
 
|
|scheme
+
|<nowiki>effect = {house = { every_house_member = { set_culture = global_var:char_culture }}</nowiki>
|modifier for "type" and int for "days"
  −
|Adds the specified scheme modifier.<br>
  −
|add_scheme_modifier = { type = X days = Y }<br>(Days are optional, the modifier will expire in Y days if specified)
  −
|Modifiers
   
|-
 
|-
 
+
|<nowiki>effect = {house = { every_house_member = { set_character_faith = faith:[宗派ID] }}</nowiki>
|add_scheme_progress
+
|親族の信仰を支配者のものに変えます
|
+
|[faith: faith id]
|scheme
+
|<nowiki>effect = {house = { every_house_member = { set_character_faith = faith:dynamic_faith_101 }}</nowiki>
|int
  −
|Add progress to the scope scheme. (Progress is in 0.0 - 100.0 range)
  −
|add_scheme_progress = X
  −
|Schemes
   
|-
 
|-
 
+
|<nowiki>effect = {title:[伯爵領ID] = { set_county_faith = faith:[宗派ID] }}</nowiki>
|end_scheme
+
|伯領領の信仰を[宗派ID]に変更します。
|
+
|[title: county id], [faith: faith id]
|scheme
+
|<nowiki>effect = { title:c_byzantion = { set_county_faith = faith:catholic }}</nowiki>
|bool
  −
|Ends a specific scheme and removes it without any other effect.
  −
|end_scheme = yes
  −
|Schemes
   
|-
 
|-
 
+
|<nowiki>effect = { title:[称号ID 1] = { set_de_jure_liege_title = title:[称号ID 2] }}</nowiki>
|expose_scheme
+
|称号の習慣的領土を変更します。例として[称号ID 1]に伯爵領ID(c_)を指定した場合、[称号ID 2]に公爵称号ID(d_)を指定します。
 
|
 
|
|scheme
+
|<nowiki>effect = { title:d_latium = { set_de_jure_liege_title = title:k_italy }}</nowiki>
|
  −
|Exposes the scheme to the defender
  −
|
  −
|Schemes
   
|-
 
|-
 
+
|effect spawn_army = { men_at_arms = { type = [兵士ID] = [数値] } location = capital_province }
|expose_scheme_agent
+
|特別な兵士が追加されます。値の指定がない場合、特別な兵士として徴募兵が100名追加されます。
|
+
|[men at arms type], (amount)
|scheme
+
|effect spawn_army = { men_at_arms = { type = huscarl men = 500 } location = capital_province }
|character
  −
|Exposes the target character as an agent of the current scheme.
  −
|
  −
|Schemes
   
|-
 
|-
 +
|<nowiki>effect = {title:[伯爵領ID] = { title_province = { add_building_slot = [数値] }}}</nowiki>
 +
|指定された数の建築物スロットを伯爵領首都に追加します。また、男爵領を指定した場合、指定された州にスロットを追加します。スロットを減少させたい場合は数値に(<code>-</code>)(マイナス)を付けてください。
 +
|[title : county id], [add_building_slot = amount]
 +
|<nowiki>effect = {title:c_leinster = { title_province = { add_building_slot = 1 }}}</nowiki>
 +
|}
   −
|remove_scheme_modifier
+
==テスト用コマンド==
|
+
テスト用コマンドは、開発者、ベータテスター、または3Dモデラ-のテストに使用されます。
|scheme
  −
|modifier
  −
|Removes the specified scheme modifier.
  −
|
  −
|Modifiers
  −
|-
     −
|scheme_freeze_days
+
{| class="wikitable"
|
+
!コマンド
|scheme
+
!効果
|int
+
!例
|freezes the scheme for X days (0 unfreezes the scheme)
  −
|scheme_freeze_days = X
  −
|Schemes
   
|-
 
|-
 
+
|clear
|add_county_modifier
+
|コンソール履歴を削除します
|
+
|clear
|landed title
  −
|modifier/int
  −
|Add a modifier to a county.
  −
|add_county_modifier = name<br>add_county_modifier = { modifier = name days/weeks/months/years = int }
  −
|Modifiers
   
|-
 
|-
 
+
|effect [effect script]
|change_county_control
+
|スクリプト効果を実行します。
|
+
|effect test
|landed title
  −
|int
  −
|Changes the county control of a title. If the title has higher tier than county, the effect will propagate down to all counties below it.
  −
|
  −
|Control
   
|-
 
|-
 
+
|faction_spawn [faction type]
|change_de_jure_drift_progress
+
|有効な伯爵領または廷臣がいる場合に[faction type](派閥タイプ)を生成します。
|
+
|faction_spawn peasant_faction
|landed title
  −
|title/int
  −
|Change the progress of de jure drift of a title.
  −
|<drifting_title> = { change_de_jure_drift_progress = { target = <drift_target_title>  values = <progress_change_value> } }
  −
|Title
   
|-
 
|-
 
+
|generate_cadet_coa
|change_development_level
+
|プレイヤーキャラクタの家に新しい常備軍を生成します。
|
+
|generate_cadet_coa
|landed title
  −
|int
  −
|Changes the development level of a title. If the title has higher tier than county, the effect will propagate down to all counties below it.
  −
|
  −
|Title
   
|-
 
|-
 
+
|help [command]
|change_development_progress
+
|[command]のヘルプを出力します。空の場合は、すべてのコンソールコマンドが表示されます。
|
+
|help help
|landed title
  −
|int
  −
|Changes the development progress of a title. If the title has higher tier than county, the effect will propagate down to all counties below it.
  −
|
  −
|Development
   
|-
 
|-
 
+
|instamove
|change_development_progress_with_overflow
+
|Armies more one barony per day.
|
+
|instamove
|landed title
  −
|int
  −
|Changes the development progress of a title. If the title has higher tier than county, the effect will propagate down to all counties below it. Will overflow, so adding +100 to a county with 50 progress left will increase the level by 1 and result in 50 progress towards the next level.
  −
|
  −
|Development
   
|-
 
|-
 
+
| map_editor
|clear_title_laws
+
|マップエディタを開きます。
|
+
|map_editor
|landed title
  −
|bool
  −
|Remove all title laws from the scoped title. DOES NOT apply law removal costs and effects.
  −
|clear_title_laws = yes
  −
|Laws
   
|-
 
|-
 
+
|nomen
|clear_title_laws_effects
+
|AIキャラクターはすべての提案を拒否します。再度入力すると無効になります。
|
+
|nomen
|landed title
  −
|bool
  −
|Remove all title laws from the scoped title. DOES apply law removal costs and effects.
  −
|clear_title_laws_effects = yes
  −
|Laws
   
|-
 
|-
 
+
|observe
|copy_title_history
+
|観戦モードに入ります。
|
+
|observe
|landed title
  −
|title
  −
|Copy title history from another title.
  −
|copy_title_history = source_title
  −
|Titles
   
|-
 
|-
 
+
|play [character id]
|remove_all_county_modifier_instances
+
|プレイヤーキャラクターを[character id]にチェンジします。
|
+
|play 1234
|landed title
  −
|modifier
  −
|Remove all instances of a modifier from a county.
  −
|remove_all_county_modifier_instances = name
  −
|Modifiers
   
|-
 
|-
 
+
|portrait_editor
|remove_county_modifier
+
|ポートレートエディタを開きます。
|
+
|portrait_editor
|landed title
  −
|modifier
  −
|Remove a modifier from a county.
  −
|remove_county_modifier = name
  −
|Modifiers
   
|-
 
|-
 
+
|run [file name]
|reset_title_name
+
|[file name]のコマンドを実行します。ファイルはDocuments/Paradox Interactive/Crusader Kings IIIに保存する必要があります。
|
+
|run test.ini
|landed title
  −
|bool
  −
|Sets the name and adjective of the scoped title back to being based on its key. Won't cause the prefix to change.
  −
|reset_title_name = yes
  −
|Title
   
|-
 
|-
 
+
|set_is_ai [character id]
|reset_title_prefix
+
| [character id]のAIによる制御を許可します。
|
+
|set_is_ai 1234
|landed title
  −
|bool
  −
|Sets the prefix of the scoped title back to being based on its key. Won't cause its adjective or name to change.
  −
|reset_title_prefix = yes
  −
|Title
   
|-
 
|-
 
+
|set_is_player [character id]
|revoke_lease
+
|[character id]のAIによる制御を禁止します。
|
+
|set_is_player 1234
|landed title
  −
|bool
  −
|Revoke the lease of the scoped title.
  −
|revoke_lease = yes
  −
|Title
   
|-
 
|-
 +
|yesmen
 +
|AIキャラクターはすべての提案を受け入れます。再度入力することで無効化されます
 +
|yesmen
 +
|}
   −
|set_always_follows_primary_heir
+
==特性ID==
|
+
{{main|特性}}
|landed title
+
すべての特性には、ゲームによって内部的に参照されるIDがあります。これらは、<code>game\common\traits\00_traits.txt</code>にあります。特性IDは通常、その名前と一致します。名前から特性IDを取得するには、次の手順を実行します。
|bool
  −
|Sets if the title should always go to the primary heir in partition succession.
  −
|set_always_follows_primary_heir = yes
  −
|Title
  −
|-
     −
|set_capital_county
+
*特性がゲーム内で2つの名前を表示する場合は、カッコ内の名前を使用します。
|
+
*すべてのアポストロフィ (<code>'</code>) を削除します。
|landed title
+
*スペース(<code> </code>)とダッシュ (<code>-</code>) をアンダースコア (<code>_</code>) に置き換えます。
|title
+
*すべての大文字を小文字に変換します (<code>A...Z->a...z</code>)
|Sets the capital county of the title to the target county.
  −
|set_capital_county = <some county title>
  −
|Title
  −
|-
     −
|set_color_from_title
+
このパターンに従わない特性は、参照用に以下に一覧されています。
|
  −
|landed title
  −
|title
  −
|Sets the color of the title to the same as the target title (shifted very slightly to not be identical).
  −
|set_color_from_title = <some title>
  −
|Title
  −
|-
     −
|set_county_culture
+
===教育特性===
|
  −
|landed title
  −
|culture/title
  −
|Sets the culture of a county.
  −
|set_county_culture = english/root.character_culture
  −
|Title
  −
|-
     −
|set_county_faith
+
{| class="wikitable" style="float: left; margin-right: 30px;"
|
+
!特性 (教育)
|landed title
+
!ID
|faith
  −
|Changes what faith a county has.
  −
|
  −
|Title
   
|-
 
|-
 
+
|{{iconify|Naive Appeaser||||気弱な仲介人(Naive Appeaser)}}
|set_de_jure_liege_title
+
| education_diplomacy_1
|
  −
|landed title
  −
|title
  −
|Set a new DeJure liege title.
  −
|set_de_jure_liege_title = new_de_jure_liege
  −
|Title
   
|-
 
|-
 
+
|{{iconify|Adequate Bargainer||||平凡な交渉人(Adequate Bargainer)}}
|set_definitive_form
+
|education_diplomacy_2
|
  −
|landed title
  −
|bool
  −
|Sets if the title should use a definitive form name (no 'Kingdom of').
  −
|set_definitive_form = yes
  −
|Title
   
|-
 
|-
 
+
|{{iconify|Charismatic Negotiator||||魅力的な交渉人(Charismatic Negotiator)}}
|set_delete_on_destroy
+
|education_diplomacy_3
|
  −
|landed title
  −
|bool
  −
|Sets if the title should be deleted from the gamestate completely when it is destroyed.
  −
|set_delete_on_destroy = yes
  −
|Title
   
|-
 
|-
 
+
|{{iconify|Grey Eminence||||影の実力者(Grey Eminence)}}
|set_destroy_if_invalid_heir
+
|education_diplomacy_4
|
  −
|landed title
  −
|bool
  −
|Sets if the title should be destroyed on succession if there's no heir matching its restrictions.
  −
|set_destroy_if_invalid_heir = yes
  −
|Title
   
|-
 
|-
 
+
|{{iconify|Misguided Warrior||||将才なき戦士(Misguided Warrior)}}
|set_destroy_on_succession
+
|education_martial_1
|
  −
|landed title
  −
|bool
  −
|Sets if the title should be destroyed on succession.
  −
|set_destroy_on_succession = yes
  −
|Title
   
|-
 
|-
 
+
|{{iconify|Tough Soldier||||不屈の軍人(Tough Soldier)}}
|set_landless_title
+
|education_martial_2
|
  −
|landed title
  −
|bool
  −
|Sets if the title is landless (can be held by rulers with no land)
  −
|set_landless_title = yes
  −
|Title
   
|-
 
|-
 
+
|{{iconify|Skilled Tactician||||熟練の戦術家(Skilled Tactician)}}
|set_no_automatic_claims
+
| education_martial_3
|
  −
|landed title
  −
|bool
  −
|Sets if the title should disallow automatic claims (meaning claims will only be added by script, and by pressed claims being inherited).
  −
|set_no_automatic_claims = yes
  −
|Title
   
|-
 
|-
 
+
|{{iconify|Brilliant Strategist||||不世出の戦略家(Brilliant Strategist)}}
|set_title_name
+
|education_martial_4
|
  −
|landed title
  −
|key
  −
|sets the name (localization key) of the scoped title. The adjective will be constructed by adding '_adj' to the localisation key. Won't cause the prefix to change.
  −
|set_title_name = TEST_NAME_PLEASE_IGNORE
  −
|Title
   
|-
 
|-
 
+
|{{iconify|Indulgent Wastrel||||世間知らずの甘ちゃん(Indulgent Wastrel)}}
|set_title_prefix
+
|education_stewardship_1
|
  −
|landed title
  −
|key
  −
|sets the prefix of the scoped title. Won't cause its name or adjective to change.
  −
|set_title_prefix = PREFIX_THE
  −
|Title
   
|-
 
|-
 
+
|{{iconify|Thrifty Clerk||||ケチな出納係(Thrifty Clerk)}}
|title_create_faction
+
|education_stewardship_2
|
  −
|landed title
  −
|faction<br>character/title
  −
|The scoped landed title creates a faction of the specified type against the specified target.
  −
|title_create_faction = { type = X target = Y }
  −
|Factions
   
|-
 
|-
 
+
|{{iconify|Fortune Builder||||金儲けの達人(Fortune Builder)}}
|title_join_faction
+
|education_stewardship_3
|
  −
|landed title
  −
|faction
  −
|The landed title in the scope joins the assigned faction.
  −
|
  −
|Factions
   
|-
 
|-
 
+
|{{iconify|Midas Touched||||経済の錬金術師(Midas Touched)}}
|title_leave_faction
+
|education_stewardship_4
|
  −
|landed title
  −
|faction
  −
|The title in the scope leaves the assigned faction
  −
|
  −
|Factions
   
|-
 
|-
 
+
|{{iconify|Amateurish Plotter||||稚拙な陰謀家(Amateurish Plotter)}}
|end_story
+
|education_intrigue_1
|
  −
|story cycle
  −
|
  −
|Ends a story and executes it's on_end effect, the story can no longer be accessed after this.
  −
|
  −
|Stories
   
|-
 
|-
 
+
|{{iconify|Flamboyant Trickster||||華麗なトリックスター(Flamboyant Trickster)}}
|make_story_owner
+
|education_intrigue_2
|
  −
|story cycle
  −
|character
  −
|Makes the character the new owner of the story.
  −
|make_story_owner = character_target
  −
|Stories
   
|-
 
|-
 
+
|{{iconify|Intricate Webweaver||||緻密な策略家(Intricate Webweaver)}}
|add_innovation
+
|education_intrigue_3
|
  −
|culture
  −
|innovation
  −
|Add innovation to a culture.
  −
|
  −
|Innovations
   
|-
 
|-
 
+
|{{iconify|Elusive Shadow||||稀代の黒幕(Elusive Shadow)}}
|add_random_innovation
+
|education_intrigue_4
|
  −
|culture
  −
|innovation/bool
  −
|Add random available innovation
  −
|<culture> = { add_random_innovation = culture_group_military/culture_group_civic/culture_group_regional/yes }
  −
|Innovations
   
|-
 
|-
 
+
|{{iconify|Conscientious Scribe||||愚直な写字生(Conscientious Scribe)}}
|get_all_innovations_from
+
|education_learning_1
|
  −
|culture
  −
|culture
  −
|Discover all innovations from the target culture.
  −
|get_all_innovations_from = <culture>
  −
|Innovations
   
|-
 
|-
 
+
|{{iconify|Insightful Thinker||||洞察力のある思想家(Insightful Thinker)}}
|get_random_innovation_from
+
|education_learning_2
|
  −
|culture
  −
|
  −
|Get random available innovation from another culture.
  −
|
  −
|Innovations
   
|-
 
|-
 
+
|{{iconify|Astute Intellectual||||鋭敏な知識人(Astute Intellectual)}}
|add_character_flag
+
|education_learning_3
|
  −
|character
  −
|flag
  −
|Adds a character flag.
  −
|add_character_flag = X<br>add_character_flag = { flag = X days/weeks/years = Y } X is the name of the flag and Y is a value or value interval "{ min max }".
  −
|Flags
   
|-
 
|-
 
+
|{{iconify|Mastermind Philosopher||||並ぶ者無き哲学者(Mastermind Philosopher)}}
|add_character_modifier
+
|education_learning_4
|
  −
|character
  −
|modifier/int
  −
|Add a modifier to a character.
  −
|add_character_modifier = name<br>add_character_modifier = { modifier = name days/weeks/months/years = int }
  −
|Modifiers
   
|-
 
|-
 
+
|{{iconify|Bumbling Squire||||ドジな従騎士(Bumbling Squire)}}
|add_courtier
+
|education_martial_prowess_1
|
  −
|character
  −
|character
  −
|Add the target character to the scope character's court.
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Confident Knight||||勝気な騎士(Confident Knight)}}
|add_diplomacy_lifestyle_perk_points
+
| education_martial_prowess_2
|
  −
|character
  −
|int
  −
|Adds lifestyle per points to the given character.
  −
|
  −
|Lifestyles
   
|-
 
|-
 
+
|{{iconify|Formidable Banneret||||恐るべき旗騎士(Formidable Banneret)}}
|add_diplomacy_lifestyle_xp
+
|education_martial_prowess_3
|
  −
|character
  −
|int
  −
|Adds lifestyle XP to the given character.
  −
|
  −
|Lifestyles
   
|-
 
|-
 +
|{{iconify|Famous Champion||||名高き闘士(Famous Champion)}}
 +
|education_martial_prowess_4
 +
|}
 +
{{clear}}
   −
|add_dread
+
=== 先天性特性===
|
+
{| class="wikitable" style="float: left; margin-right: 30px;"
|character
+
!特性(先天性)
|int
+
!ID
|Adds (or removes) dread to a character.
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Homely||||不細工(Homely)}}
|add_gold
+
| beauty_bad_1
|
  −
|character
  −
|
  −
|Adds gold to a character.
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Ugly||||醜面(Ugly)}}
|add_hook
+
|beauty_bad_2
|
  −
|character
  −
|hook/character/secret/int
  −
|Adds a hook on a character. Does send a toast to the player if it's involved.
  −
|add_hook = { type = X, target = Y, secret = Z, days/months/years = W  }<br>days/months/years optional (taken from hook type otherwise) and can be a value or an interval, secret required for hook types that require it.
  −
|Hooks and Secrets
   
|-
 
|-
 
+
|{{iconify|Hideous||||醜悪(Hideous)}}
|add_hook_no_toast
+
|beauty_bad_3
|
  −
|character
  −
|hook/character/secret/int
  −
|Adds a hook on a character. Does NOT send a toast to the player.
  −
|add_hook = { type = X, target = Y, secret = Z, days/months/years = W  }<br>days/months/years optional (taken from hook type otherwise) and can be a value or an interval, secret required for hook types that require it.
  −
|Hooks and Secrets
   
|-
 
|-
 
+
|{{iconify|Comely||||綺麗(Comely)}}
|add_intrigue_lifestyle_perk_points
+
|beauty_good_1
|
  −
|character
  −
|int
  −
|Adds lifestyle per points to the given character.
  −
|
  −
|Lifestyles
   
|-
 
|-
 
+
|{{iconify|Handsome||||見目麗しき(Handsome)}} / 佳麗(Pretty)
|add_intrigue_lifestyle_xp
+
|beauty_good_2
|
  −
|character
  −
|int
  −
|Adds lifestyle XP to the given character.
  −
|
  −
|Lifestyles
   
|-
 
|-
 
+
|{{iconify|Beautiful||||美人(Beautiful)}}
|add_joined_faction_discontent
+
|beauty_good_3
|
  −
|character
  −
|int
  −
|Adds (or subtracts) discontent to the factions the scope character is in.
  −
|add_joined_faction_discontent = X
  −
|Factions
   
|-
 
|-
 
+
|{{iconify|Slow||||愚鈍(Slow)}}
|add_knows_of_killer
+
|intellect_bad_1
|
  −
|character
  −
|character
  −
|Adds the right hand side character as knowing of the killer of the scoped object.
  −
|dead_person = { add_knows_of_killer = root }
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Stupid||||間抜け(Stupid)}}
|add_learning_lifestyle_perk_points
+
|intellect_bad_2
|
  −
|character
  −
|int
  −
|Adds lifestyle per points to the given character.
  −
|
  −
|Lifestyles
   
|-
 
|-
 
+
|{{iconify|Imbecile||||低能(Imbecile)}}
|add_learning_lifestyle_xp
+
|intellect_bad_3
|
  −
|character
  −
|int
  −
|Adds lifestyle XP to the given character
  −
|
  −
|Lifestyles
   
|-
 
|-
 
+
|{{iconify|Quick||||明敏(Quick)}}
|add_martial_lifestyle_perk_points
+
|intellect_good_1
|
  −
|character
  −
|int
  −
|Adds lifestyle per points to the given character.
  −
|
  −
|Lifestyles
   
|-
 
|-
 
+
|{{iconify|Intelligent||||聡明(Intelligent)}}
|add_martial_lifestyle_xp
+
|intellect_good_2
|
  −
|character
  −
|int
  −
|Adds lifestyle XP to the given character.
  −
|
  −
|Lifestyles
   
|-
 
|-
 
+
|{{iconify|Genius||||天才(Genius)}}
|add_opinion
+
|intellect_good_3
|
  −
|character
  −
|modifier/int/character
  −
|Adds a temporary opinion modifier.
  −
|add_opinion = { modifier = X days/months/years = Y target = Z }
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Delicate||||繊細(Delicate)}}
|add_perk
+
|physique_bad_1
|
  −
|
  −
|character
  −
|Adds the perk for this character
  −
|
  −
|Lifestyles
   
|-
 
|-
 
+
|{{iconify|Frail||||軟弱(Frail)}}
|add_piety
+
|physique_bad_2
|
  −
|character
  −
|
  −
|Gives (or takes) piety to a character.
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Feeble||||脆弱(Feeble)}}
|add_piety_experience
+
|physique_bad_3
|
  −
|character
  −
|
  −
|Gives (or takes) piety experience to a character.
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Hale||||強健(Hale)}}
|add_piety_level
+
|physique_good_1
|
  −
|character
  −
|
  −
|Increases (or decreases) the piety level of a character.
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Robust||||頑強(Robust)}}
|add_pressed_claim
+
|physique_good_2
|
  −
|character
  −
|landed title
  −
|Gives a pressed claim to a character.
  −
|
  −
|Title
   
|-
 
|-
 
+
|{{iconify|Amazonian||||アマゾネス(Amazonian)}} ヘラクレス/ (Herculean)
|add_prestige
+
|physique_good_3
|
  −
|character
  −
|
  −
|Gives (or takes) prestige to a character.
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Melancholic||||鬱(Melancholic)}}
|add_prestige_experience
+
|depressed_1 / depressed_genetic
|
  −
|character
  −
|
  −
|Gives (or takes) prestige experience to a character.
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Lunatic||||狂気(Lunatic)}}
|add_prestige_level
+
|lunatic_1 / lunatic_genetic
|
  −
|character
  −
|
  −
|Increases (or decreases) the prestige level of a character.
  −
|
  −
|Characters
  −
|-
  −
 
  −
|add_realm_law
  −
|
  −
|character
  −
|
  −
|Adds the given law to the scoped character.
  −
|
  −
|Laws
  −
|-
  −
 
  −
|add_realm_law_skip_effects
  −
|
  −
|character
  −
|
  −
|Adds the given law to the scoped character. Skips the cost and the pass effect, and the revoke effects of the current law.
  −
|
  −
|Laws
  −
|-
  −
 
  −
|add_relation_flag
  −
|
  −
|character
  −
|
  −
|Adds a flag to an existing relation.
  −
|add_relation_flag = { relation = scripted_relation flag = flag_name (declared in the relation's script) target = other_character }
  −
|Flags
  −
|-
  −
 
  −
|add_scheme_cooldown
  −
|
  −
|character
  −
|character/scheme/int
  −
|Sets a scheme cooldown for the scoped character.
  −
|<scoped_character> = { target=target_character type=scheme_type days/weeks/months/years = duration }
  −
|Hooks and Schemes
   
|-
 
|-
 +
|{{iconify|Possessed||||悪魔つき(Possessed)}}
 +
|possessed_1 / possessed_genetic
 +
|}
 +
{{clear}}
   −
|add_secret
+
===ライフスタイル特性===
|
+
{| class="wikitable" style="float: left; margin-right: 30px;"
|character
+
!特性(ライフスタイル)
|secret/character
+
!ID
|Adds a secret.<br>Note that if you create a Secret in the immediate effect, the tooltips for other effects run in that Secret's scope (such as reveal_to) are likely to be displayed incorrectly, or not to be displayed at all. This is due to the game generating the tooltip before it actually has a Secret that exists to work off of. Test rigorously and use custom tooltips if necessary. Creating a Secret in the immediate and then running effects on it in an event option should produce perfectly normal tooltips.
  −
|add_secret = { type = X target = Y }
  −
|Hooks and Secrets
   
|-
 
|-
 
+
|{{iconify|Aspiring Blademaster||||剣使い志願者(Aspiring Blademaster)}}
|add_stewardship_lifestyle_perk_points
+
|blademaster_1
|
  −
|character
  −
|int
  −
|Adds lifestyle per points to the given character.
  −
|
  −
|Lifestyles
   
|-
 
|-
 
+
|{{iconify|Blademaster||||剣の達人(Blademaster)}}
|add_stewardship_lifestyle_xp
+
|blademaster_2
|
  −
|character
  −
|int
  −
|Adds lifestyle XP to the given character.
  −
|
  −
|Lifestyles
   
|-
 
|-
 
+
|{{iconify|Legendary Blademaster||||剣聖(legendary Blademaster)}}
|add_stress
+
|blademaster_3
|
  −
|character
  −
|int
  −
|Increases (or decreases) stress of a character.
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Novice Hunter||||狩りの素人(Novice Hunter)}}
|add_targeting_factions_discontent
+
|hunter_1
|
  −
|character
  −
|int
  −
|Adds (or subtracts) discontent to all the factions that are targeting the scope character.
  −
|add_targeting_factions_discontent = X
  −
|Factions
   
|-
 
|-
 
+
|{{iconify|Hunter||||猟人(Hunter)}}
|add_to_scheme
+
|hunter_2
|
  −
|character
  −
|cheme
  −
|Adds a character as an agent to the scheme.
  −
|
  −
|Hooks and Schemes
   
|-
 
|-
 
+
|{{iconify|Master Hunter||||腕の立つ狩人(Master Hunter)}}
|add_trait
+
|hunter_3
|
  −
|character
  −
|
  −
|Adds a trait to a character (the trait will not be added and no tooltip will be shown if the character isn't eligible for the trait, i.e. when already having the trait, having an opposing trait, not fulfilling the trait's is_potential trigger or being outside of the trait's range).
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Wise Man||||賢者(Wise Man)}} / 賢者(Wise Woman)
|add_trait_force_tooltip
+
|mystic_1
|
  −
|character
  −
|
  −
|Adds a trait to a character (if the add_trait effect would not add the trait - i.e. when already having the trait, having an opposing trait, not fulfilling the trait's is_potential trigger or being outside of the trait's range - a tooltip will be shown but the trait will not be added).
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Mystic||||秘法家(Mystic)}}
|add_truce_both_ways
+
|mystic_2
|
  −
|character
  −
|character/string/bool/war result
  −
|Sets the both-way truce against the specified character.<br>'character' specifies the target character<br>'override' says whether it should replace the previous truce even if shorter<br>'years / months / days' sets the duration of the truce<br>'result' specifies the result from the scope character's point of view ('white_peace' by default)<br>'casus_belli' sets the casus belli scope that caused the truce, mutually exclusive with 'name'<br>'name' sets a custom description. Dynamic description with the current scope<br>'war' sets the war that caused the truce, mutually exclusive with 'casus_belli'
  −
|add_truce_both_ways = { character = X years/months/days = Y override = yes/no result = victory/defeat/white_peace casus_belli/war = Z }
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Miracle Worker||||奇跡を為す者(Miracle Worker)}}
|add_truce_one_way
+
|mystic_3
|
  −
|character
  −
|character/string/bool/war result
  −
|Sets the truce against the specified character.<br>'character' specifies the target character<br>'override' says whether it should replace the previous truce even if shorter<br>'years / months / days' sets the duration of the truce<br>'result' specifies the result from the scope character's point of view ('white_peace' by default)<br>'casus_belli' sets the casus belli scope that caused the truce, mutually exclusive with 'name'<br>'name' sets a custom description. Dynamic description with the current scope<br>'war' sets the war that caused the truce, mutually exclusive with 'casus_belli'
  −
|add_truce_one_way = { character = X years/months/days = Y override = yes/no result = victory/defeat/white_peace casus_belli/war = Z }
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Eager Reveler||||熱心な酒好き(Eager Reveler)}}
|add_tyranny
+
|reveler_1
|
  −
|character
  −
|int
  −
|Adds (or removes) tyranny to (or from) a character.
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Famous Reveler||||著名な酒飲み(Famous Reveler)}}
|add_unpressed_claim
+
|reveler_2
|
  −
|character
  −
|landed title
  −
|Gives an unpressed claim to a character.
  −
|
  −
|Titles
   
|-
 
|-
 
+
|{{iconify|Legendary Reveler||||伝説の酒豪(Legendary Reveler)}}
|add_visiting_courtier
+
|reveler_3
|
  −
|character
  −
|character
  −
|Add the target character as the scope character's guest.
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Novice Physician||||新米医師(Novice Physician)}}
|allow_alliance
+
|physician_1
|
  −
|character
  −
|character
  −
|Allows (previously broken) alliance with the target character.
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Physician||||医師(Physician)}}
|allow_in_scheme
+
|physician_2
|
  −
|
  −
|character
  −
|Allow the character to join the scheme as an agent.
  −
|
  −
|Hooks and Schemes
   
|-
 
|-
 
+
|{{iconify|Renowned Physician||||著名な医師(Renowned Physician)}}
|apply_ai_vassal_obligation_liege_most_desired
+
|physician_3
|
  −
|character
  −
|
  −
|Apply the new level for the most desired AI obligation level the liege in the contract wants
  −
|
  −
|Laws
   
|-
 
|-
 
+
|{{iconify|Patriarch||||家父長(Patriarch)}} / 家母長(Matriarch)
|apply_ai_vassal_obligation_vassal_most_desired
+
|family_first
|
  −
|character
  −
|
  −
|Apply the new level for the most desired AI obligation level the vassal in the contract wants.
  −
|
  −
|Laws
   
|-
 
|-
 +
|{{iconify|Herbalist||||薬師(Herbalist)}}
 +
|lifestyle_herbalist
 +
|}
 +
{{clear}}
   −
|assign_council_task
+
===その他の特性===
|
+
{| class="wikitable" style="float: left; margin-right: 30px;"
|character
+
!特性 (その他)
|
+
!ID
|Assigns the target character to the council task.
  −
|assign_council_task = { council_task = council_task_scope target = character_taking_the_position fire_on_actions = yes/no }
  −
|Jobs
   
|-
 
|-
 
+
|{{iconify|Dynastic Kinslayer||||同族殺し(Dynastic Kinslayer)}}
|assign_councillor_type
+
|kinslayer_1
|
  −
|character
  −
|
  −
|Assigns the target character to the first available council position of the type available.
  −
|assign_councillor_type = { type = council_position_type_key target = character_taking_the_position fire_on_actions = yes/no }
  −
|Jobs
   
|-
 
|-
 
+
|{{iconify|Familial Kinslayer||||親族殺し(Familial Kinslayer)}}
|banish
+
|kinslayer_2
|
  −
|character
  −
|
  −
|The character gets banished.
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Kinslayer||||肉親殺し(Kinslayer)}}
|becomes_independent
+
|kinslayer_3
|
  −
|character
  −
|
  −
|Becomes and independent ruler.
  −
|becomes_independent = { change = 'previously created title_and_vassal_change' }
  −
|Vassalage
   
|-
 
|-
 
+
|{{iconify|Wounded||||負傷(Wounded)}}
|break_alliance
+
|wounded_1
|
  −
|character
  −
|character
  −
|Breaks the alliance with the target character.
  −
|
  −
|Relations
   
|-
 
|-
 
+
|{{iconify|Severely Injured||||重傷(Severely Injured)}}
|cancel_truce_both_ways
+
| wounded_2
|
  −
|character
  −
|character
  −
|Ends the truce against the specified character, and theirs against the scoped character.
  −
|cancel_truce_both_ways = scope:character
  −
|Relations
   
|-
 
|-
 
+
|{{iconify|Brutally Mauled||||致命傷(Brutally Mauled)}}
|cancel_truce_one_way
+
|wounded_3
|
  −
|character
  −
|character
  −
|Ends the truce against the specified character.
  −
|cancel_truce_one_way = scope:character
  −
|Relations
   
|-
 
|-
 
+
|{{iconify|Sterile||||無精子(Sterile)}} / 不生女(Barren)
|change_current_weight
+
|infertile
|
  −
|character
  −
|int
  −
|Change the current weight of the scoped character
  −
|change_current_weight = 20
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Monk||||修道僧(Monk)}} / Nun(尼)
|change_first_name
+
|devoted
|
  −
|character
  −
|key/character
  −
|Change the first name of a character.
  −
|change_first_name = <localization_key><br>change_first_name = scope:name/var:name<br>change_first_name = { template_character = scope:character }
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Crusader||||十字軍戦士(Crusader)}}<br>{{iconify|Mujahid||||ムジャヒディン(Mujahid)}}<br>{{iconify|Warrior of the Faith||||信仰の戦士(Warrior of the Faith)}}
|change_government
+
|faith_warrior
|
  −
|character
  −
|key
  −
|Changes the government of a character.
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Holy Monarch||||聖君(Holy Monarch)}}
|change_liege
+
|crusader_king
|
  −
|character
  −
|
  −
|Adds a liege change.
  −
|change_liege = { liege = 'Character that should become the new liege' change = 'previously created title_and_vassal_change'}
  −
|Vassalage
   
|-
 
|-
 
+
|{{iconify|Pneumonia||||肺炎(Pneumonia)}}
|change_prison_type
+
|pneumonic
|
  −
|character
  −
|key
  −
|Changes the charater's prison type. Scoped character is the prisoner. Accepts any static modifier (see also improson effect).
  −
|change_prison_type = house_arrest
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Club-footed||||内反足(Club-footed)}}
|change_target_weight
+
|clubfooted
|
  −
|character
  −
|int
  −
|Change the target weight of the scoped character.
  −
|change_target_weight = 20
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|The Savior||||救世主(The Savior)}}
|clear_forced_vote
+
|savior
|
  −
|character
  −
|bool
  −
|clear_forced_vote = yes
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Raider||||略奪者(Raider)}} / ヴァイキング(Viking)
|consume_banish_reasons
+
|viking
|
  −
|character
  −
|character
  −
|'Consume' all banish reasons that the scoped character has on the target character. Until they get a new reason, they cannot banish the target again.
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Lover's pox||||性器ヘルペス(Lover's pox)}}<br>{{iconify|Great pox||||梅毒(Great pox)}} 初期の梅毒(Early Great Pox)
|consume_divorce_reasons
+
|early_great_pox
|
  −
|character
  −
|character
  −
|'Consume' all divorce reason that the scoped character has on the target character. Until they get a new reason, they cannot divorce the target again.
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Blood of the Prophet||||預言者の血(Blood of the Prophet)}} (未使用)
|consume_execute_reasons
+
|blood_of_prophet
|
  −
|character
  −
|character
  −
|'Consume' all execute reasons that the scoped character has on the target character. Until they get a new reason, they cannot execute the target again.
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Child of Concubine||||側室の子(Child of Concubine)}}
|consume_imprisonment_reasons
+
|child_of_concubine_female
|
  −
|character
  −
|character
  −
|'Consume' all imprisonment reasons that the scoped character has on the target character. Until they get a new reason, they cannot imprison the target again.
  −
|
  −
|Characters
   
|-
 
|-
 
+
|{{iconify|Child of Consort||||男妾の子(Child of Consort)}}
|consume_revoke_title_reason
+
|child_of_concubine_male
|
  −
|character
  −
|character
  −
|'Consume' 1 revoke title reason that the scoped character has on the target character.
  −
|
  −
|Characters
   
|-
 
|-
 +
|{{iconify|Pilgrim||||巡礼者(Pilgrim)}}<br>{{iconify|Hajji||||ハッジ(Hajji)}} / ハッジ(Hajjah)
 +
|pilgrim
 +
|}
 +
{{clear}}
   −
|copy_inheritable_appearance_from
+
==革新性ID==
|
+
{{main|Innovation}}
|character
+
通常、革新性IDは名前と一致します。ただし、次の技術革新では異なるIDが使用されています。
|character
  −
|Copies the inheritable appearance attributes (inheritable genes in the character's DNA string) from the target character to the scoped character.
  −
|
  −
|Titles
  −
|-
     −
|create_alliance
+
{| class="wikitable"
|
+
!Innovation
|character
+
!ID
|character
  −
|Create an alliance between the scoped character and the target. The allied through characters determine who gets checked against for if the alliance should persist or not.
  −
|create_alliance = scope<br>create_alliance = { target = scope allied_through_owner = scope allied_through_target = scope }
  −
|Relations
   
|-
 
|-
 
+
|[[File:Innovation majesty 02.png|35px]] 通貨(Currency)||innovation_currency_01
|create_cadet_branch
  −
|
  −
|character
  −
|bool
  −
|The scope character creates a cadet branch of the house he is in.
  −
|
  −
|Characters
   
|-
 
|-
 
+
|[[File:Innovation civil construction 01.png|35px]] 公共事業(Public Works)||innovation_development_01
|create_faction
  −
|
  −
|key/character
  −
|
  −
|The scoped character creates a faction of the specified type against the specified target.
  −
|create_faction = { type = X target = Y }
  −
|Factions
   
|-
 
|-
 
+
|[[File:Innovation siege weapons.png|35px]] オナガー(Onager)||innovation_catapult
|create_story
  −
|
  −
|character
  −
|key/character
  −
|Creates and initializes a story cycle with the current character as owner.
  −
|create_story = story_type<br>create_story = { type = story_type save_scope_as/save_temporary_scope_as = scope_name # optional way to get a reference to the new story }
  −
|Stories
   
|-
 
|-
 
+
|[[File:Innovation special maa 02.png|35px]] 諸葛弩(Chu-ko-nu)||innovation_repeating_crossbow
|death
  −
|
  −
|character
  −
|character/key
  −
|Kills a character. Where X is a character and Y is one of the death reason keys. Or death = natural which will pick a natural death reason to kill the character from.
  −
|death = { killer = X death_reason = Y }
  −
|Characters
   
|-
 
|-
 
+
|[[File:Innovation special maa 01.png|35px]] 守備戦術(Defensive Tactics)||innovation_mobile_guards
|depose
  −
|
  −
|character
  −
|bool
  −
|The character gets deposed.
  −
|
  −
|Vassalage
   
|-
 
|-
 
+
|[[File:Innovation special maa 01.png|35px]] ユサールの襲撃($hussar$ Raids)<ref>訳者注:変更</ref>||innovation_hussar_raids
|destroy_title
  −
|
  −
|character
  −
|title
  −
|Destroys a title.
  −
|
  −
|Titles
   
|-
 
|-
 
+
|[[File:Innovation misc inventions.png|35px]] ロングシップ(Longships)||innovation_longboats
|end_pregnancy
  −
|
  −
|character
  −
|
  −
|End a pregnancy
  −
|
  −
|Characters
   
|-
 
|-
 
+
|[[File:Innovation majesty 01.png|35px]] 西アフリカのカヌー(West African Canoes)||innovation_african_canoes
|execute_decision
  −
|
  −
|character
  −
|
  −
|Execute the specified decision for the scoped character
  −
|
  −
|Characters
   
|-
 
|-
 
+
|[[File:Innovation nobility 01.png|35px]] 貨幣制度(Coinage)||innovation_currency_02
|finish_council_task
  −
|
  −
|character
  −
|
  −
|The councillor finish the current assigned task successfully.
  −
|
  −
|Jobs
   
|-
 
|-
 
+
|[[File:Innovation nobility 03.png|35px]] 共同体政府(Communal Government)<ref>訳者注:変更</ref>||innovation_development_02
|fire_councillor
  −
|
  −
|character
  −
|character
  −
|The scope character fires the target character form teh council.
  −
|
  −
|Jobs
   
|-
 
|-
 
+
|[[File:Innovation maa 01.png|35px]] 近衛兵(Household Soldiers)||innovation_house_soldiers
|forbid_from_scheme
  −
|
  −
|character
  −
|
  −
|Forbid the scope character from joining the target scheme as an agent (and kick the character out if already in the scheme)
  −
|
  −
|Hooks and Schemes
   
|-
 
|-
 
+
|[[File:Innovation maa 02.png|35px]] 砂漠山岳の経験(Desert Mountain Practices)||innovation_desert_mountain_herding
|force_add_to_scheme
  −
|
  −
|character
  −
|key/int
  −
|Adds a character as an agent to the scheme and forces them to stay.
  −
|force_add_to_scheme = { scheme = target_Scheme days/months/years = duration }
  −
|Hooks and Schemes
   
|-
 
|-
 
+
|[[File:Innovation majesty 03.png|35px]] 部族大公領(Stammesherzogtum)||innovation_stem_duchies
|force_vote_as
  −
|
  −
|character
  −
|
  −
|Forces the character to vote the same as the target.
  −
|force_vote_as = { target = someone days/months/years = x }
  −
|Characters
   
|-
 
|-
 
+
|[[File:Innovation majesty 02.png|35px]] 銀行(Banking)||innovation_currency_03
|get_title
  −
|
  −
|character
  −
|title
  −
|Gives a title to a character.
  −
|
  −
|Titles
   
|-
 
|-
 
+
|[[File:Innovation civil construction 01.png|35px]] 都市化(Urbanization)||innovation_development_03
|give_nickname
  −
|
  −
|character
  −
|key
  −
|Give a nickname to this character.
  −
|
  −
|Characters
   
|-
 
|-
 
+
|[[File:Innovation misc inventions.png|35px]] 東方植民(Ostsiedlung)||innovation_east_settling
|imprison
  −
|
  −
|character
  −
|character/key
  −
|Imprisons the target character as this character's prisoner. X is a character, Y is a flag, Z is a static modifier.
  −
|imprison = { target = X reason = Y type = Z }
  −
|Characters
   
|-
 
|-
 
+
|[[File:Innovation administration 01.png|35px]] 約束手形(Promissory Notes)||innovation_currency_04
|join_faction
  −
|
  −
|character
  −
|
  −
|The character in the scope joins the assigned faction.
  −
|
  −
|Factions
   
|-
 
|-
 +
|[[File:Innovation misc inventions.png|35px]] ルネサンス思想(Renaissance Thought)||innovation_development_04
 +
|}
   −
|join_faction_forced
+
==称号ID==
|
+
{{main|称号}}
|character
+
すべての称号には内部称号IDがあり、<code>game\common\landed_titles\00_landed_titles.txt</code>にそれがあります。称号IDには、ランクに基づいて接頭辞が付き、その後にアンダースコア (<code>_</code>) と名前が続きます。
|key/character/int
+
{| class="mildtable"
|The character in the scope is forced to join a faction by a character for a defined time.
+
!ランク
|join_faction_forced = { faction = X forced_by = Y days/months/years = duration }
+
!接頭辞
|Factions
+
!例
 
|-
 
|-
 
+
|{{iconify|Barony||||男爵領}}
|join_faction_skip_check
+
|<code>b_</code>
|
+
|<code>Wigmore -> b_wigmore</code>
|character
  −
|
  −
|The character in the scope joins the assigned faction skiping the can_character_join trigger.
  −
|
  −
|Factions
   
|-
 
|-
 
+
|{{iconify|County||||伯爵領}}
|leave_faction
+
|<code>c_</code>
|
+
|<code>Sundgau -> c_sundgau</code>
|character
  −
|
  −
|The charcter in the scope leaves the assigned faction.
  −
|
  −
|Factions
   
|-
 
|-
 
+
|{{iconify|Duchy||||公爵領}}
|make_claim_strong
+
|<code>d_</code>
|
+
|<code>Sicily -> d_sicily</code>
|character
  −
|title
  −
|Makes a claim strong (character adds the claim if not having it already).
  −
|
  −
|Titles
   
|-
 
|-
 
+
|{{iconify|Kingdom||||王国}}
|make_claim_weak
+
|<code>k_</code>
|
+
|<code>Denmark -> k_denmark</code>
|character
  −
|title
  −
|Makes a claim weak (character adds the claim if not having it already).
  −
|
  −
|Titles
   
|-
 
|-
 
+
|{{iconify|Empire||||帝国}}
|make_concubine
+
|<code>e_</code>
|
+
|<code>Persia -> e_persia</code>
|character
  −
|character
  −
|Makes the target character a concubine of the scope character, the target should not be imprisoned.
  −
|
  −
|Characters
   
|-
 
|-
 +
|}
 +
タイトルIDは、それぞれの称号リストにも表示されます。
 +
*[[男爵領一覧]]
 +
*[[伯爵領一覧]]
 +
*[[公爵領一覧]]
 +
*[[王国一覧]]
 +
*[[帝国一覧]]
   −
|make_pregnant
+
===ゲーム内の名前を元に称号IDを見つける===
|
  −
|character
  −
|character/int/bool
  −
|Makes a character pregnant.
  −
|make_pregnant = { father= 'the real father' number_of_children= X known_bastard=yes/no }
  −
|Characters
  −
|-
     −
|make_trait_active
+
称号IDと称号名が一致しない場合があります。例えば、プレイヤーがゲームを英語以外の言語に設定していたり、称号が文化固有の名前になっていたりします。ゲーム内の名前だけでタイトルIDを検索するには、次の手順に従います。
|
  −
|character
  −
|
  −
|Activates an inactive trait. Tooltip will not be shown if the character cannot have the trait.
  −
|
  −
|Characters
  −
|-
     −
|make_trait_active_force_tooltip
+
*<code>game\localization\LANGUAGE\titles_l_LANGUAGE.yml</code>にあるファイルに移動します。<code>LANGUAGE</code>はゲームの設定言語に置き換えてください<ref>訳者注:日本語化MODはenglishを上書きしているためこの部分はenglishです</ref>。
|
+
*メモ帳++<ref>訳者注: https://notepad-plus-plus.org/ </ref>などのテキストエディタでファイルを開き、{{key press|CTRL}}+{{key press|F}}キーを使用してゲーム内の名前の実体を検索します。
|character
+
*検索で見つかった場合、次の手順を実行します。
|
+
**行は <code>b_my_brony_name:0 "In-game name for barony"</code>のようになります。
|Activates an inactive trait. Tooltip will be shown even if the character cannot have the trait.
+
**称号IDは<code>:0</code>の前の単語であるため、この例では<code>b_my_barony_name</code>になります。
|
+
*見つからなかった場合。
|Characters
+
**ファイルを閉じます。
|-
+
**前のファイルと同じフォルダで、ファイル <code>titles_cultural_names_l_LANGUAGE.yml</code>を開きます。<code>LANGUAGE</code>はゲームの設定言語に置き換えてください。
 +
**このファイルでゲーム内の称号名の検索を再実施します。
 +
**一致するものが見つかったら、<code> cn_lunden:0 "Lunden"</code>のようになります。
 +
**<code>:0</code>の前の単語をコピーして覚えておきます(この例では、<code>cn_lunden</code>)、これは称号の「文化名キー」です。
 +
**ファイルを閉じます
 +
**<code>game\common\landed_titles\00_landed_titles.txt</code>ファイルに移動し、テキストエディタで開きます。
 +
**前のファイルで検索した文化名キー(この例だと<code>cn_lunden</code>)を検索します。
 +
**検索クエリは、中括弧(<code>{</code>, <code>}</code>)で囲まれた <code>cultural_names</code>という名前のブロック内に置かれていると思います。
 +
**ブロックの別の始点( <code>b_london = {</code>)に達するまで、上記の行を読み進めます。<code>color = {</code>や<code>color2 ={</code>のようなブロックは無視します。
 +
**<code>b_london</code>の代わりの単語が称号IDです。
   −
|make_trait_inactive
+
===カスタム称号IDを見つける===
|
+
カスタム称号(つまるところプレイヤーのカスタム帝国の称号)は以上の命名規則に従いません。IDを見つけるには、
|character
+
*デバッグコンソールから、コマンド<code>explorer</code>を使用してオブジェクトブラウザーを開きます。
|
+
*オブジェクトブラウザーから「Provider: Landed Titles」を選びます。
|Makes a current trait of a character inactive. Tooltip will not be shown if the character doesn't have the trait.
+
*検索ワードを入力します
|
+
*名前フィールドにカーソルを合わせると、称号カードが表示されます。
|Characters
  −
|-
     −
|make_trait_inactive_force_tooltip
+
==こちらも参照==
|
+
*[[Nickname ID]]
|character
+
*[[Decision ID]]
|
  −
|Makes a current trait of a character inactive. Tooltip will be shown even if the character doesn't have the trait.
  −
|
  −
|Characters
  −
|-
     −
|make_unprunable
+
==参考文献==
|
+
<references />
|character
  −
|
  −
|The scope character will no longer be prunable after their death. Use with care, as this will make everyone related to them unprunable too. So you should only use this if someone absolutely *needs* to stick around several years after their death.
  −
|make_unprunable = yes
  −
|Characters
  −
|-
  −
 
  −
|marry
  −
|
  −
|character
  −
|character
  −
|Marries the scoped character to the target character.
  −
|marry = target
  −
|Characters
  −
|-
  −
 
  −
|marry_matrilineal
  −
|
  −
|character
  −
|character
  −
|Marries the scoped character to the target character matrilineally
  −
|marry_matrilineal = target
  −
|Characters
  −
|-
  −
 
  −
|move_to_pool
  −
|
  −
|character
  −
|bool
  −
|The scoped character (courtier or guest) leaves their current court and moves into the pool.
  −
|scope:guest = { move_to_pool = yes }
  −
|Characters
  −
|-
  −
 
  −
|move_to_pool_at
  −
|
  −
|character
  −
|province
  −
|The scoped character (courtier/guest/pool character) leaves their current court (if any) and moves into the pool of the specified province
  −
|scope:guest = { move_to_pool_at = scope:some_province }
  −
|Characters
  −
|-
  −
 
  −
|pay_long_term_gold
  −
|
  −
|character
  −
|character/int
  −
|The scope character pays gold to the target character. (AI budget category long term).
  −
|pay_gold = { target = X gold = Y }
  −
|Characters
  −
|-
  −
 
  −
|pay_short_term_gold
  −
|
  −
|character
  −
|
  −
|The scope character pays gold to the target character. (AI budget category short term).
  −
|pay_gold = { target = X gold = Y }
  −
|Characters
  −
|-
  −
 
  −
|pay_short_term_income
  −
|
  −
|character
  −
|character/int
  −
|The scope character immediately pays gold corresponding to their income to the target character. (AI budget short term).
  −
|pay_income = { target = X days/months/years = Y }
  −
|Characters
  −
|-
  −
 
  −
|play_music_cue
  −
|
  −
|character
  −
|
  −
|Plays the specified music cue.
  −
|
  −
|Music
  −
|-
  −
 
  −
|recalculate_scripted_relation
  −
|
  −
|character
  −
|
  −
|Recalculates the effect of a scripted relation.
  −
|recalculate_scripted_relation = friend
  −
|Relations
  −
|-
  −
 
  −
|recruit_courtier
  −
|
  −
|character
  −
|character
  −
|Recruits the target to become a courtier.
  −
|scope:liege = { recruit_courtier = scope:new_courtier }
  −
|Characters
  −
|-
  −
 
  −
|refund_all_perks
  −
|
  −
|character
  −
|bool
  −
|Refunds all perks of the character.
  −
|refund_all_perks = yes
  −
|Lifestyles
  −
|-
  −
 
  −
|refund_perks
  −
|
  −
|character
  −
|key
  −
|Refunds all perks of the RHS lifestyle.
  −
|refund_perks = intrigue_lifestyle
  −
|Lifestyles
  −
|-
  −
 
  −
|release_from_prison
  −
|
  −
|character
  −
|bool
  −
|Releases the character from the prison.
  −
|release_from_prison = yes
  −
|Characters
  −
|-
  −
 
  −
|remove_all_character_modifier_instances
  −
|
  −
|character
  −
|modifier
  −
|Remove all instances of a modifier from a character
  −
|remove_all_character_modifier_instances = name
  −
|Modifiers
  −
|-
  −
 
  −
|remove_character_flag
  −
|
  −
|character
  −
|flag
  −
|Removes a character flag.
  −
|
  −
|Flags
  −
|-
  −
 
  −
|remove_character_modifier
  −
|
  −
|character
  −
|modifier
  −
|Remove a modifier from a character.
  −
|remove_character_modifier = name
  −
|Modifiers
  −
|-
  −
 
  −
|remove_claim
  −
|
  −
|character
  −
|landed title
  −
|Removes an explicit (not from a living parent/grand parent) claim.
  −
|
  −
|Title
  −
|-
  −
 
  −
|remove_concubine
  −
|
  −
|character
  −
|character
  −
|Removes the target character as a concubine of the scope character.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_courtier_or_guest
  −
|
  −
|character
  −
|character
  −
|Removes the target character (guest or courtier) from the scope character's court.
  −
|scope:host = { remove_courtier_or_guest = scope:guest }<br>scope:host = {<br>remove_courtier_or_guest = {<br>character = scope:guest<br>new_location = scope:some_province # optionally specify a new location<br>}<br>}
  −
|Characters
  −
|-
  −
 
  −
|remove_decision_cooldown
  −
|
  −
|character
  −
|key
  −
|Remove the cooldown on taking a decision for the scoped character.
  −
|remove_decision_cooldown = decision_name
  −
|Decisions
  −
|-
  −
 
  −
|remove_hook
  −
|
  −
|character
  −
|character/hook_type
  −
|Removes a hook on a character. If type is specified, the hook will only be removed if it is of that type.
  −
|remove_hook = { target = X, type = Y }
  −
|Hooks and Schemes
  −
|-
  −
 
  −
|remove_interaction_cooldown
  −
|
  −
|character
  −
|interaction
  −
|Remove the cooldown on using an interaction for the scoped character.
  −
|remove_interaction_cooldown = interaction_name
  −
|Interactions
  −
|-
  −
 
  −
|remove_interaction_cooldown_against
  −
|
  −
|character
  −
|interaction/character
  −
|Remove the cooldown on using an interaction against the target character for the scoped character.
  −
|remove_interaction_cooldown_against = { interaction = interaction_name target = character }
  −
|Interactions
  −
|-
  −
 
  −
|remove_long_term_gold
  −
|
  −
|character
  −
|
  −
|Removes gold from a character (AI's long term budget).
  −
|
  −
|Characters
  −
|-
  −
 
  −
|remove_nickname
  −
|
  −
|character
  −
|bool
  −
|Removes any nickname from the current character.
  −
|
  −
|Characters
  −
|-
  −
 
  −
|remove_opinion
  −
|
  −
|character
  −
|character/modifier/bool
  −
|Removes a temporary opinion modifier. Where X is a character, Y is the opinion modifier, Z tells whether to remove all instances of the modifier or just one.
  −
|remove_opinion = { target = X modifier = Y single = Z (no by default) }
  −
|Modifiers
  −
|-
  −
 
  −
|remove_perk
  −
|
  −
|character
  −
|
  −
|Remove the perk for this character
  −
|
  −
|Characters
  −
|-
  −
 
  −
|remove_realm_law
  −
|
  −
|character
  −
|law
  −
|Removes the given law from the scoped character. This will leave the law group empty, so only do this if you're getting rid of a law group.
  −
|
  −
|Laws
  −
|-
  −
 
  −
|remove_relation_best_friend
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_relation_bully
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_relation_court_physician
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_relation_crush
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_relation_flag
  −
|
  −
|flag/character/relation
  −
|Removed a flag from an existing relation.
  −
|
  −
|remove_relation_flag = { flag = flag_name (declared in scripted_relation) target = other_character relation = scripted_relation }
  −
|Flags
  −
|-
  −
 
  −
|remove_relation_friend
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_relation_guardian
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_relation_intrigue_mentor
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_relation_intrigue_student
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_relation_lover
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_relation_mentor
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_relation_nemesis
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_relation_oaf
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_relation_potential_friend
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_relation_potential_lover
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_relation_potential_rival
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_relation_rival
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_relation_soldier_friend
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_relation_soulmate
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_relation_student
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_relation_victim
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_relation_ward
  −
|
  −
|character
  −
|character
  −
|Removes scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|remove_scheme_cooldown_against
  −
|
  −
|character
  −
|scheme/character
  −
|Remove the cooldown on using a scheme against the target character for the scoped character
  −
|remove_scheme_cooldown_against = { scheme = scheme_name target = character }
  −
|Hooks and Schemes
  −
|-
  −
 
  −
|remove_short_term_gold
  −
|
  −
|character
  −
|
  −
|Removes gold from a character (AI's short term budget).
  −
|
  −
|Characters
  −
|-
  −
 
  −
|remove_trait
  −
|
  −
|character
  −
|
  −
|Removes a trait from a character. Tooltip will not be shown if the character doesn't have the trait.
  −
|
  −
|Characters
  −
|-
  −
 
  −
|remove_trait_force_tooltip
  −
|
  −
|character
  −
|
  −
|Removes a trait from a character. Tooltip will be shown even if the character doesn't have the trait.
  −
|
  −
|Characters
  −
|-
  −
 
  −
|reset_beneficiary
  −
|
  −
|character
  −
|bool
  −
|The target character stops having a beneficiary.
  −
|reset_beneficiary = yes
  −
|Holy Wars
  −
|-
  −
 
  −
|return_to_court
  −
|
  −
|character
  −
|
  −
|Returns the scope character to the employers court.
  −
|
  −
|Characters
  −
|-
  −
 
  −
|reverse_add_opinion
  −
|
  −
|character
  −
|modifier/int/character
  −
|Adds a temporary reverse opinion modifier. X is a scripted modifier name. Y can be a value or a range "{ A B }" If no timeout are specified, the modifier's scripted default timeout will be used.
  −
|reverse_add_opinion = { modifier = X days/months/years = Y target = Z }
  −
|Modifiers
  −
|-
  −
 
  −
|scriptedtests_recalculate_character_modifier
  −
|
  −
|character
  −
|
  −
|Recalculates the modifier of the scoped character.
  −
|
  −
|Modifiers
  −
|-
  −
 
  −
|scriptedtests_recalculate_succession
  −
|
  −
|character
  −
|
  −
|Recalculates the line of succession of the scoped character.
  −
|
  −
|Succession
  −
|-
  −
 
  −
|send_interface_message
  −
|
  −
|character
  −
|
  −
|Sends a message to the player playing the character in the scope and then executes any effects inside.<br>For the message text and tooltip, $EFFECT$ contains the text description of the effects in the past tense and $DESC$ contains the text from the desc field.
  −
|send_interface_message = {<br>type = message_type # default: send_interface_message<br>title = LOCALIZATION # optional, otherwise takes it from the message type<br>desc = LOCALIZATION # optional, otherwise takes it from the message type<br>tooltip = LOCALIZATION # optional, otherwise takes it from the message type<br>left_icon = scope:recipient # optional, character or title<br>right_icon = scope:the_title # optional, character or title<br>goto = scope:the_title # optional, character, barony title, province will add a goto button<br># optional effects...<br>add_dread = 5<br>scope:someone = { add_gold = 5 }<br>}
  −
|Notifications
  −
|-
  −
 
  −
|send_interface_toast
  −
|
  −
|character
  −
|
  −
|Sends a message to the player playing the character in the scope and then executes any effects inside.<br>For the message text and tooltip, $EFFECT$ contains the text description of the effects in the past tense.<br>And $DESC$ contains the text from the desc field.
  −
|send_interface_toast = {<br>type = message_type # default: send_interface_toast<br>title = LOCALIZATION # optional, otherwise takes it from the message type<br>desc = LOCALIZATION # optional, otherwise takes it from the message type<br>left_icon = scope:recipient # optional, character or title<br>right_icon = scope<br>goto = scope:the_title # optional, character, barony title, province will add a goto button<br># optional effects...<br>add_dread = 5<br>scope:someone = { add_gold = 5 }<br>}
  −
|Notifications
  −
|-
  −
 
  −
|set_absolute_country_control
  −
|
  −
|character
  −
|
  −
|Sets if this character has absolute country control.
  −
|
  −
|Control
  −
|-
  −
 
  −
|unlock_character_movement
  −
|
  −
|
  −
|bool/character
  −
|
  −
|
  −
|Characters
  −
|-
  −
 
  −
|set_beneficiary
  −
|
  −
|character
  −
|character
  −
|The target character becomes the beneficiary of the scoped character.
  −
|set_beneficiary = some character
  −
|Holy Wars
  −
|-
  −
 
  −
|set_character_faith
  −
|
  −
|character
  −
|faith
  −
|Changes what faith a character has executing the effects for it. For history setup use 'set_character_faith_history' instead.
  −
|
  −
|Characters
  −
|-
  −
 
  −
|set_character_faith_history
  −
|
  −
|character
  −
|faith
  −
|Changes what faith a character has NOT executing the effects for it. USE ONLY IN HISOTRY SETUP!
  −
|
  −
|Characters
  −
|-
  −
 
  −
|set_character_faith_with_conversion
  −
|
  −
|character
  −
|faith
  −
|Changes what faith a character has, as if they used the faith-view interaction (minus the piety cost). So vassals who'd accept will get converted, as will capitals
  −
|
  −
|Characters
  −
|-
  −
 
  −
|set_child_of_concubine_on_pregnancy
  −
|
  −
|character
  −
|
  −
|Sets the child to be (or not be) a child of a concubine during pregnancy
  −
|
  −
|Characters
  −
|-
  −
 
  −
|set_council_task
  −
|
  −
|character
  −
|key/character
  −
|Sets the task of the scope councillor
  −
|set_council_task = { task_type = council_position_type_key target = for_targeted_tasks  }
  −
|Jobs
  −
|-
  −
 
  −
|set_culture
  −
|
  −
|character
  −
|culture
  −
|Set the culture for this character
  −
|
  −
|Characters
  −
|-
  −
 
  −
|set_culture_same_as
  −
|
  −
|character
  −
|character
  −
|Sets the culture of the character to be the same as the culture of the target.
  −
|
  −
|Characters
  −
|-
  −
 
  −
|set_death_reason
  −
|
  −
|character
  −
|
  −
|Sets the death reason and the killer of a dead character.
  −
|set_death_reason = { killer = X death_reason = Y }, both parameters are optional
  −
|Characters
  −
|-
  −
 
  −
|set_default_education
  −
|
  −
|
  −
|character
  −
|Sets the default education focus for this character.
  −
|
  −
|Lifestyles
  −
|-
  −
 
  −
|set_designated_heir
  −
|
  −
|character
  −
|character
  −
|Sets the given character as designated heir.
  −
|
  −
|Succession
  −
|-
  −
 
  −
|set_employer
  −
|
  −
|character
  −
|character
  −
|Add the scope character to the target character's court.
  −
|
  −
|Characters
  −
|-
  −
 
  −
|set_father
  −
|
  −
|character
  −
|character
  −
|Sets the father of a character.
  −
|
  −
|Characters
  −
|-
  −
 
  −
|set_focus
  −
|
  −
|character
  −
|
  −
|Set the focus for this character
  −
|
  −
|Lifestyles
  −
|-
  −
 
  −
|set_house
  −
|
  −
|character
  −
|dynasty house
  −
|Sets the dynasty house of the character.
  −
|
  −
|Characters
  −
|-
  −
 
  −
|set_immortal_age
  −
|
  −
|character
  −
|int
  −
|Changes what age the character became immortal at. Only works if already immortal.
  −
|set_immortal_age = 20
  −
|Characters
  −
|-
  −
 
  −
|set_killer_public
  −
|
  −
|character
  −
|
  −
|Sets the scoped character's killer as being publicly known
  −
|set_killer_public = bool
  −
|Hooks and Schemes
  −
|-
  −
 
  −
|set_known_bastard_on_pregnancy
  −
|
  −
|character
  −
|
  −
|Sets the child to a known or unknown bastard during pregnancy.
  −
|
  −
|Characters
  −
|-
  −
 
  −
|set_num_pregnancy_children
  −
|
  −
|character
  −
|int
  −
|Set the number of children
  −
|
  −
|Characters
  −
|-
  −
 
  −
|set_override_designated_winner
  −
|
  −
|character
  −
|bool
  −
|The scoped character will put their beneficiary on the throne if they're the #1 participant if this is called with 'yes'. Call with 'no' to turn it off again.
  −
|set_override_designate_winner = yes
  −
|Holy Wars
  −
|-
  −
 
  −
|set_player_character
  −
|
  −
|character
  −
|character
  −
|The scope character's player will now play as the target character. Scope must be player-controlled. Target cannot be player-controlled.
  −
|
  −
|Characters
  −
|-
  −
 
  −
|set_pregnancy_assumed_father
  −
|
  −
|character
  −
|character
  −
|Set the assumed father of the pregnancy.
  −
|
  −
|Characters
  −
|-
  −
 
  −
|set_primary_spouse
  −
|
  −
|character
  −
|character
  −
|Set the primary spouse of a character.
  −
|set_primary_spouse = scope
  −
|Characters
  −
|-
  −
 
  −
|set_primary_title_to
  −
|
  −
|character
  −
|landed title
  −
|Sets the primary title for a character.
  −
|set_primary_title_to = <title>
  −
|Titles
  −
|-
  −
 
  −
|set_real_father
  −
|
  −
|character
  −
|character
  −
|Changes the real father of the character scope.
  −
|
  −
|Characters
  −
|-
  −
 
  −
|set_realm_capital
  −
|
  −
|character
  −
|landed title
  −
|Set a new realm capital
  −
|character = { set_realm_capital = new_title }
  −
|Realm
  −
|-
  −
 
  −
|set_relation_best_friend
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_relation_bully
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_relation_court_physician
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_relation_crush
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_relation_friend
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_relation_guardian
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_relation_intrigue_mentor
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_relation_intrigue_student
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_relation_lover
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_relation_mentor
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_relation_nemesis
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_relation_oaf
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_relation_potential_friend
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_relation_potential_lover
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_relation_potential_rival
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_relation_rival
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_relation_soldier_friend
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_relation_soulmate
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_relation_student
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_relation_victim
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_relation_ward
  −
|
  −
|character
  −
|character
  −
|Sets scripted relationship.
  −
|
  −
|Relations
  −
|-
  −
 
  −
|set_sexuality
  −
|
  −
|character
  −
|
  −
|Sets the sexuality of the character
  −
|
  −
|Characters
  −
|-
  −
 
  −
|set_to_lowborn
  −
|
  −
|character
  −
|
  −
|Set the character to lowborn.
  −
|
  −
|Characters
  −
|-
  −
 
  −
|set_vassal_contract_modification_blocked
  −
|
  −
|character
  −
|
  −
|Blocks the vassal contract from being modified with regards to being checked by 'vassal_contract_is_blocked_from_modification'
  −
|
  −
|Vassalage
  −
|-
  −
 
  −
|spawn_army
  −
|
  −
|character
  −
|
  −
|Spawns an army for this character. If the character is not at war, the regiments will be created, but the army will not be spawned.
  −
|spawn_army = {<br>levies = int/script value # optional, number of men<br>men_at_arms = { # optional, multiple can be specified. Need either levies or MAA<br>type = key<br>men/stacks = int/script value<br>}<br>location = province<br>origin = province # optional, location used if not set. This is used for where to base bonuses and the like on<br>war = war # optional. If set, the stack will disband after the war ends<br>inheritable = yes/no # Default: yes<br>uses_supply = yes/no # Default: yes<br>army = army # optional. If set, the stack will merge into this army<br>save_scope_as/save_temporary_scope_as = new_army # optional way to get a reference to the new army. Note this might not be set if the army wasn't spawned (e.g. if the character is not at war)<br>name = description # gives the troops a specific name that shows up in interfaces<br>}
  −
|Armies
  −
|-
  −
 
  −
|start_default_task
  −
|
  −
|character
  −
|
  −
|Force the Councillor to revert to the default task. Any relevant percentage progress will be lost (even if the councillor was performing the default task already).
  −
|
  −
|Jobs
  −
|-
  −
 
  −
|start_scheme
  −
|
  −
|character
  −
|
  −
|
  −
|starts a scheme  = { type = X target = Y }
  −
|Hooks and Schemes
  −
|-
  −
 
  −
|start_war
  −
|
  −
|character
  −
|
  −
|Starts a war. X is a casus belli type, Y is the target character, Z i the (optional) claimant, W1, W2.... are targeted titles.
  −
|start_war = { casus_belli/cb = X target = Y claimant = Z target_title = W1 target_title = W2 ... }
  −
|Wars
  −
|-
  −
 
  −
|stress_impact
  −
|
  −
|character
  −
|
  −
|Stress impact according to specified traits (trait = value), use base = value for a base value that's always added.
  −
|stress_impact = { sadistic = medium_stress_impact_loss }<br>stress_impact = { compassionate = medium_stress_impact_gain }
  −
|Characters
  −
|-
  −
 
  −
|use_hook
  −
|
  −
|character
  −
|character
  −
|Uses a hook a character has (removes if weak, puts on cooldown if strong).
  −
|use_hook = some_character
  −
|Hooks and Schemes
  −
|-
  −
 
  −
|vassal_contract_decrease_obligation_level
  −
|
  −
|character
  −
|
  −
|Decrease the obligation level of the scoped character's vassal contract.
  −
|
  −
|Vassalage
  −
|-
  −
 
  −
|vassal_contract_increase_obligation_level
  −
|
  −
|character
  −
|
  −
|Increase the obligation level of the scoped character's vassal contract.
  −
|
  −
|Vassalage
  −
|-
  −
 
  −
|vassal_contract_set_obligation_level
  −
|
  −
|character
  −
|
  −
|Change the obligation level of the scoped character's vassal contract.
  −
|vassal_contract_set_obligation_level = { type = name level = 1 } # index to obligation level<br>vassal_contract_set_obligation_level = { type = name level = feudal_obligation_low }
  −
|Vassalage
  −
|-
  −
 
  −
|visit_court_of
  −
|
  −
|character
  −
|character
  −
|Add the scope character as the target character's guest.
  −
|
  −
|Characters
  −
|-
  −
 
  −
|add_faction_discontent
  −
|
  −
|faction
  −
|
  −
|Adds (or subtracts) discontent to the scope faction.
  −
|add_faction_discontent = X
  −
|Factions
  −
|-
  −
 
  −
|destroy_faction
  −
|
  −
|faction
  −
|
  −
|The scope faction is destroyed.
  −
|destroy_faction = yes
  −
|Factions
  −
|-
  −
 
  −
|faction_remove_war
  −
|
  −
|faction
  −
|
  −
|Removes the war currently associated with the faction.
  −
|faction_remove_war = yes
  −
|Factions
  −
|-
  −
 
  −
|faction_start_war
  −
|
  −
|faction
  −
|
  −
|The scope faction starts the war agains their target.
  −
|faction_start_war = {<br>title = [optional]<br>}
  −
|Factions
  −
|-
  −
 
  −
|remove_special_character
  −
|
  −
|faction
  −
|
  −
|Removes the special character for the scope faction
  −
|
  −
|Factions
  −
|-
  −
 
  −
|remove_special_title
  −
|
  −
|faction
  −
|
  −
|Removes the special character for the scope faction.
  −
|
  −
|Factions
  −
|-
  −
 
  −
|set_special_character
  −
|
  −
|faction
  −
|character
  −
|Sets the special character for the scope faction.
  −
|
  −
|Factions
  −
|-
  −
 
  −
|set_special_title
  −
|
  −
|faction
  −
|landed title
  −
|Sets the special title for the scope faction
  −
|
  −
|Factions
  −
|-
  −
 
  −
|add_attacker
  −
|
  −
|war
  −
|character
  −
|Adds the target character to the scope war as an attacker.
  −
|
  −
|Wars
  −
|-
  −
 
  −
|add_defender
  −
|
  −
|war
  −
|character
  −
|Adds the target character to the scope war as a defender.
  −
|
  −
|Wars
  −
|-
  −
 
  −
|end_war
  −
|
  −
|war
  −
|
  −
|Ends the war with the specified winner.
  −
|end_war = attacker/defender/white_peace
  −
|Wars
  −
|-
  −
 
  −
|remove_participant
  −
|
  −
|war
  −
|character
  −
|Removes the target character from the scope war.
  −
|
  −
|Wars
  −
|-
  −
 
  −
|set_called_to
  −
|
  −
|war
  −
|character
  −
|Sets the target character as already called to the scope war.
  −
|
  −
|Wars
  −
|-
  −
 
  −
|set_casus_belli
  −
|
  −
|war
  −
|
  −
|Sets the casus belli of the scope war.
  −
|
  −
|Wars
  −
|-
  −
 
  −
|activate_holy_site
  −
|
  −
|faith
  −
|
  −
|Activate an inactive holy site.
  −
|<faith_scope> = { activate_holy_site = <holy_site_name> }
  −
|Faiths
  −
|-
  −
 
  −
|add_doctrine
  −
|
  −
|faith
  −
|doctrines
  −
|Add doctrine to faith.
  −
|<faith_scope> = { add_doctrine = <doctrine_name> }
  −
|Faiths
  −
|-
  −
 
  −
|change_fervor
  −
|
  −
|faith
  −
|int
  −
|Changes the fervor of the faith by the given value.
  −
|change_fervor = script value
  −
|Faiths
  −
|-
  −
 
  −
|remove_doctrine
  −
|
  −
|faith
  −
|doctrines
  −
|Remove doctrine from faith.
  −
|<faith_scope> = { remove_doctrine = <doctrine_name> }
  −
|Faiths
  −
|-
  −
 
  −
|remove_religious_head_title
  −
|
  −
|faith
  −
|bool
  −
|Removes the religious head title of the faith.
  −
|remove_religious_head_title = yes
  −
|Faiths
  −
|-
  −
 
  −
|set_religious_head_title
  −
|
  −
|faith
  −
|landed title
  −
|Sets the religious head title of the faith to the given title.
  −
|set_religious_head_title = scope
  −
|Faiths
  −
|-
  −
 
  −
|start_great_holy_war
  −
|
  −
|faith
  −
|
  −
|Starts a great holy war.
  −
|start_great_holy_war = {<br>target_character = someone<br>target_title = some<br>titledelay = script value# Number of days until the war should<br>startwar = some war # Optional. Will make this a directed GHW instead of undirected, and tie it to this specific war<br>}
  −
|Faiths
  −
|-
  −
 
  −
|set_add_claim_on_loss
  −
|
  −
|title/vassal change
  −
|
  −
|If set, any title losses will result in claims being added to the previous holder.
  −
|
  −
|Titles
  −
|-
  −
 
  −
|set_title_and_vassal_change_type
  −
|
  −
|title/vassal change
  −
|conquest, conquest_holy_war, conquest_claim, conquest_populist, inheritance, abdication, destroyed, created, usurped, granted, revoked, election, independency, returned, leased_out, lease_revoked, faction_demand
  −
|Sets the type of change.
  −
|
  −
|Titles
  −
|-
  −
 
  −
|add_secret_participant
  −
|
  −
|secret
  −
|character
  −
|Adds an participant to the secret.
  −
|
  −
|Hooks and Schemes
  −
|-
  −
 
  −
|disable_exposure_by
  −
|
  −
|secret
  −
|character
  −
|Forbids the target character from exposing the secret
  −
|disable_exposure_by = target_character
  −
|Hooks and Schemes
  −
|-
  −
|}
      
{{Modding navbox}}
 
{{Modding navbox}}
 
[[Category:Modding]]
 
[[Category:Modding]]
3

回編集

案内メニュー