Skip to content

Commit

Permalink
Move form_bosporan_kingdom_decision overwrite to replaceable_file_blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
IhateTrains committed Jan 19, 2025
1 parent 18cca46 commit aa334a4
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 150 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,71 @@
}
}
}
}


"common/decisions/dlc_decisions/bp3/00_bp3_other_decisions.txt" = {
# In form_bosporan_kingdom_decision, make sure the kingdom doesn't have a holder or de jure land.
replace = {
before = {
is_shown = {
NOT = {
is_target_in_global_variable_list = {
name = unavailable_unique_decisions
target = flag:flag_bosporan_kingdom
}
}
culture = {
OR = {
has_cultural_pillar = heritage_central_germanic
has_cultural_pillar = heritage_byzantine
}
}
highest_held_title_tier <= tier_kingdom
any_held_title = {
OR = {
de_jure_liege = title:d_crimea
de_jure_liege = title:d_azov
this = title:d_crimea
this = title:d_azov
}
}
}
} # end of before

after = {
is_shown = {
NOT = {
is_target_in_global_variable_list = {
name = unavailable_unique_decisions
target = flag:flag_bosporan_kingdom
}
}
culture = {
OR = {
has_cultural_pillar = heritage_central_germanic
has_cultural_pillar = heritage_byzantine
}
}
highest_held_title_tier <= tier_kingdom
any_held_title = {
OR = {
de_jure_liege = title:d_crimea
de_jure_liege = title:d_azov
this = title:d_crimea
this = title:d_azov
}
}
# IRToCK3: "Added this just making sure the kingdom doesn't have a holder or de jure land" ~~tanner918
title:k_bosporan_kingdom = {
AND = {
NOT = { exists = holder }
any_de_jure_county = {
count < 1
}
}
}
}
}
}
}

0 comments on commit aa334a4

Please sign in to comment.