Add clusterio module with API for lua code

Add a shared API for lua code through a module named clusterio.
This commit is contained in:
Hornwitser committed 2020-01-04 17:34:16 +01:00
1 parent 221dc855f4
commit 66aa7e1e43
9 files changed
+139 -43

No files matched your search

+2 -1
View File
@@ -223,7 +223,8 @@ The following entries are supported in the module.json file:
node-semver package for a full description of what operators are
supported. The events for dependencies is invoked before the events
of the dependent, and starting an instance will fail if the
dependencies cannot be satisfied.
dependencies cannot be satisfied. If not specified it will default
to depending on `clusterio`.
- `require`:
Lua files to require in `control.lua`. This should only really be
needed if you want to make a global function available for use in