From 8a94b839d00267e7be1664f521de1c0033921b8c Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Fri, 8 Jun 2012 18:07:38 +0200 Subject: Lua: Move "pick up staff/wand" help to C --- lib/mods/theme/scpt/help.lua | 13 ------------- lib/scpt/help.lua | 13 ------------- 2 files changed, 26 deletions(-) (limited to 'lib') diff --git a/lib/mods/theme/scpt/help.lua b/lib/mods/theme/scpt/help.lua index 5f1a9d2d..e6f3a8b1 100644 --- a/lib/mods/theme/scpt/help.lua +++ b/lib/mods/theme/scpt/help.lua @@ -299,19 +299,6 @@ ingame_help } } -ingame_help -{ - ["hook"] = HOOK_GET, - ["event"] = function(obj, idx) if obj.tval == TV_WAND or obj.tval == TV_STAFF then return TRUE end end, - ["desc"] = - { - "You've found a magical device, either a staff or a wand. Each staff", - "contains a spell, often from one of the primary magic schools. There", - "is a lot of information you can find about this object if you identify", - "it and 'I'nspect it. Check the help file on Magic for more about these.", - } -} - ingame_help { ["hook"] = HOOK_PLAYER_LEVEL, diff --git a/lib/scpt/help.lua b/lib/scpt/help.lua index 1481a997..b03e8d9d 100644 --- a/lib/scpt/help.lua +++ b/lib/scpt/help.lua @@ -265,19 +265,6 @@ ingame_help } } -ingame_help -{ - ["hook"] = HOOK_GET, - ["event"] = function(obj, idx) if obj.tval == TV_WAND or obj.tval == TV_STAFF then return TRUE end end, - ["desc"] = - { - "You've found a magical device, either a staff or a wand. Each staff", - "contains a spell, often from one of the primary magic schools. There", - "is a lot of information you can find about this object if you identify", - "it and 'I'nspect it. Check the help file on Magic for more about these.", - } -} - ingame_help { ["hook"] = HOOK_PLAYER_LEVEL, -- cgit v1.2.3