mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 07:43:12 +09:00
Change to new preprocessor style
This commit is contained in:
37 files changed
+692
-2193
No files matched your search
@@ -0,0 +1,10 @@
|
||||
local MyModule = require("./control")
|
||||
//%if instance
|
||||
|
||||
--- Can contain anything you plan to use with send_rcon including functions, modules, or data
|
||||
-- luacheck: globals ipc___plugin_name__
|
||||
ipc___plugin_name__ = MyModule
|
||||
//%endif
|
||||
|
||||
--- Can contain anything you want to allow other plugins to have access to, this example exposes the whole module
|
||||
return MyModule
|
||||
Reference in new issue
Block a user