diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-06-26 07:15:21 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-06-26 07:15:21 +0200 |
commit | 03aa3417ca54eeb3ebf61557d062a5c31bf0172e (patch) | |
tree | ac057913cccd49e99dc0f2d515c94c9c058e00cf /lib/mods/theme/scpt/gods.lua | |
parent | 79531149c7493b1126febb21bb7bfc958d6d3e2a (diff) | |
parent | 049a6c9ad822840b80a52e68a3095a2f072c74a2 (diff) |
Merge branch 'unlua'
Diffstat (limited to 'lib/mods/theme/scpt/gods.lua')
-rw-r--r-- | lib/mods/theme/scpt/gods.lua | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/lib/mods/theme/scpt/gods.lua b/lib/mods/theme/scpt/gods.lua deleted file mode 100644 index 014a4423..00000000 --- a/lib/mods/theme/scpt/gods.lua +++ /dev/null @@ -1,26 +0,0 @@ -add_hooks -{ - [HOOK_FOLLOW_GOD] = function(god, action) - if action == "ask" then - if not (god == GOD_MELKOR) then - local i = INVEN_WIELD - while i < INVEN_TOTAL do - -- 13 is ART_POWER - if player.inventory(i).name1 == 13 then - msg_print("The One Ring has corrupted you, and you are rejected.") - return TRUE - end - i = i + 1 - end - end - end - return FALSE - end, - [HOOK_RECALC_SKILLS] = function() - if not (player.pgod == GOD_NONE) and (get_skill(SKILL_ANTIMAGIC) > 0) then - msg_print("You no longer believe.") - abandon_god(GOD_ALL) - end - return FALSE - end, -} |