From fd5079f2b1438a4fa0101b43f5b1265dfdc1de63 Mon Sep 17 00:00:00 2001 From: Fishedotjpg Date: Sun, 8 Nov 2026 20:49:40 +0000 Subject: [PATCH] Update window_faith.gui --- gui/window_faith.gui | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/gui/window_faith.gui b/gui/window_faith.gui index 9d00b92ea..e8fd7c9e6 100644 --- a/gui/window_faith.gui +++ b/gui/window_faith.gui @@ -2379,16 +2379,22 @@ types FaithWindow size = { 130 200 } texture = "[Faith.GetTenetBackgroundIcon( Rite.Self, TenetType.Self )]" } - ###Novelist + ###Classical Backgrounds highlight_icon = {#Core name = "doctrine_group_bg_nov_core" - visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_classical' ), Faith.GetMainRite.HasTenet( TenetType.Self ))]" + visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_classical' ), Faith.HasTenetStatus( TenetType.Self, 'core' ))]" size = { 130 200 } texture = "gfx/interface/icons/faith_tenets/tenet_banner_marble_known_core.dds" } highlight_icon = {#permitted name = "doctrine_group_bg_nov_perm" - visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_classical' ), And( Not( Faith.GetMainRite.HasTenet( TenetType.Self ) ), Not( Faith.HasTenetStatus( TenetType.Self, 'prohibited' ) ) ) )]" + visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_classical' ), Faith.HasTenetStatus( TenetType.Self, 'permitted' ) )]" + size = { 130 200 } + texture = "gfx/interface/icons/faith_tenets/tenet_banner_marble_known_permitted.dds" + } + highlight_icon = {#known + name = "doctrine_group_bg_nov_known" + visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_classical' ), And(Not(Faith.HasTenetStatus( TenetType.Self, 'permitted' )), Not(Faith.HasTenetStatus( TenetType.Self, 'unknown' )) ) )]" size = { 130 200 } texture = "gfx/interface/icons/faith_tenets/tenet_banner_marble_known_neutral.dds" } @@ -2407,13 +2413,19 @@ types FaithWindow ###Europeanist highlight_icon = {#Core name = "doctrine_group_bg_euro_core" - visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_europeanist' ), Faith.GetMainRite.HasTenet( TenetType.Self ))]" + visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_europeanist' ), Faith.HasTenetStatus( TenetType.Self, 'core' ))]" size = { 130 200 } texture = "gfx/interface/icons/faith_tenets/tenet_banner_europeanist_known_core.dds" } highlight_icon = {#permitted name = "doctrine_group_bg_euro_perm" - visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_europeanist' ), And( Not( Faith.GetMainRite.HasTenet( TenetType.Self ) ), Not( Faith.HasTenetStatus( TenetType.Self, 'prohibited' ) ) ) )]" + visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_europeanist' ), Faith.HasTenetStatus( TenetType.Self, 'permitted' ) )]" + size = { 130 200 } + texture = "gfx/interface/icons/faith_tenets/tenet_banner_europeanist_known_permitted.dds" + } + highlight_icon = {#known + name = "doctrine_group_bg_euro_known" + visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_europeanist' ), And(Not(Faith.HasTenetStatus( TenetType.Self, 'permitted' )), Not(Faith.HasTenetStatus( TenetType.Self, 'unknown' )) ) )]" size = { 130 200 } texture = "gfx/interface/icons/faith_tenets/tenet_banner_europeanist_known_neutral.dds" } @@ -2432,13 +2444,19 @@ types FaithWindow ###British highlight_icon = {#Core name = "doctrine_group_bg_brit_core" - visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_britannic' ), Faith.GetMainRite.HasTenet( TenetType.Self ))]" + visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_britannic' ), Faith.HasTenetStatus( TenetType.Self, 'core' ))]" size = { 130 200 } texture = "gfx/interface/icons/faith_tenets/tenet_banner_britannic_known_core.dds" } highlight_icon = {#permitted - name = "doctrine_group_bg_brit_perm" - visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_britannic' ), And( Not( Faith.GetMainRite.HasTenet( TenetType.Self ) ), Not( Faith.HasTenetStatus( TenetType.Self, 'prohibited' ) ) ) )]" + name = "doctrine_group_bg_euro_perm" + visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_britannic' ), Faith.HasTenetStatus( TenetType.Self, 'permitted' ) )]" + size = { 130 200 } + texture = "gfx/interface/icons/faith_tenets/tenet_banner_britannic_known_permitted.dds" + } + highlight_icon = {#known + name = "doctrine_group_bg_euro_known" + visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_britannic' ), And(Not(Faith.HasTenetStatus( TenetType.Self, 'permitted' )), Not(Faith.HasTenetStatus( TenetType.Self, 'unknown' )) ) )]" size = { 130 200 } texture = "gfx/interface/icons/faith_tenets/tenet_banner_britannic_known_neutral.dds" }