summaryrefslogtreecommitdiff
path: root/npc/001-1_Tulimshar/guide.txt
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2009-11-27 23:56:11 +0100
committerJared Adams <jaxad0127@gmail.com>2009-11-27 16:04:41 -0700
commit9ade21108f2cffaf0faac0c68885b6a70d3c07e3 (patch)
treeca8b15e8ea4a97113823968745e911ce5f0fa027 /npc/001-1_Tulimshar/guide.txt
parent424397aecafe239c03c7ed675a5ac4817efa58ad (diff)
downloadserverdata-9ade21108f2cffaf0faac0c68885b6a70d3c07e3.tar.gz
serverdata-9ade21108f2cffaf0faac0c68885b6a70d3c07e3.tar.bz2
serverdata-9ade21108f2cffaf0faac0c68885b6a70d3c07e3.tar.xz
serverdata-9ade21108f2cffaf0faac0c68885b6a70d3c07e3.zip
Fixing a bug where you could not talk to NPCs.
Problem: When you try to talk to some NPCs and these NPC don't speak to you, then after that you can't talk to any other NPC until the client is restarted. Solution: The responsibilities of the rules NPC are moved to Ian. The well and the tree are talking to everyone now.
Diffstat (limited to 'npc/001-1_Tulimshar/guide.txt')
-rw-r--r--npc/001-1_Tulimshar/guide.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/npc/001-1_Tulimshar/guide.txt b/npc/001-1_Tulimshar/guide.txt
index 16be310b..b7f999c7 100644
--- a/npc/001-1_Tulimshar/guide.txt
+++ b/npc/001-1_Tulimshar/guide.txt
@@ -1,6 +1,6 @@
//
-001-1.gat,33,27,0 script Ian 102,{
+001-1.gat,32,27,0 script Ian 102,4,4,{
if (TUT_var & 1 == 1 && TUT_var & 2 == 0 && BaseLevel >= 10) callsub S_Grad;
mes "[Ian the Guide]";
mes "\"Would you like to know about something?\"";
@@ -164,4 +164,10 @@ L_TooMany:
mes "\"I wanted to give you something, but you don't have room for it.\"";
next;
return;
+
+OnTouch:
+ if (TUT_var & 1 == 1) close;
+ callfunc "GameRules";
+ mes "Ian, the trainer, can help you get to know the game.";
+ close;
}