summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/000-2-3.wlkbin2760 -> 2760 bytes
-rw-r--r--db/const.txt2
-rw-r--r--npc/000-2-3/nard.txt36
3 files changed, 38 insertions, 0 deletions
diff --git a/data/000-2-3.wlk b/data/000-2-3.wlk
index c88c4966..17b127e2 100644
--- a/data/000-2-3.wlk
+++ b/data/000-2-3.wlk
Binary files differ
diff --git a/db/const.txt b/db/const.txt
index 3d952579..62c23146 100644
--- a/db/const.txt
+++ b/db/const.txt
@@ -221,3 +221,5 @@ ShipQuests_Knife 10
ShipQuests_ArpanMoney 11
// 1
ShipQuests_Door 12
+// 4
+ShipQuests_Nardbox 1
diff --git a/npc/000-2-3/nard.txt b/npc/000-2-3/nard.txt
index 799c2624..c9ac51e4 100644
--- a/npc/000-2-3/nard.txt
+++ b/npc/000-2-3/nard.txt
@@ -51,3 +51,39 @@ l_Ok:
close;
}
+
+000-2-3.gat,25,24,0 script Box 102,{
+
+ set @q, geta2(ShipQuests, ShipQuests_Nardbox);
+
+ mesn "Narrator";
+ mes col(l("Some Bandanas and Sailor Hats are inside this box."), 9);
+ next;
+ mes col(l("What do you wish to do?"), 9);
+ next;
+
+ menu
+ l("Take a Bandana"), -,
+ l("Nothing"), L_Close;
+
+ if (@q == 1) goto l_Give;
+ if (@q > 1) goto l_Already;
+
+l_Give:
+ mes "";
+ mesn "Nard";
+ mesq l("Congrats!");
+ mesn "Nard";
+ mesq l("You are now part of the crew! Thanks again for your help.");
+
+ seta2 ShipQuests, ShipQuests_Nardbox, 2;
+ getitem "Bandana", 1;
+
+l_Close:
+ close;
+
+l_Already:
+ mesn "Nard";
+ mesq l("You already took a Bandana, put this one back please.");
+ close;
+} \ No newline at end of file