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

Arcane escorts can always be sent to zigur even without antimagic. After all...

Arcane escorts can always be sent to zigur even without antimagic. After all they ARE filthy magic users, they must burn. Everybody knows that!

git-svn-id: http://svn.net-core.org/repos/t-engine4@5617 51575b47-30f0-44d4-a5cc-537603b46e54
parent 151189a5
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,8 @@ newChat{ id="welcome",
else
if not npc.antimagic_ok then
newChat{ id="welcome",
text = text,
answers =
......@@ -59,6 +61,16 @@ newChat{ id="welcome",
orders = {escort_portal=true, escort_rest=true},
})
end},
{"#LIGHT_GREEN#[Pretend to help but when it is time you will use a technique to make the portal fizzle. @npcname@ will be sent to Zigur to be 'dealt with' properly.]#WHITE#\nLead on; I will protect you.", action=function(npc, player)
player:hasQuest(npc.quest_id).to_zigur = true
npc.ai_state.tactic_leash = 100
game.party:addMember(npc, {
control="order",
type="escort",
title="Escort",
orders = {escort_portal=true, escort_rest=true},
})
end},
{"Go away; I do not care for the weak.", action=function(npc, player)
game.player:registerEscorts("lost")
npc:disappear()
......@@ -69,6 +81,33 @@ newChat{ id="welcome",
},
}
else
newChat{ id="welcome",
text = text,
answers =
{
{"Lead on; I will protect you.", action=function(npc, player)
npc.ai_state.tactic_leash = 100
game.party:addMember(npc, {
control="order",
type="escort",
title="Escort",
orders = {escort_portal=true, escort_rest=true},
})
end},
{"Go away; I do not care for the weak.", action=function(npc, player)
game.player:registerEscorts("lost")
npc:disappear()
npc:removed()
player:hasQuest(npc.quest_id).abandoned = true
player:setQuestStatus(npc.quest_id, engine.Quest.FAILED)
end},
},
}
end
end
return "welcome"
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