summaryrefslogtreecommitdiff
path: root/lib/mods
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-06-09 09:55:18 +0200
committerBardur Arantsson <bardur@scientician.net>2012-06-09 09:55:18 +0200
commit8f7682e6fbd636e3172290f0adc9e8b45c5dd0a2 (patch)
tree7851abbedb23530c125a76b73c73fb99cbe9c1b6 /lib/mods
parent625f73559675c8bc7e627cd6dc5ab924aa10a068 (diff)
Lua: Move "gained two melee skills" help to C
Diffstat (limited to 'lib/mods')
-rw-r--r--lib/mods/theme/core/util.lua9
-rw-r--r--lib/mods/theme/scpt/help.lua11
2 files changed, 0 insertions, 20 deletions
diff --git a/lib/mods/theme/core/util.lua b/lib/mods/theme/core/util.lua
index 7729ac35..2d437d61 100644
--- a/lib/mods/theme/core/util.lua
+++ b/lib/mods/theme/core/util.lua
@@ -118,12 +118,3 @@ end
function msg_format(...)
msg_print(call(format, arg))
end
-
--- A way to check if the game is now running(as opposed to initialization/character gen)
-game = {}
-add_hooks
-{
- [HOOK_GAME_START] = function ()
- game.started = TRUE
- end
-}
diff --git a/lib/mods/theme/scpt/help.lua b/lib/mods/theme/scpt/help.lua
index d9f637bd..d8900d6c 100644
--- a/lib/mods/theme/scpt/help.lua
+++ b/lib/mods/theme/scpt/help.lua
@@ -218,14 +218,3 @@ ingame_help
end
end,
}
-
-ingame_help
-{
- ["hook"] = HOOK_RECALC_SKILLS,
- ["event"] = function() if game.started and (get_melee_skills() > 1) then return TRUE end end,
- ["desc"] =
- {
- "Ah, you now possess more than one melee type. To switch between them press m",
- "and select the switch melee type option.",
- }
-}