From 75dfc66e9a36b1e5db9b1a8e056de5de72baabc3 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Thu, 28 Jan 2021 12:37:58 +0100 Subject: [PATCH] Document event_handler requiremenet for modules Add note in the docs for modules that the event_handler interface has to be used. --- docs/developing-for-clusterio.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/developing-for-clusterio.md b/docs/developing-for-clusterio.md index cfbcfe4c..76fd682b 100644 --- a/docs/developing-for-clusterio.md +++ b/docs/developing-for-clusterio.md @@ -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