
Action
Proclaim Decree
Imperial decrees are the key to the well functioning of the Middle Kingdom, ensuring that the authority of the Middle Kingdom Leader Title gets enforced throughout.
Middle KingdomInternational Organizationallow, potential, select trigger 1
Enable RighteousnessModifier Typeeffect
Commence Infrastructure WorksPolicyeffect, select trigger 2
Conduct Population CensusPolicyeffect, select trigger 2
Expand Palace BureaucracyPolicyeffect, select trigger 2
Increase Tariff ControlPolicyeffect, select trigger 2
Issue Great WarningsPolicyeffect, select trigger 2
Reinforce FortificationsPolicyeffect, select trigger 2Strengthened Ministry of JusticeStatic ModifiereffectStrengthened Ministry of RevenueStatic ModifiereffectStrengthened Ministry of WarStatic ModifiereffectStrengthened Ministry of WorksStatic ModifiereffectDefinitionin_game/common/generic_actions/middle_kingdom.txt:573
574type = internationalorganization
576ai_tick = monthly
577ai_tick_frequency = 6
579automation_tick = monthly
580automation_tick_frequency = 3
581player_automated_category = diplomacy
583potential = {
585scope:actor = {
}
}
588allow = {
592scope:actor = {
}
}
595price = price:proclaim_decree
597cooldown = {
598type = proclaim_decree
599years = 5
}
602select_trigger = {
603looking_for_a = international_organization
604source = actor
605target_flag = recipient
606name = "choose_international_organization" Choose the International Organization:
607column = {
608data = name
}
}
615select_trigger = {
616looking_for_a = policy
617target_flag = target_policy
618name = "select_decree" Select Decree
619none_available_msg_key = "no_decrees"
620column = {
621data = policy_name_desc
}
623visible = {
624OR = {
}
}
}
635effect = {
636if = {
637limit = {
637exists = scope:target_policy
}
638scope:actor = {
641if = {
}
645if = {
647add_country_modifier = {
649years = 5
650size = {scales the modifier
651value = 1
652add = {
653desc = middle_kingdom Middle Kingdom
}
}
}
}
666if = {
668add_country_modifier = {
670years = 5
671size = {scales the modifier
672value = 1
673add = {
}
683if = {
687add = 0.5
}
}
}
}
692if = {
694add_country_modifier = {
696years = 5
697size = {scales the modifier
698value = 1
699add = {
}
}
}
}
712if = {
714add_country_modifier = {
716years = 5
717size = {scales the modifier
718value = 1
719add = {
}
729if = {
733add = 0.1
}
}
}
}
738if = {
740add_country_modifier = {
742years = 5
743size = {scales the modifier
744value = 1
745add = {
}
755if = {
759add = 0.1
}
}
}
}
764if = {
766add_country_modifier = {
768years = 5
769size = {scales the modifier
770value = 1
771add = {
}
781if = {
785add = 0.1
}
}
}
}
}
}
}
794ai_will_do = {
795value = 0
796if = {
797limit = {
797exists = scope:target_policy
}
798if = {
800add = "scope:actor.add_static_modifier_utility(expanded_palace_bureaucracy)"
}
802if = {
804add = "scope:actor.add_static_modifier_utility(conducted_population_census)"
}
806if = {
808add = "scope:actor.add_static_modifier_utility(increased_tariff_control)"
}
810if = {
812add = "scope:actor.add_static_modifier_utility(issued_great_warnings)"
}
814if = {
816add = "scope:actor.add_static_modifier_utility(commenced_infrastructure_works)"
}
818if = {
820add = "scope:actor.add_static_modifier_utility(reinforced_fortifications)"
}
}
823add = {
824desc = "CAN_EASILY_AFFORD"
825if = {
826limit = {
827scope:actor = {
828gold >= {
829value = scope:actor.monthly_income_trade_and_tax
830multiply = 6
}
}
}
834value = 50
}
}
837add = {
838desc = "IS_BANKRUPT_TOOLTIP"
839if = {
840limit = {
841scope:actor = {
842is_during_bankruptcy = yes
}
}
845value = -1000
}
}
848add = {
849desc = "IS_AT_WAR"
850if = {
851limit = {
852scope:actor = {
853at_war = yes
}
}
856value = -25
}
}
859add = {
860desc = "CAN_NOT_AFFORD"
861if = {
862limit = {
863scope:actor = {
864gold <= {
865value = scope:actor.monthly_income_trade_and_tax
866multiply = 6
}
}
}
870value = -60
}
}
}