
Policy
Possible Defense
Members will be able to be called into defensive wars declared on other members, but do not have to accept.
Assured DefensePolicywants propose policy, wants this policy bias
Automatic DefensePolicywants propose policy, wants this policy biasDefinitionin_game/common/laws/io_alliances_law.txt:59
61join_defensive_wars_can_call = {
62custom_tooltip = {
63text = JOIN_WARS_DEFAULT_REASON Is at War with any non-member of International Organization
64always = yes
}
}
67wants_this_policy_bias = {
68if = {
69limit = {
70exists = scope:recipient
71scope:recipient = {
72OR = {
}
}
}
78subtract = {
79desc = "WE_ALREADY_HAVE_A_BETTER_POLICY" We already have a better policy
80value = 1000
}
}
84add = {
85desc = "NEEDS_ALLIES_AGAINST_STRONG_RIVALS_AND_NEIGHBOURS" Threat from neighbors and rivals
88max = 30
89min = 0.5
}
}
92wants_propose_policy = {
93if = {
94limit = {
95exists = scope:recipient
96scope:recipient = {
97OR = {
}
}
}
103subtract = {
104desc = "WE_ALREADY_HAVE_A_BETTER_POLICY" We already have a better policy
105value = 1000
}
}
}
109wants_keep_policy = {
110add = {
111desc = "POLICY_BASE_REASON_KEEP_POLICY" From wanting to keep an already established policy
112value = 20
}
}
115reasons_to_join = {
117add = {
118desc = "NEEDS_ALLIES_AGAINST_STRONG_RIVALS_AND_NEIGHBOURS" Threat from neighbors and rivals
121max = 30
122min = 0.5
}
124max = 40
}
126policy_bias_towards_new_member = {
127if = {
128limit = {
129OR = {
130is_rival_of = scope:actor
131is_enemy_of = scope:actor
}
}
134add = {
135desc = "[rival_enemy|e]"
136value = -1000
}
}
139add = {
140desc = "game_concept_opinion" Opinion
141scope:actor = {
142value = prev_opinion_of_this
143multiply = 0.03
}
}
146add = {
147desc = "NEEDS_ALLIES_AGAINST_STRONG_RIVALS_AND_NEIGHBOURS" Threat from neighbors and rivals
150max = 30
151min = 0.5
}
}