Export settings and all prototypes

Add settings and all prototypes to the export of data done.  Settings
are needed for a settings GUI to function, while prototype data would be
useful to display any sort of information about things from the game.
This commit is contained in:
Hornwitser committed 2023-02-01 15:29:23 +01:00
1 parent fb75e47eda
commit 7c6aaeb05d
7 files changed
+161 -110

No files matched your search

+3
View File
@@ -5,4 +5,7 @@ end
script.on_init(function()
send_json("mod_list", game.active_mods)
for name, mod_setting in pairs(game.mod_setting_prototypes) do
send_json("mod_setting_mod", { name = name, mod = mod_setting.mod })
end
end)