summaryrefslogtreecommitdiff
path: root/npc/002-3
diff options
context:
space:
mode:
Diffstat (limited to 'npc/002-3')
-rw-r--r--npc/002-3/elmo.txt16
-rw-r--r--npc/002-3/nard.txt1
2 files changed, 17 insertions, 0 deletions
diff --git a/npc/002-3/elmo.txt b/npc/002-3/elmo.txt
index 20b00dfaf..802d00046 100644
--- a/npc/002-3/elmo.txt
+++ b/npc/002-3/elmo.txt
@@ -4,8 +4,10 @@
// Description:
// Elmo's second dialog. He is Nard's deputy and second-in-command.
// Elmo was created in Evol by Qwerty Dragon and Reid
+// TODO: allows smart noobs (<15) get EXP Bonus (20%)
002-3,32,24,0 script Elmo NPC_ELMO,{
+ function ExpBoost;
showavatar NPC_ELMO; // this is handled by avatars.xml
if (getq(ShipQuests_Julia) < 3) goto L_NotYet;
@@ -28,6 +30,8 @@ L_NotYet:
close;
L_Candor:
+ if (BaseLevel < 15)
+ ExpBoost();
mesn;
if (getq(General_Narrator) < 1) mes l("\"Hey, have you already got the money necessary for the travel?");
if (getq(General_Narrator) < 1) mes l("If you haven't, maybe there are a few things you can do besides selling items.\"");
@@ -125,6 +129,18 @@ L_Party:
mesq l("Alright, I'll show up later. Thanks for calling me. Here's 1000 GP for your efforts."); // With this, the final cost is 50 GP
close;
+function ExpBoost {
+ mesn;
+ mesq l("Hey there, @@! I see you are still a noob!", strcharinfo(0));
+ next;
+ mesn;
+ mesq l("Well, I'll give you 15 minutes of EXP RATE UP! How cool is that? Enjoy!");
+ next;
+ sc_end SC_OVERLAPEXPUP;
+ sc_start SC_OVERLAPEXPUP, 900000, 20;
+ return;
+}
+
OnInit:
.sex = G_MALE;
.distance = 5;
diff --git a/npc/002-3/nard.txt b/npc/002-3/nard.txt
index a72e9223c..96dd039d0 100644
--- a/npc/002-3/nard.txt
+++ b/npc/002-3/nard.txt
@@ -55,6 +55,7 @@ L_MenuQuest:
setcamnpc "Elmo";
mesn l("Elmo");
mesq l("I, Elmo, captain's deputy, will help you to make the maximum possible money in Candor!");
+ mesc l("Talk to Elmo to get an EXP UP Boost until level 15!");
next;
showavatar NPC_NARD;
mesn;