idk why I dont have a cursor

This commit is contained in:
Magpie490 2025-06-02 16:22:24 +01:00
parent 701d55c01f
commit cda3acdcea
349 changed files with 78627 additions and 7804 deletions

View file

@ -107,7 +107,7 @@ joiner_not_already_in_another_war_with_any_target_war_participants_trigger = {
subject = $JOINER$
NOT = {
any_war_enemy = {
OR = {
OR = {
AND = {
scope:target = { primary_defender = $WARRIOR$ }
is_defender_in_war = scope:target
@ -170,8 +170,18 @@ can_potentially_call_ally_trigger = {
$JOINER$ = {
trigger_if = {
limit = {
# Diarchs can join against other vassals.
NOT = { this ?= $WARRIOR$.diarch }
NOT = {
# Diarchs can join against other vassals.
this ?= $WARRIOR$.diarch
# Confederation members can join the confederation leader's defensive wars
AND = {
is_confederation_member = yes
$WARRIOR$ = {
is_member_of_confederation = $JOINER$.confederation
}
}
}
}
NOT = {
target_is_liege_or_above = $WARRIOR$
@ -180,12 +190,31 @@ can_potentially_call_ally_trigger = {
}
}
# Can never call your liege to your own wars (they protect you only from foreign invaders, by being the war target instead of you)
# Can never call your liege to your own wars (they protect you only from foreign invaders, by being the war target instead of you) -- Unless you have the Nomadic Contract Right
custom_description = {
text = cannot_call_liege_to_war
$JOINER$ = {
NOT = {
target_is_vassal_or_below = $WARRIOR$
trigger_if = {
limit = {
target_is_vassal_or_below = $WARRIOR$
$WARRIOR$ = {
vassal_contract_has_flag = vassal_contract_liege_forced_war_override
}
}
always = yes
}
trigger_else_if = {
limit = {
$JOINER$ = {
NOT = {
target_is_vassal_or_below = $WARRIOR$
}
}
}
always = yes
}
trigger_else = {
always = no
}
}
}
@ -199,8 +228,8 @@ war_declarer_needs_hook_on_liege = {
liege = scope:recipient.liege
NOT = { liege = scope:recipient }
NAND = {
has_government = administrative_government
liege = { has_government = administrative_government }
government_has_flag = government_is_administrative
liege = { government_has_flag = government_is_administrative }
}
liege = { has_realm_law_flag = vassal_internal_wars_banned }
NOT = {
@ -214,8 +243,8 @@ war_declarer_needs_hook_on_liege = {
is_independent_ruler = no
NOT = { liege = scope:recipient }
NAND = {
has_government = administrative_government
liege = { has_government = administrative_government }
government_has_flag = government_is_administrative
liege = { government_has_flag = government_is_administrative }
}
liege = { has_realm_law_flag = vassal_all_wars_banned }
NOT = {
@ -244,6 +273,7 @@ can_use_conquest_cbs_trigger = {
OR = {
government_has_flag = government_is_tribal
government_has_flag = government_is_clan
government_has_flag = government_is_nomadic
faith = { has_doctrine_parameter = conquest_cb_enabled }
culture = { has_cultural_parameter = can_use_conquest_cbs }
}
@ -268,7 +298,7 @@ can_be_knight_trigger = {
is_hostage = no
trigger_if = { # Admin governors cannot be knights
limit = {
$ARMY_OWNER$ = { has_government = administrative_government }
$ARMY_OWNER$ = { government_has_flag = government_is_administrative }
is_courtier = no
}
primary_title ?= {
@ -463,6 +493,7 @@ using_conquest_cb_trigger = {
using_cb = ducal_conquest_cb
using_cb = ireland_laudabiliter_conquest_cb
using_cb = mongol_invasion_war
using_cb = mpo_gok_onslaught_cb
}
}
@ -839,30 +870,91 @@ religious_war_vassals_constraints = {
}
}
herders_and_tributary_constraints = {
trigger_if = {
limit = { exists = scope:defender }
scope:defender = {
save_temporary_scope_as = recipient # done for is_a_herder_defender_tt
NOR = {
custom_tooltip = {
text = is_a_herder_defender_tt # herders can't fight
government_has_flag = government_is_herder
}
is_tributary_of_suzerain_or_above = scope:attacker # can't fight your tributaries or your tributaries' tributaries
}
# You cannot attack your Confederation buddies tributaries
trigger_if = {
limit = {
suzerain != this
scope:attacker = { is_confederation_member = yes }
suzerain = { is_confederation_member = yes }
}
NOT = { scope:attacker.confederation = suzerain.confederation }
}
}
scope:attacker = { # Tributaries cannot attack their Suzerain or Suzerain's Confederation buddies
NOR = {
is_tributary_of_suzerain_or_above = scope:defender # can't attack your own suzerain
trigger_if = {
limit = {
suzerain != this
scope:defender = { is_confederation_member = yes }
suzerain = { is_confederation_member = yes }
}
# if you have a suzerain who's part of a confederation, you may not attack any of its members
scope:defender.confederation = suzerain.confederation
}
}
}
}
}
feudal_clan_tribal_conquest_constraints = {
OR = {
AND = {
tier = tier_county
any_county_province = {
has_holding_type = tribal_holding
title_province = {
OR = {
has_holding_type = tribal_holding
has_holding_type = nomad_holding
has_holding_type = herder_holding
}
}
}
AND = {
tier > tier_county
any_in_de_jure_hierarchy = {
tier = tier_county
any_county_province = {
has_holding_type = tribal_holding
title_province = {
OR = {
has_holding_type = tribal_holding
has_holding_type = nomad_holding
has_holding_type = herder_holding
}
}
}
}
}
scope:attacker = {
NOT = { government_has_flag = government_is_tribal }
NOR = {
government_has_flag = government_is_tribal
government_has_flag = government_is_nomadic
}
gold < 200
any_sub_realm_county = {
any_county_province = {
has_holding_type = tribal_holding
OR = {
AND = {
government_has_flag = government_is_administrative
gold < 700
this != top_liege
}
any_sub_realm_county = {
title_province = {
OR = {
has_holding_type = tribal_holding
has_holding_type = nomad_holding
has_holding_type = herder_holding
}
}
}
}
}