parent
15a5108e23
commit
c4b6d9bdeb
250 changed files with 11067 additions and 16365 deletions
|
|
@ -204,16 +204,7 @@ building_orchards_requirement_terrain = {
|
|||
}
|
||||
|
||||
building_farm_estates_requirement_terrain = {
|
||||
OR = {
|
||||
terrain = farmlands
|
||||
AND = {
|
||||
OR = {
|
||||
terrain = hills
|
||||
terrain = jungle
|
||||
}
|
||||
county.culture = { has_cultural_parameter = rice_cultivators_can_construct_paddy_fields_in_hills_and_jungle }
|
||||
}
|
||||
}
|
||||
terrain = farmlands
|
||||
}
|
||||
|
||||
building_tell_mines_requirement_terrain = {
|
||||
|
|
@ -813,19 +804,11 @@ eastern_special_building_trigger = {
|
|||
has_building = shwedagon_pagoda_01
|
||||
has_building = ananda_temple_01
|
||||
has_building = khajuraho_01
|
||||
has_building = angkor_wat_01
|
||||
has_building = my_son_sanctuary_01
|
||||
has_building = stone_pagoda_01
|
||||
has_building = muara_takus_01
|
||||
has_building = three_pagodas_dali_01
|
||||
has_building = pyramid_lingapura_01
|
||||
has_building = buddha_kamakura_01
|
||||
has_building_or_higher = jokhang_01
|
||||
has_building_or_higher = konark_temple_01
|
||||
has_building_or_higher = vatapi_caves_01
|
||||
has_building_or_higher = sanchi_stupa_01
|
||||
has_building_or_higher = boudhanath_01
|
||||
has_building_or_higher = temples_angkor_01
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -852,7 +835,6 @@ religious_special_building_exclusion_trigger = { # checks if any special buildin
|
|||
has_building = holy_site_japanese_temple_01
|
||||
has_building = holy_site_chinese_temple_01
|
||||
has_building = holy_site_se_asia_pagan_temple_01
|
||||
has_building = izumo_taisha_01
|
||||
}
|
||||
}
|
||||
AND = { # Islamic
|
||||
|
|
@ -873,7 +855,6 @@ religious_special_building_exclusion_trigger = { # checks if any special buildin
|
|||
barony.holder.religion = religion:buddhism_religion
|
||||
barony.holder.religion = religion:jainism_religion
|
||||
barony.holder.religion = religion:taoism_religion
|
||||
barony.holder.religion = religion:confucianism_religion
|
||||
barony.holder.religion = religion:zoroastrianism_religion
|
||||
}
|
||||
eastern_special_building_trigger = yes
|
||||
|
|
@ -890,21 +871,6 @@ religious_special_building_exclusion_trigger = { # checks if any special buildin
|
|||
}
|
||||
}
|
||||
|
||||
building_monastic_schools_holding_level_requirement_trigger = {
|
||||
trigger_if = {
|
||||
limit = { scope:holder.faith = { has_doctrine_parameter = monastic_schools_allowed_in_every_holding_type } }
|
||||
OR = {
|
||||
has_building_or_higher = castle_$LEVEL$
|
||||
has_building_or_higher = city_$LEVEL$
|
||||
has_building_or_higher = temple_$LEVEL$
|
||||
has_building_or_higher = temple_citadel_$LEVEL$
|
||||
}
|
||||
}
|
||||
trigger_else = {
|
||||
has_building_or_higher = temple_$LEVEL$
|
||||
}
|
||||
}
|
||||
|
||||
building_murex_farm_requirement_terrain = {
|
||||
is_county_capital = yes
|
||||
is_coastal = yes
|
||||
|
|
@ -936,7 +902,6 @@ building_spice_plantation_requirement_terrain = {
|
|||
geographical_region = world_asia_sulawesi_maluku
|
||||
geographical_region = world_asia_indonesia
|
||||
geographical_region = world_india
|
||||
geographical_region = world_burma
|
||||
}
|
||||
OR = {
|
||||
terrain = jungle
|
||||
|
|
@ -955,19 +920,19 @@ building_examination_hall_requirement_terrain = {
|
|||
}
|
||||
|
||||
building_breweries_requirement = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
OR = {
|
||||
AND = {
|
||||
has_building_or_higher = temple_$NUMBER$
|
||||
OR = {
|
||||
faith = faith:catholic
|
||||
faith = { has_doctrine_parameter = allows_brewery }
|
||||
}
|
||||
}
|
||||
OR = {
|
||||
faith = faith:catholic
|
||||
faith = { has_doctrine_parameter = allows_brewery }
|
||||
AND = {
|
||||
has_building_or_higher = city_$NUMBER$
|
||||
culture = { has_cultural_parameter = allows_brewery }
|
||||
}
|
||||
}
|
||||
trigger_else = {
|
||||
building_requirement_castle_city_church = { LEVEL = $NUMBER$ }
|
||||
culture = { has_cultural_parameter = allows_brewery }
|
||||
}
|
||||
}
|
||||
|
||||
#building_powder_magazine_requirement = {
|
||||
|
|
|
|||
|
|
@ -62,6 +62,13 @@ portrait_wear_no_headgear_trigger = {
|
|||
|
||||
has_character_flag = roaming_character
|
||||
|
||||
AND = { # No headgear for characters without crowns
|
||||
exists = this
|
||||
portrait_wear_no_crown_trigger = yes
|
||||
# Should still wear armor when going to war
|
||||
portrait_wear_armor_trigger = no
|
||||
}
|
||||
|
||||
AND = {
|
||||
OR = {
|
||||
should_be_naked_trigger = yes # Deliberately not the "fully naked" one since dropping your crown's intended even if nudity is disabled
|
||||
|
|
@ -119,6 +126,20 @@ portrait_wear_armor_trigger = {
|
|||
limit = { portrait_sickness_trigger = yes }
|
||||
is_in_army = yes
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { government_allows = barter }
|
||||
OR = {
|
||||
is_at_war = yes
|
||||
involved_activity = { has_activity_type = activity_tournament }
|
||||
# Serving Varangian
|
||||
has_character_flag = is_currently_varangian
|
||||
# In a Duel
|
||||
has_character_flag = single_combat_duel_armor
|
||||
has_character_flag = forced_knight_armor
|
||||
# In a Tournament
|
||||
activity_tournament_armor_trigger = yes
|
||||
}
|
||||
}
|
||||
OR = {
|
||||
# Mercenaries, Holy Orders, Adventurers
|
||||
AND = {
|
||||
|
|
@ -193,6 +214,7 @@ portrait_wear_armor_trigger = {
|
|||
OR = {
|
||||
vassal_contract_has_flag = celestial_province_protectorate
|
||||
vassal_contract_has_flag = celestial_province_military
|
||||
vassal_contract_has_flag = meritocratic_province_protectorate
|
||||
vassal_contract_has_flag = meritocratic_province_military
|
||||
has_title = title:e_minister_grand_marshal
|
||||
}
|
||||
|
|
@ -230,6 +252,20 @@ portrait_wear_armor_currently_in_army_trigger = {
|
|||
is_commanding_army = yes
|
||||
exists = knight_army
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { government_allows = barter }
|
||||
OR = {
|
||||
is_at_war = yes
|
||||
involved_activity = { has_activity_type = activity_tournament }
|
||||
# Serving Varangian
|
||||
has_character_flag = is_currently_varangian
|
||||
# In a Duel
|
||||
has_character_flag = single_combat_duel_armor
|
||||
has_character_flag = forced_knight_armor
|
||||
# In a Tournament
|
||||
activity_tournament_armor_trigger = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
portrait_wear_no_armor_trigger = {
|
||||
|
|
@ -249,6 +285,7 @@ portrait_accoladed_knight_trigger = {
|
|||
highest_held_title_tier = tier_duchy
|
||||
}
|
||||
accolade = {
|
||||
is_accolade_active = yes
|
||||
accolade_rank >= 5
|
||||
}
|
||||
}
|
||||
|
|
@ -257,6 +294,7 @@ portrait_accoladed_knight_trigger = {
|
|||
highest_held_title_tier = tier_kingdom
|
||||
}
|
||||
accolade = {
|
||||
is_accolade_active = yes
|
||||
accolade_rank >= 3
|
||||
}
|
||||
}
|
||||
|
|
@ -264,6 +302,9 @@ portrait_accoladed_knight_trigger = {
|
|||
liege ?= {
|
||||
highest_held_title_tier = tier_empire
|
||||
}
|
||||
accolade = {
|
||||
is_accolade_active = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -287,6 +328,20 @@ portrait_wear_helmet_trigger = { # Different from Armor, as (crowned) Kings and
|
|||
limit = { portrait_sickness_trigger = yes }
|
||||
is_in_army = yes
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { government_allows = barter }
|
||||
OR = {
|
||||
is_at_war = yes
|
||||
involved_activity = { has_activity_type = activity_tournament }
|
||||
# Serving Varangian
|
||||
has_character_flag = is_currently_varangian
|
||||
# In a Duel
|
||||
has_character_flag = single_combat_duel_armor
|
||||
has_character_flag = forced_knight_armor
|
||||
# In a Tournament
|
||||
activity_tournament_armor_trigger = yes
|
||||
}
|
||||
}
|
||||
OR = {
|
||||
# Adventurers
|
||||
AND = {
|
||||
|
|
@ -367,6 +422,7 @@ portrait_wear_helmet_trigger = { # Different from Armor, as (crowned) Kings and
|
|||
OR = {
|
||||
vassal_contract_has_flag = celestial_province_protectorate
|
||||
vassal_contract_has_flag = celestial_province_military
|
||||
vassal_contract_has_flag = meritocratic_province_protectorate
|
||||
vassal_contract_has_flag = meritocratic_province_military
|
||||
has_title = title:e_minister_grand_marshal
|
||||
}
|
||||
|
|
@ -404,8 +460,6 @@ portrait_wear_helmet_trigger = { # Different from Armor, as (crowned) Kings and
|
|||
portrait_wear_no_crown_trigger = { # Rulers should be coronated to wear a crown barring exceptions
|
||||
exists = this
|
||||
OR = {
|
||||
is_governor = yes
|
||||
|
||||
trigger_if = { # No crowns for uncoronated characters
|
||||
limit = { has_ach_dlc_trigger = yes }
|
||||
has_realm_law = uncrowned
|
||||
|
|
@ -474,7 +528,6 @@ should_use_fat_animation = {
|
|||
}
|
||||
AND = { # Fat non dwarf
|
||||
scope:current_weight >= 40
|
||||
scope:current_weight <= 80
|
||||
is_dwarf_height = no
|
||||
}
|
||||
AND = { # Pregnant non dwarf
|
||||
|
|
@ -2097,7 +2150,7 @@ portrait_high_nobles_headgear_trigger = {
|
|||
limit = { culture = { has_clothing_gfx = japanese_clothing_gfx } }
|
||||
tgp_japanese_high_nobility_clothing_trigger = yes
|
||||
}
|
||||
trigger_else = { highest_held_title_tier = tier_duchy }
|
||||
trigger_else = { highest_held_title_tier >= tier_duchy }
|
||||
AND = {
|
||||
government_has_flag = government_is_republic
|
||||
primary_title.tier > tier_county
|
||||
|
|
@ -2110,17 +2163,6 @@ portrait_high_nobles_headgear_trigger = {
|
|||
highest_held_title_tier >= tier_kingdom
|
||||
is_governor = yes
|
||||
}
|
||||
AND = { # Uncoronated kings and emperors can use high nobility headgear
|
||||
OR = {
|
||||
portrait_royalty_trigger = {
|
||||
CULTURE_INPUT = $CULTURE_INPUT$
|
||||
}
|
||||
portrait_imperial_trigger = {
|
||||
CULTURE_INPUT = $CULTURE_INPUT$
|
||||
}
|
||||
}
|
||||
portrait_wear_no_crown_trigger = yes
|
||||
}
|
||||
}
|
||||
NOR = { # Blocked for mercenaries and adventurers
|
||||
government_has_flag = government_is_mercenary
|
||||
|
|
@ -2249,11 +2291,6 @@ portrait_royalty_trigger = {
|
|||
OR = {
|
||||
is_ruler = no
|
||||
highest_held_title_tier = tier_barony
|
||||
AND = {
|
||||
is_landed = no
|
||||
exists = primary_spouse
|
||||
target_is_liege_or_above = primary_spouse
|
||||
}
|
||||
}
|
||||
primary_spouse ?= {
|
||||
is_governor = no
|
||||
|
|
@ -2305,13 +2342,6 @@ portrait_royalty_clothing_trigger = {
|
|||
portrait_wear_no_armor_trigger = yes
|
||||
}
|
||||
|
||||
portrait_royalty_headgear_trigger = {
|
||||
portrait_royalty_trigger = {
|
||||
CULTURE_INPUT = $CULTURE_INPUT$
|
||||
}
|
||||
portrait_wear_no_crown_trigger = no
|
||||
}
|
||||
|
||||
portrait_royalty_african_headgear_trigger = {
|
||||
trigger_if = {
|
||||
limit = { exists = this }
|
||||
|
|
@ -2456,13 +2486,6 @@ portrait_imperial_clothing_trigger = {
|
|||
portrait_wear_no_armor_trigger = yes
|
||||
}
|
||||
|
||||
portrait_imperial_headgear_trigger = {
|
||||
portrait_imperial_trigger = {
|
||||
CULTURE_INPUT = $CULTURE_INPUT$
|
||||
}
|
||||
portrait_wear_no_crown_trigger = no
|
||||
}
|
||||
|
||||
portrait_imperial_nobles_headgear_trigger = {
|
||||
trigger_if = {
|
||||
limit = { exists = this }
|
||||
|
|
@ -3145,11 +3168,9 @@ portrait_religious_african_trigger = {
|
|||
### DDE HRE ###
|
||||
|
||||
portrait_reichskrone_trigger = {
|
||||
exists = this
|
||||
OR = {
|
||||
has_primary_title = title:e_european_union
|
||||
}
|
||||
portrait_wear_no_crown_trigger = no
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -21,25 +21,6 @@ can_be_councillor_basics_trigger = {
|
|||
limit = { has_variable = block_hire_councillor }
|
||||
NOT = { var:block_hire_councillor = liege }
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = not_travel_option_character
|
||||
NOT = { has_character_flag = travel_option_added_character }
|
||||
}
|
||||
}
|
||||
|
||||
can_be_councillor_gender_trigger = {
|
||||
OR = {
|
||||
is_ruler = yes
|
||||
has_variable = can_be_councillor_override
|
||||
AND = {
|
||||
is_female = yes
|
||||
$COURT_OWNER$.faith = { NOT = { has_doctrine_parameter = male_dominated_council } }
|
||||
}
|
||||
AND = {
|
||||
is_male = yes
|
||||
$COURT_OWNER$.faith = { NOT = { has_doctrine_parameter = female_dominated_council } }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
can_be_chancellor_trigger = {
|
||||
|
|
@ -58,7 +39,17 @@ can_be_chancellor_trigger = {
|
|||
liege = { has_diarchy_active_parameter = diarchy_is_vizierate }
|
||||
}
|
||||
}
|
||||
can_be_councillor_gender_trigger = { COURT_OWNER = $COURT_OWNER$ }
|
||||
OR = {
|
||||
is_ruler = yes
|
||||
AND = {
|
||||
is_female = yes
|
||||
$COURT_OWNER$.faith = { NOT = { has_doctrine_parameter = male_dominated_council } }
|
||||
}
|
||||
AND = {
|
||||
is_male = yes
|
||||
$COURT_OWNER$.faith = { NOT = { has_doctrine_parameter = female_dominated_council } }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
can_be_steward_trigger = {
|
||||
|
|
@ -77,7 +68,17 @@ can_be_steward_trigger = {
|
|||
liege = { has_diarchy_active_parameter = diarchy_is_vizierate }
|
||||
}
|
||||
}
|
||||
can_be_councillor_gender_trigger = { COURT_OWNER = $COURT_OWNER$ }
|
||||
OR = {
|
||||
is_ruler = yes
|
||||
AND = {
|
||||
is_female = yes
|
||||
$COURT_OWNER$.faith = { NOT = { has_doctrine_parameter = male_dominated_council } }
|
||||
}
|
||||
AND = {
|
||||
is_male = yes
|
||||
$COURT_OWNER$.faith = { NOT = { has_doctrine_parameter = female_dominated_council } }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
can_be_marshal_trigger = {
|
||||
|
|
@ -98,7 +99,15 @@ can_be_marshal_trigger = {
|
|||
}
|
||||
}
|
||||
OR = {
|
||||
can_be_councillor_gender_trigger = { COURT_OWNER = $COURT_OWNER$ }
|
||||
is_ruler = yes
|
||||
AND = {
|
||||
is_female = yes
|
||||
$COURT_OWNER$.faith = { NOT = { has_doctrine_parameter = male_dominated_council } }
|
||||
}
|
||||
AND = {
|
||||
is_male = yes
|
||||
$COURT_OWNER$.faith = { NOT = { has_doctrine_parameter = female_dominated_council } }
|
||||
}
|
||||
AND = {
|
||||
has_trait = shieldmaiden
|
||||
$COURT_OWNER$.culture = { has_cultural_parameter = has_access_to_shieldmaidens }
|
||||
|
|
@ -176,20 +185,6 @@ can_be_spouse_councillor_trigger = {
|
|||
}
|
||||
}
|
||||
|
||||
can_be_vizier_councillor_trigger = {
|
||||
can_be_councillor_basics_trigger = yes
|
||||
save_temporary_scope_as = confidant
|
||||
|
||||
$COUNCIL_OWNER$ = {
|
||||
OR = {
|
||||
scope:confidant = diarch
|
||||
any_consort = {
|
||||
scope:confidant = this
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
can_be_kurultai_trigger = {
|
||||
can_be_councillor_basics_trigger = yes
|
||||
exists = $COURT_OWNER$
|
||||
|
|
@ -329,31 +324,6 @@ councillor_loyalty_trigger = {
|
|||
}
|
||||
}
|
||||
|
||||
councillor_spouse_can_fire = { always = no }
|
||||
councillor_spouse_can_reassign = { always = no }
|
||||
councillor_spouse_valid_position = {
|
||||
AND = {
|
||||
NOT = {
|
||||
has_diarchy_type = vizierate
|
||||
}
|
||||
any_spouse = {
|
||||
OR = {
|
||||
court_owner = root
|
||||
AND = {
|
||||
is_ruler = yes
|
||||
liege ?= root
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
NOT = { government_has_flag = government_is_landless_adventurer }
|
||||
# Celestial hegemons have access to the ministry instead, so no spouse
|
||||
tgp_has_access_to_ministry_trigger = no
|
||||
}
|
||||
|
||||
councillor_vizier_can_fire = { always = yes }
|
||||
councillor_vizier_can_reassign = { always = yes }
|
||||
|
||||
############################
|
||||
#SPOUSE COUNCILLOR TRIGGERS#
|
||||
############################
|
||||
|
|
@ -372,13 +342,20 @@ is_blocked_from_being_fired_from_council_trigger = {
|
|||
OR = {
|
||||
# Check in code if the court owner is prevented from firing the councilor
|
||||
# can_fire_position must take a council task as input, but checks the councilor behind the task.
|
||||
council_task ?= { can_fire_position = no }
|
||||
AND = {
|
||||
exists = this.council_task
|
||||
this.council_task = { can_fire_position = no }
|
||||
}
|
||||
# Check for variable preventing the firing of a councilor set by script
|
||||
var:block_fire_councillor ?= $COURT_OWNER$
|
||||
AND = {
|
||||
has_variable = block_fire_councillor
|
||||
var:block_fire_councillor = $COURT_OWNER$
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
can_be_fired_from_council_trigger = {
|
||||
NOT = {
|
||||
is_blocked_from_being_fired_from_council_trigger = { COURT_OWNER = $COURT_OWNER$ }
|
||||
|
|
@ -386,7 +363,6 @@ can_be_fired_from_council_trigger = {
|
|||
trigger_if = {
|
||||
limit = {
|
||||
has_council_position = councillor_court_chaplain
|
||||
liege = { tgp_has_access_to_ministry_trigger = no }
|
||||
}
|
||||
faith = {
|
||||
OR = {
|
||||
|
|
|
|||
|
|
@ -73,9 +73,15 @@ should_use_temple_character_background_trigger = {
|
|||
}
|
||||
|
||||
has_mandala_culture_trigger = {
|
||||
OR = {
|
||||
culture_has_south_asian_heritage_pillar_trigger = yes
|
||||
culture_has_southeast_asian_heritage_pillar_trigger = yes
|
||||
culture = {
|
||||
OR = {
|
||||
has_cultural_pillar = heritage_austronesian
|
||||
has_cultural_pillar = heritage_tai
|
||||
has_cultural_pillar = heritage_mon_khmer
|
||||
has_cultural_pillar = heritage_viet
|
||||
has_cultural_pillar = heritage_indo_aryan
|
||||
has_cultural_pillar = heritage_burman
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ has_graphical_mena_culture_group_trigger = {
|
|||
has_graphical_india_culture_group_trigger = {
|
||||
OR = {
|
||||
has_building_gfx = indian_building_gfx
|
||||
has_building_gfx = tibetan_building_gfx
|
||||
has_building_gfx = southeast_asian_building_gfx
|
||||
}
|
||||
}
|
||||
|
|
@ -39,7 +38,6 @@ has_graphical_mediterranean_culture_group_trigger = {
|
|||
OR = {
|
||||
has_building_gfx = mediterranean_building_gfx
|
||||
has_building_gfx = byzantine_building_gfx
|
||||
has_building_gfx = caucasian_building_gfx
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -718,10 +716,9 @@ steppe_building_gfx_use_southeast_asian_trigger = {
|
|||
}
|
||||
|
||||
high_tier_throne_room_trigger = {
|
||||
tgp_is_ceremonial_regent_trigger = no # Not 'actual' ruler
|
||||
OR = {
|
||||
AND = {
|
||||
is_governor = no
|
||||
tgp_is_ceremonial_regent_trigger = no # Not 'actual' ruler
|
||||
primary_title ?= { tier >= tier_kingdom }
|
||||
}
|
||||
tgp_is_ceremonial_liege_trigger = yes
|
||||
|
|
|
|||
|
|
@ -173,20 +173,6 @@ is_valid_for_laampdom = {
|
|||
}
|
||||
is_landless_ruler = no # Admin gov vassals should not become laamps
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { tgp_realm_has_ceremonial_liege_trigger = yes }
|
||||
custom_tooltip = {
|
||||
text = tgp_japan_imperial_branch_decision_imperial_heir_trigger
|
||||
NOT = {
|
||||
top_liege.primary_title.var:administrative_ui_special_title = {
|
||||
place_in_line_of_succession = {
|
||||
target = scope:potential_laamp_temp
|
||||
value <= 4
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { is_ai = yes }
|
||||
trigger_if = {
|
||||
|
|
@ -207,11 +193,6 @@ is_valid_for_laampdom = {
|
|||
ai_boldness >= low_negative_ai_value
|
||||
ai_energy >= low_negative_ai_value
|
||||
}
|
||||
NOR = {
|
||||
has_trait = content # Too chill to adventure
|
||||
has_trait = craven # Too scared to adventure
|
||||
has_trait = lazy # Too lazy to adventure
|
||||
}
|
||||
# Block admin members of noble families
|
||||
NOT = {
|
||||
house ?= {
|
||||
|
|
@ -480,16 +461,7 @@ valid_laamp_basic_accept_only_trigger = {
|
|||
employer_has_treasury_to_offer_job_trigger = {
|
||||
trigger_if = {
|
||||
limit = { is_ai = no }
|
||||
scope:employer = {
|
||||
OR = {
|
||||
treasury_or_gold >= 50
|
||||
trigger_if = {
|
||||
limit = { government_allows = barter }
|
||||
# no define:NBarter|BARTER_GOODS_TO_LOOT_MULT here. wanua rulers start as lower than 100 barter goods
|
||||
barter_goods >= 50
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:employer.treasury_or_gold >= 50
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
can_marry_common_trigger = {
|
||||
is_alive = yes
|
||||
NOT = { has_trait_with_flag = can_not_marry }
|
||||
NOT = { has_variable = can_not_marry }
|
||||
|
||||
trigger_if = {
|
||||
limit = {
|
||||
|
|
@ -130,6 +129,25 @@ could_marry_character_trigger = {
|
|||
#}
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
any_close_or_extended_family_member = {
|
||||
any_spouse = { this = $CHARACTER$ }
|
||||
}
|
||||
}
|
||||
faith = { has_doctrine = doctrine_consanguinity_unrestricted }
|
||||
$CHARACTER$ = {
|
||||
faith = { has_doctrine = doctrine_consanguinity_unrestricted }
|
||||
NOT = {
|
||||
any_spouse = {
|
||||
is_close_or_extended_family_of = scope:can_marry_check
|
||||
NOT = {
|
||||
faith = { has_doctrine = doctrine_consanguinity_unrestricted }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# Cannot marry self
|
||||
NOT = {
|
||||
scope:can_marry_check = { is_spouse_of = $CHARACTER$ }
|
||||
|
|
@ -615,88 +633,3 @@ can_have_concubines_trigger = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
# if $CHARACTER$ has the right to break betrothal or receive interaction for breaking betrothal?
|
||||
break_betrothal_valid_target_trigger = {
|
||||
is_betrothed = yes
|
||||
# yourself, your courtier, or your child vassal and you were the matchmaker
|
||||
trigger_if = {
|
||||
limit = {
|
||||
this != $CHARACTER$
|
||||
}
|
||||
is_ai = yes
|
||||
OR = {
|
||||
AND = {
|
||||
is_child_of = $CHARACTER$
|
||||
target_is_liege_or_above = $CHARACTER$
|
||||
NOT = {
|
||||
matchmaker = {
|
||||
is_parent_of = prev
|
||||
this != $CHARACTER$
|
||||
}
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
is_playable_character = no
|
||||
liege = $CHARACTER$
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cost_prestige_for_break_betrothal_trigger = {
|
||||
OR = {
|
||||
scope:rejected_betrothed = {
|
||||
OR = {
|
||||
is_close_family_of = scope:actor
|
||||
AND = {
|
||||
exists = dynasty
|
||||
exists = scope:actor.dynasty
|
||||
dynasty = scope:actor.dynasty
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:rejecting_betrothed = {
|
||||
OR = {
|
||||
is_close_family_of = scope:actor
|
||||
AND = {
|
||||
exists = dynasty
|
||||
exists = scope:actor.dynasty
|
||||
dynasty = scope:actor.dynasty
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
yields_alliance = {
|
||||
candidate = scope:rejecting_betrothed
|
||||
target = scope:rejected_betrothal_owner
|
||||
target_candidate = scope:rejected_betrothed
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
has_proper_reason_to_break_betrothal_trigger = {
|
||||
OR = {
|
||||
scope:rejecting_betrothed = {
|
||||
OR = {
|
||||
is_eunuch_trigger = yes
|
||||
has_trait_with_flag = can_not_marry
|
||||
AND = {
|
||||
allowed_to_marry_same_sex_trigger = no
|
||||
sex_same_as = scope:rejected_betrothed
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:rejected_betrothed = {
|
||||
OR = {
|
||||
is_eunuch_trigger = yes
|
||||
has_trait_with_flag = can_not_marry
|
||||
AND = {
|
||||
allowed_to_marry_same_sex_trigger = no
|
||||
sex_same_as = scope:rejecting_betrothed
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -345,7 +345,7 @@ has_important_relationship_with_character_trigger = {
|
|||
}
|
||||
}
|
||||
|
||||
has_any_moderate_good_relationship_with_character_trigger = {
|
||||
has_friendly_relationship_with_character_trigger = {
|
||||
OR = {
|
||||
has_relation_lover = $CHARACTER$
|
||||
has_relation_friend = $CHARACTER$
|
||||
|
|
@ -364,6 +364,13 @@ has_any_mild_good_relationship_with_character_trigger = {
|
|||
}
|
||||
}
|
||||
|
||||
has_any_moderate_good_relationship_with_character_trigger = {
|
||||
OR = {
|
||||
has_relation_lover = $CHARACTER$
|
||||
has_relation_friend = $CHARACTER$
|
||||
}
|
||||
}
|
||||
|
||||
has_any_only_moderate_good_relationship_with_character_trigger = {
|
||||
has_any_moderate_good_relationship_with_character_trigger = { CHARACTER = $CHARACTER$ }
|
||||
# Exclude the max-tier positive relationships if we're being this specific.
|
||||
|
|
@ -498,7 +505,7 @@ has_important_relationship_with_root_trigger = {
|
|||
}
|
||||
|
||||
has_friendly_relationship_with_root_trigger = {
|
||||
has_any_moderate_good_relationship_with_character_trigger = { CHARACTER = root }
|
||||
has_friendly_relationship_with_character_trigger = { CHARACTER = root }
|
||||
}
|
||||
|
||||
has_any_good_relationship_with_root_trigger = {
|
||||
|
|
@ -570,19 +577,12 @@ is_of_major_interest_trigger = {
|
|||
OR = {
|
||||
is_heir_of = $CHARACTER$
|
||||
is_diarch_of_target = $CHARACTER$
|
||||
liege ?= $CHARACTER$
|
||||
betrothed ?= $CHARACTER$
|
||||
is_spouse_of = $CHARACTER$
|
||||
has_relation_soulmate = $CHARACTER$
|
||||
has_relation_nemesis = $CHARACTER$
|
||||
has_relation_best_friend = $CHARACTER$
|
||||
has_relation_blood_brother = $CHARACTER$
|
||||
is_child_of = $CHARACTER$
|
||||
|
||||
AND = {
|
||||
is_theocratic_lessee = yes
|
||||
is_councillor_of = $CHARACTER$
|
||||
exists = $CHARACTER$.liege
|
||||
this = $CHARACTER$.liege
|
||||
}
|
||||
is_consort_of = $CHARACTER$
|
||||
is_councillor_of = $CHARACTER$
|
||||
|
||||
#They are the head of our faith
|
||||
AND = {
|
||||
|
|
@ -590,6 +590,14 @@ is_of_major_interest_trigger = {
|
|||
this = $CHARACTER$.faith.religious_head
|
||||
}
|
||||
|
||||
trigger_if = {
|
||||
limit = {
|
||||
exists = liege
|
||||
exists = $CHARACTER$.liege
|
||||
}
|
||||
is_powerful_vassal = yes
|
||||
liege = $CHARACTER$.liege
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
top_liege = this
|
||||
|
|
@ -605,6 +613,7 @@ is_of_major_interest_trigger = {
|
|||
}
|
||||
this = $CHARACTER$.house.house_head
|
||||
}
|
||||
is_child_of = $CHARACTER$
|
||||
# Activity Intents
|
||||
trigger_if = {
|
||||
limit = {
|
||||
|
|
@ -619,8 +628,7 @@ is_of_major_interest_trigger = {
|
|||
is_of_minor_interest_trigger = {
|
||||
NOT = { this = $CHARACTER$ }
|
||||
OR = {
|
||||
is_consort_of = $CHARACTER$
|
||||
is_councillor_of = $CHARACTER$
|
||||
betrothed ?= $CHARACTER$
|
||||
has_relation_lover = $CHARACTER$
|
||||
has_relation_rival = $CHARACTER$
|
||||
has_relation_friend = $CHARACTER$
|
||||
|
|
@ -633,14 +641,6 @@ is_of_minor_interest_trigger = {
|
|||
NOT = { this = $CHARACTER$.liege }
|
||||
}
|
||||
is_close_or_extended_family_of = $CHARACTER$
|
||||
trigger_if = {
|
||||
limit = {
|
||||
exists = liege
|
||||
exists = $CHARACTER$.liege
|
||||
}
|
||||
is_powerful_vassal = yes
|
||||
liege = $CHARACTER$.liege
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1874,7 +1874,7 @@ christianity_or_syncretic_with_christianity_trigger = {
|
|||
faith = {
|
||||
OR = {
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:orthodox_religion
|
||||
religion = religion:protestant_religion
|
||||
has_doctrine = tenet_christian_syncretism
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@ can_raid_trigger = {
|
|||
}
|
||||
## Without restrictions.
|
||||
has_trait_with_flag = trait_enable_raiding_without_restrictions
|
||||
has_variable = enable_raiding_without_restrictions
|
||||
}
|
||||
# Some faiths prohibit this.
|
||||
OR = {
|
||||
|
|
@ -69,7 +68,8 @@ can_raid_trigger = {
|
|||
# Here so that you can plug in whatever dynasty modifiers you want without overwriting the whole scripted rule trigger.
|
||||
can_raid_dynasty_modifiers_that_enable_raiding_overseas_list_trigger = {
|
||||
# Yes, I realise the OR is redundant till someone else puts something in here. Shoosh.
|
||||
has_dynasty_modifier = fp1_legacy_of_piracy_modifier
|
||||
has_dynasty_modifier = fp1_legacy_of_piracy_modifier
|
||||
|
||||
}
|
||||
can_raid_dynasty_modifiers_that_enable_raiding_overland_list_trigger = {
|
||||
OR = {
|
||||
|
|
|
|||
|
|
@ -309,7 +309,6 @@ can_be_warrior_trigger = {
|
|||
}
|
||||
}
|
||||
|
||||
# referenced in KNIGHT_RESTRICTIONS_TT, update when changing this trigger
|
||||
can_be_knight_trigger = {
|
||||
is_available_quick = {
|
||||
ai = yes
|
||||
|
|
@ -318,10 +317,10 @@ can_be_knight_trigger = {
|
|||
can_be_warrior_trigger = { ARMY_OWNER = $ARMY_OWNER$ }
|
||||
trigger_if = { # Admin governors cannot be knights
|
||||
limit = {
|
||||
government_allows = administrative
|
||||
exists = primary_title
|
||||
$ARMY_OWNER$ = { government_allows = administrative }
|
||||
is_courtier = no
|
||||
}
|
||||
primary_title = {
|
||||
primary_title ?= {
|
||||
tier < tier_duchy
|
||||
trigger_if = {
|
||||
limit = { is_noble_family_title = yes }
|
||||
|
|
@ -371,15 +370,6 @@ can_be_knight_trigger = {
|
|||
}
|
||||
this != liege.diarch
|
||||
}
|
||||
# knight permissions for players
|
||||
trigger_if = {
|
||||
limit = {
|
||||
$ARMY_OWNER$ = {
|
||||
is_ai = no
|
||||
}
|
||||
}
|
||||
is_knight_permitted = $ARMY_OWNER$
|
||||
}
|
||||
}
|
||||
|
||||
# If you update one of the available triggers, update all of them. It's a lot better for performance to not have scripted triggers within scripted triggers when they're checked as often as these ones are.
|
||||
|
|
@ -587,7 +577,7 @@ special_invasion_cb_seize_land_in_region_trigger = {
|
|||
}
|
||||
}
|
||||
trigger_if = {
|
||||
# If our de jure liege is an existing duchy that would have been seized in the duchy step, do not transfer the county (it has already been transferred).
|
||||
# If our de jure liege is an existing duchy that would have been siezed in the duchy step, do not transfer the county (it has already been transferred).
|
||||
limit = {
|
||||
de_jure_liege ?= {
|
||||
exists = holder
|
||||
|
|
@ -913,7 +903,6 @@ herders_and_tributary_constraints = {
|
|||
# You cannot attack your Confederation buddies tributaries
|
||||
trigger_if = {
|
||||
limit = {
|
||||
exists = suzerain
|
||||
suzerain != this
|
||||
scope:attacker = { is_confederation_member = yes }
|
||||
suzerain = { is_confederation_member = yes }
|
||||
|
|
@ -926,7 +915,6 @@ herders_and_tributary_constraints = {
|
|||
is_tributary_of_suzerain_or_above = scope:defender # can't attack your own suzerain
|
||||
trigger_if = {
|
||||
limit = {
|
||||
exists = suzerain
|
||||
suzerain != this
|
||||
scope:defender = { is_confederation_member = yes }
|
||||
suzerain = { is_confederation_member = yes }
|
||||
|
|
|
|||
|
|
@ -307,7 +307,15 @@ target_of_powerful_faction_trigger = {
|
|||
|
||||
province_has_no_holding_trigger = { # province has no holding
|
||||
has_ongoing_construction = no
|
||||
has_holding = no
|
||||
NOR = {
|
||||
has_holding_type = castle_holding
|
||||
has_holding_type = tribal_holding
|
||||
has_holding_type = city_holding
|
||||
has_holding_type = church_holding
|
||||
has_holding_type = herder_holding
|
||||
has_holding_type = nomad_holding
|
||||
has_holding_type = temple_citadel_holding
|
||||
}
|
||||
}
|
||||
|
||||
county_has_all_holding_types = { # county has all three holding types
|
||||
|
|
|
|||
|
|
@ -39,18 +39,21 @@ fp2_character_uninvolved_in_struggle_trigger = {
|
|||
|
||||
eligible_for_fp2_dynasty_legacies_trigger = {
|
||||
has_fp2_dlc_trigger = yes
|
||||
dynasty.dynast = {
|
||||
dynasty = {
|
||||
OR = {
|
||||
game_rule_unrestricted_dynasty_legacies_trigger = yes
|
||||
any_character_struggle = {
|
||||
involvement = involved
|
||||
is_struggle_type = iberian_struggle
|
||||
}
|
||||
culture = {
|
||||
has_cultural_pillar = heritage_iberian
|
||||
}
|
||||
capital_province ?= {
|
||||
geographical_region = world_europe_west_iberia
|
||||
dynast = {
|
||||
OR = {
|
||||
any_character_struggle = {
|
||||
involvement = involved
|
||||
is_struggle_type = iberian_struggle
|
||||
}
|
||||
culture = {
|
||||
has_cultural_pillar = heritage_iberian
|
||||
}
|
||||
capital_province ?= {
|
||||
geographical_region = world_europe_west_iberia
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,19 +1,4 @@
|
|||
eligible_for_ep3_administrative_legacy_trigger = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
OR = {
|
||||
game_rule_unrestricted_dynasty_legacies_trigger = yes
|
||||
dynasty = {
|
||||
OR = {
|
||||
dynast = {
|
||||
government_allows = administrative
|
||||
}
|
||||
has_dynasty_perk = ep3_administrative_legacy_1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ep3_should_use_byzantine_graphics_trigger = {
|
||||
ep3_should_use_byzantine_graphics_trigger = {
|
||||
OR = {
|
||||
culture = { has_building_gfx = byzantine_building_gfx }
|
||||
culture = { has_building_gfx = caucasian_building_gfx }
|
||||
|
|
@ -1042,23 +1027,19 @@ can_recruit_archer_cavalry_trigger = {
|
|||
custom_tooltip = {
|
||||
text = can_recruit_archer_cavalry_trigger_desc
|
||||
OR = {
|
||||
has_access_to_maa = horse_archers
|
||||
has_access_to_maa = mangudai
|
||||
has_access_to_maa = asawira
|
||||
has_access_to_maa = accolade_maa_horse_archers
|
||||
has_access_to_maa = emishi_horse_archers
|
||||
has_access_to_maa = japanese_horse_archers
|
||||
has_access_to_maa = kheshig
|
||||
has_access_to_maa = heavy_horse_archers
|
||||
can_create_maa = horse_archers
|
||||
can_create_maa = mangudai
|
||||
can_create_maa = asawira
|
||||
can_create_maa = accolade_maa_horse_archers
|
||||
can_create_maa = emishi_horse_archers
|
||||
can_create_maa = japanese_horse_archers
|
||||
can_create_maa = kheshig
|
||||
can_create_maa = heavy_horse_archers
|
||||
can_create_maa = heavy_horse_archers
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
## Is this contract a transport contract?
|
||||
#
|
||||
# root (task contract) – The contract to be checked.
|
||||
#
|
||||
ep3_transport_contract_trigger = {
|
||||
OR = {
|
||||
has_task_contract_type = laamp_transport_vip
|
||||
|
|
@ -1804,53 +1785,3 @@ influence_candidacy_valid_succession_law_trigger = {
|
|||
has_$TYPE$_law = japanese_regency_succession_law
|
||||
}
|
||||
}
|
||||
|
||||
laamp_as_mercenary_payout_trigger = {
|
||||
save_temporary_scope_as = merc_temp
|
||||
$WAR$ = { save_temporary_scope_as = war_temp }
|
||||
scope:merc_temp ?= {
|
||||
var:joined_as_mercenary ?= {
|
||||
is_leader_in_war = scope:war_temp
|
||||
trigger_if = {
|
||||
limit = { is_attacker_in_war = scope:war_temp }
|
||||
scope:merc_temp = { is_attacker_in_war = scope:war_temp }
|
||||
}
|
||||
trigger_else = {
|
||||
scope:merc_temp = { is_attacker_in_war = scope:war_temp }
|
||||
}
|
||||
}
|
||||
NOT = { is_leader_in_war = scope:war_temp }
|
||||
OR = {
|
||||
has_raised_armies = yes
|
||||
scope:war_temp = {
|
||||
war_contribution = {
|
||||
target = scope:merc_temp
|
||||
value > 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
laamp_as_mercenary_payout_last_war_trigger = {
|
||||
save_temporary_scope_as = merc_temp
|
||||
$WAR$ = { save_temporary_scope_as = war_temp }
|
||||
scope:merc_temp ?= {
|
||||
# ENSURE THIS IS THE LAST WAR YOU ARE FIGHTING IN WITH THE EMPLOYER
|
||||
NOT = {
|
||||
any_character_war = {
|
||||
NOT = { this = scope:war_temp }
|
||||
is_war_leader = scope:merc_temp.var:joined_as_mercenary
|
||||
trigger_if = {
|
||||
limit = { is_attacker = scope:merc_temp.var:joined_as_mercenary }
|
||||
is_attacker = scope:merc_temp
|
||||
}
|
||||
trigger_else = {
|
||||
is_defender = scope:merc_temp
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ mpo_has_gok_mongol_empire_trigger = {
|
|||
text = gok_title_trigger
|
||||
exists = global_var:greatest_of_khans_title
|
||||
any_held_title = {
|
||||
title_tier = empire
|
||||
this = global_var:greatest_of_khans_title
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,25 +2,33 @@
|
|||
has_ach_dlc_trigger = yes
|
||||
is_landed = yes
|
||||
highest_held_title_tier >= tier_kingdom
|
||||
# Governments where independent king+ rulers can hold Coronations
|
||||
trigger_if = {
|
||||
limit = { tgp_realm_has_ceremonial_liege_trigger = yes }
|
||||
custom_tooltip = {
|
||||
text = tgp_ceremonial_liege_coronation_trigger
|
||||
OR = {
|
||||
government_has_flag = government_is_feudal
|
||||
government_has_flag = government_is_tribal
|
||||
AND = {
|
||||
government_has_flag = government_is_special_administrative
|
||||
is_independent_ruler = yes
|
||||
}
|
||||
government_has_flag = government_is_nomadic
|
||||
government_has_flag = government_is_clan
|
||||
AND = {
|
||||
government_has_flag = government_is_meritocratic
|
||||
is_independent_ruler = yes
|
||||
}
|
||||
AND = {
|
||||
government_has_flag = government_is_celestial
|
||||
is_independent_ruler = yes
|
||||
}
|
||||
AND = {
|
||||
government_has_flag = government_is_steppe_admin
|
||||
is_independent_ruler = yes
|
||||
}
|
||||
AND = {
|
||||
government_is_japanese_trigger = yes
|
||||
has_title = title:e_japan
|
||||
tgp_has_ceremonial_liege_title_trigger = yes
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { government_allows = administrative }
|
||||
is_independent_ruler = yes
|
||||
}
|
||||
trigger_else = {
|
||||
NOR = {
|
||||
government_has_flag = government_is_theocracy
|
||||
government_has_flag = government_is_republic
|
||||
government_has_flag = government_is_mercenary
|
||||
government_has_flag = government_is_holy_order
|
||||
}
|
||||
government_has_flag = government_is_mandala
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -80,10 +88,8 @@ is_important_hof_trigger = {
|
|||
coronation_has_proper_artifact_trigger = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
faith = {
|
||||
coronation_proper_artifact_crown_trigger = yes
|
||||
coronation_proper_artifact_regalia_trigger = no
|
||||
}
|
||||
coronation_proper_artifact_crown_trigger = yes
|
||||
coronation_proper_artifact_regalia_trigger = no
|
||||
}
|
||||
any_character_artifact = {
|
||||
artifact_slot_type = helmet
|
||||
|
|
@ -91,10 +97,8 @@ coronation_has_proper_artifact_trigger = {
|
|||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
faith = {
|
||||
coronation_proper_artifact_regalia_trigger = yes
|
||||
coronation_proper_artifact_crown_trigger = no
|
||||
}
|
||||
coronation_proper_artifact_regalia_trigger = yes
|
||||
coronation_proper_artifact_crown_trigger = no
|
||||
}
|
||||
any_character_artifact = {
|
||||
artifact_slot_type = regalia
|
||||
|
|
@ -111,7 +115,7 @@ coronation_has_proper_artifact_trigger = {
|
|||
}
|
||||
|
||||
coronation_proper_artifact_crown_trigger = {
|
||||
religion = {
|
||||
faith.religion = {
|
||||
OR = {
|
||||
this = religion:baltic_religion
|
||||
this = religion:bon_religion
|
||||
|
|
@ -132,7 +136,7 @@ coronation_proper_artifact_crown_trigger = {
|
|||
}
|
||||
|
||||
coronation_proper_artifact_regalia_trigger = {
|
||||
religion = {
|
||||
faith.religion = {
|
||||
OR = {
|
||||
this = religion:buddhism_religion
|
||||
this = religion:finno_ugric_religion
|
||||
|
|
|
|||
|
|
@ -1,49 +1,4 @@
|
|||
eligible_for_tgp_china_legacy_trigger = {
|
||||
has_tgp_dlc_trigger = yes
|
||||
OR = {
|
||||
game_rule_unrestricted_dynasty_legacies_trigger = yes
|
||||
dynasty = {
|
||||
OR = {
|
||||
dynast = {
|
||||
government_has_flag = government_has_merit
|
||||
}
|
||||
has_dynasty_perk = tgp_chinese_legacy_1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
eligible_for_tgp_japan_legacy_trigger = {
|
||||
has_tgp_dlc_trigger = yes
|
||||
OR = {
|
||||
game_rule_unrestricted_dynasty_legacies_trigger = yes
|
||||
dynasty = {
|
||||
OR = {
|
||||
dynast = {
|
||||
government_is_japanese_trigger = yes
|
||||
}
|
||||
has_dynasty_perk = tgp_japan_legacy_1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
eligible_for_tgp_sea_legacy_trigger = {
|
||||
has_tgp_dlc_trigger = yes
|
||||
OR = {
|
||||
game_rule_unrestricted_dynasty_legacies_trigger = yes
|
||||
dynasty = {
|
||||
OR = {
|
||||
dynast = {
|
||||
OR = {
|
||||
government_has_flag = government_is_mandala
|
||||
government_has_flag = government_is_wanua
|
||||
}
|
||||
}
|
||||
has_dynasty_perk = tgp_sea_legacy_1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
tgp_distant_realm_marriage_trigger = {
|
||||
$RECIPIENT_SPOUSE$ = {
|
||||
culture = { has_cultural_parameter = reduced_marriage_acceptance_distant_realms }
|
||||
|
|
@ -112,10 +67,6 @@ tgp_has_access_to_ministry_trigger = {
|
|||
|
||||
tgp_is_any_minister = {
|
||||
liege ?= { tgp_has_access_to_ministry_trigger = yes }
|
||||
tgp_has_minister_title = yes
|
||||
}
|
||||
|
||||
tgp_has_minister_title = {
|
||||
OR = {
|
||||
has_title = title:e_minister_chancellor
|
||||
has_title = title:e_minister_censor
|
||||
|
|
@ -129,46 +80,6 @@ tgp_has_minister_title = {
|
|||
}
|
||||
}
|
||||
|
||||
tgp_has_civilian_minister_title = {
|
||||
OR = {
|
||||
has_title = title:e_minister_chancellor
|
||||
has_title = title:e_minister_censor
|
||||
has_title = title:e_minister_of_personnel
|
||||
has_title = title:e_minister_of_revenue
|
||||
has_title = title:e_minister_of_rites
|
||||
has_title = title:e_minister_of_war
|
||||
has_title = title:e_minister_of_justice
|
||||
has_title = title:e_minister_of_works
|
||||
}
|
||||
}
|
||||
|
||||
tgp_is_civilian_minister_title = {
|
||||
OR = {
|
||||
this = title:e_minister_chancellor
|
||||
this = title:e_minister_censor
|
||||
this = title:e_minister_of_personnel
|
||||
this = title:e_minister_of_revenue
|
||||
this = title:e_minister_of_rites
|
||||
this = title:e_minister_of_war
|
||||
this = title:e_minister_of_justice
|
||||
this = title:e_minister_of_works
|
||||
}
|
||||
}
|
||||
|
||||
tgp_is_minister_title = {
|
||||
OR = {
|
||||
this = title:e_minister_chancellor
|
||||
this = title:e_minister_censor
|
||||
this = title:e_minister_grand_marshal
|
||||
this = title:e_minister_of_personnel
|
||||
this = title:e_minister_of_revenue
|
||||
this = title:e_minister_of_rites
|
||||
this = title:e_minister_of_war
|
||||
this = title:e_minister_of_justice
|
||||
this = title:e_minister_of_works
|
||||
}
|
||||
}
|
||||
|
||||
tgp_can_be_a_minister_trigger = {
|
||||
can_be_councillor_basics_trigger = yes
|
||||
# Has to be celestial or a non-ruler
|
||||
|
|
@ -178,7 +89,6 @@ tgp_can_be_a_minister_trigger = {
|
|||
}
|
||||
# Gender is based on laws of the liege
|
||||
OR = {
|
||||
has_variable = can_be_councillor_override
|
||||
AND = {
|
||||
is_female = yes
|
||||
$COURT_OWNER$ = {
|
||||
|
|
@ -217,6 +127,21 @@ tgp_can_be_a_minister_trigger = {
|
|||
|
||||
tgp_can_be_grand_marshal_trigger = {
|
||||
can_be_councillor_basics_trigger = yes
|
||||
$COURT_OWNER$ ?= {
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
NAND = {
|
||||
has_council_position = councillor_court_chaplain
|
||||
faith = { has_doctrine_parameter = clerical_appointment_fixed }
|
||||
}
|
||||
NOR = {
|
||||
has_council_position = councillor_spouse
|
||||
AND = {
|
||||
this = liege.diarch
|
||||
liege = { has_diarchy_active_parameter = diarchy_is_vizierate }
|
||||
}
|
||||
has_trait = devoted
|
||||
}
|
||||
# Has to be celestial or a non-ruler
|
||||
OR = {
|
||||
is_ruler = no
|
||||
|
|
@ -227,9 +152,6 @@ tgp_can_be_grand_marshal_trigger = {
|
|||
}
|
||||
|
||||
tgp_is_above_retirement_age_trigger = {
|
||||
$REALM_OWNER$.top_liege = {
|
||||
has_realm_law_flag = celestial_retirement_law
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
$REALM_OWNER$.top_liege ?= { has_realm_law_flag = celestial_retirement_age_4 }
|
||||
|
|
@ -281,7 +203,7 @@ tgp_is_above_retirement_age_trigger = {
|
|||
}
|
||||
custom_tooltip = {
|
||||
text = tgp_is_above_retirement_age_5
|
||||
always = yes
|
||||
always = no
|
||||
}
|
||||
}
|
||||
trigger_else = {
|
||||
|
|
@ -391,8 +313,8 @@ tgp_realm_has_ceremonial_liege_trigger = {
|
|||
tgp_is_ceremonial_liege_trigger = {
|
||||
custom_tooltip = {
|
||||
text = tgp_is_ceremonial_liege_tt
|
||||
this != top_liege
|
||||
tgp_has_ceremonial_liege_title_trigger = yes
|
||||
is_independent_ruler = no
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -405,38 +327,20 @@ tgp_portrait_liege_or_ceremonial_liege_emperor_trigger = {
|
|||
}
|
||||
# Standard Liege
|
||||
trigger_else = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
}
|
||||
highest_held_title_tier >= tier_empire
|
||||
is_independent_ruler = yes
|
||||
}
|
||||
trigger_else = {
|
||||
scope:highest_held_title_tier >= tier_empire
|
||||
}
|
||||
scope:highest_held_title_tier >= tier_empire
|
||||
is_independent_ruler = yes
|
||||
}
|
||||
}
|
||||
|
||||
tgp_portrait_liege_or_ceremonial_liege_king_trigger = {
|
||||
# Ceremonial Liege
|
||||
# Ceremonial Liege
|
||||
trigger_if = {
|
||||
limit = { tgp_realm_has_ceremonial_liege_trigger = yes }
|
||||
tgp_has_ceremonial_liege_title_trigger = yes
|
||||
primary_title.holder.top_liege.highest_held_title_tier = tier_kingdom
|
||||
}
|
||||
# Standard Liege
|
||||
trigger_else = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
}
|
||||
highest_held_title_tier = tier_kingdom
|
||||
}
|
||||
trigger_else = {
|
||||
scope:highest_held_title_tier = tier_kingdom
|
||||
}
|
||||
}
|
||||
trigger_else = { highest_held_title_tier = tier_kingdom }
|
||||
}
|
||||
|
||||
# Check if a character has a ceremonial liege title (but not if they are actually a ceremonial liege)
|
||||
|
|
@ -473,7 +377,8 @@ tgp_ceremonial_liege_scope_trigger = {
|
|||
tgp_is_in_ceremonial_house_trigger = {
|
||||
custom_tooltip = {
|
||||
text = tgp_is_in_ceremonial_house_tt
|
||||
house.house_head.top_liege.primary_title.var:administrative_ui_special_title.holder.house ?= house
|
||||
exists = house
|
||||
top_liege.primary_title.var:administrative_ui_special_title.holder.house ?= house
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -528,15 +433,15 @@ tgp_should_become_meritocratic_trigger = {
|
|||
}
|
||||
|
||||
tgp_can_become_japan_administrative_trigger = {
|
||||
OR = {
|
||||
top_liege = {
|
||||
OR = {
|
||||
government_is_japanese_trigger = yes
|
||||
has_character_flag = tgp_japan_restore_japanese_government_flag
|
||||
top_liege = {
|
||||
OR = {
|
||||
government_is_japanese_trigger = yes
|
||||
has_character_flag = tgp_japan_restore_japanese_government_flag
|
||||
culture = culture:japanese
|
||||
culture = {
|
||||
any_parent_culture_or_above = { this = culture:japanese }
|
||||
}
|
||||
}
|
||||
government_is_japanese_trigger = yes
|
||||
has_character_flag = tgp_japan_restore_japanese_government_flag
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -545,8 +450,9 @@ tgp_can_become_celestial_trigger = {
|
|||
OR = {
|
||||
has_government = celestial_government
|
||||
has_title = title:h_china
|
||||
culture = culture:han
|
||||
culture = {
|
||||
culture_is_or_has_ancestor_trigger = { CULTURE = culture:han }
|
||||
any_parent_culture_or_above = { this = culture:han }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -621,7 +527,7 @@ tgp_japanese_high_nobility_clothing_family_trigger = {
|
|||
is_lowborn = no
|
||||
OR = {
|
||||
highest_held_title_tier >= tier_county
|
||||
court_owner ?= { highest_held_title_tier >= tier_county }
|
||||
court_owner = { highest_held_title_tier >= tier_county }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -950,94 +856,45 @@ take_vows_available_trigger = {
|
|||
}
|
||||
}
|
||||
|
||||
tgp_use_chinese_naming_trigger = {
|
||||
government_has_flag = government_is_celestial
|
||||
}
|
||||
|
||||
tgp_is_in_chinese_naming_region = {
|
||||
OR = {
|
||||
# whole startup h_china
|
||||
geographical_region = world_asia_china
|
||||
# outside h_china
|
||||
geographical_region = tgp_bao_region
|
||||
geographical_region = tgp_kang_region
|
||||
geographical_region = tgp_liao_region
|
||||
geographical_region = tgp_yuan_ferghana_region
|
||||
# partly outside
|
||||
geographical_region = tgp_liang_west_region
|
||||
geographical_region = tgp_cheng_region
|
||||
}
|
||||
}
|
||||
|
||||
tgp_has_cultural_naming_in_chinese = {
|
||||
OR = {
|
||||
has_cultural_pillar = heritage_viet
|
||||
has_cultural_pillar = heritage_japonic
|
||||
has_cultural_pillar = heritage_tibetan
|
||||
has_cultural_pillar = heritage_buyeo
|
||||
has_cultural_pillar = heritage_korean
|
||||
has_name_list = name_list_jurchen
|
||||
has_cultural_pillar = heritage_mongolic
|
||||
culture_is_or_has_ancestor_trigger = { CULTURE = culture:bouxcuengh }
|
||||
culture_is_or_has_ancestor_trigger = { CULTURE = culture:bai }
|
||||
culture_is_or_has_ancestor_trigger = { CULTURE = culture:yi }
|
||||
culture_is_or_has_ancestor_trigger = { CULTURE = culture:tai }
|
||||
culture_is_or_has_ancestor_trigger = { CULTURE = culture:yughur }
|
||||
culture_is_or_has_ancestor_trigger = { CULTURE = culture:uyghur }
|
||||
has_cultural_pillar = heritage_hmongic
|
||||
culture_is_or_has_ancestor_trigger = { CULTURE = culture:cham }
|
||||
has_cultural_pillar = heritage_byzantine
|
||||
culture_is_or_has_ancestor_trigger = { CULTURE = culture:roman }
|
||||
culture_is_or_has_ancestor_trigger = { CULTURE = culture:avar }
|
||||
}
|
||||
}
|
||||
|
||||
tgp_has_unique_chinese_naming = {
|
||||
OR = {
|
||||
capital_county.title_province ?= { tgp_is_in_chinese_naming_region = yes }
|
||||
scope:title.capital_county.title_province ?= { tgp_is_in_chinese_naming_region = yes }
|
||||
culture = { tgp_has_cultural_naming_in_chinese = no }
|
||||
}
|
||||
}
|
||||
|
||||
tgp_chinese_naming_tier_trigger = {
|
||||
save_temporary_scope_as = ruler_temp
|
||||
OR = {
|
||||
capital_county.title_province ?= {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
geographical_region = tgp_county_chinese_naming_region
|
||||
}
|
||||
scope:ruler_temp.highest_held_title_tier >= tier_county
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
geographical_region = tgp_duchy_chinese_naming_region
|
||||
}
|
||||
scope:ruler_temp.highest_held_title_tier >= tier_duchy
|
||||
}
|
||||
trigger_else = {
|
||||
scope:ruler_temp.highest_held_title_tier >= tier_kingdom
|
||||
}
|
||||
}
|
||||
scope:title ?= {
|
||||
capital_county.title_province ?= {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
geographical_region = tgp_county_chinese_naming_region
|
||||
}
|
||||
scope:ruler_temp.highest_held_title_tier >= tier_county
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
geographical_region = tgp_duchy_chinese_naming_region
|
||||
}
|
||||
scope:ruler_temp.highest_held_title_tier >= tier_duchy
|
||||
}
|
||||
trigger_else = {
|
||||
scope:ruler_temp.highest_held_title_tier >= tier_kingdom
|
||||
}
|
||||
}
|
||||
tgp_capital_not_in_chinese_naming_region = {
|
||||
capital_county.title_province ?= {
|
||||
NOR = {
|
||||
geographical_region = tgp_ba_region
|
||||
geographical_region = tgp_cai_region
|
||||
geographical_region = tgp_cao_region
|
||||
geographical_region = tgp_chen_region
|
||||
geographical_region = tgp_chu_region
|
||||
geographical_region = tgp_dai_region
|
||||
geographical_region = tgp_dian_region
|
||||
geographical_region = tgp_gan_region
|
||||
geographical_region = tgp_gui_region
|
||||
geographical_region = tgp_han_region
|
||||
geographical_region = tgp_huai_region
|
||||
geographical_region = tgp_jin_region
|
||||
geographical_region = tgp_jing_region
|
||||
geographical_region = tgp_lai_region
|
||||
geographical_region = tgp_liang_region
|
||||
geographical_region = tgp_lu_region
|
||||
geographical_region = tgp_min_region
|
||||
geographical_region = tgp_qi_region
|
||||
geographical_region = tgp_qian_region
|
||||
geographical_region = tgp_shu_region
|
||||
geographical_region = tgp_song_region
|
||||
geographical_region = tgp_sui_region
|
||||
geographical_region = tgp_tang_region
|
||||
geographical_region = tgp_wei_region
|
||||
geographical_region = tgp_wu_region
|
||||
geographical_region = tgp_xia_region
|
||||
geographical_region = tgp_xiang_region
|
||||
geographical_region = tgp_xing_region
|
||||
geographical_region = tgp_xu_region
|
||||
geographical_region = tgp_yang_region
|
||||
geographical_region = tgp_yin_region
|
||||
geographical_region = tgp_yong_region
|
||||
geographical_region = tgp_yue_region
|
||||
geographical_region = tgp_zhao_region
|
||||
geographical_region = tgp_zheng_region
|
||||
geographical_region = tgp_zhou_region
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,21 +2,6 @@
|
|||
# TRIGGER LIST #
|
||||
#################################################
|
||||
|
||||
eligible_for_mpo_nomad_legacy_trigger = {
|
||||
has_mpo_dlc_trigger = yes
|
||||
OR = {
|
||||
game_rule_unrestricted_dynasty_legacies_trigger = yes
|
||||
dynasty = {
|
||||
OR = {
|
||||
dynast = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
has_dynasty_perk = mpo_nomad_legacy_1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
valid_confederation_member_trigger = {
|
||||
is_playable_character = yes
|
||||
is_tributary = no
|
||||
|
|
@ -58,7 +43,7 @@ valid_confederation_member_trigger = {
|
|||
is_confederation_member = no
|
||||
}
|
||||
|
||||
confederation_foe_sub_trigger = {
|
||||
confedration_foe_sub_trigger = {
|
||||
NOT = { is_allied_to = $CHARACTER$ }
|
||||
OR = {
|
||||
has_trait = conqueror
|
||||
|
|
@ -103,27 +88,27 @@ confederation_foe_trigger = {
|
|||
kingdom = {
|
||||
any_de_jure_county = {
|
||||
holder.top_liege = {
|
||||
confederation_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
|
||||
confedration_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#Threat borders you or your tributaries
|
||||
any_land_neighboring_realm_with_tributaries_owner = {
|
||||
confederation_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
|
||||
confedration_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
|
||||
}
|
||||
#You border threat's direct tributaries
|
||||
any_land_neighboring_realm_with_tributaries_owner = {
|
||||
exists = suzerain
|
||||
suzerain = {
|
||||
confederation_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
|
||||
confedration_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
|
||||
}
|
||||
}
|
||||
#You border threat's lower level tributaries
|
||||
any_land_neighboring_realm_with_tributaries_owner = {
|
||||
is_tributary = yes
|
||||
top_suzerain = {
|
||||
confederation_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
|
||||
confedration_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -136,20 +121,20 @@ confederation_neighboring_foe_trigger = {
|
|||
OR = {
|
||||
#Threat borders you or your tributaries
|
||||
any_land_neighboring_realm_with_tributaries_owner = {
|
||||
confederation_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
|
||||
confedration_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
|
||||
}
|
||||
#You border threat's direct tributaries
|
||||
any_land_neighboring_realm_with_tributaries_owner = {
|
||||
exists = suzerain
|
||||
suzerain = {
|
||||
confederation_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
|
||||
confedration_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
|
||||
}
|
||||
}
|
||||
#You border threat's lower level tributaries
|
||||
any_land_neighboring_realm_with_tributaries_owner = {
|
||||
is_tributary = yes
|
||||
top_suzerain = {
|
||||
confederation_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
|
||||
confedration_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -630,7 +615,7 @@ mpo_overrunning_willing_vassal_trigger = {
|
|||
}
|
||||
highest_held_title_tier >= tier_county
|
||||
government_has_flag = government_is_nomadic
|
||||
highest_held_title_tier < tier_duchy
|
||||
highest_held_title_tier < tier_kingdom
|
||||
NOT = { government_has_flag = government_is_herder }
|
||||
}
|
||||
|
||||
|
|
@ -643,8 +628,13 @@ is_tsagaan_sar = {
|
|||
}
|
||||
}
|
||||
has_eligible_artifact_trigger = {
|
||||
any_character_artifact = {
|
||||
artifact_can_be_gift_advance_trigger = yes
|
||||
any_artifact = {
|
||||
artifact_owner = root
|
||||
NOR = {
|
||||
has_variable = banner_house
|
||||
has_variable = banner_dynasty
|
||||
has_variable = 1025_treasure_map
|
||||
}
|
||||
count >= 2
|
||||
}
|
||||
}
|
||||
|
|
@ -658,7 +648,15 @@ can_gift_anything_trigger = {
|
|||
domicile ?= { herd < max_herd }
|
||||
}
|
||||
}
|
||||
has_eligible_artifact_trigger = yes
|
||||
any_artifact = {
|
||||
artifact_owner = root
|
||||
NOR = {
|
||||
has_variable = banner_house
|
||||
has_variable = banner_dynasty
|
||||
has_variable = 1025_treasure_map
|
||||
}
|
||||
count >= 2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1397,12 +1395,24 @@ mpo_blood_brother_loving_trigger = {
|
|||
}
|
||||
|
||||
has_bad_season_nomadic_capital_root_trigger = {
|
||||
any_county_situation_sub_region = {
|
||||
any_county_situation = {
|
||||
OR = {
|
||||
sub_region_current_phase = situation_steppe_white_zud_season
|
||||
sub_region_current_phase = situation_steppe_cold_zud_season
|
||||
sub_region_current_phase = situation_steppe_severe_drought_season
|
||||
sub_region_current_phase = situation_steppe_havsarsan_zud_season
|
||||
any_situation_sub_region = {
|
||||
sub_region_current_phase = situation_steppe_white_zud_season
|
||||
situation_sub_region_has_county = root.capital_county
|
||||
}
|
||||
any_situation_sub_region = {
|
||||
sub_region_current_phase = situation_steppe_cold_zud_season
|
||||
situation_sub_region_has_county = root.capital_county
|
||||
}
|
||||
any_situation_sub_region = {
|
||||
sub_region_current_phase = situation_steppe_severe_drought_season
|
||||
situation_sub_region_has_county = root.capital_county
|
||||
}
|
||||
any_situation_sub_region = {
|
||||
sub_region_current_phase = situation_steppe_havsarsan_zud_season
|
||||
situation_sub_region_has_county = root.capital_county
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1469,12 +1479,24 @@ has_bad_season_nomadic_capital_character_trigger = {
|
|||
}
|
||||
|
||||
has_bad_season_in_county_trigger = {
|
||||
any_county_situation_sub_region = {
|
||||
any_county_situation = {
|
||||
OR = {
|
||||
sub_region_current_phase = situation_steppe_white_zud_season
|
||||
sub_region_current_phase = situation_steppe_cold_zud_season
|
||||
sub_region_current_phase = situation_steppe_severe_drought_season
|
||||
sub_region_current_phase = situation_steppe_havsarsan_zud_season
|
||||
any_situation_sub_region = {
|
||||
sub_region_current_phase = situation_steppe_white_zud_season
|
||||
situation_sub_region_has_county = $COUNTY$
|
||||
}
|
||||
any_situation_sub_region = {
|
||||
sub_region_current_phase = situation_steppe_cold_zud_season
|
||||
situation_sub_region_has_county = $COUNTY$
|
||||
}
|
||||
any_situation_sub_region = {
|
||||
sub_region_current_phase = situation_steppe_severe_drought_season
|
||||
situation_sub_region_has_county = $COUNTY$
|
||||
}
|
||||
any_situation_sub_region = {
|
||||
sub_region_current_phase = situation_steppe_havsarsan_zud_season
|
||||
situation_sub_region_has_county = $COUNTY$
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1519,11 +1541,21 @@ has_good_season_nomadic_capital_character_trigger = {
|
|||
}
|
||||
|
||||
has_good_season_in_county_trigger = {
|
||||
any_county_situation_sub_region = {
|
||||
any_county_situation = {
|
||||
OR = {
|
||||
sub_region_current_phase = situation_steppe_abundant_grazing_season
|
||||
sub_region_current_phase = situation_steppe_warm_nights_season
|
||||
sub_region_current_phase = situation_steppe_sky_blessing_season
|
||||
any_situation_sub_region = {
|
||||
sub_region_current_phase = situation_steppe_abundant_grazing_season
|
||||
situation_sub_region_has_county = $COUNTY$
|
||||
}
|
||||
any_situation_sub_region = {
|
||||
sub_region_current_phase = situation_steppe_warm_nights_season
|
||||
situation_sub_region_has_county = $COUNTY$
|
||||
}
|
||||
any_situation_sub_region = {
|
||||
sub_region_current_phase = situation_steppe_sky_blessing_season
|
||||
situation_sub_region_has_county = $COUNTY$
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1850,197 +1882,3 @@ county_ready_for_abuse_trigger = {
|
|||
}
|
||||
}
|
||||
|
||||
mpo_nomad_invasion_war_ai_trigger = {
|
||||
OR = {
|
||||
has_realm_law = nomadic_authority_3
|
||||
has_realm_law = nomadic_authority_4
|
||||
has_realm_law = nomadic_authority_5
|
||||
}
|
||||
is_independent_ruler = yes
|
||||
is_at_war = no
|
||||
gold > 0
|
||||
NOT = {
|
||||
has_realm_law = uncrowned
|
||||
}
|
||||
OR = {
|
||||
#China is in division
|
||||
AND = {
|
||||
situation:dynastic_cycle ?= { situation_current_phase = situation_dynastic_cycle_phase_chaos }
|
||||
NOT = {
|
||||
exists = title:h_china.holder
|
||||
}
|
||||
capital_province = {
|
||||
geographical_region = world_steppe_east
|
||||
}
|
||||
}
|
||||
#Byzantium or China are actually somehow a viable target
|
||||
title:e_byzantium.holder ?= {
|
||||
in_diplomatic_range = $NOMAD$
|
||||
NOR = {
|
||||
has_any_good_relationship_with_character_trigger = { CHARACTER = $NOMAD$ }
|
||||
is_allied_to = $NOMAD$
|
||||
is_tributary_of = $NOMAD$
|
||||
$NOMAD$ = {
|
||||
is_tributary_of_suzerain_or_above = prev
|
||||
}
|
||||
$NOMAD$ = {
|
||||
has_truce = prev
|
||||
}
|
||||
}
|
||||
#Fulfills strength comparison
|
||||
current_military_strength < $NOMAD$.seventy_percent_of_current_military_strength
|
||||
OR = {
|
||||
gold <= $NOMAD$.fifty_percent_of_current_gold
|
||||
current_military_strength <= $NOMAD$.forty_percent_of_current_military_strength
|
||||
}
|
||||
}
|
||||
title:h_china.holder ?= {
|
||||
in_diplomatic_range = $NOMAD$
|
||||
NOR = {
|
||||
has_any_good_relationship_with_character_trigger = { CHARACTER = $NOMAD$ }
|
||||
is_allied_to = $NOMAD$
|
||||
is_tributary_of = $NOMAD$
|
||||
$NOMAD$ = {
|
||||
is_tributary_of_suzerain_or_above = prev
|
||||
}
|
||||
$NOMAD$ = {
|
||||
has_truce = prev
|
||||
}
|
||||
}
|
||||
#Fulfills strength comparison
|
||||
current_military_strength < $NOMAD$.seventy_percent_of_current_military_strength
|
||||
OR = {
|
||||
gold <= $NOMAD$.fifty_percent_of_current_gold
|
||||
current_military_strength <= $NOMAD$.forty_percent_of_current_military_strength
|
||||
}
|
||||
}
|
||||
# Havsaran zud? Leave the steppe!
|
||||
capital_county ?= {
|
||||
any_county_situation_sub_region = {
|
||||
sub_region_current_phase = situation_steppe_havsarsan_zud_season
|
||||
}
|
||||
}
|
||||
#Landless and heavily herded
|
||||
AND = {
|
||||
is_landed = no
|
||||
domicile.herd >= 8000
|
||||
}
|
||||
#Family has held title without ascendance for a while
|
||||
AND = {
|
||||
ai_energy > low_negative_ai_value
|
||||
is_gurkhan = no
|
||||
sub_realm_size <= 30
|
||||
domicile ?= { herd <= two_thirds_max_herd_value }
|
||||
|
||||
exists = $NOMAD$.house
|
||||
primary_title = {
|
||||
previous_holder ?= {
|
||||
house ?= $NOMAD$.house
|
||||
}
|
||||
any_past_holder = {
|
||||
count >= 2
|
||||
NOT = {
|
||||
this = $NOMAD$
|
||||
}
|
||||
house ?= $NOMAD$.house
|
||||
trigger_if = {
|
||||
limit = {
|
||||
is_alive = no
|
||||
}
|
||||
time_since_death = {
|
||||
years <= 120
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#Is "pushed out" by stronger neighbor
|
||||
AND = {
|
||||
ai_vengefulness < low_positive_ai_value
|
||||
is_gurkhan = no
|
||||
any_neighboring_realm_with_tributaries_owner = {
|
||||
NOT = { is_tributary_of_suzerain_or_above = $NOMAD$ }
|
||||
OR = {
|
||||
#Is personally scary
|
||||
AND = {
|
||||
government_has_flag = government_is_nomadic
|
||||
seventy_percent_of_current_military_strength >= $NOMAD$.current_military_strength
|
||||
NOR = {
|
||||
is_allied_to = $NOMAD$
|
||||
has_truce = $NOMAD$
|
||||
}
|
||||
}
|
||||
#Suzerain is scary
|
||||
AND = {
|
||||
is_tributary = yes
|
||||
top_suzerain = {
|
||||
NOT = { this = $NOMAD$ }
|
||||
government_has_flag = government_is_nomadic
|
||||
seventy_percent_of_current_military_strength > $NOMAD$.current_military_strength
|
||||
NOR = {
|
||||
is_tributary_of = $NOMAD$
|
||||
is_allied_to = $NOMAD$
|
||||
has_truce = $NOMAD$
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
mpo_nomad_duchy_invasion_war_ai_trigger = {
|
||||
is_independent_ruler = yes
|
||||
is_at_war = no
|
||||
gold > 0
|
||||
NOT = {
|
||||
has_realm_law = uncrowned
|
||||
}
|
||||
has_realm_law = nomadic_authority_2
|
||||
OR = {
|
||||
#China is in division
|
||||
AND = {
|
||||
situation:dynastic_cycle ?= { situation_current_phase = situation_dynastic_cycle_phase_chaos }
|
||||
NOT = {
|
||||
exists = title:h_china.holder
|
||||
}
|
||||
}
|
||||
# Havsaran zud? Leave the steppe!
|
||||
capital_county ?= {
|
||||
any_county_situation_sub_region = {
|
||||
sub_region_current_phase = situation_steppe_havsarsan_zud_season
|
||||
}
|
||||
}
|
||||
#Landless and heavily herded
|
||||
AND = {
|
||||
is_landed = no
|
||||
domicile.herd >= 4000
|
||||
}
|
||||
#Family has held title without ascendance for a while
|
||||
AND = {
|
||||
ai_energy >= 0
|
||||
is_gurkhan = no
|
||||
sub_realm_size <= 3
|
||||
domicile ?= { herd <= two_thirds_max_herd_value }
|
||||
|
||||
exists = $NOMAD$.house
|
||||
primary_title = {
|
||||
previous_holder ?= {
|
||||
house ?= $NOMAD$.house
|
||||
}
|
||||
any_past_holder = {
|
||||
count >= 2
|
||||
this != $NOMAD$
|
||||
house ?= $NOMAD$.house
|
||||
OR = {
|
||||
is_alive = yes
|
||||
time_since_death = {
|
||||
years <= 120
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue