diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-17 17:24:31 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-17 17:24:31 -0300 |
commit | 59180c94e7f5859fc5b5b60d678030d30c1fb7fd (patch) | |
tree | 625de5196c071fdb4506c8ddc669986e722b1f39 /npc | |
parent | 0f7b6075c82c005d454000b39b4c5185993f0011 (diff) | |
download | serverdata-59180c94e7f5859fc5b5b60d678030d30c1fb7fd.tar.gz serverdata-59180c94e7f5859fc5b5b60d678030d30c1fb7fd.tar.bz2 serverdata-59180c94e7f5859fc5b5b60d678030d30c1fb7fd.tar.xz serverdata-59180c94e7f5859fc5b5b60d678030d30c1fb7fd.zip |
Fix bugs, and add Blossom Quest for Enchanted Herb Bag.
Even sounds silly given how bad Thorn is rewarding you.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/014-4/thorn.txt | 1 | ||||
-rw-r--r-- | npc/014-5/blossom.txt | 31 | ||||
-rw-r--r-- | npc/functions/util.txt | 8 |
3 files changed, 37 insertions, 3 deletions
diff --git a/npc/014-4/thorn.txt b/npc/014-4/thorn.txt index 2547ddd88..e14b13956 100644 --- a/npc/014-4/thorn.txt +++ b/npc/014-4/thorn.txt @@ -45,6 +45,7 @@ L_Main: 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; + next; } } closeclientdialog; diff --git a/npc/014-5/blossom.txt b/npc/014-5/blossom.txt index b8bf502b3..e5a359cf0 100644 --- a/npc/014-5/blossom.txt +++ b/npc/014-5/blossom.txt @@ -19,7 +19,36 @@ goto L_SpringQuest; L_Main: - close; + next; + .@q=getq(HurnscaldQuest_Blossom); + if (.@q == 0) { + mesn; + mesq l("Anyway, I got this really nice @@ from Audsbel. He said I could collect herbs more efficiently with it.", getitemlink(EnchantedHerbBag)); + next; + mesn; + mesq l("I am willing to give it to you, if help me out. I promise it won't be a bother, and it'll really be useful for you, I swear."); + next; + mesn; + mesq l("I would like @@ @@, @@ @@ and @@ @@!", 30, getitemlink(HalfEggshell), 7, getitemlink(RedApple), 1, getitemlink(Orange)); + mesc l("@@ drolls without realizing.", .name$); + next; + mesc l("Give her the materials she asked for?"); + if (askyesno() == ASK_YES) { + inventoryplace EnchantedHerbBag, 1; + if (!transcheck(HalfEggshell, 30, RedApple, 7, Orange, 1)) + close; + getitem HalfEggshell, 1; + getexp 600, 120; // Reference: Level 20 + mesn; + mesq l("Thanks for helping me out! Here, take this bag. Now if you excuse me..."); + mesc l("*drolls*"); + setq HurnscaldQuest_Blossom, 1; + next; + } + } + closeclientdialog; + goodbye; + end; L_OutOfSeason: mesn; diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 31789ee92..7a47a8cae 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -270,11 +270,15 @@ function script reputation { .@nr=.@nr+1; // Thorn Quest (+1 rep) - if (getq(HurnscaldQuest_Thorn) >= 11) + if (getq(HurnscaldQuest_Thorn) >= 1) + .@nr=.@nr+1; + + // Blossom Quest (+1 rep) + if (getq(HurnscaldQuest_Blossom) >= 1) .@nr=.@nr+1; // HURNSCALD Magical Forumula - .@nr=.@nr*100/10; + .@nr=.@nr*100/11; |