From f1f703a9bec43282c25f93e97dab3706efe265fa Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Fri, 8 Jun 2012 06:15:15 +0200 Subject: Lua: Move "Fountain" help to C --- lib/mods/theme/scpt/help.lua | 11 ----------- lib/scpt/help.lua | 11 ----------- 2 files changed, 22 deletions(-) (limited to 'lib') diff --git a/lib/mods/theme/scpt/help.lua b/lib/mods/theme/scpt/help.lua index ca6fa6c6..e1feea19 100644 --- a/lib/mods/theme/scpt/help.lua +++ b/lib/mods/theme/scpt/help.lua @@ -6,17 +6,6 @@ ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- -ingame_help -{ - ["hook"] = HOOK_MOVE, - ["event"] = function(y, x) if cave(y, x).feat == FEAT_FOUNTAIN then return TRUE end end, - ["desc"] = - { - "Fountains are always magical. You can quaff from them by pressing H.", - "Beware that unlike potions they cannot be identified.", - } -} - ingame_help { ["hook"] = HOOK_MOVE, diff --git a/lib/scpt/help.lua b/lib/scpt/help.lua index 293de713..42fb9eeb 100644 --- a/lib/scpt/help.lua +++ b/lib/scpt/help.lua @@ -6,17 +6,6 @@ ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- -ingame_help -{ - ["hook"] = HOOK_MOVE, - ["event"] = function(y, x) if cave(y, x).feat == FEAT_FOUNTAIN then return TRUE end end, - ["desc"] = - { - "Fountains are always magical. You can quaff from them by pressing H.", - "Beware that unlike potions they cannot be identified.", - } -} - ingame_help { ["hook"] = HOOK_MOVE, -- cgit v1.2.3