summaryrefslogtreecommitdiff
path: root/npc/003-0-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-15 17:49:55 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-15 17:49:55 -0300
commitda29bf8f67035c13e163cb3e548dffe07dff53c0 (patch)
treef6914aca9cab0374e47306ddee98127f7d09ad86 /npc/003-0-1
parent5cf34fcb5f3ed3bb5515106cb53d728a7893535d (diff)
downloadserverdata-da29bf8f67035c13e163cb3e548dffe07dff53c0.tar.gz
serverdata-da29bf8f67035c13e163cb3e548dffe07dff53c0.tar.bz2
serverdata-da29bf8f67035c13e163cb3e548dffe07dff53c0.tar.xz
serverdata-da29bf8f67035c13e163cb3e548dffe07dff53c0.zip
You can now learn Ancient Languages :>
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;