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

92 lines
4.9 KiB
Text
Raw Normal View History

2026-11-25 14:51:08 +00:00
#########################################################################################
############ 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########################
########################################################################################
2026-10-26 11:40:28 +00:00
###Religion Defined
highlight_icon = {#default system defined in religion
2026-10-25 18:15:19 +00:00
name = "doctrine_group_bg_def"
2026-11-25 14:51:08 +00:00
visible = "[Not(Or(Faith.HasDoctrineByKey( 'special_doctrine_banner_x' ),Faith.HasDoctrineByKey( 'special_doctrine_banner_y' )))]"
2026-10-25 18:15:19 +00:00
size = { 130 200 }
texture = "[Faith.GetTenetBackgroundIcon( Rite.Self, TenetType.Self )]"
}
2026-11-25 14:51:08 +00:00
############x faith
2026-10-26 11:40:28 +00:00
highlight_icon = {#permitted
name = "doctrine_group_bg_x_perm"
2026-11-25 14:51:08 +00:00
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' ))]"
2026-10-25 18:15:19 +00:00
size = { 130 200 }
2026-11-25 14:51:08 +00:00
texture = "gfx/interface/icons/faith_tenets/tenet_banner_x_known_core.dds"
2026-10-26 11:40:28 +00:00
}
highlight_icon = {#prohibited
name = "doctrine_group_bg_x_prob"
2026-11-25 14:51:08 +00:00
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_x' ), Faith.HasTenetStatus( TenetType.Self, 'prohibited' ))]"
2026-10-26 11:40:28 +00:00
size = { 130 200 }
2026-11-25 14:51:08 +00:00
texture = "gfx/interface/icons/faith_tenets/tenet_banner_x_unknown_heretical.dds"
2026-10-26 11:40:28 +00:00
}
highlight_icon = {#unknown
name = "doctrine_group_bg_x_unkn"
2026-11-25 14:51:08 +00:00
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_x' ), Faith.HasTenetStatus( TenetType.Self, 'unknown' ))]"
2026-10-26 11:40:28 +00:00
size = { 130 200 }
2026-11-25 14:51:08 +00:00
texture = "gfx/interface/icons/faith_tenets/tenet_banner_x_unknown_neutral.dds"
2026-10-26 11:40:28 +00:00
}
2026-11-25 14:51:08 +00:00
############y faith
2026-10-26 11:40:28 +00:00
highlight_icon = {#permitted
name = "doctrine_group_bg_y_perm"
2026-11-25 14:51:08 +00:00
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' ))]"
2026-10-26 11:40:28 +00:00
size = { 130 200 }
2026-11-25 14:51:08 +00:00
texture = "gfx/interface/icons/faith_tenets/tenet_banner_y_known_core.dds"
2026-10-26 11:40:28 +00:00
}
highlight_icon = {#prohibited
name = "doctrine_group_bg_y_prob"
2026-11-25 14:51:08 +00:00
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_y' ), Faith.HasTenetStatus( TenetType.Self, 'prohibited' ))]"
2026-10-26 11:40:28 +00:00
size = { 130 200 }
2026-11-25 14:51:08 +00:00
texture = "gfx/interface/icons/faith_tenets/tenet_banner_y_unknown_heretical.dds"
2026-10-26 11:40:28 +00:00
}
highlight_icon = {#unknown
name = "doctrine_group_bg_y_unkn"
2026-11-25 14:51:08 +00:00
visible = "[And(Faith.HasDoctrineByKey( 'special_doctrine_banner_y' ), Faith.HasTenetStatus( TenetType.Self, 'unknown' ))]"
2026-10-26 11:40:28 +00:00
size = { 130 200 }
2026-11-25 14:51:08 +00:00
texture = "gfx/interface/icons/faith_tenets/tenet_banner_y_unknown_neutral.dds"
2026-10-25 18:15:19 +00:00
}
###############