
Peace Treaty
Force Embargo
We will enforce our demands as the Hegemon through military means.
Hegemon UltimatumCasus Bellipotential
Force EmbargoModifier TypepotentialDefinitionin_game/common/peace_treaties/hegemon_demands.txt:1
2blocks_full_annexation = yes
3potential = {
7scope:war = {
8has_casus_belli = yes
10original_defender_leader ?= scope:loser
}
}
13allow = {
14scope:loser = {
15num_of_ports > 0
16is_great_power = no
17has_markets = yes
}
}
20cost = {
21add = {
22desc = "DIPLOREASON_BASE" Base
23value = 15
}
}
26select_trigger = {
27looking_for_a = country
28target_flag = target
29interaction_source_list = {
30scope:winner = {
31every_rival = {
32add_to_list = source
}
}
}
36name = "force_embargo_select_title" Select Country for Recipient to Embargo
37none_available_msg_key = "force_embargo_no_countries"
38column = {
39data = name
}
41column = {
42data = population
}
44visible = {
45can_add_relation = {
46first = scope:loser
47second = root
48type = relation_type:embargo_nation
}
}
51enabled = {
52scope:loser = {
53NOT = {
54giving_scripted_relation = {
55type = relation_type:embargo_nation
56target = root
}
}
}
}
}
62effect = {
63scope:winner = {
64perform_diplomatic_action = {
65type = force_embargo
66actor = scope:winner
67recipient = scope:loser
68target = scope:target
69mode = accept
}
}
}
74ai_desire = {
75add = {
76desc = "HEGEMON_ULTIMATUM_WAR_AND_DEMAND"
77value = 5
}
79if = {
80limit = {
81scope:winner = {
83var:hegemon_war_reason_var = {
84scope_type = country_interaction
85this = country_interaction:force_embargo
}
}
}
89add = {
90desc = "HEGEMON_ULTIMATUM_WAR_ORIGINAL_DEMAND"
91value = 100
}
}
}