
Country Interaction
Sabotage Reputation
This will give another nation a much worse opinion of them!
Definitionin_game/common/country_interactions/sabotage_reputation.txt:1
2type = diplomacy
3category = CATEGORY_COVERT_ACTIONS
5diplomatic_cost = sabotage_reputation_cost
7block_when_at_war = no
9allow = {
}
12select_trigger = {
13looking_for_a = country
14target_flag = recipient
15name = "choose_country" Choose the Country:
16column = {
17data = name
}
19visible = {
}
21enabled = {
}
}
25select_trigger = {
26looking_for_a = country
27target_flag = target
28name = "sabotage_reputation_SELECT_TITLE" Select a Country who will get a worse opinion of them
29none_available_msg_key = "sabotage_reputation_no_countries"
30column = {
31data = name
}
33column = {
34data = population
}
36visible = {
37country_exists = this
38not = {
38this = scope:recipient
}
39scope:recipient = {
39has_discovered = prev.capital
}
40scope:actor = {
40has_discovered = prev.capital
}
41NOT = {
42has_opinion = {
43modifier = opinion_sabotage_reputation
44target = scope:recipient
}
}
}
}
50effect = {
51if = {
52limit = {
53exists = scope:target
}
55scope:target = {
55add_opinion = {
55target = scope:recipient
55modifier = opinion_sabotage_reputation
}
}
}
57else = {
58custom_tooltip = sabotage_reputation_tt The target Country will get Opinion Sabotage Reputation Opinion of the chosen country
}
}