summaryrefslogtreecommitdiffstats
path: root/example/scripts/main.lua
blob: 90b651a4feb25ac1413b5532151f402b3c54fe91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--[[

  This is the main script file loaded by the server, as configured in
  manaserv.xml. It defines how certain global events should be handled.

--]]

-- Global functions:
require "scripts/damage"

-- At the moment the event handlers are split up over the following files:
require "scripts/global_events"
require "scripts/abilities"
require "scripts/crafting"
require "scripts/attributes"

require "scripts/items/candy"

require "scripts/monster/basic_ai"
require "scripts/monster/testmonster"

require "scripts/status/jump"
require "scripts/status/plague"