From 5c542a09a54a355633612efbae17c71ea72fbdcd Mon Sep 17 00:00:00 2001 From: Someone Date: Wed, 4 Sep 2019 02:27:51 +0200 Subject: [PATCH] Oneoutput every 2 min (7200 ticks) + Release. --- changelog.txt | 7 +++++++ control.lua | 2 +- info.json | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index 70acd85..6de10d1 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,10 @@ +--------------------------------------------------------------------------------------------------- +Version: 0.17.4 +Date: 2019-09-04 + + Changed: + - changed to one output every 2 min (7200 ticks). + --------------------------------------------------------------------------------------------------- Version: 0.17.3 Date: 2019-07-29 diff --git a/control.lua b/control.lua index 6891672..6bafa67 100644 --- a/control.lua +++ b/control.lua @@ -1,6 +1,6 @@ script.on_event(defines.events.on_tick, function(event) - if event.tick % 5000 == 0 then + if event.tick % 7200 == 0 then local f = game.forces["player"] log("\n\ntick:"..game.tick.."\titem\tproduced\tconsumed\tlost\tdiff") for k, prod in pairs(f.item_production_statistics.input_counts) do diff --git a/info.json b/info.json index dfb382e..c048d5a 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "some-benchmark", - "version": "0.17.3", + "version": "0.17.4", "title": "Someone's production benchmark logger", "author": "someone1337", "homepage": "https://git.somenet.org/pub/jan/factorio_some-benchmark.git", -- 2.43.0