From 31ef105bd13f7bba77285f2fb0f1a2f203c1ad73 Mon Sep 17 00:00:00 2001 From: Fishedotjpg Date: Tue, 3 Nov 2026 16:04:32 +0000 Subject: [PATCH] fix --- .../00_grant_titles_interaction.txt | 17 ++++------------- common/men_at_arms_types/NEOW_maa_types.txt | 2 +- .../00_administrative_effects.txt | 6 +++--- .../men_at_arms_big/peasant_militia_archer.dds | 3 +++ .../peasant_militia_archer.dds | 3 +++ 5 files changed, 14 insertions(+), 17 deletions(-) create mode 100644 gfx/interface/illustrations/men_at_arms_big/peasant_militia_archer.dds create mode 100644 gfx/interface/illustrations/men_at_arms_small/peasant_militia_archer.dds diff --git a/common/character_interactions/00_grant_titles_interaction.txt b/common/character_interactions/00_grant_titles_interaction.txt index 9af6f71cd..92d37eca4 100644 --- a/common/character_interactions/00_grant_titles_interaction.txt +++ b/common/character_interactions/00_grant_titles_interaction.txt @@ -1400,10 +1400,7 @@ grant_titles_interaction = { } } scope:recipient = { - set_variable = { - name = granted_title_government_cooldown - years = 30 - } + add_character_flag = { flag = granted_title_government_cooldown years = 30 } } if = { limit = { @@ -1523,12 +1520,9 @@ grant_title_to_new_random_character_interaction = { } } on_accept = { - scope:recipient = { - set_variable = { - name = granted_title_government_cooldown - years = 30 + scope:recipient = { + add_character_flag = { flag = granted_title_government_cooldown years = 30 } } - } } } @@ -2601,10 +2595,7 @@ grant_governorship_interaction = { } } scope:recipient = { - set_variable = { - name = granted_title_government_cooldown - years = 30 - } + add_character_flag = { flag = granted_title_government_cooldown years = 30 } } if = { limit = { diff --git a/common/men_at_arms_types/NEOW_maa_types.txt b/common/men_at_arms_types/NEOW_maa_types.txt index 4abc0936b..82247ab8c 100644 --- a/common/men_at_arms_types/NEOW_maa_types.txt +++ b/common/men_at_arms_types/NEOW_maa_types.txt @@ -590,7 +590,7 @@ NEOW_militia_archers = { reference = bowmen_asia } illustration = { - reference = bowmen + reference = peasant_militia_archer } icon = NEOW_militia_archers } diff --git a/common/scripted_effects/00_administrative_effects.txt b/common/scripted_effects/00_administrative_effects.txt index 478714352..d1a341bad 100644 --- a/common/scripted_effects/00_administrative_effects.txt +++ b/common/scripted_effects/00_administrative_effects.txt @@ -53,7 +53,7 @@ change_to_administrative_effect = { independent = no } NOR = { - has_variable = granted_title_government_cooldown + has_character_flag = granted_title_government_cooldown prestige_level > 2 piety_level > 2 AND = { @@ -82,7 +82,7 @@ change_to_administrative_effect = { independent = no } NOR = { - has_variable = granted_title_government_cooldown + has_character_flag = granted_title_government_cooldown prestige_level > 2 piety_level > 2 AND = { @@ -110,7 +110,7 @@ change_to_administrative_effect = { independent = no } NOR = { - has_variable = granted_title_government_cooldown + has_character_flag = granted_title_government_cooldown prestige_level > 2 piety_level > 2 AND = { diff --git a/gfx/interface/illustrations/men_at_arms_big/peasant_militia_archer.dds b/gfx/interface/illustrations/men_at_arms_big/peasant_militia_archer.dds new file mode 100644 index 000000000..ba646b94b --- /dev/null +++ b/gfx/interface/illustrations/men_at_arms_big/peasant_militia_archer.dds @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aff1a050b096e195fa5505e2d9bb84a93add0373e7c69f71e9eb57be0288d484 +size 363584 diff --git a/gfx/interface/illustrations/men_at_arms_small/peasant_militia_archer.dds b/gfx/interface/illustrations/men_at_arms_small/peasant_militia_archer.dds new file mode 100644 index 000000000..ea4439f95 --- /dev/null +++ b/gfx/interface/illustrations/men_at_arms_small/peasant_militia_archer.dds @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6f3ab03326241762e3e5fd58b66651dfb9444f5c1c30a3ae8d5b5b8523c6546 +size 34368