summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/000-2-0/doors.txt8
-rw-r--r--npc/000-2-2/doors.txt21
-rw-r--r--npc/000-2-3/nard.txt7
3 files changed, 31 insertions, 5 deletions
diff --git a/npc/000-2-0/doors.txt b/npc/000-2-0/doors.txt
index 089783cb..4290bf91 100644
--- a/npc/000-2-0/doors.txt
+++ b/npc/000-2-0/doors.txt
@@ -16,12 +16,12 @@
// 11 Registred to Julia.
// 12 Need to see Julia.
000-2-0.gat,20,27,0,1 script AreaNPC 0,0,0,{
+
OnTouch:
set @nard, getq(ShipQuests_Nard);
- if (@nard > 0) goto l_Warp;
+ if (@nard > 0 && countitem("JohanneKey") > 0) goto l_Key;
// if (@nard == 2) goto l_GotoNard;
// if (@nard == 3) goto l_End;
- close;
setcamnpc "Julia";
mesn "Julia";
@@ -34,7 +34,7 @@ OnTouch:
close;
-l_Warp:
+l_Key:
warp "000-1", 93, 100;
close;
@@ -55,6 +55,7 @@ l_End:
}
000-2-0.gat,32,27,0,1 script AreaNPC 0,0,0,{
+
OnTouch:
set @julia, getq(ShipQuests_Julia);
if (@julia == 1) goto l_Warp;
@@ -63,4 +64,5 @@ OnTouch:
l_Warp:
warp "000-2-3", 20, 27;
close;
+
}
diff --git a/npc/000-2-2/doors.txt b/npc/000-2-2/doors.txt
index 2f73cffe..8304f759 100644
--- a/npc/000-2-2/doors.txt
+++ b/npc/000-2-2/doors.txt
@@ -38,8 +38,29 @@ l_Warp:
OnTouch:
mesn "Narrator";
+ mes col(l("It seems that you need a key to open this door."), 9);
+ next;
+ mes col(l("What do you want to do?"), 9);
+ next;
+
+ menu
+ rif(countitem("JohanneKey") > 0, l("Use the key.")), l_Warp,
+ l("Break the door."), -,
+ l("Go away."), close;
+
+ mes "";
+ mesn "Narrator";
+ mes col(l("You hear a screaming sound, must be the creaking of the wood door..."), 9);
+
+ close;
+
+l_Warp:
+ mes "";
+ mesn "Narrator";
mes col(l("Wait, it seems someone is blocking the door from the other side!"), 9);
+ close;
+
}
000-2-2.gat,47,30,0,1 script RattosControl 32767,{
diff --git a/npc/000-2-3/nard.txt b/npc/000-2-3/nard.txt
index b0976d1a..530f2585 100644
--- a/npc/000-2-3/nard.txt
+++ b/npc/000-2-3/nard.txt
@@ -92,10 +92,13 @@ l_NeedContent:
next;
mesq l("Oh well. I'll also give you one of these hats from the box around you, but only after you complete your task!");
next;
- mesq l("Go outside and talk with Gugli, he'll tell you what we need.");
+ mesq l("I give you this key, it opens any doors on this ship.");
+ next;
+ mesq l("Now go outside and talk with Gugli, he'll tell you what we need.");
next;
setq ShipQuests_Nard, 1;
+ getitem "JohanneKey", 1;
close;
@@ -136,7 +139,7 @@ l_Done:
mesn;
mesq l("Hi @@.", strcharinfo(0));
next;
- mesq l("Elmo and Gugli reported me that you done the ccccccccccccccccccccccccccccccccccccccccccccc IIIIIIIIIIICCCCCCCCCCCCCCCCIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII.");
+ mesq l("Elmo and Gugli reported me that you done all of the task... BlaBla."); // Need to add different dialogue if Julia is safe or not.
next;
setq ShipQuests_Nard, 2;