Скриптовый эффект

ibn_battuta_second_round_travels_effect

ibn_battuta_second_round_travels_effectin_game/events/character/ibn_battuta_events.txt:57
ТребуетКитайДержаваifМароккоДержаваifibn_battuta_observes_chinese_laws_variableПеременнаяelse ifibn_battuta_observes_customs_variableПеременнаяif

Определениеin_game/events/character/ibn_battuta_events.txt:57

58if = {
59limit = {
60character:mor_ibn_battuta = {
}
}
62custom_tooltip = ibn_studied_customs_of_china_tt Поскольку Target Character Last Name Select CString литературу и обычаи самовыражения CL GEN:
63culture = {
64add_cultural_tradition = cultural_tradition_extreme_bonus (20)
65add_cultural_influence = cultural_influence_extreme_bonus (20)
}
67if = {
68limit = {
69c:CHI ?= {
70any_institutions_embraced = {
71NOT = {
71root = {
71has_embraced_institution = prev
}
}
}
}
74NOT = {
74tag = MOR
}
}
76c:CHI ?= {
77random_institutions_embraced = {
78limit = {
79NOT = {
79root = {
79has_embraced_institution = prev
}
}
}
81scope:target_location_5 = {
82change_institution_progress = {
83type = prev
}
}
}
}
}
90else_if = {
91limit = {
92c:CHI ?= {
93any_institutions_embraced = {
94NOT = {
94root = {
94has_embraced_institution = prev
}
}
}
}
97exists = scope:target_location_8
98tag = MOR
}
100c:CHI ?= {
101random_institutions_embraced = {
102limit = {
103NOT = {
103root = {
103has_embraced_institution = prev
}
}
}
105scope:target_location_8 = {
106change_institution_progress = {
107type = prev
}
}
}
}
}
114else = {
114add_research_progress = research_progress_severe_bonus (10)
}
}
116else_if = {
117limit = {
118character:mor_ibn_battuta = {
}
}
120custom_tooltip = chinese_laws_ibn_battuta_effect_tt Поскольку Target Character Last Name Select CString нормы и основы права CL GEN:
121add_country_modifier = {
}
}