Skip to content

Commit

Permalink
only 9 kingdoms can be renamed to Theramore auto
Browse files Browse the repository at this point in the history
So when jaina inherits Kul Tiras, it stays as Kul Tiras...
  • Loading branch information
sumankun committed Dec 25, 2023
1 parent d4d98de commit b55b067
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions common/on_action/wc_theramore_task_on_actions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -340,14 +340,30 @@ on_title_gain_custom_te = {
if = {
limit = {
has_culture = culture:theramore
scope:title = { tier = tier_kingdom }
scope:title = { tier >= tier_kingdom }
NOT = { has_global_variable = theramore_kingdom_created }
}
set_global_variable = theramore_kingdom_created
#So if jaina inherits kul tiras it wont be renamed, and theramore cant get unique kingdom anymore if this happens because of global var
scope:title = {
set_coa = d_theramore
set_title_name = d_theramore
set_color_from_title = title:b_theramore
if = {
limit = {
OR = {
this = title:k_dustwallow
this = title:k_eldarath
this = title:k_azuremyst
this = title:k_bosaresh
this = title:k_lei_dao
this = title:k_pearlfin
this = title:k_south_islands
this = title:k_borean_tundra
this = title:k_utgarde
}
}
set_coa = d_theramore
set_title_name = d_theramore
set_color_from_title = title:b_theramore
}
}
}
if = {
Expand Down

0 comments on commit b55b067

Please sign in to comment.