1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2024-12-26 22:56:43 +02:00

Mtn v3 - gui update

This commit is contained in:
Gerkiz 2023-09-25 09:59:47 +02:00
parent d357f8b89b
commit b253fc7906
2 changed files with 11 additions and 2 deletions

View File

@ -170,6 +170,8 @@ tooltip_failed=You've failed to complete this objective. [img=utility/not_availa
tooltip_not_completed=This objective has not been completed. [img=utility/not_available]
tooltip_completed=This objective has been completed. [img=utility/check_mark_green]
tooltip_final=[entity=behemoth-biter] Final battle awaits.
tooltip_final_disabled=[entity=behemoth-biter] Final battle is currently disabled.
tooltip_completing=Complete all objectives and the game is won!
warp_tooltip=This is the time you have left before the train enters the boss zone.\nBe sure to pick up everything that you might need.
clock=within __3__/__4__ __5__ [img=utility/clock]

View File

@ -643,8 +643,15 @@ local function main_frame(player)
spacer(frame)
frame.add({type = 'line'})
spacer(frame)
local final_label = frame.add({type = 'label', caption = {'stateful.tooltip_final'}})
final_label.style.single_line = false
if not stateful.collection.final_arena_disabled then
local final_label = frame.add({type = 'label', caption = {'stateful.tooltip_final'}})
final_label.style.single_line = false
else
local final_label_disabled = frame.add({type = 'label', caption = {'stateful.tooltip_final_disabled'}})
final_label_disabled.style.single_line = false
local reason_label = frame.add({type = 'label', caption = {'stateful.tooltip_completing'}})
reason_label.style.single_line = false
end
spacer(frame)
frame.add({type = 'line'})
spacer(frame)