summaryrefslogtreecommitdiff
path: root/npc/001-1_Tulimshar
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
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')
-rw-r--r--npc/001-1_Tulimshar/_import.txt1
-rw-r--r--npc/001-1_Tulimshar/guide.txt8
-rw-r--r--npc/001-1_Tulimshar/rules.txt9
3 files changed, 7 insertions, 11 deletions
diff --git a/npc/001-1_Tulimshar/_import.txt b/npc/001-1_Tulimshar/_import.txt
index 33d106c4..b33bbee9 100644
--- a/npc/001-1_Tulimshar/_import.txt
+++ b/npc/001-1_Tulimshar/_import.txt
@@ -16,7 +16,6 @@ npc: npc/001-1_Tulimshar/merchant.txt
npc: npc/001-1_Tulimshar/monster_guide.txt
npc: npc/001-1_Tulimshar/nodrop.txt
npc: npc/001-1_Tulimshar/rewards_master.txt
-npc: npc/001-1_Tulimshar/rules.txt
npc: npc/001-1_Tulimshar/sandra.txt
npc: npc/001-1_Tulimshar/soul-menhir.txt
npc: npc/001-1_Tulimshar/trader.txt
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;
}
diff --git a/npc/001-1_Tulimshar/rules.txt b/npc/001-1_Tulimshar/rules.txt
deleted file mode 100644
index 1b58c12f..00000000
--- a/npc/001-1_Tulimshar/rules.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-//
-
-//001-1.gat,29,28,0 script #Rules 0,1,1,{
-001-1.gat,29,28,0 script #Rules 127,1,1,{
- if (TUT_var & 1 == 1) close;
- callfunc "GameRules";
- mes "Ian, the trainer, can help you get to know the game.";
- close;
-}