summaryrefslogtreecommitdiff
path: root/example/serverdata/scripts/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'example/serverdata/scripts/main.lua')
-rw-r--r--example/serverdata/scripts/main.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/example/serverdata/scripts/main.lua b/example/serverdata/scripts/main.lua
new file mode 100644
index 00000000..d5d8bd03
--- /dev/null
+++ b/example/serverdata/scripts/main.lua
@@ -0,0 +1,17 @@
+----------------------------------------------------------------------------------
+-- Copyright 2011 Manasource Development Team --
+-- --
+-- This file is part of Manasource. --
+-- --
+-- Manasource is free software; you can redistribute it and/or modify it --
+-- under the terms of the GNU General Public License as published by the Free --
+-- Software Foundation; either version 2 of the License, or any later version. --
+----------------------------------------------------------------------------------
+
+-- This is the main script file loaded by the server, as configured in
+-- manaserv.xml. It defines how certain global events should be handled.
+
+-- At the moment the event handlers are split up over the following files:
+require "scripts/global_events"
+require "scripts/special_actions"
+require "scripts/crafting"