summaryrefslogtreecommitdiffstats
path: root/example/scripts/main.lua
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-02-26 23:28:43 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-03-02 18:12:17 +0100
commita36e231883d595bcba91d44e19f24b31eaf0431b (patch)
tree879aad2008eb3675153bb9912c4cc724253f87c6 /example/scripts/main.lua
parent34ac0d64e23f2b2d3981dbb0ea72157f334805dd (diff)
downloadmanaserv-a36e231883d595bcba91d44e19f24b31eaf0431b.tar.gz
manaserv-a36e231883d595bcba91d44e19f24b31eaf0431b.tar.xz
manaserv-a36e231883d595bcba91d44e19f24b31eaf0431b.zip
A bunch of cleanups to example Lua scripts
Mostly removed bulky copyright headers and fixed indentation and line length. Reviewed-by: Yohann Ferreira Reviewed-by: Erik Schilling
Diffstat (limited to 'example/scripts/main.lua')
-rw-r--r--example/scripts/main.lua16
1 files changed, 5 insertions, 11 deletions
diff --git a/example/scripts/main.lua b/example/scripts/main.lua
index d5d8bd0..aeaca63 100644
--- a/example/scripts/main.lua
+++ b/example/scripts/main.lua
@@ -1,15 +1,9 @@
-----------------------------------------------------------------------------------
--- 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.
+ 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"