This commit is contained in:
Fishedotjpg 2026-11-19 03:48:13 +00:00
parent 0445bb9601
commit f866dd83d0
8 changed files with 4726 additions and 1149 deletions

View file

@ -2114,7 +2114,7 @@ types FaithWindow
button_standard = {
size = { 205 33 }
onclick = "[ToggleGameViewData( 'holy_site', HolySite.Self )]"
onclick = "[HolySite.ToggleView( Faith.Self )]"
text = "OPEN_HOLY_SITE_WINDOW"
}
}
@ -2649,6 +2649,8 @@ types FaithWindow
widget = {
parentanchor = top|right
position = { 2 15 }
allow_outside = yes
block "tenet_badges_layout"
{
@ -2658,6 +2660,7 @@ types FaithWindow
vbox = {
container_tenet_divergence = {}
container_tenet_popularity = {}
expand = {}
}
}
@ -2679,6 +2682,7 @@ types FaithWindow
}
}
}
type widget_tenet_creation_item = widget_tenet_item {
datacontext = "[TenetItem.GetTenet]"
datacontext = "[TenetItem.GetFaith]"
@ -2770,9 +2774,11 @@ types FaithWindow
### Banner
highlight_icon = {
size = { 72 88 }
parentanchor = vcenter
size = { 72 88 }
texture = "[Faith.GetTenetBackgroundSmallIcon( Rite.Self, TenetType.Self )]"
allow_outside = yes
using = Tenet_Glows_Small
@ -2786,12 +2792,15 @@ types FaithWindow
}
widget = {
size = { 25 50 }
parentanchor = top|right
position = { 6 -2 }
position = { 5 0 }
size = { 25 50 }
allow_outside = yes
vbox = {
container_tenet_divergence = {}
container_tenet_popularity = {
blockoverride "text_popularity" {
visible = no
@ -2817,6 +2826,7 @@ types FaithWindow
datacontext = "[GetScriptedGui( 'using_tenet_popularity_gui' )]"
visible = "[And( TenetType.IsValid, IsUsingTenetPopularity( Faith ) )]"
ignoreinvisible = yes
tooltip = "FAITH_TENET_ITEM_POPULARITY_TT"
background = {
@ -2824,11 +2834,11 @@ types FaithWindow
spriteType = Corneredtiled
spriteborder = { 40 8 }
texture_density = 2
margin = { 5 0 }
block "margin_popularity_bg" {
margin = { 10 0 }
}
margin_bottom = 2
modify_texture = {
name = "mask"
@ -2838,6 +2848,7 @@ types FaithWindow
blend_mode = alphamultiply
}
}
icon_tenet_popularity = {
name = "tenet_popularity_value_very_popular"
datacontext = "[GetScriptedGui( 'tenet_popularity_gui_very_popular' )]"
@ -2876,7 +2887,7 @@ types FaithWindow
type icon_tenet_popularity = icon {
visible = "[ScriptedGui.IsValid( GuiScope.SetRoot( TenetType.MakeScope ).AddScope( 'faith', Faith.MakeScope ).End )]"
alwaystransparent = yes
size = { 25 25 }
size = { 30 30 }
texture = "gfx/interface/icons/icon_tenet_popularity.dds"
framesize = { 60 60 }
}
@ -3045,7 +3056,7 @@ types FaithWindow
}
blockoverride "tenet_badges_layout" {
size = { 70 50 }
position = { 0 10 }
position = { 15 15 }
}
}
}
@ -4029,7 +4040,7 @@ types FaithWindow
}
}
button_interactions_religion = {}
button_interactions_faith = {}
}
}
}
@ -4151,7 +4162,7 @@ types FaithWindow
size = { 60 100% }
alwaystransparent = no
button_interactions_religion = {
button_interactions_faith = {
parentanchor = right
position = { -15 0 }
@ -4229,7 +4240,7 @@ types FaithWindow
text_single = {
layoutpolicy_horizontal = expanding
autoresize = no
text = "[Title.GetNameNoTooltip]"
text = "TITLE_NAME_NO_TOOLTIP"
align = nobaseline
}
}
@ -5677,7 +5688,7 @@ types FaithWindow
direction = vertical
button_interactions_religion = {
button_interactions_faith = {
glow = {
color = { 0 0 0 0.5 }
glow_radius = 8
@ -5834,6 +5845,12 @@ types FaithWindow
}
}
}
type button_interactions_faith = button_interactions_religion {
blockoverride "num_valid_interactions" {
text = "[FaithWindow.GetNumberOfValidInteractionsWithFilter( Character.Self, ConcatIfNeitherEmpty( 'interaction_category_', PdxGuiWidget.AccessParent.GetName ) )]"
}
}
type button_interactions_religion = button_interactions {
name = "religion"
@ -5863,8 +5880,10 @@ types FaithWindow
margin_top = -5
using = Background_Area_Dark
}
text = "[GetNumberOfValidInteractionsWithFilter( Character.Self, ConcatIfNeitherEmpty( 'interaction_category_', PdxGuiWidget.AccessParent.GetName ) )]"
block "num_valid_interactions" {
text = "[GetNumberOfValidInteractionsWithFilter( Character.Self, ConcatIfNeitherEmpty( 'interaction_category_', PdxGuiWidget.AccessParent.GetName ) )]"
}
default_format = "#glow_color:{0.1,0.1,0.1,1.0}"
}
}