mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-16 23:30:41 +09:00
researchSync: client
This commit is contained in:
1 parent
e64db6b236
commit
8935d03b4a
4 files changed
+77
-18
No files matched your search
@@ -1,8 +1,12 @@
|
||||
/silent-command
|
||||
|
||||
local lines = "";
|
||||
|
||||
for _, tech in pairs(game.forces["player"].technologies) do
|
||||
local dict = {};
|
||||
dict[tech.name] = tech.researched;
|
||||
game.write_file("researchSync.txt",serpent.line(dict));
|
||||
lines = lines .. serpent.line(dict) .. "\n";
|
||||
end
|
||||
|
||||
game.write_file("researchSync.txt",lines)
|
||||
|
||||
Reference in new issue
Block a user