summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/014-2-2/valia.txt6
-rw-r--r--npc/034-4/exit.txt2
2 files changed, 7 insertions, 1 deletions
diff --git a/npc/014-2-2/valia.txt b/npc/014-2-2/valia.txt
index abd8b7584..65701ae02 100644
--- a/npc/014-2-2/valia.txt
+++ b/npc/014-2-2/valia.txt
@@ -65,6 +65,7 @@ function script GeminiFail {
014-2-2,36,22,0 script Valia NPC_RED_WIZARD_F,{
GeminiCheck();
.@q = getq(HurnscaldQuest_Gemini);
+ .@t = getq3(HurnscaldQuest_Gemini);
mesn;
mesq l("Greetings, adventurer. I am Valia Gemini, owner of this abode.");
// If your level is too low (just reborn), it could break scripts
@@ -81,7 +82,9 @@ function script GeminiFail {
mesq l("I am sure you already fought him. And survived, too, apparently. Help her, and I will reward your efforts appropriately.");
next;
mesn;
- mesq l("You can bring up to 3 other friends with you, but they must be on the same party as you and you must be the party leader.");
+ mesq l("You can bring up to %d other friends with you, but they must be on the same party and map as you and you must be the party leader.", ($EVENT$ == "Gemini" ? 5 : 3));
+ if (gettimetick(2) < (.@t + 14400))
+ mesc l("The previous attempt will be resumed."), 1;
next;
select
l("I'm not interested, sorry."),
@@ -167,6 +170,7 @@ function script GeminiFail {
closeclientdialog;
compareandsetq HurnscaldQuest_Gemini, 0, 1;
+ setq3 HurnscaldQuest_Gemini, gettimetick(2);
// Create instance
.@p=getcharid(1);
diff --git a/npc/034-4/exit.txt b/npc/034-4/exit.txt
index 1f9730908..c695940a5 100644
--- a/npc/034-4/exit.txt
+++ b/npc/034-4/exit.txt
@@ -11,6 +11,8 @@ OnWumpus:
.@q = getq2(HurnscaldQuest_Gemini);
// TODO: Maybe exchange an Wumpus Egg for a Sunny Crystal or Mylarin Dust?
// Have a NPC do so only once, for the Savior set.
+ // FIXME: A way to exit, maybe a switch, or...?
+ // TODO: Once you exit, put the quest in cooldown for 4 hours as well.
if (.@q == 0 || .@q == 2 || (.@q > 5 && !(.@q % 3)))
getitem WumpusEgg, 1;
else