스크립트 효과
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
}
}