more error cleaning
This commit is contained in:
parent
d9c60a5b08
commit
707660e545
65 changed files with 24545 additions and 2406 deletions
|
|
@ -276,7 +276,7 @@ allows_declaring_war_against_target_trigger = {
|
|||
is_in_activity = no
|
||||
trigger_if = {
|
||||
limit = {
|
||||
culture = { has_cultural_parameter = cannot_attack_allies }
|
||||
culture ?= { has_cultural_parameter = cannot_attack_allies }
|
||||
}
|
||||
NOT = {
|
||||
is_allied_to = scope:defender_check
|
||||
|
|
@ -284,7 +284,7 @@ allows_declaring_war_against_target_trigger = {
|
|||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
culture = { has_cultural_parameter = cannot_attack_truces }
|
||||
culture ?= { has_cultural_parameter = cannot_attack_truces }
|
||||
}
|
||||
NOT = {
|
||||
has_truce = scope:defender_check
|
||||
|
|
@ -487,8 +487,16 @@ can_use_conquest_cbs_trigger = {
|
|||
government_has_flag = government_is_clan
|
||||
government_has_flag = government_is_nomadic
|
||||
government_has_flag = government_is_steppe_admin
|
||||
rite = { rite_has_parameter = conquest_cb_enabled }
|
||||
culture = { has_cultural_parameter = can_use_conquest_cbs }
|
||||
trigger_if = {
|
||||
limit = { exists = rite }
|
||||
rite ?= { rite_has_parameter = conquest_cb_enabled }
|
||||
}
|
||||
trigger_else = { always = no }
|
||||
trigger_if = {
|
||||
limit = { exists = culture }
|
||||
culture ?= { has_cultural_parameter = can_use_conquest_cbs }
|
||||
}
|
||||
trigger_else = { always = no }
|
||||
AND = {
|
||||
government_has_flag = government_is_japan_feudal
|
||||
has_realm_law = imperial_expansion_law
|
||||
|
|
@ -506,7 +514,13 @@ can_be_warrior_trigger = {
|
|||
OR = {
|
||||
can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = $ARMY_OWNER$ }
|
||||
AND = {
|
||||
$ARMY_OWNER$.culture = { has_cultural_parameter = high_prowess_ignores_knight_restrictions }
|
||||
$ARMY_OWNER$ = {
|
||||
trigger_if = {
|
||||
limit = { exists = culture }
|
||||
culture ?= { has_cultural_parameter = high_prowess_ignores_knight_restrictions }
|
||||
}
|
||||
trigger_else = { always = no }
|
||||
}
|
||||
prowess >= 10
|
||||
}
|
||||
# Japan Onna-musha
|
||||
|
|
@ -517,9 +531,17 @@ can_be_warrior_trigger = {
|
|||
NOT = {
|
||||
government_has_mechanic = administrative
|
||||
}
|
||||
culture = { has_cultural_parameter = non_admin_close_family_non_martial_gender_knights_in_defensive_wars }
|
||||
trigger_if = {
|
||||
limit = { exists = culture }
|
||||
culture ?= { has_cultural_parameter = non_admin_close_family_non_martial_gender_knights_in_defensive_wars }
|
||||
}
|
||||
trigger_else = { always = no }
|
||||
}
|
||||
culture = { has_cultural_parameter = non_admin_close_family_non_martial_gender_knights_in_defensive_wars }
|
||||
trigger_if = {
|
||||
limit = { exists = culture }
|
||||
culture ?= { has_cultural_parameter = non_admin_close_family_non_martial_gender_knights_in_defensive_wars }
|
||||
}
|
||||
trigger_else = { always = no }
|
||||
}
|
||||
AND = {
|
||||
$ARMY_OWNER$ = { is_at_war_as_defender = yes }
|
||||
|
|
@ -558,8 +580,12 @@ can_be_knight_trigger = {
|
|||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
$ARMY_OWNER$.culture = {
|
||||
has_cultural_parameter = minimum_prowess_for_knights
|
||||
exists = $ARMY_OWNER$.culture
|
||||
trigger_if = {
|
||||
limit = { exists = $ARMY_OWNER$.culture }
|
||||
$ARMY_OWNER$.culture ?= {
|
||||
has_cultural_parameter = minimum_prowess_for_knights
|
||||
}
|
||||
}
|
||||
}
|
||||
prowess >= 12
|
||||
|
|
@ -569,17 +595,21 @@ can_be_knight_trigger = {
|
|||
is_clergy = yes
|
||||
}
|
||||
OR = {
|
||||
rite = { rite_has_parameter = clergy_can_fight }
|
||||
rite ?= { rite_has_parameter = clergy_can_fight }
|
||||
AND = {
|
||||
has_personal_tenet_flag = clergy_can_fight_personal
|
||||
NOT = {
|
||||
rite = { rite_has_parameter = pacifist }
|
||||
rite ?= { rite_has_parameter = pacifist }
|
||||
}
|
||||
}
|
||||
culture = { has_cultural_parameter = culture_clergy_can_fight }
|
||||
culture ?= { has_cultural_parameter = culture_clergy_can_fight }
|
||||
AND = {
|
||||
$ARMY_OWNER$.culture = {
|
||||
has_cultural_parameter = high_prowess_ignores_knight_restrictions
|
||||
exists = $ARMY_OWNER$.culture
|
||||
trigger_if = {
|
||||
limit = { exists = $ARMY_OWNER$.culture }
|
||||
$ARMY_OWNER$.culture ?= {
|
||||
has_cultural_parameter = high_prowess_ignores_knight_restrictions
|
||||
}
|
||||
}
|
||||
prowess >= 10
|
||||
}
|
||||
|
|
@ -587,8 +617,12 @@ can_be_knight_trigger = {
|
|||
}
|
||||
OR = {
|
||||
AND = {
|
||||
$ARMY_OWNER$.culture = {
|
||||
has_cultural_parameter = high_prowess_ignores_knight_restrictions
|
||||
exists = $ARMY_OWNER$.culture
|
||||
trigger_if = {
|
||||
limit = { exists = $ARMY_OWNER$.culture }
|
||||
$ARMY_OWNER$.culture ?= {
|
||||
has_cultural_parameter = high_prowess_ignores_knight_restrictions
|
||||
}
|
||||
}
|
||||
prowess >= 10
|
||||
}
|
||||
|
|
@ -953,14 +987,14 @@ religious_cb_holder_under_target_can_be_vassalized = {
|
|||
OR = {
|
||||
# For all Faiths, if the attacker views this vassal's faith more favorably than the defender does, they are 'liberated' and become vassals under the attacker.
|
||||
# For example, if Catholics are crusading against Ash'aris(viewed as Evil), any Messalian vassals (viewed as Hostile) will become vassals under the Catholic attacker.
|
||||
scope:attacker.faith = {
|
||||
scope:attacker.faith ?= {
|
||||
faith_hostility_level_comparison = {
|
||||
prev.holder.faith < scope:defender.faith
|
||||
}
|
||||
}
|
||||
|
||||
# Pluralist faiths always attempt to preserve vassals if possible, even if the vassal follows an Evil faith.
|
||||
scope:attacker.rite = { rite_has_parameter = pluralism_pluralistic_holy_wars_preserve_vassals }
|
||||
scope:attacker.rite ?= { rite_has_parameter = pluralism_pluralistic_holy_wars_preserve_vassals }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1009,8 +1043,16 @@ can_use_viking_invasion_cbs_trigger = {
|
|||
}
|
||||
|
||||
can_use_viking_invasion_cbs_dlc_trigger = {
|
||||
culture = { has_innovation = innovation_longboats }
|
||||
rite = { rite_has_tenet = tenet_warmonger }
|
||||
trigger_if = {
|
||||
limit = { exists = culture }
|
||||
culture ?= { has_innovation = innovation_longboats }
|
||||
}
|
||||
trigger_else = { always = no }
|
||||
trigger_if = {
|
||||
limit = { exists = rite }
|
||||
rite ?= { rite_has_tenet = tenet_warmonger }
|
||||
}
|
||||
trigger_else = { always = no }
|
||||
any_sub_realm_county = { is_coastal_county = yes }
|
||||
trigger_if = {
|
||||
limit = { is_ai = yes }
|
||||
|
|
@ -1022,7 +1064,11 @@ can_use_viking_invasion_cbs_dlc_trigger = {
|
|||
NOT = {
|
||||
any_liege_or_above = {
|
||||
NOT = {
|
||||
rite = { rite_has_tenet = tenet_warmonger }
|
||||
trigger_if = {
|
||||
limit = { exists = rite }
|
||||
rite ?= { rite_has_tenet = tenet_warmonger }
|
||||
}
|
||||
trigger_else = { always = no }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue