summaryrefslogtreecommitdiff
path: root/npc/002-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-04-26 10:19:45 -0300
committerJesusaves <cpntb1@ymail.com>2019-04-26 10:19:45 -0300
commita3dfb82ee4f07c80885ceb3adf00011d9be3193f (patch)
tree92f7d70635846fd0f53a44b6c6cae2cc25e968bc /npc/002-3
parent75a0d78b79289f157ae89a9f27e8fc2f7658cba4 (diff)
downloadserverdata-a3dfb82ee4f07c80885ceb3adf00011d9be3193f.tar.gz
serverdata-a3dfb82ee4f07c80885ceb3adf00011d9be3193f.tar.bz2
serverdata-a3dfb82ee4f07c80885ceb3adf00011d9be3193f.tar.xz
serverdata-a3dfb82ee4f07c80885ceb3adf00011d9be3193f.zip
New players (up to level 15) may take an UNLIMITED personal 20% EXP UP boost.
Of course, once they get level 15, they won't be able to call for the EXP UP anymore... This will allow new players to complete Candor even quicker! :3
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;