diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-10 07:55:27 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-10 07:55:27 -0300 |
commit | 20db898ad6a05ce2e0f6524c370fdbfbb073ae8a (patch) | |
tree | 86e7fb056891215bcc14794de400b57dae51f951 | |
parent | 0d3e6eb260d49ff131564062d3f76912edf026ed (diff) | |
download | serverdata-20db898ad6a05ce2e0f6524c370fdbfbb073ae8a.tar.gz serverdata-20db898ad6a05ce2e0f6524c370fdbfbb073ae8a.tar.bz2 serverdata-20db898ad6a05ce2e0f6524c370fdbfbb073ae8a.tar.xz serverdata-20db898ad6a05ce2e0f6524c370fdbfbb073ae8a.zip |
The conclusion of Henry's second quest
-rw-r--r-- | npc/001-3-2/henry.txt | 53 |
1 files changed, 52 insertions, 1 deletions
diff --git a/npc/001-3-2/henry.txt b/npc/001-3-2/henry.txt index 5132a003..dd043f59 100644 --- a/npc/001-3-2/henry.txt +++ b/npc/001-3-2/henry.txt @@ -162,7 +162,58 @@ function proposeSecondQuest { function reportSecondQuest { mesn; mesq l("Have you already did what I asked you to?"); - // getitem TreasureMap, 1; + next; + select + l("Not yet, but I'll get to it."), + l("What was I supposed to do, again?"), + l("Yes, the deed is done."); + mes ""; + switch (@menu) { + case 1: + break; + case 2: + speech + l("In the sewers, there is a passage to the Legion basement."), + l("I want to get in there, so please do me a favor, and repair the gate. Don't try to go inside yourself, you'll be caught."), + l("Also - don't ask me why I want this. Thieves doesn't make questions. You better remember this!"); + break; + case 3: + mesn; + mesq l("Great! I'll send a scout to check. I hope you didn't blew up everything by going there, you're not very discrete."); + next; + mes "..."; + next; + .@q2=getq2(ThiefQuests_Artis); + if (.@q2 != 2) { + mesn; + mesq l("Nope, it is still sealed tight. Go do your job if you want a reward."); + break; + } + mesn; + mesq l("Alright - This will be... good. Anyway, I should give you a reward."); + next; + mesn; + mesq l("Take this %s. There is something good on it; Just use a %s.", + getitemlink(TreasureMap), getitemlink(IronShovel)); + getitem TreasureMap, 1; + setq1 ThiefQuests_Artis, 6; + // Override the treasure location, if already existing + // 199,61 200,61 199,62 200,62 + .@m$="001-1"; + .@x=any(199, 200); + .@y=any(61,62); + + shovel_addquest(.@m$, .@x, .@y, "shovel_randomtreasure"); + ShovelQuests_AssignedMAP$=shovel_getcity(.@m$); + ShovelQuests_AssignedX=.@x; + ShovelQuests_AssignedY=.@y; + next; + mesn; + mesq l("I don't know how to get a shovel, though."); + next; + mesn; + mesq l("Remember: \"Use\" the map, and use the debugger (F10) or \"/where\" in chat to check your coordinates!"); + } return; } |