summaryrefslogtreecommitdiff
path: root/npc/001-7/homunculus.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/001-7/homunculus.txt')
-rw-r--r--npc/001-7/homunculus.txt25
1 files changed, 21 insertions, 4 deletions
diff --git a/npc/001-7/homunculus.txt b/npc/001-7/homunculus.txt
index 830d6ecf6..3961a29ed 100644
--- a/npc/001-7/homunculus.txt
+++ b/npc/001-7/homunculus.txt
@@ -39,15 +39,32 @@ OnTouch:
percentheal -100, -100;
return false;
}
- if (.@q < 15) {
- dispbottom l("It seems to be sealed.");
- end;
+ mesn l("Magically Sealed Gate");
+ mesc l("The door is sealed. The riddle says: “I drink, I become, I am. Don't say my name, but say why you know me. For, I am the best in the world.”");
+ if (!(.@q & 1)) {
+ mesc l("You have no idea what that means."), 1;
+ close;
+ } else {
+ mesc l("You know the answer can only be @@.", getitemlink(Coffee)), 3;
+ }
+ next;
+ mesn l("Magically Sealed Gate");
+ if (!(.@q & 256)) {
+ mesc l("Even after breaking the first layer, a second layer keeps active. The first layer gets back to work shortly after. What have I missed or forgotten to do?"), 1;
+ close;
+ } else {
+ if (.@q != 511)
+ Exception("Invalid quest state: "+.@q, RB_DEFAULT|RB_SPEECH|RB_ISFATAL);
+ mesc l("Are you sure you want to proceed? You CANNOT COME BACK!"), 1;
+ if (askyesno() == ASK_NO)
+ close;
}
+ closeclientdialog;
.@mapn$="023-3-1";
+ setq1 FrostiaQuest_Homunculus, 2;
warp .@mapn$, any(45,46), 79;
end;
}
-// Okay, we're done with basic warps
001-7,50,112,0 script Abandoned Fountain#MKH NPC_NO_SPRITE,{
.@q=getq2(FrostiaQuest_Homunculus);