diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-07-28 22:04:43 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-07-28 22:04:43 -0300 |
commit | 3b2bb2b88cf428e3167067200f9918ded1d77ca8 (patch) | |
tree | 8fbc940f0f0562a9d8fe817237db988ff7697155 /npc | |
parent | 3c221076267ae3b6a8559bfa2047793e73a17e09 (diff) | |
download | serverdata-3b2bb2b88cf428e3167067200f9918ded1d77ca8.tar.gz serverdata-3b2bb2b88cf428e3167067200f9918ded1d77ca8.tar.bz2 serverdata-3b2bb2b88cf428e3167067200f9918ded1d77ca8.tar.xz serverdata-3b2bb2b88cf428e3167067200f9918ded1d77ca8.zip |
teleporthome() function where it is useful
Diffstat (limited to 'npc')
-rw-r--r-- | npc/000-1/exit.txt | 2 | ||||
-rw-r--r-- | npc/018-5/soul_menhir.txt | 2 | ||||
-rw-r--r-- | npc/020-7-1/oskari.txt | 2 | ||||
-rw-r--r-- | npc/020-7-1/peetu.txt | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/npc/000-1/exit.txt b/npc/000-1/exit.txt index e1a73bf9f..565e1cf38 100644 --- a/npc/000-1/exit.txt +++ b/npc/000-1/exit.txt @@ -22,7 +22,7 @@ OnTalkNearby: } //if (getsavepoint(0) != "000-1") warp getsavepoint(0), getsavepoint(1), getsavepoint(2); - if (getsavepoint(0) != "000-1") warp "Save", 0, 0; + if (getsavepoint(0) != "000-1") teleporthome(); if (getsavepoint(0) != "000-1") end; //savepoint "002-1", 53, 38; warp "002-1", 53, 38; diff --git a/npc/018-5/soul_menhir.txt b/npc/018-5/soul_menhir.txt index 201a85c75..37be422ca 100644 --- a/npc/018-5/soul_menhir.txt +++ b/npc/018-5/soul_menhir.txt @@ -12,7 +12,7 @@ mes ""; if (@menu == 2) { closeclientdialog; - warp "Save", 0, 0; + teleporthome(); close; } @map$ = "018-5"; diff --git a/npc/020-7-1/oskari.txt b/npc/020-7-1/oskari.txt index 1d17fd2db..652c2dec3 100644 --- a/npc/020-7-1/oskari.txt +++ b/npc/020-7-1/oskari.txt @@ -67,7 +67,7 @@ pComplete(); break; default: - warp "Save", 0, 0; + teleporthome(); die(); end; break; diff --git a/npc/020-7-1/peetu.txt b/npc/020-7-1/peetu.txt index 5e20d7e47..7a9387ed7 100644 --- a/npc/020-7-1/peetu.txt +++ b/npc/020-7-1/peetu.txt @@ -76,7 +76,7 @@ pComplete(); break; default: - warp "Save", 0, 0; + teleporthome(); die(); end; break; |