summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2009-09-18 17:28:42 -0400
committerChuck Miller <shadowmil@gmail.com>2009-09-18 18:02:44 -0400
commit66bd805bc67c8d0a5dbe1706160b5fedbddd8b5d (patch)
treecb402cf6382a214237bcfc22a986a27b08567ea7
parentbdc83ba6d744a563c83f295d5910ca6b2819ac1a (diff)
downloadserverdata-66bd805bc67c8d0a5dbe1706160b5fedbddd8b5d.tar.gz
serverdata-66bd805bc67c8d0a5dbe1706160b5fedbddd8b5d.tar.bz2
serverdata-66bd805bc67c8d0a5dbe1706160b5fedbddd8b5d.tar.xz
serverdata-66bd805bc67c8d0a5dbe1706160b5fedbddd8b5d.zip
Adds the entertainer, one who teachs the Emote skill
-rw-r--r--npc/001-1_Tulimshar/_import.txt1
-rw-r--r--npc/001-1_Tulimshar/entertainer.txt44
2 files changed, 45 insertions, 0 deletions
diff --git a/npc/001-1_Tulimshar/_import.txt b/npc/001-1_Tulimshar/_import.txt
index 6e189ffd..da2ef45e 100644
--- a/npc/001-1_Tulimshar/_import.txt
+++ b/npc/001-1_Tulimshar/_import.txt
@@ -8,6 +8,7 @@ npc: npc/001-1_Tulimshar/bleacher.txt
npc: npc/001-1_Tulimshar/children.txt
npc: npc/001-1_Tulimshar/constable.txt
npc: npc/001-1_Tulimshar/elanore.txt
+npc: npc/001-1_Tulimshar/entertainer.txt
npc: npc/001-1_Tulimshar/guards.txt
npc: npc/001-1_Tulimshar/guide.txt
npc: npc/001-1_Tulimshar/man.txt
diff --git a/npc/001-1_Tulimshar/entertainer.txt b/npc/001-1_Tulimshar/entertainer.txt
new file mode 100644
index 00000000..798ba534
--- /dev/null
+++ b/npc/001-1_Tulimshar/entertainer.txt
@@ -0,0 +1,44 @@
+// Emote NPC allows for players to learn the emote skill
+
+001-1.gat,30,45,0 script Entertainer 165,{
+ set @EMOTE_SKILL, 1;
+ if (getskilllv(@EMOTE_SKILL) > 0) goto L_Has;
+
+ mes "[Entertainer]";
+ mes "\"Yes how can I help you?\"";
+ menu
+ "What are those emotions above your head?", L_Learn,
+ "Nothing I guess", -;
+ close;
+
+L_Learn:
+ mes "[Entertainer]";
+ mes "\"They are called emotes, I use them to express how I am feeling";
+ mes "I can teach you to do them too\"";
+ menu
+ "Ok sure", L_Learn2,
+ "Why would I need to that", -;
+ close;
+
+L_Learn2:
+ setskill @EMOTE_SKILL, 1;
+ mes "[Entertainer]";
+ mes "\"All you have to do is press alt and a number";
+ mes "The number determines what emotion will be showned";
+ mes "Some clients will also show a emote shortcut-bar with the F12 button\"";
+ close;
+
+L_Has:
+ mes "[Entertainer]";
+ mes "\"The entertainment life is a hard life...\" *sigh*";
+ close;
+
+
+OnTimer3000:
+ emotion rand(0,11);
+ setnpctimer 0;
+
+OnInit:
+ initnpctimer;
+
+}