
Peace Treaty
Take Maps
We shall take their knowledge of far away lands to use for our own gain.
Definitionin_game/common/peace_treaties/steal_maps_treaty.txt:1
2collate_targets = yes
4potential = {
}
7allow = {
}
10select_trigger = {
11looking_for_a = area
12target_flag = target
13name = "steal_maps_select_title" Choose an Area to steal maps of:
14none_available_msg_key = "steal_maps_no_areas"
15column = {
16data = name
}
18visible = {
19scope:recipient = {
19has_discovered_area = prev
}
20NOT = {
20scope:actor = {
20has_discovered_area = prev
}
}
}
22enabled = {
23any_neighbor_area = {
24scope:actor = {
24has_discovered_area = prev
}
}
}
}
29cost = {
30add = {
31desc = "DIPLOREASON_BASE" Base
32value = 10
}
}
36effect = {
37if = {
38limit = {
39exists = scope:target
}
41scope:winner = {
42discover_area = scope:target
}
}
}
47ai_desire = {
}