summaryrefslogtreecommitdiff
path: root/npc/001-1
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-27 19:06:59 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-27 19:06:59 +0300
commit7c6c2416bc152de0758d7441a373e260b40c4d5b (patch)
treeb992f72b272550240cac03938bea3d455ba47135 /npc/001-1
parentd7143f263c94bb70e67674d2243c765226e8fb12 (diff)
downloadserverdata-7c6c2416bc152de0758d7441a373e260b40c4d5b.tar.gz
serverdata-7c6c2416bc152de0758d7441a373e260b40c4d5b.tar.bz2
serverdata-7c6c2416bc152de0758d7441a373e260b40c4d5b.tar.xz
serverdata-7c6c2416bc152de0758d7441a373e260b40c4d5b.zip
Replace getnpcdir and setnpcdir with one or zero parameters to variable '.dir'.
Diffstat (limited to 'npc/001-1')
-rw-r--r--npc/001-1/beuss.txt4
-rw-r--r--npc/001-1/treeleaf.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/npc/001-1/beuss.txt b/npc/001-1/beuss.txt
index 404d28a8..a91c0045 100644
--- a/npc/001-1/beuss.txt
+++ b/npc/001-1/beuss.txt
@@ -7,7 +7,7 @@
001-1,45,52,0 script Beuss NPC_BEUSS,{
stopnpctimer;
initnpctimer;
- setnpcdir 4;
+ .dir = 4;
mesn;
mesq l("You are too weak, what is a piece of bone like you doing around here?");
@@ -17,7 +17,7 @@ L_Close:
close;
OnTimer10000:
- setnpcdir 2;
+ .dir = 2;
stopnpctimer;
end;
diff --git a/npc/001-1/treeleaf.txt b/npc/001-1/treeleaf.txt
index b8577496..dea3ce81 100644
--- a/npc/001-1/treeleaf.txt
+++ b/npc/001-1/treeleaf.txt
@@ -5,13 +5,13 @@
// Falling tree leaf
001-1,39,54,4 script #treeleaf0 NPC_TREE_LEAF,{
- setnpcdir 2;
+ .dir = 2;
stopnpctimer;
initnpctimer;
close;
OnTimer2800:
- setnpcdir 4;
+ .dir = 4;
stopnpctimer;
end;