On action

on_exploration_success

on_exploration_successin_game/common/on_action/exploration_mission_monthly.txt:54

root = country, scope:target = area scope:actor = character

Требуетmal_founding_expedition_startПеременнаяeffectmission_new_maps_variableПеременнаяeffectnum_of_explorationsПеременнаяeffect

Определениеin_game/common/on_action/exploration_mission_monthly.txt:54

55on_actions = {
}
58effect = {
59if = {
60limit = {
61scope:target.sub_continent = sub_continent:south_america
}
65scope:actor = {
66save_scope_as = target_character
}
68trigger_event_non_silently = flavor_mal.25
}
70if = {
71limit = {
71has_variable = mission_new_maps_variable
}
72remove_variable = mission_new_maps_variable
73trigger_event_non_silently = generic_colonial_exploration_events.2
}
75if = {
76limit = {
77NOT = {
77has_variable = num_of_explorations
}
}
79set_variable = {
81value = 1
}
}
84else = {
85change_variable = {
87add = 1
}
}
}
92random_events = {
95chance_to_happen = 5
}