summaryrefslogtreecommitdiff
path: root/lib/mods/theme/scpt/player.lua
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-06-10 05:22:10 +0200
committerBardur Arantsson <bardur@scientician.net>2012-06-10 05:22:10 +0200
commite8a7753c88541e45a1b9d1b80be2ad227b179e20 (patch)
tree86c27bce5845ad78d3ce526f5c8090d4ad797064 /lib/mods/theme/scpt/player.lua
parent83d2d89462f4b03419019e23d73665f0472b687b (diff)
Lua: Move Vampire corruption handling to C
Diffstat (limited to 'lib/mods/theme/scpt/player.lua')
-rw-r--r--lib/mods/theme/scpt/player.lua16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/mods/theme/scpt/player.lua b/lib/mods/theme/scpt/player.lua
deleted file mode 100644
index e2920642..00000000
--- a/lib/mods/theme/scpt/player.lua
+++ /dev/null
@@ -1,16 +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")