summaryrefslogtreecommitdiff
path: root/lib/mods
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-04-11 18:37:18 +0200
committerBardur Arantsson <bardur@scientician.net>2012-04-11 18:42:23 +0200
commiteaeaf76609a894e52f12dbbd35597aebbabb113a (patch)
tree9fd69b9113c311e3d5974154107fed42313df71c /lib/mods
parentc4db19005072f39faf67235d180d00eab6a4666f (diff)
Lua: Gods: Move "become atheist when gaining Anti-magic" to C
Diffstat (limited to 'lib/mods')
-rw-r--r--lib/mods/theme/scpt/gods.lua10
-rw-r--r--lib/mods/theme/scpt/init.lua3
2 files changed, 0 insertions, 13 deletions
diff --git a/lib/mods/theme/scpt/gods.lua b/lib/mods/theme/scpt/gods.lua
deleted file mode 100644
index f76a3d6a..00000000
--- a/lib/mods/theme/scpt/gods.lua
+++ /dev/null
@@ -1,10 +0,0 @@
-add_hooks
-{
- [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,
-}
diff --git a/lib/mods/theme/scpt/init.lua b/lib/mods/theme/scpt/init.lua
index 715f6dc5..300dc66b 100644
--- a/lib/mods/theme/scpt/init.lua
+++ b/lib/mods/theme/scpt/init.lua
@@ -14,9 +14,6 @@ tome_dofile("stores.lua")
-- Add the mkey activations
tome_dofile("mkeys.lua")
--- Add god stuff
-tome_dofile("gods.lua")
-
-- Add the schools of magic
tome_dofile("spells.lua")