summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-17 17:13:54 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-17 17:13:54 -0300
commit0f7b6075c82c005d454000b39b4c5185993f0011 (patch)
treef91b2be315fadcdaadd59802ef3dbe164895e66c
parent8ec68ccf577b20f203c91e7a9b0068162e28f22d (diff)
downloadserverdata-0f7b6075c82c005d454000b39b4c5185993f0011.tar.gz
serverdata-0f7b6075c82c005d454000b39b4c5185993f0011.tar.bz2
serverdata-0f7b6075c82c005d454000b39b4c5185993f0011.tar.xz
serverdata-0f7b6075c82c005d454000b39b4c5185993f0011.zip
Simple quest on Thorn, for no real reason, but you might do it anyway for completion.
Remember: Completing this quest affect the ferry fee!
-rw-r--r--db/quest_db.conf8
-rw-r--r--npc/014-4/thorn.txt29
-rw-r--r--npc/functions/util.txt8
3 files changed, 42 insertions, 3 deletions
diff --git a/db/quest_db.conf b/db/quest_db.conf
index 12086a0ae..2e40442f4 100644
--- a/db/quest_db.conf
+++ b/db/quest_db.conf
@@ -309,6 +309,14 @@ quest_db: (
Id: 104
Name: "HurnscaldQuest_Sagratha"
},
+{
+ Id: 105
+ Name: "HurnscaldQuest_Blossom"
+},
+{
+ Id: 106
+ Name: "HurnscaldQuest_Thorn"
+},
// ID 111 to 130: Nivalis Quests
{
diff --git a/npc/014-4/thorn.txt b/npc/014-4/thorn.txt
index 2b9846981..2547ddd88 100644
--- a/npc/014-4/thorn.txt
+++ b/npc/014-4/thorn.txt
@@ -22,7 +22,34 @@
goto L_SpringQuest;
L_Main:
- close;
+ next;
+ .@q=getq(HurnscaldQuest_Thorn);
+ if (.@q == 0) {
+ mesn;
+ mesq l("I'm actually half-wose. This means part of me is tree.");
+ next;
+ mesn;
+ mesq l("I can walk, I'm just... Trapped here. That's why I need someone to help me to cultivate my wose part!");
+ next;
+ mesn;
+ mesq l("Could you please bring me @@ @@ and @@ @@? I'll give you a bunch of herbs if you help me!", 12, getitemlink(Root), 35, getitemlink(Acorn));
+ next;
+ mesc l("Give him the materials he asked for?");
+ if (askyesno() == ASK_YES) {
+ inventoryplace ShadowHerb, 8, ArtichokeHerb, 12;
+ if (!transcheck(Root, 12, Acorn, 35))
+ close;
+ getitem ShadowHerb, 8;
+ getitem ArtichokeHerb, 12;
+ getexp 600, 120; // Reference: Level 20
+ mesn;
+ mesq l("Thanks for helping me out. I know this is nothing, but please accept these herbs I've collected.");
+ setq HurnscaldQuest_Thorn, 1;
+ }
+ }
+ closeclientdialog;
+ goodbye;
+ end;
L_OutOfSeason:
mesn;
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index d97a7c9b6..31789ee92 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -223,7 +223,7 @@ function script reputation {
- // Hurnscald Quests (9 points)
+ // Hurnscald Quests (11 points)
} else if (getarg(0) == "Hurns") {
// Alan Quest (+1 rep)
@@ -269,8 +269,12 @@ function script reputation {
if (getq(HurnscaldQuest_Lieutenant) >= 10)
.@nr=.@nr+1;
+ // Thorn Quest (+1 rep)
+ if (getq(HurnscaldQuest_Thorn) >= 11)
+ .@nr=.@nr+1;
+
// HURNSCALD Magical Forumula
- .@nr=.@nr*100/9;
+ .@nr=.@nr*100/10;