Skip to content

Commit

Permalink
Fixes for CK3 1.13 compatibility (#2236) #patch
Browse files Browse the repository at this point in the history
  • Loading branch information
IhateTrains authored Sep 28, 2024
1 parent 2544635 commit a5700e1
Show file tree
Hide file tree
Showing 4 changed files with 708 additions and 3 deletions.
2 changes: 2 additions & 0 deletions ImperatorToCK3/CK3/Titles/Title.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,7 @@ public IDictionary<string, Title> GetDeFactoVassalsAndBelow(Date date, string ra
[commonItems.Serialization.NonSerialized] public string Id { get; } // e.g. d_latium
[commonItems.Serialization.NonSerialized] public TitleRank Rank { get; private set; } = TitleRank.duchy;
[SerializedName("landless")] public bool Landless { get; private set; } = false;
[SerializedName("require_landless")] public bool? RequireLandless { get; private set; }
[SerializedName("definite_form")] public bool HasDefiniteForm { get; private set; } = false;

//This line keeps the Seleucids Seleucid and not "[Dynasty]s"
Expand Down Expand Up @@ -1103,6 +1104,7 @@ private void RegisterKeys(Parser parser) {
parser.RegisterKeyword("definite_form", reader => HasDefiniteForm = reader.GetBool());
parser.RegisterKeyword("ruler_uses_title_name", reader => RulerUsesTitleName = reader.GetBool());
parser.RegisterKeyword("landless", reader => Landless = reader.GetBool());
parser.RegisterKeyword("require_landless", reader => RequireLandless = reader.GetBool());
parser.RegisterKeyword("color", reader => {
try {
Color1 = colorFactory.GetColor(reader);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

# Raise an Irminsul
raise_irminsul_decision = {
picture = "gfx/interface/illustrations/decisions/decision_personal_religious.dds"
picture = {
reference = "gfx/interface/illustrations/decisions/decision_personal_religious.dds"
}

desc = raise_irminsul_decision_desc
selection_tooltip = raise_irminsul_decision_tooltip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ house_uriankhai # referenced in common\scripted_character_templates\00_mongol_te
house_harmaytan # referenced in common\scripted_character_templates\04_fp3_character_templates.txt
house_tusi # referenced in common\scripted_character_templates\04_fp3_character_templates.txt
house_tumert # referenced in common\scripted_effects\00_almohad_invasion_effects.txt
house_almohad # referenced in common\scripted_effects\00_almohad_invasion_effects.txt
house_almohad # referenced in common\scripted_effects\00_almohad_invasion_effects.txt
house_prum # referenced in common\scripted_effects\00_historical_characters_scripted_effects.txt
Loading

0 comments on commit a5700e1

Please sign in to comment.