diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-21 23:58:09 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-21 23:58:09 -0300 |
commit | 52e983adc2e6150d561a163c96bc2f24097ba4e1 (patch) | |
tree | 9f0af50ec8b30bcc2da1cf272ba16118a9abb8c9 | |
parent | 4b41a21fd62b77ae391c10980ebeb51778289378 (diff) | |
download | serverdata-52e983adc2e6150d561a163c96bc2f24097ba4e1.tar.gz serverdata-52e983adc2e6150d561a163c96bc2f24097ba4e1.tar.bz2 serverdata-52e983adc2e6150d561a163c96bc2f24097ba4e1.tar.xz serverdata-52e983adc2e6150d561a163c96bc2f24097ba4e1.zip |
Add Helena quest to quest db, sketches
-rw-r--r-- | db/quest_db.conf | 4 | ||||
-rw-r--r-- | npc/012-2/helena.txt | 29 |
2 files changed, 32 insertions, 1 deletions
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: |