summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-06-08 16:25:56 +0200
committerBardur Arantsson <bardur@scientician.net>2012-06-08 16:25:56 +0200
commit4401b0bd2e85f491faf9971da4015a254b45366b (patch)
tree90a19e5b0aac649656ea4e73755b7bccfdcd32f9 /lib
parentf1f703a9bec43282c25f93e97dab3706efe265fa (diff)
Lua: Move "Found Object" help to C
Diffstat (limited to 'lib')
-rw-r--r--lib/mods/theme/scpt/help.lua14
-rw-r--r--lib/scpt/help.lua14
2 files changed, 0 insertions, 28 deletions
diff --git a/lib/mods/theme/scpt/help.lua b/lib/mods/theme/scpt/help.lua
index e1feea19..ff901650 100644
--- a/lib/mods/theme/scpt/help.lua
+++ b/lib/mods/theme/scpt/help.lua
@@ -9,20 +9,6 @@
ingame_help
{
["hook"] = HOOK_MOVE,
- ["event"] = function(y, x) if cave(y, x).o_idx ~= 0 then return TRUE end end,
- ["desc"] =
- {
- "So you found your first item! Nice, eh? Now when you stumble across",
- "objects, you can pick them up by pressing g, and if you are wondering",
- "what they do, press I (then *, then the letter for the item) to get",
- "some basic information. You may also want to identify them with scrolls,",
- "staves, rods or spells.",
- }
-}
-
-ingame_help
-{
- ["hook"] = HOOK_MOVE,
["event"] = function(y, x) if (cave(y, x).feat >= FEAT_ALTAR_HEAD) and (cave(y, x).feat <= FEAT_ALTAR_TAIL) then return TRUE end end,
["desc"] =
{
diff --git a/lib/scpt/help.lua b/lib/scpt/help.lua
index 42fb9eeb..8c8ffd8d 100644
--- a/lib/scpt/help.lua
+++ b/lib/scpt/help.lua
@@ -9,20 +9,6 @@
ingame_help
{
["hook"] = HOOK_MOVE,
- ["event"] = function(y, x) if cave(y, x).o_idx ~= 0 then return TRUE end end,
- ["desc"] =
- {
- "So you found your first item! Nice, eh? Now when you stumble across",
- "objects, you can pick them up by pressing g, and if you are wondering",
- "what they do, press I (then *, then the letter for the item) to get",
- "some basic information. You may also want to identify them with scrolls,",
- "staves, rods or spells.",
- }
-}
-
-ingame_help
-{
- ["hook"] = HOOK_MOVE,
["event"] = function(y, x) if (cave(y, x).feat >= FEAT_ALTAR_HEAD) and (cave(y, x).feat <= FEAT_ALTAR_TAIL) then return TRUE end end,
["desc"] =
{