Document event_handler requiremenet for modules

Add note in the docs for modules that the event_handler interface has to
be used.
This commit is contained in:
Hornwitser committed 2021-02-17 21:21:18 +01:00
1 parent f8153bd784
commit 75dfc66e9a
1 file changed
+3 -1
+3 -1
View File
@@ -177,7 +177,9 @@ modules that are loaded into the game if you don't need the capabilites
of the plugin system. The save patcher puts modules into the `modules`
folder of the Factorio save and adds code to `control.lua` to load the
module according to the `load` and `require` options to the module.json
file.
file. Like with scenarios for Clusterio the [event_handler
interface](#event_handler-interface) has to be used for any event
subscriptions in modules.
Stand alone modules are placed into the modules folder of Clusterio,
plugin modules are located in the module folder of the plugin. In