From f322aec3041f2b7418c2b289cc591fd61308fdd4 Mon Sep 17 00:00:00 2001 From: Fishedotjpg Date: Tue, 10 Nov 2026 16:48:32 +0000 Subject: [PATCH] glow now editable --- gui/window_faith.gui | 52 ++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 48 insertions(+), 4 deletions(-) diff --git a/gui/window_faith.gui b/gui/window_faith.gui index 6d0080a15..24abae1e6 100644 --- a/gui/window_faith.gui +++ b/gui/window_faith.gui @@ -6265,7 +6265,7 @@ template Tenet_Glows { icon = { name = "core_tenet_glow" block "core_tenet_glow" { - visible = "[Rite.HasTenet( TenetType.Self )]" + visible = "[And(Rite.HasTenet( TenetType.Self ),Not(Or(Or(Faith.HasDoctrineByKey( 'special_doctrine_banner_classical' ),Faith.HasDoctrineByKey( 'special_doctrine_banner_europeanist' )), Faith.HasDoctrineByKey( 'special_doctrine_banner_britannic' ))))]" } size = { 100% 100% } texture = "gfx/interface/icons/faith_tenets/tenet_banner_glow.dds" @@ -6290,12 +6290,34 @@ template Tenet_Glows { icon = { name = "prohibited_tenet_glow" - visible = "[Faith.HasTenetStatus( TenetType.Self, 'prohibited' )]" + visible = "[And(Faith.HasTenetStatus( TenetType.Self, 'prohibited' ),Not(Or(Or(Faith.HasDoctrineByKey( 'special_doctrine_banner_classical' ),Faith.HasDoctrineByKey( 'special_doctrine_banner_europeanist' )), Faith.HasDoctrineByKey( 'special_doctrine_banner_britannic' )))]" size = { 100% 100% } texture = "gfx/interface/icons/faith_tenets/tenet_banner_heretical_glow.dds" color = { 0.85 0.5 0.3 1 } alpha = 0.5 + using = Glow_Tenet_Animation + } + icon = { + name = "core_tenet_glow" + block "core_tenet_glow" { + visible = "[And(Rite.HasTenet( TenetType.Self ),Faith.HasDoctrineByKey( 'special_doctrine_banner_classical' ))]" + } + size = { 100% 100% } + texture = "gfx/interface/icons/faith_tenets/test_custom_tenet_banner_glow_1.dds" + color = { 0.45 0.5 0.55 1 } + alpha = 0.5 + + using = Glow_Tenet_Animation + } + icon = { + name = "prohibited_tenet_glow" + visible = "[And(Faith.HasTenetStatus( TenetType.Self, 'prohibited' ),Faith.HasDoctrineByKey( 'special_doctrine_banner_classical' ))]" + size = { 100% 100% } + texture = "gfx/interface/icons/faith_tenets/test_custom_tenet_banner_glow_2.dds" + color = { 0.85 0.5 0.3 1 } + alpha = 0.5 + using = Glow_Tenet_Animation } } @@ -6304,7 +6326,7 @@ template Tenet_Glows_Small { icon = { name = "core_tenet_glow" block "core_tenet_glow" { - visible = "[Rite.HasTenet( TenetType.Self )]" + visible = "[And(Rite.HasTenet( TenetType.Self ),Not(Or(Or(Faith.HasDoctrineByKey( 'special_doctrine_banner_classical' ),Faith.HasDoctrineByKey( 'special_doctrine_banner_europeanist' )), Faith.HasDoctrineByKey( 'special_doctrine_banner_britannic' ))))]" } size = { 100% 100% } texture = "gfx/interface/icons/faith_tenets/tenet_banner_glow_small.dds" @@ -6329,7 +6351,29 @@ template Tenet_Glows_Small { icon = { name = "prohibited_tenet_glow" - visible = "[Faith.HasTenetStatus( TenetType.Self, 'prohibited' )]" + visible = "[And(Faith.HasTenetStatus( TenetType.Self, 'prohibited' ),Not(Or(Or(Faith.HasDoctrineByKey( 'special_doctrine_banner_classical' ),Faith.HasDoctrineByKey( 'special_doctrine_banner_europeanist' )), Faith.HasDoctrineByKey( 'special_doctrine_banner_britannic' )))]" + size = { 100% 100% } + texture = "gfx/interface/icons/faith_tenets/tenet_banner_heretical_glow_small.dds" + color = { 0.85 0.5 0.3 1 } + alpha = 0.5 + + using = Glow_Tenet_Animation + } + icon = { + name = "core_tenet_glow" + block "core_tenet_glow" { + visible = "[And(Rite.HasTenet( TenetType.Self ),Faith.HasDoctrineByKey( 'special_doctrine_banner_classical' ))]" + } + size = { 100% 100% } + texture = "gfx/interface/icons/faith_tenets/tenet_banner_glow_small.dds" + color = { 0.45 0.5 0.55 1 } + alpha = 0.5 + + using = Glow_Tenet_Animation + } + icon = { + name = "prohibited_tenet_glow" + visible = "[And(Faith.HasTenetStatus( TenetType.Self, 'prohibited' ),Faith.HasDoctrineByKey( 'special_doctrine_banner_classical' ))]" size = { 100% 100% } texture = "gfx/interface/icons/faith_tenets/tenet_banner_heretical_glow_small.dds" color = { 0.85 0.5 0.3 1 }