summaryrefslogtreecommitdiff
path: root/lib/mods/theme/scpt/init.lua
blob: 85099e19f652fb2cce8b2dd227d74f4eb22fc90d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--
-- This file is loaded at the initialisation of ToME
--

-- Load the class specific stuff
tome_dofile("player.lua")

-- Add the mkey activations
tome_dofile("mkeys.lua")

-- Add the schools of magic
schools_init()
school_spells_init()
init_school_books()

-- Post-spell creation initialization
initialize_bookable_spells()

-- Add joke stuff
tome_dofile("drunk.lua")
tome_dofile("joke.lua")

-- Some tests, if the file is not present, this is fine
tome_dofile_anywhere(ANGBAND_DIR_SCPT, "dg_test.lua", FALSE)

-- Add monster interaction
tome_dofile("monsters.lua")

-- Add miscellaneous stuff
tome_dofile("misc.lua")