diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-06-10 05:22:10 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-06-10 05:22:10 +0200 |
commit | e8a7753c88541e45a1b9d1b80be2ad227b179e20 (patch) | |
tree | 86c27bce5845ad78d3ce526f5c8090d4ad797064 /lib/scpt/player.lua | |
parent | 83d2d89462f4b03419019e23d73665f0472b687b (diff) |
Lua: Move Vampire corruption handling to C
Diffstat (limited to 'lib/scpt/player.lua')
-rw-r--r-- | lib/scpt/player.lua | 15 |
1 files changed, 0 insertions, 15 deletions
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") |