diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-06-08 19:40:49 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-06-08 19:40:49 +0200 |
commit | 3e79a19e687364bf7022ca91ee02978e504093fd (patch) | |
tree | 9bd1f601a5ada92c46068156a9e9d872e00f5bca /lib | |
parent | 4abf66423998e520ea81b6b4e7544a21e313d36b (diff) |
Lua: Move level-triggered help to C
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mods/theme/scpt/help.lua | 24 | ||||
-rw-r--r-- | lib/scpt/help.lua | 24 |
2 files changed, 0 insertions, 48 deletions
diff --git a/lib/mods/theme/scpt/help.lua b/lib/mods/theme/scpt/help.lua index 0773e879..d827e5dc 100644 --- a/lib/mods/theme/scpt/help.lua +++ b/lib/mods/theme/scpt/help.lua @@ -8,18 +8,6 @@ ingame_help { - ["hook"] = HOOK_PLAYER_LEVEL, - ["event"] = function(y, x) if player.lev > 1 then return TRUE end end, - ["desc"] = - { - "Ok, so you now gained a level, and you have skill points to spend.", - "To do so simply press G to learn skills. Reading the documentation", - "about skills and abilities is also strongly recommended.", - } -} - -ingame_help -{ ["callback"] = "monster_chat", ["desc"] = { @@ -260,15 +248,3 @@ ingame_help "and select the switch melee type option.", } } - -ingame_help -{ - ["hook"] = HOOK_PLAYER_LEVEL, - ["event"] = function(y, x) if player.lev >= 20 then return TRUE end end, - ["desc"] = - { - "I see you are now at least level 20. Nice! If you want to gloat about your", - "character you could press 'C' then 'f' to make a character dump and post it to", - "http://angband.oook.cz/ where it will end up in the ladder.", - } -} diff --git a/lib/scpt/help.lua b/lib/scpt/help.lua index e6bb6a34..bbda148d 100644 --- a/lib/scpt/help.lua +++ b/lib/scpt/help.lua @@ -8,18 +8,6 @@ ingame_help { - ["hook"] = HOOK_PLAYER_LEVEL, - ["event"] = function(y, x) if player.lev > 1 then return TRUE end end, - ["desc"] = - { - "Ok, so you now gained a level, and you have skill points to spend.", - "To do so simply press G to learn skills. Reading the documentation", - "about skills and abilities is also strongly recommended.", - } -} - -ingame_help -{ ["callback"] = "monster_chat", ["desc"] = { @@ -226,15 +214,3 @@ ingame_help "and select the switch melee type option.", } } - -ingame_help -{ - ["hook"] = HOOK_PLAYER_LEVEL, - ["event"] = function(y, x) if player.lev >= 20 then return TRUE end end, - ["desc"] = - { - "I see you are now at least level 20. Nice! If you want to gloat about your", - "character you could press 'C' then 'f' to make a character dump and post it to", - "http://angband.oook.cz/ where it will end up in the ladder.", - } -} |