summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-30 23:38:07 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-30 23:38:07 -0300
commitdde60d7b8c8c51a7f58aa4e0b54b66a49a0e4da7 (patch)
tree04fdf598e4f12eb3e93f95cfcc465b6d8e5b9cb0
parent005a5a6181ab2b4d4fbe8b318a7c38fee6554a79 (diff)
downloadserverdata-dde60d7b8c8c51a7f58aa4e0b54b66a49a0e4da7.tar.gz
serverdata-dde60d7b8c8c51a7f58aa4e0b54b66a49a0e4da7.tar.bz2
serverdata-dde60d7b8c8c51a7f58aa4e0b54b66a49a0e4da7.tar.xz
serverdata-dde60d7b8c8c51a7f58aa4e0b54b66a49a0e4da7.zip
Include Tulimshar's Sailors. I already warn you, there is almost no reward there.
-rw-r--r--db/quest_db.conf4
-rw-r--r--npc/003-1/sailors.txt92
2 files changed, 89 insertions, 7 deletions
diff --git a/db/quest_db.conf b/db/quest_db.conf
index 21bb7fe9f..14eca2cd4 100644
--- a/db/quest_db.conf
+++ b/db/quest_db.conf
@@ -172,6 +172,10 @@ quest_db: (
Id: 58
Name: "TulimsharQuest_Devoir"
},
+{
+ Id: 59
+ Name: "TulimsharQuest_Sailors"
+},
// ID 71 to 90: Halinarzo Quests
{
diff --git a/npc/003-1/sailors.txt b/npc/003-1/sailors.txt
index 7eebf7b33..9d6e92203 100644
--- a/npc/003-1/sailors.txt
+++ b/npc/003-1/sailors.txt
@@ -2,16 +2,94 @@
// Authors:
// Jesusalva
// Description:
-// TODO
-// CandorQuest_Sailors
-// 0: Not started
-// 1: Accepted
-// 2: Invite Elmo
-// 3: Completed
+// The major reward from this one is knowledge about secret passages on Tulimshar.
+// The quest pays what you spend, except for travel fees. The real reward here
+// is knowledge, the fishing rod you'll need to make anyway, 150 XP and 20 JExp.
003-1,112,93,0 script Sailors#003-1 NPC_ELVEN_MAN_TRADER_SITTING,{
+ .@q = getq(TulimsharQuest_Sailors);
+ if (.@q == 1)
+ goto L_Report;
+ if (.@q == 2)
+ goto L_Elmo;
+ if (.@q == 3)
+ goto L_Complete;
mesn;
- mesq l("Hey, pal.");
+ mesq lg("Hey, pal. This spot is very good, I can see the whole town from here.");
+ next;
+ mesn;
+ mesq lg("I am a trader from Nard's ship. We actually need supplies. Help us, and I'll help you.");
+ next;
+ mesn strcharinfo(0);
+ menu
+ l("What do you need?"), L_Quest,
+ l("Maybe another time."), -;
+ close;
+
+L_Quest:
+ mes "";
+ mesn;
+ mesq l("You're willing to help? Perfect. We need 3 @@, 4 @@ and 10 @@ for travel.", getitemlink(FishBox), getitemlink(CroconutBox), getitemlink(CottonCloth));
+ next;
+ mesn;
+ mesq l("Cotton Cloth is sold at Candor, Croconut Boxes can be bought at the market. Fish, however, is a little more tricky.");
+ next;
+ mesn;
+ mesq l("If you hug the wall, there's a secret passage somewhere there. Well, there are many secret passages at Tulimshar.");
+ next;
+ mesn;
+ mesq l("You will find a fisher, maybe he is having a good time and can sell you a few boxes. And remember to keep your eye open.");
+ setq TulimsharQuest_Sailors, 1;
+ next;
+ mesn;
+ mesq l("There are secret caves on this city. In fact, Tulimshar holds many misteries.");
+ close;
+
+L_Report:
+ mesn;
+ mes l("@@/3 @@", countitem(FishBox), getitemlink(FishBox));
+ mes l("@@/4 @@", countitem(CroconutBox), getitemlink(CroconutBox));
+ mes l("@@/10 @@", countitem(CottonCloth), getitemlink(CottonCloth));
+ if (countitem(FishBox) < 3 ||
+ countitem(CroconutBox) < 4 ||
+ countitem(CottonCloth) < 10)
+ close;
+ next;
+ select
+ l("[Deliver all goods.]"),
+ l("[Maybe another time.]");
+ mes "";
+ if (@menu == 2)
+ close;
+ if (countitem(FishBox) < 3 ||
+ countitem(CroconutBox) < 4 ||
+ countitem(CottonCloth) < 10) {
+ mesn;
+ mesq l("Liar. Where are the goods? Are you trying to cheat me?!");
+ next;
+ mesn;
+ mesq l("You know Jesus Saves hates cheaters, right? If Saulc didn't asked me to double-check stuff...");
+ next;
+ mesn;
+ mesq l("For short, you would have lost all your items, wouldn't get anything, and there would be no refunds.");
+ next;
+ mesn;
+ mesq l("That's just a friendly advise. That's how things works around here.");
+ close;
+ }
+ inventoryplace Dagger, 1;
+ delitem FishBox, 3; // 7.500 GP
+ delitem CroconutBox, 4; // 12.000 GP
+ delitem CottonCloth, 10; // 2.000 GP
+ getexp 150, 20;
+ Zeny=Zeny+21500;
+ getitem Dagger, 1; // Sell Price: around 300 GP
+ setq TulimsharQuest_Sailors, 2;
+ mesn;
+ mesq lg("Many thanks, your help has been invaluable. We're now capable to travel at ease.");
+ next;
+ mesn;
+ mesq l("Take care. Here, take this @@. You can sell it for some quick-spot cash, or use it as a weapon.", getitemlink(Dagger));
close;
OnInit: