
Country Interaction
Bestow Legatus Natus Status
We will make them a Legatus Natus in the Holy Roman Empire.
MonarchyGovernment Typeaccept
RepublicGovernment Typeaccept
Holy Roman EmpireInternational Organizationallow, select trigger
Legatus NatusSpecial Statusselect trigger
Is the PopeModifier Typeselect trigger
Seal the Golden BullPolicyallowDefinitionin_game/common/country_interactions/hre.txt:2945
2946type = diplomacy
2947category = CATEGORY_HRE_ACTIONS
2949ai_limit_per_check = 1
2957allow = {
}
}
2963select_trigger = {
2964looking_for_a = country
2965target_flag = recipient
2966name = "choose_country" Choose the Country:
2967column = {
2968data = name
}
2970visible = {
2972is_rebel_country = no
2974not = {
}
}
2982AND = {
2983num_countries_with_special_status = {
2985value < "max_countries_with_special_status(special_status:legatus_natus)"
}
2987NOT = {
}
}
}
}
2997enabled = {
}
}
}
3007effect = {
3009international_organization_add_special_status = {
3011country = scope:recipient
}
}
3014scope:recipient = {
3015add_reform = government_reform:legatus_natus
3016add_opinion = {
3016target = scope:actor
3016modifier = opinion_granted_legatus_natus
}
}
}
3020ai_will_do = {
3021add = {
3022desc = "OUR_OPINION_TOOLTIP"
3023value = "scope:actor.opinion(scope:recipient)"
}
3025add = {
3026desc = "THEIR_OPINION_TOOLTIP" Their opinion of us
3027value = "scope:recipient.opinion(scope:actor)"
}
3029if = {
3030limit = {
3030scope:actor.culture.language = scope:recipient.culture.language
}
3031add = {
3032desc = "UPKEEP_SAME_LANGUAGE"
3033value = 25
}
}
3036if = {
3037limit = {
3038exists = scope:recipient
3039scope:recipient = {
3039has_cooldown = ai_spam_protection_bestow_legatus_natus_status
}
}
3041subtract = {
3042desc = "DIPLOREASON_ALREADY_DID_ACTION"
3043value = 10000
}
}
}
3048accept = {
3049if = {
3050limit = {
3050exists = scope:recipient
}
3051if = {
3053subtract = {
3054desc = "game_concept_government_type" Government Type
3055value = 100
}
}
3058if = {
3060subtract = {
3061desc = "game_concept_government_type" Government Type
3062value = 50
}
}
3065if = {
3066limit = {
3066exists = scope:actor
}
3067add = {
3068desc = "THEIR_OPINION_TOOLTIP" Their opinion of us
3069value = "scope:recipient.opinion(scope:actor)"
3070if = {
3071limit = {
3071scope:recipient = {
3071opinion(scope:actor) > 0
}
}
3072divide = 10
}
3074else = {
3075divide = 5
}
}
3078add = {
3079desc = "DIPLOMATIC_REPUTATION" Diplomatic Reputation
3080value = scope:actor.modifier:diplomatic_reputation
3081multiply = 3
}
3084add = {
3085desc = "game_concept_trust" Trust
3086value = "scope:recipient.trust(scope:actor)"
3087divide = 5
}
}
}
3092else = {
3093value = 0
}
}
3097reject_effect = {
3098hidden_effect = {
3099scope:recipient = {
3100add_cooldown = {
3101type = ai_spam_protection_bestow_legatus_natus_status
3102years = 5
}
}
}
}