summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
+}
+