summaryrefslogtreecommitdiff
path: root/lib/scpt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/scpt')
-rw-r--r--lib/scpt/init.lua3
-rw-r--r--lib/scpt/player.lua15
2 files changed, 0 insertions, 18 deletions
diff --git a/lib/scpt/init.lua b/lib/scpt/init.lua
index d27ce23c..8434f6dd 100644
--- a/lib/scpt/init.lua
+++ b/lib/scpt/init.lua
@@ -2,9 +2,6 @@
-- This file is loaded at the initialisation of ToME
--
--- Load the class specific stuff
-tome_dofile("player.lua")
-
-- Add the schools of magic
schools_init()
school_spells_init()
diff --git a/lib/scpt/player.lua b/lib/scpt/player.lua
deleted file mode 100644
index 1c8da791..00000000
--- a/lib/scpt/player.lua
+++ /dev/null
@@ -1,15 +0,0 @@
-------------------------------------------------------------------------------
------------------------ Hook to create birth objects -------------------------
-------------------------------------------------------------------------------
-function __birth_hook_objects()
-
- -- Start the undeads, as undeads with the corruptions
- if get_subrace_name() == "Vampire" then
- player_gain_corruption(CORRUPT_VAMPIRE_TEETH)
- player_gain_corruption(CORRUPT_VAMPIRE_STRENGTH)
- player_gain_corruption(CORRUPT_VAMPIRE_VAMPIRE)
- end
-end
-
--- Register in the hook list
-add_hook_script(HOOK_BIRTH_OBJECTS, "__birth_hook_objects", "__birth_hook_objects")