my most advanced banner gui code yet
This commit is contained in:
parent
7546100b75
commit
6afa358c96
2 changed files with 99 additions and 22 deletions
|
|
@ -1,23 +1,62 @@
|
|||
############ x = first faith's banner
|
||||
############ y = second faith's banner
|
||||
############ Found @ window_faith.gui line 2376 circa 25/10/2026
|
||||
highlight_icon = {#default is the vanilla system of assigning via religion
|
||||
###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 )]"
|
||||
}
|
||||
highlight_icon = {#variant
|
||||
name = "doctrine_group_bg_x"
|
||||
visible = "[Faith.HasDoctrineByKey( 'x_doctrine_that_sets_banner' )]"
|
||||
###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/x_banner.dds"
|
||||
texture = "gfx/interface/icons/faith_tenets/tenet_banner_marble_known_core.dds"
|
||||
}
|
||||
highlight_icon = {#variant
|
||||
name = "doctrine_group_bg_y"
|
||||
visible = "[Faith.HasDoctrineByKey( 'y_doctrine_that_sets_banner' )]"
|
||||
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/y_banner.dds"
|
||||
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"
|
||||
}
|
||||
###############
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue