summaryrefslogtreecommitdiff
path: root/conf/map/script.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/map/script.conf')
-rw-r--r--conf/map/script.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/map/script.conf b/conf/map/script.conf
index cda25d546..4eb84edf4 100644
--- a/conf/map/script.conf
+++ b/conf/map/script.conf
@@ -64,6 +64,11 @@ script_configuration: {
// "public" keyword should be treated as "private" by default.
// Default: true
functions_private_by_default: true
+
+ // Specifies whether public functions can be invoked as NPC events. This
+ // allows, for example, to use a `public function OnDeath { ... }` instead
+ // of a `OnDeath:` label for mob death events.
+ functions_as_events: false
}
import: "conf/import/script.conf"