From ba4b586441b9a2ef996020bb0f2ddd2e8f09badf Mon Sep 17 00:00:00 2001 From: Micksha Date: Fri, 18 Aug 2017 21:54:30 -0400 Subject: update manhole dialogue to allow enter the sewers --- npc/001-1/manhole.txt | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) (limited to 'npc') diff --git a/npc/001-1/manhole.txt b/npc/001-1/manhole.txt index 310565a1..f0717e04 100644 --- a/npc/001-1/manhole.txt +++ b/npc/001-1/manhole.txt @@ -11,12 +11,20 @@ 001-1,152,52,0 script #manhole1-001-1 NPC_NO_SPRITE,{ - if (getq(ArtisQuests_MonaDad) == 1) - { - narrator l("You hear some creeping and crawling sounds from the murkiness below."); + if (getq(ArtisQuests_MonaDad) < 1) { + end; } - close; + narrator(6, + l("You hear some creeping and crawling sounds from the murkiness below."), + l("..."), + l("Do you want to enter in sewer?")); + + if (askyesno() == 1) { + cwarp("001-3-0", 152, 56); + } + + bye; OnInit: .sex = G_OTHER; @@ -26,12 +34,20 @@ OnInit: 001-1,196,35,0 script #manhole2-001-1 NPC_NO_SPRITE,{ - if (getq(ArtisQuests_MonaDad) == 1) - { - narrator l("You hear some creeping and crawling sounds from the murkiness below."); + if (getq(ArtisQuests_MonaDad) < 1) { + end; + } + + narrator(6, + l("You hear some creeping and crawling sounds from the murkiness below."), + l("..."), + l("Do you want to enter in sewer?")); + + if (askyesno() == 1) { + cwarp("001-3-0", 196, 36); } - close; + bye; OnInit: .sex = G_OTHER; -- cgit v1.2.3-70-g09d2