
アクションこのバージョンで変更
地域の覇権をかけて宣戦布告
紅巾の乱は、現王朝の圧政に対する反乱であるだけでなく、天朝内の権力争いでもある。王を僭称する者たちに、為政権を獲得するだけの力を蓄えさせてはならない!
Actorは対象の国家に対して、開戦事由「争覇」を宣言する。
紅巾賊国際組織potential, select trigger 2
公正を有効化補正タイプeffect
「紅巾の乱」の開戦事由あり補正タイプallow, potential
紅巾の乱局面select trigger 1定義in_game/common/generic_actions/red_turban_rebellions.txt:637
638type = situation
640potential = {
641scope:actor = {
642OR = {
}
}
}
649allow = {
650scope:actor = {
652is_subject = no
653is_rebel_country = no
654NOT = {
654receiving_scripted_relation_of_type = relation_type:rein_in_junior_diplomacy
}
}
}
658ai_tick = monthly
659ai_tick_frequency = 1
660automation_tick = never
661automation_tick_frequency = 12
663select_trigger = {
664looking_for_a = situation
665target_flag = recipient
666name = "choose_situation" 局面を選択:
667column = {
668data = name
}
}
676select_trigger = {
677looking_for_a = country
678target_flag = target
679name = "rtr_declare_war_for_regional_supremacy_select_title" 中国戦国時代を選択
680none_available_msg_key = "rtr_declare_war_for_regional_supremacy_no_countries"
681allow_self = no
682column = {
683data = name
}
685column = {
686data = population
}
688visible = {
689country_type = location
690OR = {
692capital ?= {
693is_discovered_by = scope:actor
694OR = {
695region = region:east_china_region
696region = region:north_china_region
697region = region:south_china_region
698region = region:west_china_region
}
}
}
702NOT = {
702country_type = pop
}
703within_diplomatic_range = scope:actor
704NOT = {
704is_at_war_with = scope:actor
}
705NOT = {
705is_fighting_war_together_with = scope:actor
}
706NOT = {
706is_subject_of = scope:actor
}
707NOT = {
707ruler ?= scope:actor.ruler
}
708is_rebel_country = no
}
710enabled = {
711NOT = {
711has_truce_with = scope:actor
}
}
}
715effect = {
716scope:actor = {
717if = {
718limit = {
719exists = scope:target
720NOT = {
720scope:target = scope:actor
}
}
722declare_war_with_cb = {
723target = scope:target
}
}
727if = {
}
}
}
734ai_will_do = {
735add = 200
736if = {
737limit = {
738scope:actor ?= {
739has_variable = rtr_yuan_allegiance
}
741scope:actor.var:rtr_yuan_allegiance > 0
742scope:actor.var:rtr_yuan_allegiance < 50
}
744subtract = 150
}
746if = {
747limit = {
747exists = scope:target
}
748if = {
749limit = {
750scope:actor ?= {
751has_variable = rtr_yuan_allegiance
752var:rtr_yuan_allegiance >= 50
}
754scope:target = {
755has_variable = rtr_yuan_allegiance
756var:rtr_yuan_allegiance >= 50
}
}
759subtract = 200
}
761add = {
762value = "scope:actor.opinion(scope:target)"
763divide = -5
}
765add = {
766value = "scope:actor.country_economical_base"
767subtract = "scope:target.country_economical_base"
768multiply = 3
}
770if = {
771limit = {
771scope:target = {
771is_allied_with = {
771target = scope:actor
}
}
}
772subtract = 100
}
774if = {
775limit = {
775scope:target = {
775has_truce_with = scope:actor
}
}
776subtract = 100
}
778if = {
779limit = {
779scope:target = {
779NOT = {
779is_neighbor_of = scope:actor
}
}
}
780subtract = 1000
}
}
}