
ActionChanged this version
Betray our Allegiance
The tides of war change. While we may have pledged our sword in assistance of our allies during the ongoing conflict, we must reconcile with reality and pursue a different course of diplomacy, in an effort to spare our people the horrors of war and subjugation.
EnglandCountryallow, potential, select trigger 2
FranceCountryallow, potential, select trigger 2
Hundred Years' WarSituationselect trigger 1Definitionin_game/common/generic_actions/hundred_years_war.txt:700
701type = situation
702show_message = no
704automation_tick = never
705automation_tick_frequency = 12
707ai_tick = daily
708ai_tick_frequency = 30
709automation_tick = daily
710automation_tick_frequency = 7
712potential = {
}
729allow = {
730scope:actor = {
731any_current_war = {
732custom_tooltip = {
733text = war_goal_owned_by_us_tt The Wargoal is NOT a Location or a Province that we own
734war_goal_province ?= {
734owner != scope:actor
}
}
736custom_tooltip = {
737text = eng_leads_one_side_france_another_tt One side of the War is led by England, while the other is led by France
}
749trigger_if = {
750limit = {
750exists = this
}
751war_length > 12
}
753trigger_else = {
753custom_tooltip = war_going_on_longer_than_year_tt Has been going on for at least 1 year
}
}
}
}
765price = price:hyw_main_actions_price
767cooldown = {
768type = betray_our_allegiance
769years = 10
}
772select_trigger = {
773looking_for_a = situation
779target_flag = recipient
780name = "choose_situation" Choose the Situation:
781column = {
781data = name
}
}
788select_trigger = {
789looking_for_a = war
790source = actor
791target_flag = target_war
792name = "choose_war_tt" Choose a War
793none_available_msg_key = "no_valid_wars"
794column = {
795data = name
}
}
811effect = {
813custom_tooltip = able_to_request_peace_via_event_tt We may choose to abstain from the ongoing War between the English and the French
}
817ai_will_do = {
818add = {
819value = 5
820desc = BASE_VALUE
}
822if = {
823limit = {
824scope:actor = {
824is_subject = yes
}
}
826add = {
827value = 50
828subtract = scope:actor.subject_loyalty
829desc = "[actor] [subject_loyalty|e]"
}
831if = {
832limit = {
832scope:actor.liberty_desire != 0
}
833add = {
834value = scope:actor.liberty_desire
835desc = "our [liberty_desire|e]"
}
}
839if = {
840limit = {
841scope:actor.overlord = {
842ruler_or_regent ?= {
842has_trait = malevolent
}
}
}
846add = {
847value = 2
848desc = "malevolent overlord ruler / regent"
}
}
}
853if = {
854limit = {
854scope:actor.war_exhaustion > 0
}
855add = {
856value = scope:actor.war_exhaustion
857desc = "actor war exhaustion"
}
}
861if = {
862limit = {
}
873add = {
874value = "scope:actor.opinion(c:ENG)"
875subtract = "scope:actor.opinion(c:FRA)"
876desc = "our opinion of france minus opinion of england"
877multiply = 0.25
}
880add = {
881value = c:ENG.modifier:diplomatic_reputation
882subtract = c:FRA.modifier:diplomatic_reputation
883desc = "ENG dip rep minus FRA dip rep"
884multiply = 5
}
}
887else = {
888add = {
889value = "scope:actor.opinion(c:FRA)"
890subtract = "scope:actor.opinion(c:ENG)"
891desc = "our opinion of France minus opinion of England"
892multiply = 0.25
}
895add = {
896value = c:FRA.modifier:diplomatic_reputation
897subtract = c:ENG.modifier:diplomatic_reputation
898desc = "FRA dip rep minus ENG dip rep"
899multiply = 5
}
}
903if = {
904limit = {
904scope:actor.num_loans > 0
}
905add = {
906value = scope:actor.num_loans
907multiply = 3
908desc = "NUM_LOANS"
}
}
912if = {
913limit = {
914scope:actor = {
914is_during_bankruptcy = yes
}
}
916add = {
917value = 200
918desc = "[bankruptcy|e]"
}
}
922if = {
923limit = {
923exists = scope:target_war
}
924add = {
925value = scope:target_war.war_length
926desc = "war length"
}
}
}