외교 관계이번 버전 변경

하위국의 외교 통제

rein_in_junior_diplomacyin_game/common/scripted_relations/rein_in_junior_diplomacy.txt:1

상위 연합국이 외교단을 파견하여 하위 연합국 한 곳의 외교를 통제하고, 해당 국가가 함부로 전쟁을 선포하지 못하도록 금지합니다.

요구 조건상위 연합국특별 지위visible, will expire trigger하위국의 외교 통제 잠금 해제보정치 유형visible, will expire trigger

2type = union
3category = {
4offer = CATEGORY_UNION_ACTIONS
5cancellation = CATEGORY_UNION_ACTIONS
}
7relation_type = oneway
8break_on_war = yes
9uses_diplo_capacity = giving
10diplomatic_capacity_cost = rein_in_junior_diplomacy_upkeep_cost
12request_visible = {
13always = no
}
15break_visible = {
16always = no
}
19institution_spread_to_second = monthly_institution_spread_severe (0.5)
21visible = {
22scope:actor = {
23union ?= {
25country_has_special_status = {
27country = scope:actor
}
}
}
}
33will_expire_trigger = {
34scope:first = {
35union ?= {
36OR = {
38NOT = {
39country_has_special_status = {
41country = scope:first
}
}
}
}
}
}
49wants_to_give_diplo_chance = {
50actor_max_relations = -20
51max_relations = -20
52border_distance = 0.5
}
55wants_to_give = {
56if = {
57limit = {
57scope:recipient = {
57is_ai = no
}
}
59subtract = {
60desc = "DIPLOREASON_BASE" 기본
61value = 500
}
}
64else = {
65subtract = {
66desc = "DIPLOREASON_BASE" 기본
67value = 25
}
69add = {
70desc = "DIPLOREASON_AVERAGE_CONQUEST_DESIRE" Recipient의 평균 정복 열망
71value = 0
72save_temporary_value_as = {
73name = conquest_neighbors_number
74value = 0
}
76scope:recipient = {
77every_neighbor_country = {
78limit = {
79scope:recipient = {
80can_declare_war_on = prev
}
}
83scope:recipient = {
84add = "conquer_desire(prev)"
}
86save_temporary_value_as = {
87name = conquest_neighbors_number
88value = {
89value = scope:conquest_neighbors_number
90add = 1
}
}
}
}
95if = {
96limit = {
97exists = scope:conquest_neighbors_number
98scope:conquest_neighbors_number > 0
}
100divide = scope:conquest_neighbors_number
}
}
}
104if = {
105limit = {
106scope:actor = {
107OR = {
108is_rival_of = scope:recipient
109is_enemy_of = scope:recipient
}
}
}
114add = {
115desc = "DIPLOREASON_HOSTILE_RELATIONS" 이미 적대 관계가 확립됨
116value = 200
}
}
119add = {
120desc = "ACTOR_WOULD_NEED_TO_PAY_FOR_DIPLOMACY" Actor(은)는 관계 유지를 위해 비용을 지불해야 합니다
121value = scope:actor.diplomatic_capacity_without_maintenance
122subtract = scope:actor.used_diplomatic_capacity
123subtract = "scope:actor.diplomatic_capacity_of_new_relation(scope:recipient|scope:scripted_relation_type)"
124if = {
125limit = {
126NOT = {
126scope:actor.diplomatic_capacity_without_maintenance <= 0
}
}
128divide = scope:actor.diplomatic_capacity_without_maintenance
}
130max = 0
131multiply = 100
}
133add = {
134desc = "RELATIVE_ECONOMICAL_BASE"
135value = scope:recipient.country_economical_base
136multiply = 1.25
137divide = scope:actor.country_economical_base
138subtract = 1
139multiply = 100
}
141if = {
142limit = {
143scope:actor = {
144union ?= {
145international_organization_has_law = law:union_mutual_offense_law
}
}
}
149add = {
150desc = "DIPLOREASON_WILL_PREVENT_CALLED_TO_USELESS_WARS" 불필요한 전쟁에 소집되는 것을 방지함
151value = 30
152if = {
153limit = {
154scope:actor.union = {
154international_organization_has_policy = policy:union_automatic_offense_policy
}
}
156add = 30
}
158if = {
159limit = {
160scope:actor.union = {
160international_organization_has_policy = policy:union_assured_offense_policy
}
}
162add = 70
}
}
}
}
© 2026 Soft Santa Cruz, S.L.U.. 모든 권리 보유. 비공식 팬 프로젝트이며 Paradox Interactive와 관련이 없습니다. 게임 콘텐츠 © Paradox Interactive. 소개 · 개인정보 보호 · 법적 고지