Excavation starting
This commit is contained in:
parent
ab0d893250
commit
21f3ff5fe3
19 changed files with 7723 additions and 2 deletions
45
gui/activity_window_widgets/excavation_success_chance.gui
Normal file
45
gui/activity_window_widgets/excavation_success_chance.gui
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
hbox = {
|
||||
name = "excavation_success_chance"
|
||||
spacing = 5
|
||||
|
||||
datacontext = "[ActivityWindow.GetActivity]"
|
||||
|
||||
visible = "[EqualTo_string( ActivityType.GetKey(), 'activity_excavation')]"
|
||||
|
||||
text_single = {
|
||||
text = "excavation_success_bar"
|
||||
align = nobaseline
|
||||
max_width = 200
|
||||
}
|
||||
|
||||
progressbar_standard = {
|
||||
layoutpolicy_horizontal = expanding
|
||||
size = { 200 30 }
|
||||
value = "[Activity.MakeScope.Var( 'excavation_success_chance' ).GetValue]"
|
||||
max = 100
|
||||
min = 0
|
||||
|
||||
using = Progressbar_Changed_Animation
|
||||
|
||||
datacontext = "[GuiScope.SetRoot( Activity.MakeScope ).GetScriptValueBreakdown( 'excavation_success_chance_value' )]"
|
||||
tooltip_visible = "[ValueBreakdown.HasTooltip]"
|
||||
|
||||
tooltipwidget = {
|
||||
widget_value_breakdown_tooltip = {
|
||||
datacontext = "[GuiScope.SetRoot( Activity.MakeScope ).GetScriptValueBreakdown( 'excavation_success_chance_value' )]"
|
||||
}
|
||||
}
|
||||
|
||||
marker = {
|
||||
name = "current_value"
|
||||
widget = {
|
||||
icon = {
|
||||
size = { 25 25 }
|
||||
position = { -20 2 }
|
||||
texture = "gfx/interface/progressbars/progressbar_center_glow.dds"
|
||||
color = { 0.80 0.90 1 0.9 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue