N3OW/holder for later/Banner GUI Code Explained.txt

62 lines
3.1 KiB
Text

############ x = first faith's banner
############ y = second faith's banner
############ Found @ window_faith.gui line 2376 circa 25/10/2026
###Religion Defined
highlight_icon = {#default system defined in religion
name = "doctrine_group_bg_def"
visible = "[Not(Or(Faith.HasDoctrineByKey( 'x_doctrine_that_sets_banner' ),Faith.HasDoctrineByKey( 'y_doctrine_that_sets_banner' )))]"
size = { 130 200 }
texture = "[Faith.GetTenetBackgroundIcon( Rite.Self, TenetType.Self )]"
}
###x faith
highlight_icon = {#Core
name = "doctrine_group_bg_x_core"
visible = "[And(Faith.HasDoctrineByKey( 'x_doctrine_that_sets_banner' ), Faith.GetMainRite.HasTenet( TenetType.Self ))]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_marble_known_core.dds"
}
highlight_icon = {#permitted
name = "doctrine_group_bg_x_perm"
visible = "[And(Faith.HasDoctrineByKey( 'x_doctrine_that_sets_banner' ), And( Not( Faith.GetMainRite.HasTenet( TenetType.Self ) ), Not( Faith.HasTenetStatus( TenetType.Self, 'prohibited' ) ) ) )]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_marble_known_neutral.dds"
}
highlight_icon = {#prohibited
name = "doctrine_group_bg_x_prob"
visible = "[And(Faith.HasDoctrineByKey( 'x_doctrine_that_sets_banner' ), Faith.HasTenetStatus( TenetType.Self, 'prohibited' ))]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_marble_unknown_heretical.dds"
}
highlight_icon = {#unknown
name = "doctrine_group_bg_x_unkn"
visible = "[And(Faith.HasDoctrineByKey( 'x_doctrine_that_sets_banner' ), Faith.HasTenetStatus( TenetType.Self, 'unknown' ))]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_marble_unknown_neutral.dds"
}
###y faith
highlight_icon = {#Core
name = "doctrine_group_bg_y_core"
visible = "[And(Faith.HasDoctrineByKey( 'y_doctrine_that_sets_banner' ), Faith.GetMainRite.HasTenet( TenetType.Self ))]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_europeanist_known_core.dds"
}
highlight_icon = {#permitted
name = "doctrine_group_bg_y_perm"
visible = "[And(Faith.HasDoctrineByKey( 'y_doctrine_that_sets_banner' ), And( Not( Faith.GetMainRite.HasTenet( TenetType.Self ) ), Not( Faith.HasTenetStatus( TenetType.Self, 'prohibited' ) ) ) )]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_europeanist_known_neutral.dds"
}
highlight_icon = {#prohibited
name = "doctrine_group_bg_y_prob"
visible = "[And(Faith.HasDoctrineByKey( 'y_doctrine_that_sets_banner' ), Faith.HasTenetStatus( TenetType.Self, 'prohibited' ))]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_europeanist_unknown_heretical.dds"
}
highlight_icon = {#unknown
name = "doctrine_group_bg_y_unkn"
visible = "[And(Faith.HasDoctrineByKey( 'y_doctrine_that_sets_banner' ), Faith.HasTenetStatus( TenetType.Self, 'unknown' ))]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_europeanist_unknown_neutral.dds"
}
###############