summaryrefslogtreecommitdiff
path: root/world/map/npc/003-4/ashley.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/003-4/ashley.txt')
-rw-r--r--world/map/npc/003-4/ashley.txt61
1 files changed, 61 insertions, 0 deletions
diff --git a/world/map/npc/003-4/ashley.txt b/world/map/npc/003-4/ashley.txt
new file mode 100644
index 00000000..48ad10c9
--- /dev/null
+++ b/world/map/npc/003-4/ashley.txt
@@ -0,0 +1,61 @@
+003-4,35,25,0|script|Ashley|139
+{
+ mes "[Ashley]";
+ mes "\"Ah, hello. Your smell is different, you seem to have come from a different time.";
+ mes "Perhaps you have the rare item I'm looking for?\"";
+ menu
+ "Sure!",L_Next,
+ "Sorry, I'm busy.",L_Close;
+
+L_Next:
+ mes "She smiles mischievously.";
+ mes "[Ashley]";
+ mes "\"Oho, I need an item which doesn't exists at this time... It is called Mylarin Dust.\"";
+ next;
+ mes "[Ashley]";
+ mes "Grinning intensifies";
+ mes "\"I'll even give you an old weapon as a reward.\"";
+ next;
+ mes "[Ashley]";
+ mes "\"So, do you have it?\"";
+ menu
+ "Yeah, here is it.",L_Next1,
+ "Not yet.",L_Close;
+
+L_Next1:
+ if (countitem("MylarinDust") < 1)
+ goto L_NoMylarin;
+
+ getinventorylist;
+ if (@inventorylist_count == 100)
+ goto L_FullInv;
+
+ delitem "MylarinDust", 1;
+ getexp 2000, 0;
+ getitem "SandCutter", 1;
+ mes "[Ashley]";
+ mes "Grinning widely";
+ mes "\"Thanks, mortal. This will help me a bit...\"";
+ next;
+ mes "[Ashley]";
+ mes "\"And if you have more Mylarin Dust with you, I will not hesitate to give you another old weapon as a reward.\"";
+ goto L_Close;
+
+L_NoMylarin:
+ mes "[Ashley]";
+ mes "She fakes smiles at you";
+ mes "\"Oh, did you said you wanted me to play with you?\"";
+ next;
+ mes "[Ashley]";
+ mes "\"While I would love to play... I still have to put a prank on Cupid, so you'll have to wait your turn.\"";
+ goto L_Close;
+
+L_FullInv:
+ mes "[Ashley]";
+ mes "\"You're carrying so many things that I feel the urge of stomping you.\"";
+ goto L_Close;
+
+L_Close:
+ set @inventorylist_count, 0;
+ close;
+}