スクリプトエフェクト
set_ended_disaster_flag_effect
もし
以下の変数がない:
had_$type$_disasterならばSet variable
- Name:
had_$type$_disaster - Value: 1
それ以外
Change variable
- Name:
had_$type$_disaster - Add: 1
正確なスクリプト
呼び出し側のスクリプトがこれらの値を指定します。各呼び出し元は「関連」に表示されます。
$type$
使用元 7
イベント
宮廷と国との対立の終結type = court_and_country発生直後
凪の時代type = revolutionary_chaos発生直後
国難
ハヤム・ウルクの死type = death_of_hayan_wuruk終了時
マジャパヒトの衰退type = decline_of_majapahit終了時
フランス宗教戦争type = french_wars_religion終了時
フック・アンド・コッド戦争type = hook_and_cod_wars終了時
薔薇戦争type = war_of_the_roses終了時
if = {
limit = {
NOT = {
has_variable = had_$type$_disaster
}
}
set_variable = {
name = had_$type$_disaster
value = 1
}
}
else = {
change_variable = {
name = had_$type$_disaster
add = 1
}
}