mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 15:04:52 +09:00
The role of a slave as a host for Factorio servers is not well reflected in its name and has caused confusion among users. Rename slave to host to better reflect its role as a host of Factorio servers.
9 lines
231 B
Lua
9 lines
231 B
Lua
local clusterio_api = require("clusterio_api")
|
|
|
|
log("Exporting prototypes")
|
|
for group, prototypes in pairs(data.raw) do
|
|
for name, prototype in pairs(prototypes) do
|
|
clusterio_api.send_json("prototype_export", prototype)
|
|
end
|
|
end
|