Skip to content
Snippets Groups Projects
Commit f4deae43 authored by dg's avatar dg
Browse files

plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@1664 51575b47-30f0-44d4-a5cc-537603b46e54
parent 8f04045f
No related branches found
No related tags found
No related merge requests found
......@@ -21,11 +21,11 @@
name = "Of trolls and damp caves"
desc = function(self, who)
local desc = {}
desc[#desc+1] = "Explore the caves below the tower of Amon Sûl and the Trollshaws in search of treasure and glory!\n"
if self:isCompleted("amon-sul") then
desc[#desc+1] = "#LIGHT_GREEN#* You have explored Amon Sûl and vanquished the Shade of Angmar.#WHITE#"
desc[#desc+1] = "Explore the caves below the ruins of Kor'Pul and the Trollshaws in search of treasure and glory!\n"
if self:isCompleted("kor-pul") then
desc[#desc+1] = "#LIGHT_GREEN#* You have explored the ruins of Kor'Pul and vanquished the Shade.#WHITE#"
else
desc[#desc+1] = "#SLATE#* You must explore Amon Sûl and find out what lurks there and what treasures are to be gained!#WHITE#"
desc[#desc+1] = "#SLATE#* You must explore the ruins of Kor'Pul and find out what lurks there and what treasures are to be gained!#WHITE#"
end
if self:isCompleted("trollshaws") then
desc[#desc+1] = "#LIGHT_GREEN#* You have explored the Trollshaws and vanquished the Bill the Stone Troll.#WHITE#"
......@@ -37,7 +37,7 @@ end
on_status_change = function(self, who, status, sub)
if sub then
if self:isCompleted("amon-sul") and self:isCompleted("trollshaws") then
if self:isCompleted("kor-pul") and self:isCompleted("trollshaws") then
who:setQuestStatus(self.id, engine.Quest.DONE)
who:grantQuest("starter-zones")
end
......
......@@ -60,8 +60,8 @@ newEntity{ define_as = "SHADE_OF_ANGMAR",
ai = "dumb_talented_simple", ai_state = { talent_in=4, ai_move="move_astar" },
on_die = function(self, who)
game.state:activateBackupGuardian("ANGMAR_FURY", 5, 35, ".. yes I tell you! The old tower of Amon Sûl is still haunted!")
game.player:resolveSource():setQuestStatus("start-dunadan", engine.Quest.COMPLETED, "amon-sul")
game.state:activateBackupGuardian("ANGMAR_FURY", 5, 35, ".. yes I tell you! The old ruins opf Kor'Pul are still haunted!")
game.player:resolveSource():setQuestStatus("start-dunadan", engine.Quest.COMPLETED, "kor-pul")
end,
}
......
......@@ -18,7 +18,7 @@
-- darkgod@te4.org
return {
name = "Tower of Amon Sûl",
name = "Ruins of Kor'Pul",
level_range = {1, 5},
level_scheme = "player",
max_level = 5,
......@@ -68,7 +68,7 @@ return {
[5] = {
generator = { map = {
class = "engine.generator.map.Static",
map = "zones/tower-amon-sul-last",
map = "zones/ruins-kor-pul-last",
}, },
},
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment