
Country Interaction
Bestow Free City Status
We will make them a Free Imperial City in the Holy Roman Empire.
MonarchyGovernment Typeaccept
TheocracyGovernment Typeaccept
Holy Roman EmpireInternational Organizationallow, select trigger
Free Imperial CitySpecial Statusselect trigger
Free City RightsLawallow
Is the PopeModifier Typeselect triggerDefinitionin_game/common/country_interactions/hre.txt:503
504type = diplomacy
505category = CATEGORY_HRE_ACTIONS
507ai_limit_per_check = 1
515allow = {
}
}
522select_trigger = {
523looking_for_a = country
524target_flag = recipient
525name = "choose_country" Choose the Country:
526column = {
527data = name
}
529visible = {
531is_rebel_country = no
}
}
542enabled = {
}
}
}
552effect = {
554international_organization_add_special_status = {
556country = scope:recipient
}
}
559scope:recipient = {
560add_opinion = {
560target = scope:actor
560modifier = opinion_granted_free_city
}
}
}
564ai_will_do = {
565add = {
566desc = "OUR_OPINION_TOOLTIP"
567value = "scope:actor.opinion(scope:recipient)"
}
569add = {
570desc = "THEIR_OPINION_TOOLTIP" Their opinion of us
571value = "scope:recipient.opinion(scope:actor)"
}
573if = {
574limit = {
574scope:actor.culture.language = scope:recipient.culture.language
}
575add = {
576desc = "UPKEEP_SAME_LANGUAGE"
577value = 25
}
}
580if = {
581limit = {
582not = {
583scope:recipient = {
584government_type = government_type:republic
}
}
}
588divide = 2
}
590if = {
591limit = {
592exists = scope:recipient
594key = free_city_status
595target = scope:recipient
}
}
599subtract = {
600desc = "DIPLOREASON_ALREADY_DID_ACTION"
601value = 10000
}
}
}
606accept = {
607if = {
608limit = {
608exists = scope:recipient
}
609if = {
611subtract = {
612desc = "game_concept_government_type" Government Type
613value = 100
}
}
616if = {
618subtract = {
619desc = "game_concept_government_type" Government Type
620value = 50
}
}
623if = {
624limit = {
624exists = scope:actor
}
625add = {
626desc = "THEIR_OPINION_TOOLTIP" Their opinion of us
627value = "scope:recipient.opinion(scope:actor)"
628if = {
629limit = {
629scope:recipient = {
629opinion(scope:actor) > 0
}
}
630divide = 10
}
632else = {
633divide = 5
}
}
636add = {
637desc = "DIPLOMATIC_REPUTATION" Diplomatic Reputation
638value = scope:actor.modifier:diplomatic_reputation
639multiply = 3
}
642add = {
643desc = "game_concept_trust" Trust
644value = "scope:recipient.trust(scope:actor)"
645divide = 5
}
}
}
650else = {
651value = 0
}
}
655reject_effect = {
657key = free_city_status
658target = scope:recipient
}
}