
Organización internacionalCambiado en esta versión
Imperio Medio
El Imperio Medio se refiere a China, considerada el centro cultural del Lejano Oriente desde la Antigüedad y, por tanto, en el centro —o medio— del mundo.
Sogunato japonésOrganización internacionalcan join triggerModificadores
Modifier
Non leader modifier
Leader modifier
Variables 2
Definiciónin_game/common/international_organizations/middle_kingdom.txt:1
2has_target = no
3unique = yes
4show_on_diplomatic_map = yes
5expel_members_who_are_targets_of_other_members = no
7antagonism_modifier_for_taking_land_from_fellow_member = 0.5
8has_leader_country = yes
9leader_type = country
11leader_color = define:NMapColors|INTERNATIONAL_ORGANIZATION_LEADER_COLOR
14leader_title_key = "EMPEROR_CHINA"
15title_is_suffix = yes
16override_ruler_title = yes
17leader_type = character
18leader = {
19leader_country ?= {
20if = {
21limit = {
22has_regent = yes
23has_heir = yes
}
25heir = {
26add_to_list = leaders
}
}
29else = {
30ruler ?= {
31add_to_list = leaders
}
}
}
}
46only_leader_country_joins_defensive_wars = yes
47join_defensive_wars_auto_call = {
48scope:target ?= {
49NOT = {
50is_member_of_international_organization = root
}
}
}
55create_visible_trigger = {
56always = no
}
59invite_visible_trigger = {
60always = yes
}
64can_declare_war = {
65always = yes
}
69leader_modifier = {
}
77can_lead_trigger = {
}
81can_join_trigger = {
82at_war = no
83OR = {
84is_subject_of = scope:recipient.leader_country
85is_subject = no
}
88trigger_if = {
89limit = {
}
}
95OR = {
96capital ?= {
96continent = continent:asia
}
97culture = {
98OR = {
}
}
103religion = {
}
}
}
112can_leave_trigger = {
113NOT = {
113is_subject_of = scope:recipient.leader_country
}
114NOT = {
114is_leader_of_international_organization = scope:recipient
}
}
117auto_leave_trigger = {
118NOT = {
118is_leader_of_international_organization = scope:recipient
}
119exists = scope:recipient.leader_country
120is_at_war_with = scope:recipient.leader_country
}
123auto_disband_trigger = {
124always = no
}
127on_joined = {
128if = {
129limit = {
130scope:recipient.leader_country != root
}
132create_relation = {
133first = scope:recipient.leader_country
134second = root
135type = relation_type:exclusive_trade_rights_with_isolated
}
}
}
140on_left = {
141if = {
142limit = {
143exists = scope:recipient.leader_country
144scope:recipient.leader_country != root
}
146remove_relation = {
147first = scope:recipient.leader_country
148second = root
149type = relation_type:exclusive_trade_rights_with_isolated
}
}
}
154monthly_effect = {
156leader_country ?= {
157every_subject = {
158limit = {
158NOT = {
158is_member_of_international_organization = root
}
}
159root = {
160add_country_to_international_organization = prev
}
}
}
}
166variables = {
167num_of_celestial_governors = {
168min = 0
169max = 4
170start = 1
171monthly_change_hidden = yes
}
173celestial_authority = {
174format = "celestial_authority_DISPLAY"
175change_format = "VARIABLE_CHANGE_FORMAT"
176min = 0
177max = 100
178start = 70
179monthly_change = {
180subtract = {
181desc = "BASE_DECAY"
182value = 0.1
}
184add = {
186if = {
187limit = {
188any_international_organization_member = {
189any_country_at_war_with = {
190is_member_of_international_organization = root
}
}
}
194add = {
195desc = "MIDDLE_KINGDOM_MEMBERS_AT_WAR"
196value = 0
197every_international_organization_member = {
198limit = {
199any_country_at_war_with = {
200is_member_of_international_organization = root
}
}
203add = -0.01
}
}
}
208add = {
209desc = "NUMBER_OF_TRIBUTARIES"
210value = 0
211every_international_organization_member = {
212limit = {
213root = {
214NOT = {
215country_has_special_status = {
216type = special_status:celestial_governor
217country = prev
}
}
}
221NOT = {
221is_leader_of_international_organization = root
}
}
223add = {
224value = 0.005
225if = {
226limit = {
226exists = root.leader_country
}
227multiply = {
228value = "opinion(root.leader_country)"
229divide = 200
}
}
232multiply = {
233value = country_economical_base
234divide = 1000
}
}
}
}
}
250if = {
251limit = {
252NOT = {
253leader_country = {
253modifier:monthly_celestial_authority = 0
}
}
}
256add = {
257desc = "IO_MONTHLY_CELESTIAL_AUTHORITY"
259value = leader_country.modifier:monthly_celestial_authority
}
}
}
}
}
266payments_implemented = {
middle_kingdom_tribute
}
274ai_desire_to_join = {
275add = {
276desc = "OPINION_OF_CHINESE_EMPEROR" Opinión Country Adjective sobre China
277value = {
278scope:recipient = {
279leader_country = {
280root = {
281value = this_opinion_of_prev
282multiply = 0.2
}
}
}
}
}
288if = {
289limit = {
290opinion = {
291target = scope:recipient.leader_country
292value < -20
}
}
295add = {
296desc = "POOR_RELATIONS" Malas relaciones
297value = -1000
}
}
300add = {
301desc = "EMPEROR_DIP_REPUTATION" Reputación diplomática de China
302scope:recipient = {
303value = leader_country.modifier:diplomatic_reputation
304multiply = 2
}
}
307if = {
308limit = {
309NOT = {
309within_diplomatic_range = scope:recipient.leader_country
}
}
311add = {
312desc = "OUTSIDE_OF_DIP_RANGE" Fuera del Diplomatic Range
313value = -1000
}
}
316add = {
317desc = "DISTANCE_FROM_CHINA" Distancia fronteriza
318value = "border_distance_to(scope:recipient.leader_country)"
319multiply = -0.05
320min = -1000
}
322if = {
323limit = {
323at_war = yes
}
324add = {
325desc = "IS_AT_WAR" Está en War
326value = -1000
}
}
}
331ai_desire_to_allow_new_member = {
332add = {
333desc = "WE_WANT_THE_ORGANIZATION_TO_GROW" Queremos que la International Organization crezca
334value = 20
}
336if = {
337limit = {
338leader_country = {
338is_during_bankruptcy = yes
}
}
340add = {
341desc = "WE_EXPERIENCE_BANKRUPTCY" China está en Bankrupt
342value = -1000
}
}
345add = {
346desc = "CURRENT_CELESTIAL_AUTHORITY" Autoridad celestial actual
}
352scope:actor = {
353add = {
354desc = "ECONOMIC_SIZE" Tamaño de la economía
355value = monthly_income_trade_and_tax
356multiply = -1
}
358if = {
359limit = {
360is_subject_of = root.leader_country
}
362add = {
363desc = "NOT_SUBJECT_OF_EMPEROR" No es súbdito de China
364value = -25
}
}
}
}






