summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/003-4/_import.txt1
-rw-r--r--world/map/npc/003-4/ashley.txt61
-rw-r--r--world/map/npc/functions/mob_points.txt17
3 files changed, 78 insertions, 1 deletions
diff --git a/world/map/npc/003-4/_import.txt b/world/map/npc/003-4/_import.txt
index 77ddeb5a..2199a333 100644
--- a/world/map/npc/003-4/_import.txt
+++ b/world/map/npc/003-4/_import.txt
@@ -4,5 +4,6 @@ map: 003-4
npc: npc/003-4/_mobs.txt
npc: npc/003-4/_nodes.txt
npc: npc/003-4/_warps.txt
+npc: npc/003-4/ashley.txt
npc: npc/003-4/mapflags.txt
npc: npc/003-4/time-traveler.txt
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;
+}
diff --git a/world/map/npc/functions/mob_points.txt b/world/map/npc/functions/mob_points.txt
index 72b5ac23..e60b0588 100644
--- a/world/map/npc/functions/mob_points.txt
+++ b/world/map/npc/functions/mob_points.txt
@@ -135,9 +135,24 @@ function|script|MobPoints
// -o11c
; // END
- if (MPQUEST == 1)
+ setarray @points_extended,
+ 100, // 1130 Moonshroom
+ 20, // 1131 ManaBug
+ 80, // 1132 LavaSlime
+ 80, // 1133 Anne
+ 200, // 1134 SUSAN
+ 80, // 1135 LovelyMaggot
+ 10, // 1136 LesserGhost
+ 500, // 1137 Tormenta
+ 200 // 1138 ManaGuardian
+ ;
+
+ if ((MPQUEST == 1) && (@mobID < 1130))
set Mobpt, Mobpt + @points[@mobID - 1002];
+ if ((MPQUEST == 1) && (@mobID > 1129))
+ set Mobpt, Mobpt + @points_extended[@mobID - 1130];
+
callfunc "ValonCount";
if (((QL_VALON >= 2) && (QL_VALON < 6)) && (@mobID == $@ValonMob[@valon_mob]))
goto L_ValonMobKill;