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

Legacy of the Naloren talent allows you to speak with Slasul to get a big nasty trident artifact

git-svn-id: http://svn.net-core.org/repos/t-engine4@5982 51575b47-30f0-44d4-a5cc-537603b46e54
parent d5d9c0dc
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,12 @@ Recently, that water dragon that sent you here started sending "agents" to secur
newChat{ id="portal_back",
text = [[Use this portal. It will bring you back to his cave; ask him the truth.]],
answers = {
{"I will make him pay for his treachery.", action=function(npc, player) player:hasQuest("temple-of-creation"):portal_back() end},
{"I will make him pay for his treachery.", action=function(npc, player)
player:hasQuest("temple-of-creation"):portal_back()
for uid, e in pairs(game.level.entities) do
if e.faction == "enemies" then e.faction = "temple-of-creation" end
end
end},
}
}
......@@ -72,10 +77,34 @@ else
newChat{ id="welcome",
text = [[Thank you for listening to me.]],
answers = {
{"[attack]", action=attack("So be it... Die now!")},
{"The dragon was lying, I can feel it. I have decided to embrace your cause.", jump="cause", cond=function(npc, player) return player:knowTalent(player.T_LEGACY_OF_THE_NALOREN) and not player:isQuestStatus("temple-of-creation", engine.Quest.COMPLETED, "legacy-naloren") end},
{"Farewell, Slasul."},
{"[attack]", action=attack("So be it... Die now!")},
}
}
newChat{ id="cause",
text = [[I secretly hoped you would.
Then let us seal this alliance, share your lifeforce with me! So long you should live I shall not be killed!
In return let me offer you this powerful trident.]],
answers = {
{"I shall accept your offer my liege.", action=function(npc, player)
local o = game.zone:makeEntityByName(game.level, "object", "LEGACY_NALOREN", true)
if o then
o:identify(true)
player:addObject(player.INVEN_INVEN, o)
npc:doEmote("LET US BE BOUND!", 150)
game.level.map:particleEmitter(npc.x, npc.y, 1, "demon_teleport")
game.level.map:particleEmitter(player.x, player.y, 1, "demon_teleport")
npc.invulnerable = 1
npc.never_angry = 1
player:setQuestStatus("temple-of-creation", engine.Quest.COMPLETED, "legacy-naloren")
end
end},
{"This sounds strange, I need to think about it."},
}
}
end
return "welcome"
......@@ -24,6 +24,9 @@ desc = function(self, who)
if self:isCompleted("slasul-story") then
desc[#desc+1] = "Slasul told you his side of the story. Now you must decide: which of them is corrupt?"
end
if self:isCompleted("legacy-naloren") then
desc[#desc+1] = "Slasul bound his lifeforce to your and gave your a powerful trident in return."
end
if self:isCompleted("kill-slasul") and self:isCompleted("kill-drake") then
desc[#desc+1] = "#LIGHT_GREEN#* You have killed both Ukllmswwik and Slasul, betraying them both.#WHITE#"
......
......@@ -168,6 +168,8 @@ uberTalent{
self.__show_special_talents[self.T_EXOTIC_WEAPONS_MASTERY] = true
self.can_breath = self.can_breath or {}
self.can_breath.water = (self.can_breath.water or 0) + 1
require("engine.ui.Dialog"):simplePopup("Legacy of the Naloren", "Slasul will be happy to know your faith in his cause. You should return speak to him.")
end,
info = function(self, t)
return ([[You sided with Slasul ad helped him vanquish Ukllmswwik. You are now able to breathe underwater with ease.
......
......@@ -97,6 +97,7 @@ Slasul gave it to you as a sign of his faith in you. It is a sign of hope for al
lite = 2,
combat_dam = 12,
combat_mindpower = 12,
combat_mindcrit = 12,
inc_stats = {
[Stats.STAT_STR] = 4,
[Stats.STAT_DEX] = 4,
......@@ -124,6 +125,7 @@ Slasul gave it to you as a sign of his faith in you. It is a sign of hope for al
["technique/combat-training"] = 0.3,
["technique/combat-techniques-active"] = 0.3,
["psionic/psychic-assault"] = 0.3,
},
},
max_power = 60, power_regen = 1,
......
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