summaryrefslogtreecommitdiff
path: root/npc/003-0-1/professor.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-15 17:29:28 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-15 17:29:28 -0300
commitb63200890976be07b1127b2f259bd90777be4ccb (patch)
tree3671fa2112043bb45a4f514b1d782077b974c6db /npc/003-0-1/professor.txt
parent14e4b85e119173989d0eb85bf596b7d0e7013ff7 (diff)
downloadserverdata-b63200890976be07b1127b2f259bd90777be4ccb.tar.gz
serverdata-b63200890976be07b1127b2f259bd90777be4ccb.tar.bz2
serverdata-b63200890976be07b1127b2f259bd90777be4ccb.tar.xz
serverdata-b63200890976be07b1127b2f259bd90777be4ccb.zip
Nothing better to do? Sit down, and listen to Professor's boring speech!
Diffstat (limited to 'npc/003-0-1/professor.txt')
-rw-r--r--npc/003-0-1/professor.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/npc/003-0-1/professor.txt b/npc/003-0-1/professor.txt
index d4c088d2f..bb2268e7a 100644
--- a/npc/003-0-1/professor.txt
+++ b/npc/003-0-1/professor.txt
@@ -7,6 +7,9 @@
003-0-1,35,29,0 script Professor NPC_PLAYER,{
mesn;
mesq l("I've mastered the art of speech and communication.");
+ next;
+ mesn;
+ mesq l("Sit on the rug in front of me and learn wisdom! Maybe you'll learn something this way.");
close;
OnInit:
@@ -20,6 +23,19 @@ OnInit:
.sex=G_MALE;
.distance=5;
+ initnpctimer;
+ end;
+
+OnTimer5000:
+ areatimer2("003-0-1", 29, 34, 41, 38, 10, .name$+"::OnSpeeching");
+ initnpctimer;
+ end;
+OnSpeeching:
+ // If you have been sitted for at least 3 seconds (max AFK 5 minutes)
+ if (is_between(3, 300, checkidle())) {
+ getexp 1+getskilllv(TMW2_SPEECH),1;
+ // dispbottom l("It is a boring speech...");
+ }
end;
}