Updated research dump and enabling with a fix for infinite-research

This commit is contained in:
psihius committed 2018-04-17 13:57:36 +03:00
1 parent 0dee243bf9
commit c7cd922541
4 files changed
+54 -45

No files matched your search

+3 -3
View File
@@ -1,9 +1,9 @@
/silent-command
local lines = "";
local data = {};
for _, tech in pairs(game.forces["player"].technologies) do
lines = lines .. tech.name .. ":" .. tostring(tech.researched) .. "\n";
table.insert(data, tech.name .. ":" .. tostring(tech.researched) .. ":" .. tostring(tech.level));
end
game.write_file("researchSync.txt",lines)
game.write_file("researchSync.txt", table.concat(data, "\n"))