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
bff6803a1a
commit
db3d617c61
@ -138,7 +138,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_evo_jump = { evo_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
|
||||
|
@ -261,7 +261,7 @@ local function draw_stats_gui(player)
|
||||
l.style.font = "heading-1"
|
||||
|
||||
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_width = 160
|
||||
list_box.style.maximal_height = 480
|
||||
|
Loading…
Reference in New Issue
Block a user