summaryrefslogtreecommitdiff
path: root/npc/001-1/manhole.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/001-1/manhole.txt')
-rw-r--r--npc/001-1/manhole.txt56
1 files changed, 49 insertions, 7 deletions
diff --git a/npc/001-1/manhole.txt b/npc/001-1/manhole.txt
index 6637819d..856689a3 100644
--- a/npc/001-1/manhole.txt
+++ b/npc/001-1/manhole.txt
@@ -46,17 +46,37 @@ OnInit:
001-1,196,35,0 script #manhole2-001-1 NPC_NO_SPRITE,{
- if (getq(ArtisQuests_MonaDad) < 1) {
- end;
+ .@i=manhole_interact("001-3-0");
+ closeclientdialog();
+ if (.@i == -1) {
+ slide_or_warp("001-3-0", 196, 36);
+ } else if (.@i == TrainingArrow || .@i == WoodenBow) {
+ npctalk3 l("Mundane: Hey! Is someone there? Please, help, it's so dark down here!");
}
+ close;
- narrator(S_LAST_BLANK_LINE | S_LAST_NEXT,
- l("You hear some creeping and crawling sounds from the murkiness below."),
- l("..."),
- l("Do you want to enter in sewer?"));
+OnInit:
+ .sex = G_OTHER;
+ .distance = 1;
+ end;
+}
+
+001-1,146,123,0 script #manhole3-001-1 NPC_NO_SPRITE,{
+ .@i=manhole_interact("001-3-0");
closeclientdialog();
- if (askyesno() == 1) slide_or_warp("001-3-0", 196, 36);
+ if (.@i == -1) {
+ // Not a fan of calling strong players as weak, so take STR in account
+ // If you have enough STR, you get an Easter Egg about the engine :)
+ if (readparam(bStr) < 50) {
+ mesc l("The lid is sealed shut, and you are too weak to open it.");
+ } else {
+ mesc l("Even with your Hercules strength, this lid is hopelessly struck.");
+ }
+ } else if (.@i == TrainingArrow || .@i == WoodenBow) {
+ // This is the wrong lid for Mundane Quest
+ npctalk3 l("...");
+ }
close;
OnInit:
@@ -64,3 +84,25 @@ OnInit:
.distance = 1;
end;
}
+
+// This lid can only be used to leave
+001-1,86,131,0 script #manhole4-001-1 NPC_NO_SPRITE,{
+
+ .@i=manhole_interact("001-3-0");
+ closeclientdialog();
+ if (.@i == -1) {
+ mesc l("Strangely enough, this lid can only be open from inside.");
+ } else if (.@i == TrainingArrow || .@i == WoodenBow) {
+ // This is the wrong lid for Mundane Quest
+ npctalk3 l("...");
+ }
+ close;
+
+OnInit:
+ .sex = G_OTHER;
+ .distance = 1;
+ end;
+}
+
+// To quickly create more sewer mouths we can use:
+//001-1,86,131,0 duplicate(#manhole3-001-1) #manhole4-001-1 NPC_NO_SPRITE