summaryrefslogtreecommitdiff
path: root/lib/scpt/corrupt.lua
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-04-06 11:40:03 +0200
committerBardur Arantsson <bardur@scientician.net>2012-04-07 15:28:26 +0200
commit3f819c170739b098f9f7951fc9c2ff407f3bbf03 (patch)
tree911a13dd8d57a68c701fe4d38dd82653482abbfa /lib/scpt/corrupt.lua
parent6a860ab9022123d9fc5387424ef49eb3a814c64b (diff)
Lua: Moved corruption "can_gain" checks to C
Diffstat (limited to 'lib/scpt/corrupt.lua')
-rw-r--r--lib/scpt/corrupt.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/scpt/corrupt.lua b/lib/scpt/corrupt.lua
index ae9eff8c..f72ddf2d 100644
--- a/lib/scpt/corrupt.lua
+++ b/lib/scpt/corrupt.lua
@@ -219,14 +219,6 @@ CORRUPT_TROLL_BLOOD = add_corruption
" It also enables you to feel the presence of other troll beings",
" But it will make your presence more noticeable and aggravating",
},
- ["can_gain"] = function()
- -- Ok trolls should not get this one. never.
- if get_race_name() == "Troll" then
- return nil
- else
- return not nil
- end
- end,
}
-- The vampire corruption set