diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-04-09 11:59:07 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-04-09 11:59:07 +0200 |
commit | 1d3171629ae1aea66f0f57cde7d4390c7fc760c1 (patch) | |
tree | 56537086086cd4868c9556ce0f7b5170291ad15b /lib/mods/theme | |
parent | 88a95bb6561ba7474f420fee1c73eeea18dfb1e4 (diff) |
Lua: God quests: Move relic "setup" code to C
Diffstat (limited to 'lib/mods/theme')
-rw-r--r-- | lib/mods/theme/scpt/god.lua | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/mods/theme/scpt/god.lua b/lib/mods/theme/scpt/god.lua index 54314d60..31aafd17 100644 --- a/lib/mods/theme/scpt/god.lua +++ b/lib/mods/theme/scpt/god.lua @@ -39,29 +39,6 @@ function msg_directions() end) end --- Set up relic number according to god -function setup_relic_number() - if player.pgod == GOD_ERU then - god_quest.relic_num = 7 - elseif player.pgod == GOD_MANWE then - god_quest.relic_num = 8 - elseif player.pgod == GOD_TULKAS then - god_quest.relic_num = 9 - elseif player.pgod == GOD_MELKOR then - god_quest.relic_num = 10 - elseif player.pgod == GOD_YAVANNA then - god_quest.relic_num = 11 - elseif player.pgod == GOD_AULE then - god_quest.relic_num = 16 - elseif player.pgod == GOD_VARDA then - god_quest.relic_num = 17 - elseif player.pgod == GOD_ULMO then - god_quest.relic_num = 18 - elseif player.pgod == GOD_MANDOS then - god_quest.relic_num = 19 - end -end - add_quest { ["global"] = "GOD_QUEST", |