summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2025-03-03 18:33:15 -0300
committerJesusaves <cpntb1@ymail.com>2025-03-03 18:33:15 -0300
commit055524d973cf424fb5e27d6d144a9cb03e498aa6 (patch)
tree27aba97e3fe087e17d8264f61e6ba413b8b4bd3c
parenta08de39d556e83be9428f685158e9adefdfb79db (diff)
downloadserverdata-055524d973cf424fb5e27d6d144a9cb03e498aa6.tar.gz
serverdata-055524d973cf424fb5e27d6d144a9cb03e498aa6.tar.bz2
serverdata-055524d973cf424fb5e27d6d144a9cb03e498aa6.tar.xz
serverdata-055524d973cf424fb5e27d6d144a9cb03e498aa6.zip
Update configuration file to reflect the backport.
-rw-r--r--conf/map/script.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/conf/map/script.conf b/conf/map/script.conf
index 802ce2538..76beb33ce 100644
--- a/conf/map/script.conf
+++ b/conf/map/script.conf
@@ -59,6 +59,16 @@ script_configuration: {
// Defaults to INT_MAX.
//input_max_value: 2147483647
input_max_value: 10000000
+
+ // Specifies whether functions not explicitly marked with a "private" or
+ // "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"