gui fixes

This commit is contained in:
trashmasteruni 2026-10-07 22:20:15 +02:00
parent aa65f05b6a
commit 233f4d21dd
3 changed files with 366 additions and 3764 deletions

File diff suppressed because it is too large Load diff

View file

@ -348,6 +348,16 @@ texticon = {
} }
} }
texticon = {
icon = task_control_icon
iconsize = {
texture = "gfx/interface/icons/council_task_types/task_increase_control.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = { texticon = {
icon = soldier_icon icon = soldier_icon
iconsize = { iconsize = {
@ -1098,20 +1108,21 @@ texticon = {
} }
texticon = { texticon = {
icon = catholic_icon icon = worldliness_icon
iconsize = { iconsize = {
size = { 32 32 } texture = "gfx/interface/icons/icon_worldliness.dds"
offset = { -2 2 } size = { 25 25 }
texture = "gfx/interface/icons/faith/catholic.dds" offset = { 0 6 }
fontsize = 16 fontsize = 16
} }
} }
texticon = { texticon = {
icon = orthodox_icon icon = christian_faith_icon
iconsize = { iconsize = {
size = { 32 32 } size = { 25 25 }
offset = { -2 0 } offset = { 0 6 }
texture = "gfx/interface/icons/faith/orthodox.dds" texture = "gfx/interface/icons/faith/christian_faith.dds"
fontsize = 16 fontsize = 16
} }
} }
@ -3485,6 +3496,19 @@ texticon = {
} }
} }
texticon = {
icon = tenet_popularity
iconsize = {
texture = "gfx/interface/icons/icon_tenet_popularity.dds"
size = { 25 25 }
offset = { 0 6 }
framesize = { 60 60 }
fontsize = 16
uv = { 0.05 0.05 1 1 }
# color = "color_red"
}
}
texticon = { texticon = {
icon = change_indicator icon = change_indicator
iconsize = { iconsize = {
@ -4823,6 +4847,16 @@ texticon = {
} }
} }
texticon = {
icon = government_type_monastic_holy_order
iconsize = {
texture = "gfx/interface/icons/government_types/monastic_holy_order_government.dds"
size = { 28 28 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = { texticon = {
icon = government_type_mercenary icon = government_type_mercenary
iconsize = { iconsize = {
@ -4865,6 +4899,16 @@ texticon = {
} }
} }
texticon = {
icon = government_type_ecclesiastical
iconsize = {
texture = "gfx/interface/icons/government_types/ecclesiastical_government.dds"
size = { 28 28 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = { texticon = {
icon = government_type_wanua icon = government_type_wanua
iconsize = { iconsize = {
@ -4889,7 +4933,7 @@ texticon = {
texticon = { texticon = {
icon = rare_artifact_icon icon = rare_artifact_icon
iconsize = { iconsize = {
texture = "gfx/interface/icons/artifact/artefact_icons_unique_artifact_excalibur.dds" texture = "gfx/interface/icons/artifact/artifact_icons_unique_artifact_excalibur.dds"
size = { 28 28 } size = { 28 28 }
offset = { 0 6 } offset = { 0 6 }
fontsize = 16 fontsize = 16
@ -5270,6 +5314,16 @@ texticon = {
} }
} }
texticon = {
icon = grand_cathedral_gp
iconsize = {
texture = "gfx/interface/icons/great_projects/grand_cathedral_gp.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = { texticon = {
icon = government_type_ritsuryo icon = government_type_ritsuryo
iconsize = { iconsize = {
@ -5460,6 +5514,16 @@ texticon = {
} }
} }
texticon = {
icon = clerical_score
iconsize = {
texture = "gfx/interface/icons/clerical_score.dds"
size = { 28 28 }
offset = { 0 8 }
fontsize = 16
}
}
texticon = { texticon = {
icon = movement_power_icon icon = movement_power_icon
iconsize = { iconsize = {
@ -5774,3 +5838,174 @@ texticon = {
fontsize = 16 fontsize = 16
} }
} }
texticon = {
icon = divergence_icon
iconsize = {
texture = "gfx/interface/icons/icon_rite_divergence.dds"
size = { 24 24 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = badge_icon
iconsize = {
texture = "gfx/interface/icons/artifact/pilgrim_compostella.dds"
size = { 24 24 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = spiritual_fulfillment_icon
iconsize = {
texture = "gfx/interface/icons/spiritual_fulfillment_levels/spiritual_fulfillment_04.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = spiritual_fulfillment_gain_icon
iconsize = {
texture = "gfx/interface/icons/spiritual_fulfillment_levels/spiritual_fulfillment_06.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = spiritual_fulfillment_loss_icon
iconsize = {
texture = "gfx/interface/icons/spiritual_fulfillment_levels/spiritual_fulfillment_02.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = theological_agent_puppet_icon
iconsize = {
texture = "gfx/interface/icons/message_feed/theological_agent_puppet.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = external_theological_agent_puppet_icon
iconsize = {
texture = "gfx/interface/icons/message_feed/external_theological_agent_puppet.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = external_ruler_puppet_icon
iconsize = {
texture = "gfx/interface/icons/message_feed/external_ruler_puppet.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = election_icon
iconsize = {
texture = "gfx/interface/icons/succession_result_type/election.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = study_scripture_icon
iconsize = {
texture = "gfx/interface/icons/scheme_types/icon_scheme_study_scriptures.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
# the christian church chapters
texticon = {
icon = pam_the_christian_church_fragile_unity_icon
iconsize = {
texture = "gfx/interface/icons/the_christian_church/phase_type_icons/fragile_unity.dds"
size = { 28 28 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = pam_the_christian_church_saeculum_obscurum_icon
iconsize = {
texture = "gfx/interface/icons/the_christian_church/phase_type_icons/saeculum_obscurum.dds"
size = { 28 28 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = pam_the_christian_church_conversion_phase_icon
iconsize = {
texture = "gfx/interface/icons/the_christian_church/phase_type_icons/conversion.dds"
size = { 28 28 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = pam_the_christian_church_reform_phase_icon
iconsize = {
texture = "gfx/interface/icons/the_christian_church/phase_type_icons/reform.dds"
size = { 28 28 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = pam_the_christian_church_investiture_crisis_icon
iconsize = {
texture = "gfx/interface/icons/the_christian_church/phase_type_icons/investiture.dds"
size = { 28 28 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = pam_the_christian_church_crusade_phase_icon
iconsize = {
texture = "gfx/interface/icons/the_christian_church/phase_type_icons/crusade.dds"
size = { 28 28 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = pam_the_christian_church_concord_icon
iconsize = {
texture = "gfx/interface/icons/the_christian_church/phase_type_icons/concord.dds"
size = { 28 28 }
offset = { 0 6 }
fontsize = 16
}
}

View file

@ -2146,7 +2146,7 @@ types MyRealmWindow
text = "MY_REALM_WINDOW_DESIGNATE_HEIR" text = "MY_REALM_WINDOW_DESIGNATE_HEIR"
enabled = "[MyRealmWindow.CanDesignateHeir]" enabled = "[MyRealmWindow.CanDesignateHeir]"
onclick = "[OpenDesignateHeirWindow]" onclick = "[OpenGameView( 'designate_heir' )]"
tooltip = "MRW_DESIGNATE_HEIR_TT" tooltip = "MRW_DESIGNATE_HEIR_TT"
} }
@ -2672,7 +2672,7 @@ types MyRealmWindow
layoutpolicy_horizontal = expanding layoutpolicy_horizontal = expanding
autoresize = no autoresize = no
text = "[Title.GetNameNoTooltip]" text = "TITLE_NAME_NO_TOOLTIP"
} }
hbox = { hbox = {
@ -2977,7 +2977,7 @@ types MyRealmWindow
text_single = { text_single = {
layoutpolicy_horizontal = expanding layoutpolicy_horizontal = expanding
text = "[Title.GetNameNoTooltip]" text = "TITLE_NAME_NO_TOOLTIP"
max_width = 180 max_width = 180
} }
@ -3846,7 +3846,7 @@ types MyRealmWindow
text = "MY_REALM_WINDOW_SUCCESSION_DESIGNATE_HEIR" text = "MY_REALM_WINDOW_SUCCESSION_DESIGNATE_HEIR"
enabled = "[MyRealmWindow.CanDesignateHeir]" enabled = "[MyRealmWindow.CanDesignateHeir]"
onclick = "[OpenDesignateHeirWindow]" onclick = "[OpenGameView( 'designate_heir' )]"
tooltip = "MRW_DESIGNATE_HEIR_TT" tooltip = "MRW_DESIGNATE_HEIR_TT"
} }
@ -3943,7 +3943,7 @@ types MyRealmWindow
button_change = { button_change = {
size = { 24 24 } size = { 24 24 }
parentanchor = center parentanchor = center
onclick = "[OpenSuccessionLawChangeWindow( GuiLawGroup.Self )]" onclick = "[OpenGameViewData( 'succession_law_change', GuiLawGroup.Self )]"
} }
} }
} }
@ -4022,7 +4022,7 @@ types MyRealmWindow
button_election_vote = { button_election_vote = {
parentanchor = center parentanchor = center
onclick = "[OpenSuccessionElectionWindowForTitle(Title.Self)]" onclick = "[OpenGameViewData( 'title_election', Title.Self )]"
tooltip = "MY_REALM_WINDOW_VOTE_TOOLTIP" tooltip = "MY_REALM_WINDOW_VOTE_TOOLTIP"
} }
} }
@ -4146,7 +4146,7 @@ types MyRealmWindow
blockoverride "show_law" blockoverride "show_law"
{ {
visible = "[And( GuiLawGroup.IsAvailable, Or( GuiLawGroup.GetLawGroup.HasFlag( 'succession_order_laws' ), Or( GuiLawGroup.GetLawGroup.HasFlag( 'succession_gender_laws' ), GuiLawGroup.GetLawGroup.HasFlag( 'imperial_policy' ) ) ) )]" visible = "[And( GuiLawGroup.IsAvailable, Or4( GuiLawGroup.GetLawGroup.HasFlag( 'succession_order_laws' ), GuiLawGroup.GetLawGroup.HasFlag( 'succession_gender_laws' ), GuiLawGroup.GetLawGroup.HasFlag( 'imperial_policy' ), GuiLawGroup.GetLawGroup.HasFlag( 'church_policy' ) ) )]"
} }
} }
@ -4165,8 +4165,7 @@ types MyRealmWindow
visible = "[ObjectsEqual( Title.Self, Character.GetPrimaryTitle.Self )]" visible = "[ObjectsEqual( Title.Self, Character.GetPrimaryTitle.Self )]"
text = "MY_REALM_WINDOW_VOTE" text = "MY_REALM_WINDOW_VOTE"
onclick = "[OpenSuccessionElectionWindowForTitle(Title.Self)]" onclick = "[OpenGameViewData( 'title_election', Title.Self )]"
tooltip = "MY_REALM_WINDOW_VOTE_TOOLTIP" tooltip = "MY_REALM_WINDOW_VOTE_TOOLTIP"
} }
} }
@ -4245,7 +4244,7 @@ types MyRealmWindow
} }
button_standard = { button_standard = {
visible = "[And( Character.IsIndependentRuler, Character.HasTreasury )]" visible = "[And3( Character.IsIndependentRuler, Character.HasTreasury, Not( Character.GetGovernment.HasGovernmentFlag( 'government_is_ecclesiastical' ) ) )]"
size = { 320 44 } size = { 320 44 }
onclick = "[OpenGameViewData( 'treasury_budget_change', GetPlayer.Self )]" onclick = "[OpenGameViewData( 'treasury_budget_change', GetPlayer.Self )]"