mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-10 00:43:27 +02:00
science logs work
This commit is contained in:
parent
0ecdb9b67c
commit
018e4bcb7f
@ -123,7 +123,6 @@ function add_stats(player, food, flask_amount,biter_force_name,evo_before_scienc
|
|||||||
global.science_logs_text = { line_log_stats_to_add }
|
global.science_logs_text = { line_log_stats_to_add }
|
||||||
global.science_logs_evo_jump = { evo_jump }
|
global.science_logs_evo_jump = { evo_jump }
|
||||||
global.science_logs_threat = { threat_jump }
|
global.science_logs_threat = { threat_jump }
|
||||||
global.science_logs_all = { formatted_feed_time .. line_log_stats_to_add .. evo_jump .. threat_jump }
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -263,7 +263,7 @@ local function draw_stats_gui(player)
|
|||||||
l.style.font = "heading-1"
|
l.style.font = "heading-1"
|
||||||
|
|
||||||
if global.science_logs_date then
|
if global.science_logs_date then
|
||||||
local list_box = t.add({type = "list-box", name = "stats_list_box_" .. 1, items = global.science_logs_all})
|
local list_box = t.add({type = "list-box", name = "stats_list_box_" .. 1, items = global.science_logs_date})
|
||||||
list_box.style.minimal_height = 360
|
list_box.style.minimal_height = 360
|
||||||
list_box.style.minimal_width = 160
|
list_box.style.minimal_width = 160
|
||||||
list_box.style.maximal_height = 480
|
list_box.style.maximal_height = 480
|
||||||
|
Loading…
Reference in New Issue
Block a user