
Peace Treaty
Dismantle Forts
Their walls and fortifications shall be torn down stone by stone, leaving them vulnerable to future judgment.
Defensive BuildingsBuilding CategoryeffectDefinitionin_game/common/peace_treaties/dismantle_fort.txt:1
3category = dismantle_fort
4cost = {
5add = {
6desc = "DIPLOREASON_BASE" Base
7value = "scope:target.location_peace_cost(scope:loser|scope:winner)"
8multiply = 1
}
}
12base_antagonism = 1
13antagonism_type = antagonism_dismantle_fortifications
15are_targets_exclusive = yes
17potential = {
}
20select_trigger = {
21looking_for_a = location
22source = recipient
23target_flag = target
24visible = {
25has_fort = yes
26owner = scope:recipient
}
}
30allow = {
}
33effect = {
34scope:target = {
36every_buildings_in_location = {
40location = {
40destroy_building = prev
}
}
}
}
45ai_desire = {
46if = {
47limit = {
48scope:target = {
49is_neighbor_of = scope:winner
}
}
52add = {
53desc = "DIPLOREASON_NEARBY_FORT"
54value = 2
}
}
58if = {
59limit = {
60scope:loser = {
61is_rebel_country = yes
}
}
65multiply = {
66desc = "DIPLOREASON_CIVIL_WAR"
67value = 0
}
}
}