summaryrefslogtreecommitdiff
path: root/lib/mods/theme
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-06-10 06:06:04 +0200
committerBardur Arantsson <bardur@scientician.net>2012-06-10 06:19:33 +0200
commit9d06a4324a7f5daac169c0b2b1640696578aee08 (patch)
tree28ed64ae3bab7871c2e384ced9061d2fee021397 /lib/mods/theme
parente8a7753c88541e45a1b9d1b80be2ad227b179e20 (diff)
Lua: Move Theme's Longbottom Leaf code to C
Diffstat (limited to 'lib/mods/theme')
-rw-r--r--lib/mods/theme/scpt/misc.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/mods/theme/scpt/misc.lua b/lib/mods/theme/scpt/misc.lua
index 9a3c37bb..6205678a 100644
--- a/lib/mods/theme/scpt/misc.lua
+++ b/lib/mods/theme/scpt/misc.lua
@@ -12,16 +12,6 @@ end
add_hook_script(HOOK_EAT, "food_vessel", "food_vessel")
--- Longbottom Leaf *is* a great stress reliever:
-function longbottom_leaf(object)
- if (object.tval == 80) and (object.sval == 45) then
- msg_print("What a stress reliever!")
- heal_insanity(1000)
- return FALSE
- end
-end
-add_hook_script(HOOK_EAT, "longbottom_leaf", "longbottom_leaf")
-
-- functions to check for Map and Key of Thror before proceeding in Erebor
-- Thank you, Massimiliano Marangio :-)
add_hooks