summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-25 12:12:04 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-25 12:12:04 -0300
commit4c3c83cf5678145a4ebb35fd9f0d0aa465b5a0a2 (patch)
tree22e36029b3abb08e979bd00ebdb2004ec08ad97d /npc
parent65037917d12f37c28ad49f1407feea2b4178978b (diff)
downloadserverdata-4c3c83cf5678145a4ebb35fd9f0d0aa465b5a0a2.tar.gz
serverdata-4c3c83cf5678145a4ebb35fd9f0d0aa465b5a0a2.tar.bz2
serverdata-4c3c83cf5678145a4ebb35fd9f0d0aa465b5a0a2.tar.xz
serverdata-4c3c83cf5678145a4ebb35fd9f0d0aa465b5a0a2.zip
Draft
Diffstat (limited to 'npc')
-rw-r--r--npc/003-9/recepcionist.txt12
-rw-r--r--npc/003-9/scripted.txt8
2 files changed, 20 insertions, 0 deletions
diff --git a/npc/003-9/recepcionist.txt b/npc/003-9/recepcionist.txt
index 05da2a24b..ac6c62e5e 100644
--- a/npc/003-9/recepcionist.txt
+++ b/npc/003-9/recepcionist.txt
@@ -31,12 +31,24 @@
.@buff=(is_night() ? 15 : 10);
SC_Bonus(900, INCMHPRATE, .@buff, .@buff); // FIXME: We don't want stacking
closeclientdialog;
+ warp "003-9", 36, 47;
+ dispbottom l("You feel refreshed!");
}
close;
L_Cutscene:
mesc l("continues"), 1;
close;
+ .@mapn$="tinn@"+getcharid(0);
+ .@inst = instance_create("Tulim Inn "+getcharid(0), getcharid(3), IOT_CHAR);
+ instance_attachmap("003-9", .@inst, false, .@mapn$);
+ // Instance lasts 6 minutes
+ instance_set_timeout(360, 360, .@inst);
+ instance_init(.@inst);
+ warp .@man$, 36, 47;
+ setpcblock(255, true);
+ addtimer 1000, "#TulimInnStory::OnEvent1";
+ close;
OnInit:
.sex = G_FEMALE;
diff --git a/npc/003-9/scripted.txt b/npc/003-9/scripted.txt
index 3e5f6f970..673beeafe 100644
--- a/npc/003-9/scripted.txt
+++ b/npc/003-9/scripted.txt
@@ -14,3 +14,11 @@ OnInit:
end;
}
+003-9,0,0,0 script #TulimInnStory NPC_HIDDEN,{
+ end;
+
+OnEvent1:
+ setpcblock(255, false);
+ end;
+}
+