summaryrefslogtreecommitdiff
path: root/lib/scpt/help.lua
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-06-09 09:29:06 +0200
committerBardur Arantsson <bardur@scientician.net>2012-06-09 09:29:06 +0200
commit6987232c337535eb3b7f7de14ae0637d6f4b3d1d (patch)
tree2aca2263098956a5828e53eb87460532147e362e /lib/scpt/help.lua
parent6763d205ca391d8a4c1544afbcfceddf5ec54c77 (diff)
Lua: Move "identify object with spell slot" help to C
Diffstat (limited to 'lib/scpt/help.lua')
-rw-r--r--lib/scpt/help.lua19
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/scpt/help.lua b/lib/scpt/help.lua
index bbda148d..0ee307cb 100644
--- a/lib/scpt/help.lua
+++ b/lib/scpt/help.lua
@@ -187,25 +187,6 @@ ingame_help
ingame_help
{
- ["hook"] = HOOK_IDENTIFY,
- ["event"] = function(i, mode)
- if mode == "full" then
- local obj = get_object(i)
- local f1, f2, f3, f4, f5, esp = object_flags(obj)
- if band(f5, TR5_SPELL_CONTAIN) ~= 0 then return TRUE end
- end
- end,
- ["desc"] =
- {
- "Ah, an item that can contain a spell. To use it you must have some levels of",
- "Magic skill and then you get the option to copy a spell when pressing m.",
- "Then just select which spell to copy and to which object. Note that doing so",
- "is permanent; the spell cannot be removed or changed later.",
- }
-}
-
-ingame_help
-{
["hook"] = HOOK_RECALC_SKILLS,
["event"] = function() if game.started and (get_melee_skills() > 1) then return TRUE end end,
["desc"] =