summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicksha <Micksha@users.noreply.github.com>2017-08-18 21:54:30 -0400
committergumi <mekolat@users.noreply.github.com>2017-08-18 21:54:30 -0400
commitba4b586441b9a2ef996020bb0f2ddd2e8f09badf (patch)
treee097497a3325b1e2d85ac49825d0a2247fb1f4cf
parent610eb43624e23a831e2c5705af9b8b32b6730104 (diff)
downloadserverdata-ba4b586441b9a2ef996020bb0f2ddd2e8f09badf.tar.gz
serverdata-ba4b586441b9a2ef996020bb0f2ddd2e8f09badf.tar.bz2
serverdata-ba4b586441b9a2ef996020bb0f2ddd2e8f09badf.tar.xz
serverdata-ba4b586441b9a2ef996020bb0f2ddd2e8f09badf.zip
update manhole dialogue to allow enter the sewers
-rw-r--r--npc/001-1/manhole.txt32
1 files changed, 24 insertions, 8 deletions
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;