Yay things work now

This commit is contained in:
Heidesommer 2026-05-20 04:02:41 -04:00
parent 294570f0f6
commit 719ab62dc9
25 changed files with 5584 additions and 5210 deletions

View file

@ -67,6 +67,11 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'action_buttons' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'action_buttons' )]"
blockoverride "icon_visible"
{
visible = no
}
}
button_tab = {
@ -75,6 +80,11 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'other_inputs' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'other_inputs' )]"
blockoverride "icon_visible"
{
visible = no
}
}
button_tab = {
@ -83,6 +93,11 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'view_controls' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'view_controls' )]"
blockoverride "icon_visible"
{
visible = no
}
}
button_tab = {
@ -91,7 +106,13 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'selectors' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'selectors' )]"
blockoverride "icon_visible"
{
visible = no
}
}
button_tab = {
layoutpolicy_horizontal = expanding
@ -99,6 +120,11 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'separators' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'separators' )]"
blockoverride "icon_visible"
{
visible = no
}
}
button_tab = {
@ -108,6 +134,11 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'indicators' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'indicators' )]"
blockoverride "icon_visible"
{
visible = no
}
}
button_tab = {
@ -117,6 +148,11 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'text_formats' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'text_formats' )]"
blockoverride "icon_visible"
{
visible = no
}
}
button_tab = {
@ -125,6 +161,11 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'portraits' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'portraits' )]"
blockoverride "icon_visible"
{
visible = no
}
}
button_tab = {
@ -133,6 +174,11 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'coas' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'coas' )]"
blockoverride "icon_visible"
{
visible = no
}
}
#button_tab = {
@ -150,6 +196,11 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'animations' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'animations' )]"
blockoverride "icon_visible"
{
visible = no
}
}
button_tab = {
@ -158,6 +209,11 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'placeholders' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'placeholders' )]"
blockoverride "icon_visible"
{
visible = no
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -137,7 +137,7 @@ types Lists
hbox = {
margin = { 0 5 }
spacing = 15
spacing = 10
portrait_head_small = {}
@ -331,45 +331,11 @@ types Lists
}
}
}
# Traits
fixedgridbox = {
name = "traits_grid"
datamodel = "[CharacterListItem.GetTraits]"
flipdirection = yes
size = { 150 35 }
addcolumn = 30
addrow = 35
block "horizontal_slots"
{
maxhorizontalslots = 8
}
maxverticalslots = 1
item = {
widget = {
visible = "[Trait.IsValid]"
size = { 35 35 }
icon_trait = {
parentanchor = center
blockoverride "icon_size"
{
size = { 30 30 }
}
blockoverride "tooltip_placement"
{
using = tooltip_se
}
blockoverride "glow_radius"
{
glow_radius = 3
}
}
}
block "traits_grid" {
# Traits
fixedgrid_traits_list = {
name = "traits_grid"
}
}
@ -387,14 +353,16 @@ types Lists
widget = {
datacontext = "[CharacterListItem.GetFirstClaim]"
visible = "[Not( IsDataModelEmpty( CharacterListItem.GetTitleItems ) )]"
size = { 55 58 }
size = { 55 44 }
block "claims_visibility" {}
coa_title_tiny_crown = {
datacontext = "[Claim.GetTitle]"
using = tooltip_ne
parentanchor = vcenter
position = { 0 -3 }
highlight_icon = {
name = "pressed_claim"
visible = "[And(Claim.IsPressed, Not(Claim.IsImplicit))]"
@ -402,7 +370,7 @@ types Lists
size = { 24 24 }
texture = "gfx/interface/icons/title_status/icon_claim_pressed.dds"
}
highlight_icon = {
name = "unpressed_claim"
visible = "[And(Not(Claim.IsPressed), Not(Claim.IsImplicit))]"
@ -410,7 +378,7 @@ types Lists
size = { 24 24 }
texture = "gfx/interface/icons/title_status/icon_claim_unpressed.dds"
}
highlight_icon = {
name = "implicit_claim"
visible = "[Claim.IsImplicit]"
@ -418,21 +386,21 @@ types Lists
size = { 24 24 }
texture = "gfx/interface/icons/title_status/icon_claim_implicit.dds"
}
blockoverride "coa_tooltip"
{
tooltip = "CHARACTER_LIST_CLAIM_TOOLTIP"
}
}
text_single = {
parentanchor = vcenter|right
position = { 0 -6 }
text = "[CharacterListItem.GetTitleItemCount]"
align = right
align = center
minimumsize = { 15 0 }
tooltip = "CHARACTER_LIST_CLAIM_TOOLTIP"
}
}
@ -473,6 +441,45 @@ types Lists
}
}
}
type fixedgrid_traits_list = fixedgridbox {
datamodel = "[CharacterListItem.GetTraits]"
flipdirection = yes
size = { 150 35 }
addcolumn = 30
addrow = 35
block "horizontal_slots"
{
maxhorizontalslots = 8
}
maxverticalslots = 1
item = {
widget = {
visible = "[Trait.IsValid]"
size = { 35 35 }
icon_trait = {
parentanchor = center
blockoverride "icon_size"
{
size = { 30 30 }
}
blockoverride "tooltip_placement"
{
using = tooltip_se
}
blockoverride "glow_radius"
{
glow_radius = 3
}
}
}
}
}
type widget_character_list_item_finder = widget {
@ -531,45 +538,48 @@ types Lists
}
}
hbox = {
margin_left = 3
layoutpolicy_horizontal = expanding
maximumsize = { 338 -1 }
block "character_name_relationship" {
hbox = {
margin_left = 3
layoutpolicy_horizontal = expanding
maximumsize = { 338 -1 }
text_single = {
using = Font_Size_Medium
align = nobaseline
text = "[Character.GetUINameNoTooltip|U]"
fontsize_min = 14
max_width = 300
}
block "character_relation"
{
hbox = {
visible = "[And(Character.HasRelationTo( GetPlayer ), Not(Character.IsPlayer))]"
text_single = {
raw_text = "•"
align = nobaseline
margin = { 5 0 }
}
text_single = {
name = "character_relation"
text = "[Character.GetRelationToString( GetPlayer )]"
tooltip = "EXTENDED_RELATIONS_TOOLTIP"
default_format = "#low"
align = nobaseline
fontsize_min = 14
max_width = 180
text_single = {
using = Font_Size_Medium
align = nobaseline
text = "[Character.GetUINameNoTooltip|U]"
fontsize_min = 14
block "character_name_width" {
max_width = 300
}
}
block "character_relation"
{
hbox = {
visible = "[And(Character.HasRelationTo( GetPlayer ), Not(Character.IsPlayer))]"
text_single = {
raw_text = "•"
align = nobaseline
margin = { 5 0 }
}
text_single = {
name = "character_relation"
text = "[Character.GetRelationToString( GetPlayer )]"
tooltip = "EXTENDED_RELATIONS_TOOLTIP"
default_format = "#low"
align = nobaseline
fontsize_min = 14
max_width = 180
}
}
}
expand = {}
}
expand = {}
}
hbox = {
using = character_age_or_death_text
}
@ -1096,6 +1106,8 @@ types Lists
margin_top = 5
spacing = 5
}
block "pre_filters" {}
button_standard = {
name = "filters"
@ -1157,6 +1169,8 @@ types Lists
}
}
}
block "post_sort" {}
expand = {}
@ -1950,275 +1964,55 @@ types Lists
expand = {}
}
}
type widget_republic_vassal_list_item = widget {
type widget_compact_vassal_list_item = widget {
size = { 80 118 }
datacontext = "[CharacterListItem.GetCharacter]"
vbox = {
margin = { 5 0 }
widget = {
size = { 85 100% }
parentanchor = hcenter
background = {
using = Background_Area_With_Header
using = Background_Area_Border_Solid
}
background = {
using = Background_Frame
}
}
widget = {
parentanchor = bottom|hcenter
size = { 100% 30 }
hbox = {
layoutpolicy_horizontal = expanding
margin = { 5 5 }
margin = { 5 0 }
margin_bottom = 5
visible = "[Character.HasLandedTitles]"
text_single = {
raw_text = "@soldier_icon!"
align = nobaseline
using = Font_Size_Tiny
}
text_single = {
layoutpolicy_horizontal = expanding
text = "[Character.GetUINameNoTooltip|U]"
using = Font_Size_Medium
align = nobaseline|center
autoresize = no
fontsize_min = 13
align = nobaseline
max_width = 340
}
expand = {}
hbox_skills_grid = {}
}
hbox = {
layoutpolicy_horizontal = expanding
spacing = 5
portrait_head_small = {}
vbox = {
layoutpolicy_horizontal = expanding
layoutpolicy_vertical = expanding
margin_right = 5
hbox = {
layoutpolicy_horizontal = expanding
vbox = {
layoutpolicy_horizontal = expanding
margin_top = 3
hbox = {
layoutpolicy_horizontal = expanding
text_single = {
name = "character_relation"
visible = "[Or(Character.GetLiege.IsLocalPlayer, Character.GetSuzerain.IsLocalPlayer)]"
layoutpolicy_horizontal = expanding
text = "[Character.GetRelationToString(GetPlayer)]"
tooltip = "EXTENDED_RELATIONS_TOOLTIP"
default_format = "#low"
autoresize = no
fontsize_min = 13
align = nobaseline
max_width = 420
}
expand = {}
}
hbox = {
layoutpolicy_horizontal = expanding
spacing = 5
text_single = {
visible = "[And( Character.HasOverlord, And( Character.UsesObedience, Character.IsObedientTo( Character.GetOverlord ) ) )]"
text = "MY_REALM_WINDOW_OBEDIENT"
align = nobaseline
max_width = 170
tooltipwidget = widget_obedience_tooltip
}
text_single = {
visible = "[And( Character.HasOverlord, And( Character.UsesObedience, Not( Character.IsObedientTo( Character.GetOverlord ) ) ) )]"
text = "MY_REALM_WINDOW_DISOBEDIENT"
align = nobaseline
max_width = 170
tooltipwidget = widget_obedience_tooltip
}
divider_light = {
visible = "[Character.UsesObedience]"
layoutpolicy_vertical = expanding
}
vassal_stance_icon = {
name = "vassal_stance"
size = { 30 30 }
}
divider_light = {
visible = "[And( Character.IsVassalOf( GetPlayer ), Not( Character.IsPlayer ) )]"
layoutpolicy_vertical = expanding
}
vassal_expected_legitimacy_widget = {
name = "legitimacy_expectation"
size = { 30 30 }
}
block "realm_size_powerful_status" {
flowcontainer = {
spacing = 10
text_single = {
visible = "[NotEqualTo_int32(Character.GetPrimaryTitle.GetTierFrame, '(int32)2')]" #nonbaron
layoutpolicy_horizontal = expanding
text = "REALM_WINDOW_SIZE"
align = nobaseline
max_width = 150
tooltip = "REALM_WINDOW_SIZE_TT"
}
}
}
expand = {}
}
block "vassal_buttons" {
hbox = {
visible = "[Character.IsPlayerInteractionShown('give_vassal_directive_interaction')]"
layoutpolicy_horizontal = expanding
spacing = 5
divider_light = {
visible = "[Character.IsPowerfulVassal]"
layoutpolicy_vertical = expanding
}
text_single = {
visible = "[Character.IsPowerfulVassal]"
layoutpolicy_horizontal = expanding
text = "MY_REALM_WINDOW_POWERFUL_VASSAL"
align = nobaseline
max_width = 200
}
expand = {}
}
}
}
block "own_vassal" {
vbox = {
visible = "[Character.GetLiege.IsLocalPlayer]"
layoutpolicy_vertical = expanding
margin_left = 10
hbox = {
visible = "[Character.GetGovernment.IsType('urbanrepublic_government')]"
spacing = 3
expand = {}
icon = {
name = "icon_influence"
size = { 30 30 }
texture = "[Character.GetInfluenceLevelTexture]"
}
text_single = {
name = "influence"
text = "[Character.GetInfluence|0]"
default_format = "#high"
align = center|nobaseline
fontsize_min = 12
max_width = 50
}
expand = {}
}
hbox = {
spacing = 3
expand = {}
icon = {
name = "prestige_icon"
size = { 30 30 }
texture = "[Character.GetPrestigeLevelTexture]"
}
text_single = {
name = "influence"
text = "[Character.GetPrestige|0]"
default_format = "#high"
align = center|nobaseline
fontsize_min = 12
max_width = 50
}
expand = {}
}
hbox = {
spacing = 3
expand = {}
icon = {
name = "icon_piety"
size = { 30 30 }
texture = "[Character.GetPietyLevelTexture]"
}
text_single = {
name = "piety"
text = "[Character.GetPiety|0]"
default_format = "#high"
align = center|nobaseline
fontsize_min = 12
max_width = 50
}
expand = {}
}
hbox = {
spacing = 3
expand = {}
icon = {
name = "icon_dynasty_prestige"
size = { 30 30 }
texture = "[Character.GetDynasty.GetDynastyPrestigeLevelTexture]"
}
text_single = {
name = "dynasty_prestige"
text = "[Character.GetDynasty.GetPrestige|0]"
default_format = "#high"
align = center|nobaseline
fontsize_min = 12
max_width = 50
}
expand = {}
}
}
}
block "own_vassal" {
vbox = {
visible = "[Character.GetLiege.IsLocalPlayer]"
layoutpolicy_vertical = expanding
margin_left = 10
hbox = {
coa_house_tiny = {
datacontext = "[Character.GetHouse]"
parentanchor = center
}
}
hbox = {
coa_title_tiny_crown = {
name = "allegiance_flag"
datacontext = "[Character.GetLiege.GetPrimaryTitle]"
visible = "[Title.IsValid]"
tooltip = "MRW_TITLE_ALLEGIANCE"
blockoverride "coa_tooltip" {}
}
}
}
}
}
}
text = "[Character.GetCurrentMilitaryStrength]"
tooltip = "[CharacterListItem.GetMilitaryStrengthTooltip]"
default_format = "#low"
}
}
expand = {}
}
portrait_head_small = {
parentanchor = hcenter
}
}
type hbox_tributary_information = hbox {
visible = "[Character.HasSuzerain]"
@ -2541,11 +2335,17 @@ types Lists
### VASSAL GOLD
hbox = {
# Treasury Vassals don't pay in gold
visible = "[And( Not( SubjectContract.GetLiege.GetGovernment.HasGovernmentFlag( 'government_has_treasury' ) ), GreaterThan_CFixedPoint( MyRealmWindowVassalItem.GetContract.GetTaxRatioForLiege, '(CFixedPoint)0' ))]"
visible = "[GreaterThan_CFixedPoint( MyRealmWindowVassalItem.GetContract.GetTaxRatioForLiege, '(CFixedPoint)0' )]"
icon = {
size = { 25 25 }
texture = "gfx/interface/icons/icon_gold.dds"
visible = "[Not( SubjectContract.GetLiege.GetGovernment.HasGovernmentFlag( 'government_has_treasury' ) )]"
}
icon = {
size = { 25 25 }
texture = "gfx/interface/icons/icon_imperial_treasury.dds"
visible = "[SubjectContract.GetLiege.GetGovernment.HasGovernmentFlag( 'government_has_treasury' )]"
}
text_single = {
@ -2862,7 +2662,7 @@ types Lists
datamodel = "[TraitArrays.GetTraits]"
visible = "[LessThanOrEqualTo_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)5')]"
flipdirection = yes
addcolumn = 54
addcolumn = 52
addrow = 55
maxhorizontalslots = 5
maxverticalslots = 1
@ -2882,7 +2682,7 @@ types Lists
datamodel = "[TraitArrays.GetTraits]"
visible = "[And(GreaterThan_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)5'), LessThanOrEqualTo_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)7'))]"
flipdirection = yes
addcolumn = 39
addcolumn = 37
addrow = 40
maxhorizontalslots = 7
maxverticalslots = 1
@ -2905,11 +2705,11 @@ types Lists
fixedgridbox = {
name = "traits_small"
datamodel = "[TraitArrays.GetTraits]"
visible = "[And(GreaterThan_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)7'), LessThanOrEqualTo_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)10'))]"
visible = "[And(GreaterThan_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)7'), LessThanOrEqualTo_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)9'))]"
flipdirection = yes
addcolumn = 28
addcolumn = 29
addrow = 29
maxhorizontalslots = 10
maxhorizontalslots = 9
maxverticalslots = 1
item = {
@ -2930,7 +2730,7 @@ types Lists
fixedgridbox = {
name = "traits_tiny"
datamodel = "[TraitArrays.GetTraits]"
visible = "[GreaterThan_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)10')]"
visible = "[GreaterThan_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)9')]"
flipdirection = yes
addcolumn = 24
addrow = 25
@ -2993,7 +2793,7 @@ types Lists
datamodel = "[TraitArrays.GetTraits]"
visible = "[LessThanOrEqualTo_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)4')]"
flipdirection = yes
addcolumn = 54
addcolumn = 52
addrow = 55
maxhorizontalslots = 5
maxverticalslots = 1
@ -3013,7 +2813,7 @@ types Lists
datamodel = "[TraitArrays.GetTraits]"
visible = "[And(GreaterThan_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)4'), LessThanOrEqualTo_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)6'))]"
flipdirection = yes
addcolumn = 39
addcolumn = 35
addrow = 40
maxhorizontalslots = 7
maxverticalslots = 1
@ -3022,7 +2822,7 @@ types Lists
icon_trait = {
blockoverride "icon_size"
{
size = { 40 40 }
size = { 38 38 }
}
blockoverride "glow_radius"
@ -3038,9 +2838,9 @@ types Lists
datamodel = "[TraitArrays.GetTraits]"
visible = "[And(GreaterThan_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)6'), LessThanOrEqualTo_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)8'))]"
flipdirection = yes
addcolumn = 28
addcolumn = 26
addrow = 29
maxhorizontalslots = 10
maxhorizontalslots = 8
maxverticalslots = 1
item = {
@ -3063,10 +2863,10 @@ types Lists
datamodel = "[TraitArrays.GetTraits]"
visible = "[GreaterThan_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)8')]"
flipdirection = yes
addcolumn = 24
addcolumn = 25
addrow = 25
maxhorizontalslots = 9
datamodel_wrap = 9
maxhorizontalslots = 8
datamodel_wrap = 8
maxverticalslots = 2
item = {
@ -3480,6 +3280,7 @@ template Scrollbar_Vertical
spriteborder = { 0 3 }
framesize = { 12 40 }
minimumsize = { -1 40 }
block "vertical_scrollbar_size" {}
upframe = 1
overframe = 2

View file

@ -2427,6 +2427,16 @@ texticon = {
}
}
texticon = {
icon = commander_advantage_icon
iconsize = {
texture = "gfx/interface/icons/icon_commander_advantage.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = alliance_icon
iconsize = {
@ -3106,6 +3116,16 @@ texticon = {
}
}
texticon = {
icon = time_icon
iconsize = {
texture = "gfx/interface/icons/icon_time.dds"
size = { 24 24 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = concubine_icon
iconsize = {
@ -4009,6 +4029,56 @@ texticon = {
}
}
texticon = {
icon = north_pacific_attire
iconsize = {
texture = "gfx/interface/icons/dlc/dlc_025.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = east_asian_wonders
iconsize = {
texture = "gfx/interface/icons/dlc/dlc_026.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = celestial_court_attire
iconsize = {
texture = "gfx/interface/icons/dlc/dlc_027.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = symbols_of_authority
iconsize = {
texture = "gfx/interface/icons/dlc/dlc_028.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = songs_of_the_realm
iconsize = {
texture = "gfx/interface/icons/dlc/dlc_029.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = skills_icon
iconsize = {

File diff suppressed because it is too large Load diff