N3OW/holder for later/Banner GUI Code Explained.txt
2026-11-25 14:51:08 +00:00

91 lines
4.9 KiB
Text

#########################################################################################
############ x = first faith
############ special_doctrine_banner_x = first faith special doctrine
############ tenet_banner_x_known_core = first faith banner core
############ tenet_banner_x_known_neutral = first faith banner neutral
############ tenet_banner_x_known_core = first faith banner permitted
############ tenet_banner_x_unknown_heretical = first faith banner prohibited
############ tenet_banner_x_unknown_neutral = first faith banner unknown
############ y = second faith
############ special_doctrine_banner_y = second faith special doctrine
############ tenet_banner_y_known_core = second faith banner core
############ tenet_banner_y_known_neutral = second faith banner neutral
############ tenet_banner_y_known_core = second faith banner permitted
############ tenet_banner_y_unknown_heretical = second faith banner prohibited
############ tenet_banner_y_unknown_neutral = second faith banner unknown
########################################################################################
############ Names for each highlight_icon needs to be distinct or else it wont work ###
########################################################################################
############ Found @ window_faith.gui line 6283 circa 25/11/2026########################
########################################################################################
###Religion Defined
highlight_icon = {#default system defined in religion
name = "doctrine_group_bg_def"
visible = "[Not(Or(Faith.HasDoctrineByKey( 'special_doctrine_banner_x' ),Faith.HasDoctrineByKey( 'special_doctrine_banner_y' )))]"
size = { 130 200 }
texture = "[Faith.GetTenetBackgroundIcon( Rite.Self, TenetType.Self )]"
}
############x faith
highlight_icon = {#permitted
name = "doctrine_group_bg_x_perm"
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_x' ), Faith.HasTenetStatus( TenetType.Self, 'permitted' ) )]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_x_known_core.dds"
}
highlight_icon = {#known
name = "doctrine_group_bg_x_known"
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_x' ), And(Not(Faith.HasTenetStatus( TenetType.Self, 'permitted' )), Not(Faith.HasTenetStatus( TenetType.Self, 'unknown' )) ) )]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_x_known_neutral.dds"
}
highlight_icon = {#Core
name = "doctrine_group_bg_x_core"
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_x' ), Faith.HasTenetStatus( TenetType.Self, 'core' ))]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_x_known_core.dds"
}
highlight_icon = {#prohibited
name = "doctrine_group_bg_x_prob"
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_x' ), Faith.HasTenetStatus( TenetType.Self, 'prohibited' ))]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_x_unknown_heretical.dds"
}
highlight_icon = {#unknown
name = "doctrine_group_bg_x_unkn"
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_x' ), Faith.HasTenetStatus( TenetType.Self, 'unknown' ))]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_x_unknown_neutral.dds"
}
############y faith
highlight_icon = {#permitted
name = "doctrine_group_bg_y_perm"
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_y' ), Faith.HasTenetStatus( TenetType.Self, 'permitted' ) )]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_y_known_core.dds"
}
highlight_icon = {#known
name = "doctrine_group_bg_y_known"
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_y' ), And(Not(Faith.HasTenetStatus( TenetType.Self, 'permitted' )), Not(Faith.HasTenetStatus( TenetType.Self, 'unknown' )) ) )]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_y_known_neutral.dds"
}
highlight_icon = {#Core
name = "doctrine_group_bg_y_core"
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_y' ), Faith.HasTenetStatus( TenetType.Self, 'core' ))]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_y_known_core.dds"
}
highlight_icon = {#prohibited
name = "doctrine_group_bg_y_prob"
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_y' ), Faith.HasTenetStatus( TenetType.Self, 'prohibited' ))]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_y_unknown_heretical.dds"
}
highlight_icon = {#unknown
name = "doctrine_group_bg_y_unkn"
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_y' ), Faith.HasTenetStatus( TenetType.Self, 'unknown' ))]"
size = { 130 200 }
texture = "gfx/interface/icons/faith_tenets/tenet_banner_y_unknown_neutral.dds"
}
###############