From 52e983adc2e6150d561a163c96bc2f24097ba4e1 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 21 Jun 2018 23:58:09 -0300 Subject: Add Helena quest to quest db, sketches --- db/quest_db.conf | 4 ++++ npc/012-2/helena.txt | 29 ++++++++++++++++++++++++++++- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/db/quest_db.conf b/db/quest_db.conf index c0aad7a2d..a15155597 100644 --- a/db/quest_db.conf +++ b/db/quest_db.conf @@ -224,6 +224,10 @@ quest_db: ( Id: 96 Name: "HurnscaldQuest_Arkim" }, +{ + Id: 97 + Name: "HurnscaldQuest_Bandits" +}, // ID 111 to 130: Nivalis Quests // ID 131 to 150: Frostia Quests diff --git a/npc/012-2/helena.txt b/npc/012-2/helena.txt index 6edce25ba..5116ddbdf 100644 --- a/npc/012-2/helena.txt +++ b/npc/012-2/helena.txt @@ -5,12 +5,20 @@ // Lena 012-2,47,40,0 script Helena NPC_FEMALE,{ + .@q=getq(HurnscaldQuest_Bandits); + if (BaseLevel < 40) goto L_TooWeak; + if (.@q == 1) goto L_Return; + goto L_Start; +L_TooWeak; mesn; mesq lg("Hello, madam!", "Hello, sir!"); + next; + mesn; + mesq l("Ah, we have serious problems of robbery. I need someone really strong to help me, and you don't qualify."); close; -L_Main: +L_Start: mesn; mesq l("Bandits are a huge threat to Hurnscald. We're just a small farming town, and they're countless."); next; @@ -28,6 +36,25 @@ L_Main: next; mesn; mesq l("I will reward whoever kills the current bandit leader, of course."); + select + l("I would gladly aid you to get rid of that scourge."), + l("Sorry, I forgot my courage on my other set of pants."); + mes ""; + if (@menu == 2) + close; + setq HurnscaldQuest_Bandits, 1; + mesn; + mesq l("Wonderful! So, how about a warm up?"); + next; + // 8% drop. 10 / 8% = avg. 125 bandits to kill + // And for once, I won't require these bandits to be from Hurnscald Bandit Cave. + mesn; + mesq l("Bring me 10 @@. I'll pay you some money for that, of course.", getitemlink(BanditHood)); + close; + +L_Return; + mesn; + mesq l("Ah, @@! I'm busy now, can we talk again later?", strcharinfo(0)); close; OnInit: -- cgit v1.2.3-70-g09d2