summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-06-08 17:59:43 +0200
committerBardur Arantsson <bardur@scientician.net>2012-06-08 17:59:43 +0200
commit01b96520e44540b08ce221253248307492bf6383 (patch)
tree4c169d94081f55688925f48198d5f80358e43da9 /lib
parent6daf34377e6c0c1e1861d65c55d2df18e9e491d4 (diff)
Lua: Move "pick up trap kit" help to C
Diffstat (limited to 'lib')
-rw-r--r--lib/mods/theme/scpt/help.lua13
-rw-r--r--lib/scpt/help.lua13
2 files changed, 0 insertions, 26 deletions
diff --git a/lib/mods/theme/scpt/help.lua b/lib/mods/theme/scpt/help.lua
index 339a5d17..5f1a9d2d 100644
--- a/lib/mods/theme/scpt/help.lua
+++ b/lib/mods/theme/scpt/help.lua
@@ -290,19 +290,6 @@ ingame_help
ingame_help
{
- ["hook"] = HOOK_GET,
- ["event"] = function(obj, idx) if obj.tval == TV_TRAPKIT then return TRUE end end,
- ["desc"] =
- {
- "Ooooh, a trapping kit. If you have ability in the trapping skill,",
- "you can lay this trap (via the 'm' key) to harm unsuspecting foes.",
- "You'll generally need either some ammo or magic device depending",
- "on the exact type of trap kit.",
- }
-}
-
-ingame_help
-{
["hook"] = HOOK_RECALC_SKILLS,
["event"] = function() if game.started and (get_melee_skills() > 1) then return TRUE end end,
["desc"] =
diff --git a/lib/scpt/help.lua b/lib/scpt/help.lua
index e7b9a662..1481a997 100644
--- a/lib/scpt/help.lua
+++ b/lib/scpt/help.lua
@@ -256,19 +256,6 @@ ingame_help
ingame_help
{
- ["hook"] = HOOK_GET,
- ["event"] = function(obj, idx) if obj.tval == TV_TRAPKIT then return TRUE end end,
- ["desc"] =
- {
- "Ooooh, a trapping kit. If you have ability in the trapping skill,",
- "you can lay this trap (via the 'm' key) to harm unsuspecting foes.",
- "You'll generally need either some ammo or magic device depending",
- "on the exact type of trap kit.",
- }
-}
-
-ingame_help
-{
["hook"] = HOOK_RECALC_SKILLS,
["event"] = function() if game.started and (get_melee_skills() > 1) then return TRUE end end,
["desc"] =