Skip to content
Snippets Groups Projects
Commit 57997c1c authored by DarkGod's avatar DarkGod
Browse files

Added text to antimagic quest to explain why Ogres can do it

parent 03e71ff1
No related branches found
No related tags found
No related merge requests found
......@@ -17,10 +17,15 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
local ogretext = ""
if player.descriptor and player.descriptor.subrace == "Ogre" then
ogretext = "\n\n#{italic}##LIGHT_GREEN#*As you drink the potion, your runes start to burn as they fade away, and a terrible agony seems to sink through your skin to your bones, muscles, and heart. You black out from the pain, and come to a bit later, the runes gone forever. You feel very ill, and yet... cleansed.*#{normal}##WHITE#"
end
newChat{ id="welcome",
text = [[Excellent! You truly prove that no mage-wrought flame or storm can stand against blade and arrow! Come, learn our ways. You are ready.
text = ([[Excellent! You truly prove that no mage-wrought flame or storm can stand against blade and arrow! Come, learn our ways. You are ready.
#LIGHT_GREEN#*he gives you a potion.*#WHITE#
Drink this. We extract it from a very rare kind of drake. It will grant you powers to fight and cancel magic, but never again will you be able to use magic.]],
Drink this. We extract it from a very rare kind of drake. It will grant you powers to fight and cancel magic, but never again will you be able to use magic.%s]]):format(ogretext),
answers = {
{"Thank you. I shall not let magic triumph! #LIGHT_GREEN#[you drink the potion]", action=function(npc, player) player:setQuestStatus("antimagic", engine.Quest.COMPLETED) end},
}
......
......@@ -81,12 +81,20 @@ newChat{ id="testko",
}
}
local ogretext = ""
if player.descriptor and player.descriptor.subrace == "Ogre" then
ogretext = "\nWorry not, though, Ogre - we can replace your unclean runes with a newly-discovered mixture of infusions, eliminating your dependence on them. The process will feel... unpleasant, and will dramatically shorten your lifespan, but you will finally be free from the addictive grip of the arcane!\n"
if player.descriptor.subclass == "Oozemancer" then
ogretext = ogretext.."We'll also reinforce the infusions you've been granted to replace your runes - the newest mixture should give you about five years of your life that the initial mixture took from you.\n"
end
end
newChat{ id="testok",
text = [[Very well. Before you start, we will make sure no magic can help you:
text = ([[Very well. Before you start, we will make sure no magic can help you:
- You will not be able to use any spells or magical devices
- Any worn objects that are powered by the arcane will be unequipped
Are you ready, or do you wish to prepare first?]],
%s
Are you ready, or do you wish to prepare first?]]):format(ogretext),
answers = {
{"I am ready", jump="test", action=remove_magic},
{"I need to prepare."},
......
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