summaryrefslogtreecommitdiff
path: root/npc/000-2-1
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2015-12-27 23:24:48 +0100
committerReid <reidyaro@gmail.com>2015-12-27 23:24:48 +0100
commit54eaedc8a4e15711f6a5250450998a50db293910 (patch)
treeccdf1d7cfe375c1ca05f02144200281bf73083ae /npc/000-2-1
parentcb53997f2c383d374d4acd01ff5ea6f1675474c2 (diff)
downloadserverdata-54eaedc8a4e15711f6a5250450998a50db293910.tar.gz
serverdata-54eaedc8a4e15711f6a5250450998a50db293910.tar.bz2
serverdata-54eaedc8a4e15711f6a5250450998a50db293910.tar.xz
serverdata-54eaedc8a4e15711f6a5250450998a50db293910.zip
Add warp to 000-0-1 on the savepoint script on 000-2-1.
Diffstat (limited to 'npc/000-2-1')
-rw-r--r--npc/000-2-1/savepoint.txt19
1 files changed, 17 insertions, 2 deletions
diff --git a/npc/000-2-1/savepoint.txt b/npc/000-2-1/savepoint.txt
index 411ee215..e9ce1a34 100644
--- a/npc/000-2-1/savepoint.txt
+++ b/npc/000-2-1/savepoint.txt
@@ -22,8 +22,23 @@ OnInit:
end;
}
-000-2-1,50,38,0 script #name3 NPC_SAVE_POINT,{
- savepointparticle "000-2-1.gat", 50, 38;
+000-2-1,50,38,0 script #name3 NPC_FINAL_POINT,{
+ .@q_nard = getq(ShipQuests_Nard);
+
+ if(.@q_nard == 5)
+ {
+OnClick:
+ narrator 4,
+ l("You lie in the bed."),
+ l("Your head is suddently heavy, your eyes are closing..."),
+ l("You fell asleep.");
+
+ warp "000-0-1", 26, 28;
+ }
+ else
+ {
+ savepointparticle "000-2-1.gat", 50, 38;
+ }
close;
OnInit: