Skip to content

Commit

Permalink
Several Fourth Crusade fixes
Browse files Browse the repository at this point in the history
Krete and Cyprus are no longer seized if not defending against the Fourth Crusade
The resulting Byzantine Empire rump state no longer vassalizes bordering rulers of the same religion and culture.
Closes issue #90
  • Loading branch information
Whizzer committed Aug 21, 2021
1 parent bdbffe7 commit 38c35e4
Showing 1 changed file with 79 additions and 29 deletions.
108 changes: 79 additions & 29 deletions CleanSlate/common/cb_types/religious_cbs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@ new_crusade = {

# Find a King for Trebizond
e_byzantium = {
owner = {
holder_scope = {
if = {
limit = {
k_trebizond = {
Expand Down Expand Up @@ -1368,9 +1368,9 @@ new_crusade = {

# Set vassals for Trebizond
k_trebizond = {
owner = {
holder_scope = {
e_byzantium = {
owner = {
holder_scope = {
any_vassal = {
limit = { de_jure_liege = k_trebizond }
set_defacto_liege = PREVPREVPREV
Expand All @@ -1384,18 +1384,46 @@ new_crusade = {
if = {
limit = {
c_famagusta = {
owner = {
holder_scope = {
religion = defender
culture = defender
ai = yes

OR = {
any_war = {
using_cb = new_crusade
any_defender = { character = PREVPREV }
}

any_liege = {
any_war = {
using_cb = new_crusade
any_defender = { character = PREVPREV }
}
}
}
}
}

c_limisol = {
owner = {
holder_scope = {
religion = defender
culture = defender
ai = yes

OR = {
any_war = {
using_cb = new_crusade
any_defender = { character = PREVPREV }
}

any_liege = {
any_war = {
using_cb = new_crusade
any_defender = { character = PREVPREV }
}
}
}
}
}

Expand Down Expand Up @@ -1494,9 +1522,25 @@ new_crusade = {

# All Byzantine vassals go independent except those neighboring the old Emperor, and he/she gets an inferior Empire title while the Byzantine title is broken
e_byzantium = {
owner = {
holder_scope = {
any_vassal = {
limit = { higher_real_tier_than = BARON }
limit = {
higher_real_tier_than = BARON

NAND = { # These stay part of the empire
ai = yes
culture = PREV
religion = PREV
lower_real_tier_than = KING

any_demesne_province = {
any_neighbor_province = {
owned_by = PREVPREVPREV
}
}
}
}

set_defacto_liege = THIS
}

Expand Down Expand Up @@ -1525,17 +1569,6 @@ new_crusade = {

destroy_landed_title = THIS
}

any_neighbor_independent_ruler = {
limit = {
ai = yes
culture = PREV
religion = PREV
lower_real_tier_than = KING
}

set_defacto_liege = PREV
}
}
else_if = {
limit = {
Expand Down Expand Up @@ -1566,17 +1599,6 @@ new_crusade = {
destroy_landed_title = THIS
}
}

any_neighbor_independent_ruler = {
limit = {
ai = yes
culture = PREV
religion = PREV
lower_real_tier_than = KING
}

set_defacto_liege = PREV
}
}
}

Expand All @@ -1586,12 +1608,40 @@ new_crusade = {
c_kaneia = {
holder_scope = {
ai = yes

OR = {
any_war = {
using_cb = new_crusade
any_defender = { character = PREVPREV }
}

any_liege = {
any_war = {
using_cb = new_crusade
any_defender = { character = PREVPREV }
}
}
}
}
}

c_chandax = {
holder_scope = {
ai = yes

OR = {
any_war = {
using_cb = new_crusade
any_defender = { character = PREVPREV }
}

any_liege = {
any_war = {
using_cb = new_crusade
any_defender = { character = PREVPREV }
}
}
}
}
}

Expand Down

1 comment on commit 38c35e4

@Aerotinge
Copy link
Contributor

@Aerotinge Aerotinge commented on 38c35e4 Aug 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"# Crete is taken by a Merchant Lord" block should be placed before "# All Byzantine vassals go independent" block, by doing so it make sense.
I use "is_vassal_or_below_of = defender" as an equivalent of "OR = { any_war = {...} any_liege = {...}", would you use it instead for simpler?
d_cyprus lacks holder checks, or it should not be a part of "grant_title_no_opinion"

Please sign in to comment.