
Interakcja krajowaNowość w tej wersji
Poproś o dostęp wojskowy jedną ze stron konfliktu
Poprosimy ich, by udzielili nam i naszym sojusznikom Concept
Definicjain_game/common/country_interactions/ask_for_access_for_war_side.txt:1
2type = diplomacy
3category = CATEGORY_ACCESS_ACTIONS
5potential = {
}
8allow = {
9scope:actor = {
10at_war = yes
}
}
14ai_tick = never
16select_trigger = {
17looking_for_a = country
18target_flag = recipient
19name = "choose_country" Wybierz Country:
20column = {
21data = name
}
23visible = {
}
26enabled = {
27scope:actor = {
28NOT = {
29is_at_war_with = scope:recipient
}
}
}
}
35select_trigger = {
36looking_for_a = war
37target_flag = war
38interaction_source_list = {
39scope:actor = {
40every_current_war = {
41add_to_list = source
}
}
}
45name = "choose_war" Wybierz wojnę
46default_sort = select_target_acceptance_total
47column = {
48data = name
}
50column = {
51data = select_target_acceptance_total
}
53visible = {
}
55enabled = {
56scope:actor = {
57is_war_leader_of = root
}
59NOT = {
60is_in_war = scope:recipient
}
62trigger_if = {
63limit = {
64is_an_attacker = scope:actor
}
66NOT = {
67attackers_have_access_in = scope:recipient
}
}
70trigger_else = {
71NOT = {
72defenders_have_access_in = scope:recipient
}
}
}
}
79effect = {
80custom_tooltip = {
81text = add_access_for_our_side_in_recipient Actor Adjectiveka strona konfliktu otrzyma Military Access w państwie Recipient
82scope:war = {
83if = {
84limit = {
85is_an_attacker = scope:actor
}
87add_access_for_attackers = scope:recipient
}
89else = {
90add_access_for_defenders = scope:recipient
}
}
}
}
95reject_effect = {
}
98price = price:buy_military_access
99payee = scope:recipient
101diplo_chance = {
102base = -10
103giving_defensive_support = 5
104receiving_defensive_support = 10
105same_international_organization = 10
106trust_in_actor = 1
107negative_opinion = -0.5
108positive_opinion = 0.1
109royal_ties = 0.5
}
112accept = {
113if = {
114limit = {
114exists = scope:war
}
115add = {
116desc = "OPINION_OF_OTHER_WAR_LEADER" Opinia na temat wrogiego przywódcy w wojnie
117value = {
118scope:war = {
119if = {
120limit = {
121is_an_attacker = scope:actor
}
123scope:recipient = {
124add = "opinion(scope:war.defender_leader)"
}
}
127else = {
128scope:recipient = {
129add = "opinion(scope:war.attacker_leader)"
}
}
}
}
134multiply = -0.2
}
}
}
139ai_will_do = {
140value = -1
}