From 4c3c83cf5678145a4ebb35fd9f0d0aa465b5a0a2 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 25 Feb 2020 12:12:04 -0300 Subject: Draft --- npc/003-9/recepcionist.txt | 12 ++++++++++++ npc/003-9/scripted.txt | 8 ++++++++ 2 files changed, 20 insertions(+) (limited to 'npc') 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; +} + -- cgit v1.2.3-60-g2f50