summaryrefslogtreecommitdiff
path: root/src/script.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/script.cc')
-rw-r--r--src/script.cc29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/script.cc b/src/script.cc
new file mode 100644
index 00000000..a9407352
--- /dev/null
+++ b/src/script.cc
@@ -0,0 +1,29 @@
+/* File: script.c */
+
+/* Purpose: scripting in lua */
+
+/*
+ * Copyright (c) 2001 Dark God
+ *
+ * This software may be copied and distributed for educational, research, and
+ * not for profit purposes provided that this copyright and statement are
+ * included in all such copies.
+ */
+
+#include "angband.h"
+#include "q_library.h"
+
+
+void init_lua_init()
+{
+ /* Initialize schooled spells */
+ schools_init();
+ school_spells_init();
+ init_school_books();
+
+ /* Post-spell creation initialization */
+ initialize_bookable_spells();
+
+ /* Finish up the corruptions */
+ init_corruptions();
+}