Files
factorio-clusterio/packages/create/templates/plugin-ts/module/module_exports.lua
T

8 lines
314 B
Lua

local MyModule = require("./control")// [instance] //
-- Can contain anything you plan to use with send_rcon from functions, modules, or data
ipc_// plugin_name // = MyModule// [] //
-- Can contain anything you want to allow other plugins to have access to, this example exposes the whole module
return MyModule