
Action
Strengthen Ministry
The Six Ministries are the basis of the government of the Middle Kingdom. By dedicating more resources to one of them, its capacities may be reinforced.
Middle KingdomInternational Organizationeffect, potential, select trigger 1
Enable RighteousnessModifier Typeeffect
Ministry of JusticePolicyeffect, select trigger 2
Ministry of PersonnelPolicyeffect, select trigger 2
Ministry of RevenuePolicyeffect, select trigger 2
Ministry of RitesPolicyeffect, select trigger 2
Ministry of WarPolicyeffect, select trigger 2
Ministry of WorksPolicyeffect, select trigger 2Definitionin_game/common/generic_actions/middle_kingdom.txt:363
364type = internationalorganization
366ai_tick = monthly
367ai_tick_frequency = 6
369automation_tick = monthly
370automation_tick_frequency = 3
371player_automated_category = diplomacy
373potential = {
375scope:actor = {
}
}
378allow = {
379scope:actor = {
379has_reform = government_reform:three_departments_system
}
}
382price = price:strengthen_ministry
384cooldown = {
385type = strengthen_ministry
386years = 20
}
389select_trigger = {
390looking_for_a = international_organization
391source = actor
392target_flag = recipient
393name = "choose_international_organization" Choose the International Organization:
394column = {
395data = name
}
}
402select_trigger = {
403looking_for_a = policy
404target_flag = target_policy
405name = "select_ministry" Select Ministry to Strengthen
406none_available_msg_key = "no_ministries"
407column = {
408data = policy_name_desc
}
410visible = {
411OR = {
}
}
}
422effect = {
423if = {
424limit = {
424exists = scope:target_policy
}
425scope:actor = {
426if = {
}
}
431if = {
433scope:actor = {
435custom_tooltip = countries_more_likely_to_accept_invite_to_sect_tt More willing to join our Sect
}
}
438if = {
440scope:actor = {
442if = {
444custom_tooltip = better_exams_results_tt Will get better candidates in the Conduct Kējǔ Examination Action
}
}
}
448if = {
450scope:actor = {
452if = {
454custom_tooltip = better_census_results_tt Will get better results when we Proclaim Decree of Conduct Population Census
}
}
}
458if = {
460scope:actor = {
462if = {
464custom_tooltip = better_reinforce_fortification_results_tt Will get better results when we Proclaim Decree of Reinforce Fortifications
}
}
}
468if = {
470scope:actor = {
472if = {
474custom_tooltip = better_warning_results_tt Will get better results when we Proclaim Decree of Issue Great Warnings
}
}
}
478if = {
480scope:actor = {
482if = {
484custom_tooltip = better_infrastructure_works_results_tt Will get better results when we Proclaim Decree of Commence Infrastructure Works
}
}
}
}
}
491ai_will_do = {
492value = 0
493if = {
494limit = {
494exists = scope:target_policy
}
495if = {
497add = "scope:actor.add_static_modifier_utility(strengthened_ministry_of_rites)"
}
499if = {
501add = "scope:actor.add_static_modifier_utility(strengthened_ministry_of_personnel)"
}
503if = {
505add = "scope:actor.add_static_modifier_utility(strengthened_ministry_of_revenue)"
}
507if = {
509add = "scope:actor.add_static_modifier_utility(strengthened_ministry_of_war)"
}
511if = {
513add = "scope:actor.add_static_modifier_utility(strengthened_ministry_of_justice)"
}
515if = {
517add = "scope:actor.add_static_modifier_utility(strengthened_ministry_of_works)"
}
}
520add = {
521desc = "CAN_EASILY_AFFORD"
522if = {
523limit = {
524scope:actor = {
525gold >= {
526value = scope:actor.monthly_income_trade_and_tax
527multiply = 6
}
}
}
531value = 50
}
}
534add = {
535desc = "IS_BANKRUPT_TOOLTIP"
536if = {
537limit = {
538scope:actor = {
539is_during_bankruptcy = yes
}
}
542value = -1000
}
}
545add = {
546desc = "IS_AT_WAR"
547if = {
548limit = {
549scope:actor = {
550at_war = yes
}
}
553value = -25
}
}
556add = {
557desc = "CAN_NOT_AFFORD"
558if = {
559limit = {
560scope:actor = {
561gold <= {
562value = scope:actor.monthly_income_trade_and_tax
563multiply = 6
}
}
}
567value = -60
}
}
}