Освобождение от дани
Действие

Освобождение от дани

exempt_from_tributein_game/common/generic_actions/middle_kingdom.txt:876

Система дани в Срединном Государстве иногда скорее проклятие, чем благо. Мы можем освободить некоторые державы от даннических обязательств, чтобы облегчить нагрузку на правительство.

ТребуетСрединное государствоМеждународное объединениеpotential, select trigger 1, select trigger 2ДанникТип ленникаeffect, select trigger 2

Определениеin_game/common/generic_actions/middle_kingdom.txt:876

877type = internationalorganization
879ai_tick = monthly
880ai_tick_frequency = 6
882automation_tick = monthly
883automation_tick_frequency = 3
884player_automated_category = diplomacy
886potential = {
888scope:actor = {
888is_leader_of_international_organization = international_organization:middle_kingdom
}
}
891allow = {
}
894price = price:exempt_from_tribute
896cooldown = {
}
899select_trigger = {
900looking_for_a = international_organization
901source = actor
902target_flag = recipient
903name = "choose_international_organization" Выберите Concept:
904column = {
905data = name
}
907visible = {
908international_organization_type = international_organization_type:middle_kingdom
}
}
912select_trigger = {
913looking_for_a = country
914target_flag = target
915name = "choose_country" Выберите Concept:
916none_available_msg_key = "no_valid_countries"
917column = {
918data = name
}
920interaction_source_list = {
922every_international_organization_member = {
923limit = {
924this != scope:actor
}
926add_to_list = source
}
}
}
930visible = {
}
932enabled = {
933OR = {
934NOT = {
934is_subject_of = scope:actor
}
935is_subject_type = tributary
}
}
}
940effect = {
941if = {
942limit = {
942exists = scope:target
}
943scope:recipient = {
943remove_country_from_international_organization = scope:target
}
944scope:target ?= {
945if = {
946limit = {
947is_subject_of = scope:actor
948is_subject_type = tributary
}
950scope:actor = {
950cancel_subject = prev
}
}
}
}
}
956ai_will_do = {
957value = -1000
958add = {
959desc = "IS_BANKRUPT_TOOLTIP"
960if = {
961limit = {
962scope:actor = {
963is_during_bankruptcy = yes
}
}
966value = 1000
}
}
969add = {
970desc = "game_concept_opinion"
971scope:actor = {
972value = "opinion(scope:target)"
973divide = -5
}
}
976add = {
977desc = "game_concept_trust"
978scope:actor = {
979value = "trust(scope:target)"
980divide = -5
}
}
984add = {
985desc = "RELATIVE_INCOME"
986value = {
987value = scope:target.monthly_income_trade_and_tax
988multiply = {
989value = 1
990add = "scope:target.modifier:tribute_payment_received_modifier"
}
}
993divide = {
994value = scope:actor.monthly_income_trade_and_tax
995min = 1
}
}
}