summaryrefslogtreecommitdiff
path: root/npc/003-0-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-0-1')
-rw-r--r--npc/003-0-1/professor.txt11
-rw-r--r--npc/003-0-1/researcher.txt17
2 files changed, 26 insertions, 2 deletions
diff --git a/npc/003-0-1/professor.txt b/npc/003-0-1/professor.txt
index bb2268e7a..4b5a8be46 100644
--- a/npc/003-0-1/professor.txt
+++ b/npc/003-0-1/professor.txt
@@ -35,6 +35,17 @@ OnSpeeching:
if (is_between(3, 300, checkidle())) {
getexp 1+getskilllv(TMW2_SPEECH),1;
// dispbottom l("It is a boring speech...");
+
+ // If you are learning TMW2_READANCIENTLANGUAGES
+ if (ANCIENTLANGUAGEBOUNCER) {
+ ANCIENTLANGUAGEBOUNCER-=1;
+ if (ANCIENTLANGUAGEBOUNCER == 1) {
+ ANCIENTLANGUAGEBOUNCER=0;
+ skill TMW2_ANCIENTLANGUAGES, 1, 0;
+ dispbottom l("It was a boring speech, but you have learned ancient languages.");
+ }
+ }
+
}
end;
}
diff --git a/npc/003-0-1/researcher.txt b/npc/003-0-1/researcher.txt
index 1b683f9f5..24e073ddf 100644
--- a/npc/003-0-1/researcher.txt
+++ b/npc/003-0-1/researcher.txt
@@ -13,7 +13,7 @@
next;
select
l("I want you to decrypt something"),
- l("I want to learn reading ancient languages"),
+ rif(!getskilllv(TMW2_ANCIENTLANGUAGES) && !ANCIENTLANGUAGEBOUNCER, l("I want to learn reading ancient languages")),
l("Nothing, sorry.");
switch (@menu) {
case 1:
@@ -56,6 +56,11 @@
}
break;
case 2:
+ if (Zeny < .learn) {
+ mesc l("You don't have enough GP."), 1;
+ close;
+ }
+
mesn;
mesq l("Wait, it is not so simple as giving me money.");
next;
@@ -63,7 +68,15 @@
mesq l("What do you think learning is, magic?!");
next;
mesn;
- mesq l("Go away. Maybe another time.");
+ mesq l("What do you need to learn something besides money for tuitions fee? Time and Dedication.");
+ next;
+ Zeny-=.learn;
+ ANCIENTLANGUAGEBOUNCER=61;
+ mesn;
+ mesq l("Do you see the professor on the next room? Learn to his boring speech for A WHOLE MINUTE. There are the materials for the class.");
+ next;
+ mesn;
+ mesq l("If you pay attention, you'll learn the skill.");
break;
}
close;