Merge branch 'main' of https://gitlab.com/new-era-team/N3OW
This commit is contained in:
commit
594bc1dc59
1 changed files with 304 additions and 54 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
### TITLE WINDOW
|
### TITLE WINDOW
|
||||||
|
|
||||||
window = {
|
window = {
|
||||||
name = "title_view_window"
|
name = "title_view_window"
|
||||||
|
|
@ -60,6 +60,7 @@ window = {
|
||||||
|
|
||||||
background = {
|
background = {
|
||||||
using = Background_Header_Tall
|
using = Background_Header_Tall
|
||||||
|
margin_bottom = 10
|
||||||
}
|
}
|
||||||
|
|
||||||
vbox = {
|
vbox = {
|
||||||
|
|
@ -291,7 +292,6 @@ window = {
|
||||||
|
|
||||||
coa_title_tiny_crown = {
|
coa_title_tiny_crown = {
|
||||||
datacontext = "[TitleItem.GetTitle]"
|
datacontext = "[TitleItem.GetTitle]"
|
||||||
position = { 0 -10 }
|
|
||||||
|
|
||||||
using = tooltip_se
|
using = tooltip_se
|
||||||
}
|
}
|
||||||
|
|
@ -366,8 +366,8 @@ window = {
|
||||||
visible = "[And(DataModelHasItems(TitleViewWindow.GetVassalGroupItems), Not(Or(GetVariableSystem.Exists( 'display_allegiance' ), Or(Title.IsMercenaryCompany,Title.IsHolyOrder))))]"
|
visible = "[And(DataModelHasItems(TitleViewWindow.GetVassalGroupItems), Not(Or(GetVariableSystem.Exists( 'display_allegiance' ), Or(Title.IsMercenaryCompany,Title.IsHolyOrder))))]"
|
||||||
layoutpolicy_horizontal = expanding
|
layoutpolicy_horizontal = expanding
|
||||||
layoutpolicy_vertical = expanding
|
layoutpolicy_vertical = expanding
|
||||||
margin_top = 10
|
margin_top = 15
|
||||||
spacing = 15
|
spacing = 10
|
||||||
|
|
||||||
text_label_center = {
|
text_label_center = {
|
||||||
text = "[TitleViewWindow.GetDeJureDescription]"
|
text = "[TitleViewWindow.GetDeJureDescription]"
|
||||||
|
|
@ -418,16 +418,16 @@ window = {
|
||||||
}
|
}
|
||||||
|
|
||||||
hbox = {
|
hbox = {
|
||||||
# position = {0 -8}
|
position = { 0 -2 }
|
||||||
position = {0 -5 }
|
|
||||||
margin = { 5 0 }
|
margin = { 5 0 }
|
||||||
|
spacing = 5
|
||||||
|
|
||||||
coa_title_tiny_crown = {}
|
coa_title_tiny_crown = {}
|
||||||
|
|
||||||
text_single = {
|
text_single = {
|
||||||
layoutpolicy_horizontal = expanding
|
layoutpolicy_horizontal = expanding
|
||||||
text = "[Title.GetNameNoTooltip|U]"
|
text = "[Title.GetNameNoTooltip|U]"
|
||||||
default_format = "#high"
|
default_format = "#high"
|
||||||
margin = { 10 0 }
|
|
||||||
max_width = 1000
|
max_width = 1000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -536,6 +536,7 @@ window = {
|
||||||
margin = { 20 10 }
|
margin = { 20 10 }
|
||||||
datacontext = "[TitleViewWindow.GetTitle.GetPreferredCapital]"
|
datacontext = "[TitleViewWindow.GetTitle.GetPreferredCapital]"
|
||||||
visible = "[And( And( Title.IsValid, Not( TitleViewWindow.GetTitle.HasFaction ) ), Not(TitleViewWindow.GetTitle.GetHolder.GetGovernment.IsType('landless_adventurer_government') ) )]"
|
visible = "[And( And( Title.IsValid, Not( TitleViewWindow.GetTitle.HasFaction ) ), Not(TitleViewWindow.GetTitle.GetHolder.GetGovernment.IsType('landless_adventurer_government') ) )]"
|
||||||
|
spacing = 5
|
||||||
|
|
||||||
background = {
|
background = {
|
||||||
using = Background_Area_Dark
|
using = Background_Area_Dark
|
||||||
|
|
@ -544,19 +545,21 @@ window = {
|
||||||
|
|
||||||
text_single = {
|
text_single = {
|
||||||
text = "TITLE_VIEW_DE_JURE_CAPITAL"
|
text = "TITLE_VIEW_DE_JURE_CAPITAL"
|
||||||
|
align = nobaseline
|
||||||
}
|
}
|
||||||
|
|
||||||
widget = {
|
widget = {
|
||||||
size = { 40 40 }
|
size = { 40 44 }
|
||||||
|
|
||||||
coa_title_tiny_crown = {
|
coa_title_tiny_crown = {
|
||||||
position = { 0 -10 }
|
position = { 0 -2 }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
text_single = {
|
text_single = {
|
||||||
layoutpolicy_horizontal = expanding
|
layoutpolicy_horizontal = expanding
|
||||||
text = "[Title.GetName]"
|
text = "[Title.GetName|U]"
|
||||||
|
align = nobaseline
|
||||||
}
|
}
|
||||||
|
|
||||||
hbox = {
|
hbox = {
|
||||||
|
|
@ -565,10 +568,28 @@ window = {
|
||||||
spacing = 5
|
spacing = 5
|
||||||
visible = "[Not( Title.HasFaction )]"
|
visible = "[Not( Title.HasFaction )]"
|
||||||
|
|
||||||
|
button_round = {
|
||||||
|
name = "toggle_find_vassal"
|
||||||
|
visible = "[And( And( ObjectsEqual( Title.GetHolder, GetPlayer ), Title.CanUseFindVassal( GetPlayer ) ), Not( Title.IsLeasedOut ) )]"
|
||||||
|
|
||||||
|
onclick = "[TitleViewWindow.ToggleFindVassalListWindow]"
|
||||||
|
tooltip = "FIND_VASSAL_BUTTON_TOOLTIP"
|
||||||
|
|
||||||
|
button_grant_title_to_vassal = {
|
||||||
|
parentanchor = center
|
||||||
|
alwaystransparent = yes
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
hbox_title_shared_buttons = {
|
||||||
|
datacontext = "[TitleViewWindow.GetTitle]"
|
||||||
|
datacontext = "[Title.GetHolder]"
|
||||||
|
}
|
||||||
|
|
||||||
hbox = {
|
hbox = {
|
||||||
datacontext = "[TitleViewWindow.GetTitle]"
|
datacontext = "[TitleViewWindow.GetTitle]"
|
||||||
datacontext = "[Title.GetHolder]"
|
datacontext = "[Title.GetHolder]"
|
||||||
visible = "[Not(Or(Title.IsMercenaryCompany,Title.IsHolyOrder))]"
|
visible = "[And( Title.HasHolder, Not(Or(Title.IsMercenaryCompany,Title.IsHolyOrder)))]"
|
||||||
ignoreinvisible = yes
|
ignoreinvisible = yes
|
||||||
spacing = 5
|
spacing = 5
|
||||||
|
|
||||||
|
|
@ -596,47 +617,6 @@ window = {
|
||||||
alwaystransparent = yes
|
alwaystransparent = yes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
button_round = {
|
|
||||||
name = "toggle_find_vassal"
|
|
||||||
visible = "[And( And( ObjectsEqual( Title.GetHolder, GetPlayer ), TitleViewWindow.GetTitle.CanUseFindVassal( GetPlayer ) ), Not( Title.IsLeasedOut))]"
|
|
||||||
|
|
||||||
onclick = "[TitleViewWindow.ToggleFindVassalListWindow]"
|
|
||||||
tooltip = "FIND_VASSAL_BUTTON_TOOLTIP"
|
|
||||||
|
|
||||||
button_grant_title_to_vassal = {
|
|
||||||
parentanchor = center
|
|
||||||
alwaystransparent = yes
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
button_round = {
|
|
||||||
name = "toggle_promote_candidate"
|
|
||||||
visible = "[And( And( GreaterThan_int32( Title.GetTierFrame, '(int32)3' ), Not(TitleViewWindow.GetTitle.HasLaws) ), Character.IsPlayerInteractionValid('influence_candidacy_interaction') )]"
|
|
||||||
|
|
||||||
enabled = "[Character.IsPlayerInteractionValid('influence_candidacy_interaction')]"
|
|
||||||
tooltip = "[Character.GetPlayerInteractionTooltip('influence_candidacy_interaction')]"
|
|
||||||
onclick = "[Character.OpenPlayerInteractionWithTargetTitle( 'influence_candidacy_interaction', Title.Self )]"
|
|
||||||
|
|
||||||
button_promote_candidate = {
|
|
||||||
parentanchor = center
|
|
||||||
alwaystransparent = yes
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
button_round = {
|
|
||||||
name = "toggle_generate_claim"
|
|
||||||
visible = "[And( And( GreaterThan_int32( Title.GetTierFrame, '(int32)3' ), Not(TitleViewWindow.GetTitle.HasLaws) ), Character.IsPlayerInteractionValid('start_generate_claim_interaction') )]"
|
|
||||||
|
|
||||||
enabled = "[Character.IsPlayerInteractionValid('start_generate_claim_interaction')]"
|
|
||||||
tooltip = "[Character.GetPlayerInteractionTooltip('start_generate_claim_interaction')]"
|
|
||||||
onclick = "[Character.OpenPlayerInteraction('start_generate_claim_interaction')]"
|
|
||||||
|
|
||||||
button_generate_claim = {
|
|
||||||
parentanchor = center
|
|
||||||
alwaystransparent = yes
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hbox = {
|
hbox = {
|
||||||
|
|
@ -672,7 +652,7 @@ window = {
|
||||||
|
|
||||||
button_round = {
|
button_round = {
|
||||||
name = "usurp_title"
|
name = "usurp_title"
|
||||||
visible = "[And( Not(Character.IsLocalPlayer), TitleViewWindow.ShowUsurp )]"
|
visible = "[And( And( Not(Character.IsLocalPlayer), TitleViewWindow.ShowUsurp ), Or( Not( IsNomad( GetPlayer ) ), GreaterThanOrEqualTo_int32( GetPlayer.GetPrimaryTitle.GetTierFrame, Title.GetTierFrame ) ) )]"
|
||||||
enabled = "[IsValidCommand( TitleViewWindow.GetUsurpTitle )]"
|
enabled = "[IsValidCommand( TitleViewWindow.GetUsurpTitle )]"
|
||||||
onclick = "[CreateCommandPopup( TitleViewWindow.GetUsurpTitle )]"
|
onclick = "[CreateCommandPopup( TitleViewWindow.GetUsurpTitle )]"
|
||||||
tooltip = "[TitleViewWindow.GetUsurpTitleButtonTooltip]"
|
tooltip = "[TitleViewWindow.GetUsurpTitleButtonTooltip]"
|
||||||
|
|
@ -692,7 +672,7 @@ window = {
|
||||||
|
|
||||||
vbox = {
|
vbox = {
|
||||||
name = "create_title"
|
name = "create_title"
|
||||||
visible = "[And( Not( Title.IsBarony ), Not( TitleViewWindow.GetTitle.HasHolder ) )]"
|
visible = "[And( And( Not( Title.IsBarony ), Not( TitleViewWindow.GetTitle.HasHolder ) ), Or( Not( IsNomad( GetPlayer ) ), GreaterThanOrEqualTo_int32( GetPlayer.GetPrimaryTitle.GetTierFrame, Title.GetTierFrame ) ) )]"
|
||||||
margin = { 0 25 }
|
margin = { 0 25 }
|
||||||
spacing = 15
|
spacing = 15
|
||||||
|
|
||||||
|
|
@ -822,6 +802,54 @@ window = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vbox = {
|
||||||
|
name = "create_title_nomad"
|
||||||
|
visible = "[And( And( Not( Title.IsBarony ), Not( TitleViewWindow.GetTitle.HasHolder ) ), And( IsNomad( GetPlayer ), GreaterThan_int32( Title.GetTierFrame, GetPlayer.GetPrimaryTitle.GetTierFrame ) ) )]"
|
||||||
|
margin = { 0 25 }
|
||||||
|
spacing = 15
|
||||||
|
|
||||||
|
text_single = {
|
||||||
|
text = "TITLE_VIEW_NOT_CREATED"
|
||||||
|
using = Font_Size_Big
|
||||||
|
}
|
||||||
|
|
||||||
|
button_primary = {
|
||||||
|
tooltip = "nomad_higher_tier_title_tooltip_desc"
|
||||||
|
datacontext = "[GetDecisionWithKey('nomad_higher_tier_title_decision')]"
|
||||||
|
onclick = "[OpenGameViewData( 'decision_detail', Decision.Self)]"
|
||||||
|
|
||||||
|
hbox = {
|
||||||
|
layoutpolicy_horizontal = expanding
|
||||||
|
margin = { 10 0 }
|
||||||
|
|
||||||
|
expand = {}
|
||||||
|
|
||||||
|
text_single = {
|
||||||
|
text = "TITLE_VIEW_CREATE_TITLE_NOMAD"
|
||||||
|
align = nobaseline
|
||||||
|
default_format = "#high"
|
||||||
|
}
|
||||||
|
|
||||||
|
spacer = {
|
||||||
|
size = { 5 0 }
|
||||||
|
}
|
||||||
|
|
||||||
|
icon = {
|
||||||
|
texture = "gfx/interface/icons/title_actions/create_title.dds"
|
||||||
|
size = { 25 25 }
|
||||||
|
alwaystransparent = yes
|
||||||
|
|
||||||
|
modify_texture = {
|
||||||
|
texture = "gfx/interface/colors/gold.dds"
|
||||||
|
alpha = 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
expand = {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
vbox_strength_info = {
|
vbox_strength_info = {
|
||||||
visible = "[Title.IsMercenaryCompany]"
|
visible = "[Title.IsMercenaryCompany]"
|
||||||
datacontext = "[Title.GetMercenaryCompany]"
|
datacontext = "[Title.GetMercenaryCompany]"
|
||||||
|
|
@ -1107,4 +1135,226 @@ types Title
|
||||||
text = "[Title.GetSpecialDescription]"
|
text = "[Title.GetSpecialDescription]"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Requires Character & Title Datacontext
|
||||||
|
type hbox_title_shared_buttons = hbox {
|
||||||
|
|
||||||
|
### PROMOTE CANDIDATE ###
|
||||||
|
button_round = {
|
||||||
|
name = "toggle_promote_candidate"
|
||||||
|
visible = "[And( And( GreaterThan_int32( Title.GetTierFrame, '(int32)3' ), Not( Title.HasLaws ) ), Character.IsPlayerInteractionValid( 'influence_candidacy_interaction' ) )]"
|
||||||
|
|
||||||
|
enabled = "[Character.IsPlayerInteractionValid('influence_candidacy_interaction')]"
|
||||||
|
tooltip = "[Character.GetPlayerInteractionTooltip('influence_candidacy_interaction')]"
|
||||||
|
onclick = "[Character.OpenPlayerInteractionWithTargetTitle( 'influence_candidacy_interaction', Title.Self )]"
|
||||||
|
|
||||||
|
button_promote_candidate = {
|
||||||
|
parentanchor = center
|
||||||
|
alwaystransparent = yes
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
### GENERATE CLAIM ###
|
||||||
|
button_round = {
|
||||||
|
name = "toggle_generate_claim"
|
||||||
|
visible = "[And( And( GreaterThan_int32( Title.GetTierFrame, '(int32)3' ), Not( Title.HasLaws ) ), Character.IsPlayerInteractionValid( 'start_generate_claim_interaction' ) )]"
|
||||||
|
|
||||||
|
enabled = "[Character.IsPlayerInteractionValid('start_generate_claim_interaction')]"
|
||||||
|
tooltip = "[Character.GetPlayerInteractionTooltip('start_generate_claim_interaction')]"
|
||||||
|
onclick = "[Character.OpenPlayerInteraction('start_generate_claim_interaction')]"
|
||||||
|
|
||||||
|
button_generate_claim = {
|
||||||
|
parentanchor = center
|
||||||
|
alwaystransparent = yes
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
### FEUDALIZE HOLDING ###
|
||||||
|
button_round = {
|
||||||
|
visible = "[And( Character.IsLocalPlayer, Character.IsPlayerInteractionShownAndCanPickTitle('feudalize_holding_interaction', Title.Self) )]"
|
||||||
|
enabled = "[Character.IsPlayerInteractionWithTargetTitleValid('feudalize_holding_interaction', Title.Self)]"
|
||||||
|
tooltip = "[Character.GetPlayerInteractionWithTargetTitleTooltip('feudalize_holding_interaction', Title.Self)]"
|
||||||
|
oversound = "event:/SFX/UI/Generic/sfx_ui_generic_pointer_over"
|
||||||
|
clicksound = "event:/SFX/UI/Generic/sfx_ui_generic_select"
|
||||||
|
onclick = "[Character.OpenPlayerInteractionWithTargetTitle('feudalize_holding_interaction', Title.Self)]"
|
||||||
|
|
||||||
|
button_feudalize_holding = {
|
||||||
|
size = { 25 25 }
|
||||||
|
parentanchor = center
|
||||||
|
alwaystransparent = yes
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
### TRIBALIZE HOLDING ###
|
||||||
|
button_round = {
|
||||||
|
visible = "[And( Character.IsLocalPlayer, Character.IsPlayerInteractionShownAndCanPickTitle('tribalize_holding_interaction', Title.Self) )]"
|
||||||
|
enabled = "[Character.IsPlayerInteractionWithTargetTitleValid('tribalize_holding_interaction', Title.Self)]"
|
||||||
|
tooltip = "[Character.GetPlayerInteractionWithTargetTitleTooltip('tribalize_holding_interaction', Title.Self)]"
|
||||||
|
oversound = "event:/SFX/UI/Generic/sfx_ui_generic_pointer_over"
|
||||||
|
clicksound = "event:/SFX/UI/Generic/sfx_ui_generic_select"
|
||||||
|
onclick = "[Character.OpenPlayerInteractionWithTargetTitle('tribalize_holding_interaction', Title.Self)]"
|
||||||
|
|
||||||
|
button_tribalize_holding = {
|
||||||
|
size = { 25 25 }
|
||||||
|
parentanchor = center
|
||||||
|
alwaystransparent = yes
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
### RAZE HOLDING ###
|
||||||
|
button_round = {
|
||||||
|
visible = "[And( And( ObjectsEqual( Title.GetHolder, GetPlayer ), Not(Title.IsLeasedOut) ), IsNomad( GetPlayer ) )]"
|
||||||
|
datacontext = "[Title.GetProvince]"
|
||||||
|
|
||||||
|
onclick = "[CreateCommandPopup( Province.RazeHolding( GetPlayer ) )]"
|
||||||
|
enabled = "[IsValidCommand( Province.RazeHolding( GetPlayer ) )]"
|
||||||
|
tooltip = "[GetCommandDesc( Province.RazeHolding( GetPlayer ) )]"
|
||||||
|
|
||||||
|
button_icon = {
|
||||||
|
parentanchor = center
|
||||||
|
size = { 27 27 }
|
||||||
|
texture = "gfx/interface/icons/raid_intents/raze_intent.dds"
|
||||||
|
alwaystransparent = yes
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
type vbox_domicile_button = vbox
|
||||||
|
{
|
||||||
|
datacontext = "[Character.GetDomicile]"
|
||||||
|
|
||||||
|
margin = { 10 0 }
|
||||||
|
|
||||||
|
layoutpolicy_horizontal = expanding
|
||||||
|
|
||||||
|
background = {
|
||||||
|
fittype = centercrop
|
||||||
|
alpha = 0.7
|
||||||
|
texture = "[Domicile.GetType.GetIllustration]"
|
||||||
|
margin = { -10 0 }
|
||||||
|
|
||||||
|
modify_texture = {
|
||||||
|
texture = "gfx/interface/component_masks/mask_fade_horizontal.dds"
|
||||||
|
blend_mode = alphamultiply
|
||||||
|
}
|
||||||
|
|
||||||
|
modify_texture = {
|
||||||
|
texture = "gfx/interface/component_overlay/overlay_effect.dds"
|
||||||
|
blend_mode = overlay
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
button_standard_clean = {
|
||||||
|
layoutpolicy_horizontal = expanding
|
||||||
|
size = { 0 80 }
|
||||||
|
|
||||||
|
onclick = "[ToggleGameViewData( 'domicile', Domicile.Self )]"
|
||||||
|
|
||||||
|
background = {
|
||||||
|
using = Background_Button_Illustration
|
||||||
|
visible = "[IsGameViewOpen( 'domicile' )]"
|
||||||
|
}
|
||||||
|
|
||||||
|
using = Background_Vignette_Button
|
||||||
|
|
||||||
|
hbox = {
|
||||||
|
layoutpolicy_horizontal = expanding
|
||||||
|
|
||||||
|
vbox = {
|
||||||
|
spacing = 0
|
||||||
|
margin = { 10 0 }
|
||||||
|
|
||||||
|
layoutpolicy_horizontal = expanding
|
||||||
|
layoutpolicy_vertical = expanding
|
||||||
|
|
||||||
|
hbox = {
|
||||||
|
name = "domicile_header"
|
||||||
|
layoutpolicy_horizontal = expanding
|
||||||
|
|
||||||
|
hbox = {
|
||||||
|
layoutpolicy_horizontal = expanding
|
||||||
|
|
||||||
|
background = {
|
||||||
|
margin_left = 15
|
||||||
|
margin_right = 25
|
||||||
|
margin_top = 0
|
||||||
|
margin_bottom = 5
|
||||||
|
|
||||||
|
texture = "gfx/interface/component_tiles/tile_title_bg_01.dds"
|
||||||
|
spriteType = Corneredtiled
|
||||||
|
spriteborder = { 40 8 }
|
||||||
|
texture_density = 2
|
||||||
|
|
||||||
|
modify_texture = {
|
||||||
|
name = "mask"
|
||||||
|
texture = "gfx/interface/component_masks/mask_fade_horizontal.dds"
|
||||||
|
blend_mode = alphamultiply
|
||||||
|
mirror = horizontal
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
text_single = {
|
||||||
|
text = "[Domicile.GetMainLevelText]"
|
||||||
|
}
|
||||||
|
|
||||||
|
expand = {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
hbox = {
|
||||||
|
name = "domicile_construction_info"
|
||||||
|
|
||||||
|
layoutpolicy_horizontal = expanding
|
||||||
|
|
||||||
|
minimumsize = { 0 40 }
|
||||||
|
|
||||||
|
vbox = {
|
||||||
|
tooltip = "[Domicile.GetBuildingUnderConstruction.GetConstructionTooltip( Character.Self )]"
|
||||||
|
using = tooltip_ne
|
||||||
|
|
||||||
|
hbox = {
|
||||||
|
text_single = {
|
||||||
|
text = "[Domicile.GetConstructionStatusText]"
|
||||||
|
align = nobaseline
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
hbox = {
|
||||||
|
layoutpolicy_horizontal = expanding
|
||||||
|
|
||||||
|
progressbar_standard = {
|
||||||
|
name = "building_progressbar"
|
||||||
|
visible = "[Domicile.IsConstructing]"
|
||||||
|
alwaystransparent = yes
|
||||||
|
|
||||||
|
layoutpolicy_horizontal = expanding
|
||||||
|
maximumsize = { -1 15 }
|
||||||
|
value = "[Multiply_float( FixedPointToFloat( Domicile.GetConstructionProgress ), '(float)100' )]"
|
||||||
|
direction = horizontal
|
||||||
|
}
|
||||||
|
|
||||||
|
expand = {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
text_single = {
|
||||||
|
margin_right = 52
|
||||||
|
visible = "[Domicile.CanUpgradeMain]"
|
||||||
|
text = "[Domicile.GetUpgradeMainText]"
|
||||||
|
default_format = "#P"
|
||||||
|
}
|
||||||
|
|
||||||
|
expand = {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
hbox_access_domicile_button = {
|
||||||
|
visible = "[And( Character.HasDomicile, ObjectsEqual( Character.Self, GetPlayer ) )]"
|
||||||
|
margin_right = 10
|
||||||
|
}
|
||||||
|
|
||||||
|
expand = {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue