summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-04-28 13:16:55 -0300
committerJesusaves <cpntb1@ymail.com>2022-04-28 13:16:55 -0300
commitea0520571eaf0a5dcfa62889656e2ee747407a49 (patch)
treece3730448e752a5283e44bc63aa8e27577401b7f
parent5e0ff0cc3c030251ffbddb8ce648058006b16f4c (diff)
downloadserverdata-ea0520571eaf0a5dcfa62889656e2ee747407a49.tar.gz
serverdata-ea0520571eaf0a5dcfa62889656e2ee747407a49.tar.bz2
serverdata-ea0520571eaf0a5dcfa62889656e2ee747407a49.tar.xz
serverdata-ea0520571eaf0a5dcfa62889656e2ee747407a49.zip
Gemini Sisters Part I (Forest) done
-rw-r--r--npc/014-2-2/valia.txt13
-rw-r--r--npc/034-1/gemini.txt39
2 files changed, 47 insertions, 5 deletions
diff --git a/npc/014-2-2/valia.txt b/npc/014-2-2/valia.txt
index 1f42e6635..2a66433b3 100644
--- a/npc/014-2-2/valia.txt
+++ b/npc/014-2-2/valia.txt
@@ -2,7 +2,7 @@
// Authors:
// Jesusalva
// Description:
-// Gemini Sisters Quest - Valia Gemini
+// Gemini Sisters Quest - Valia Gemini. The quest can be resumed within 4 hours.
034-1 mapflag zone MMO
034-2 mapflag zone MMO
@@ -37,6 +37,9 @@ function script GeminiKill {
break;
case 3: // Has runestone
break;
+ case 4: // Desert unlocked, but no clue on what to do
+ break;
+ // Forest -> Desert -> Bandit Cave -> Island -> Fake showdown -> Storage -> Showdown -> Chest, Lore and Exit -> Wumpus' Trap -> End
}
return;
}
@@ -172,6 +175,7 @@ OnCoreInit:
if (!'STATUS)
'STATUS = 1;
OnCore:
+ if (!compare(getmap(), "val")) end;
.@p = getcharid(1);
// Always true on first interaction
// This handles new stages for person
@@ -187,7 +191,12 @@ OnCore:
break;
case 2: // Looking for a runestone
break;
- case 3: // Has runestone
+ case 3: // Runestone was found
+ getexp 8132, 657;
+ break;
+ case 4: // Desert unlocked, but no clue on what to do
+ dispbottom l("You hear a noise from distance.");
+ // Spawn monsters
break;
}
}
diff --git a/npc/034-1/gemini.txt b/npc/034-1/gemini.txt
index b45f4282a..7e978fbc1 100644
--- a/npc/034-1/gemini.txt
+++ b/npc/034-1/gemini.txt
@@ -4,10 +4,30 @@
// Description:
// Gemini Sisters Quest - Forest & Desert Stage
-034-1,67,48,0 script Strange Stone NPC_MANA_STONE,{
- if (instance_id() < 0) end;
+034-1,67,48,0 script Fake Manastone NPC_MANA_STONE,{
+ if (instance_id() < 0 || getcharid(1) < 1) end;
GeminiCheck(1);
- mesc l("Weird.");
+ mesc l("This is a weird stone. It looks like a Mana Stone from afar, but anyone can tell it is fake.");
+ if (strcharinfo(0) != getpartyleader(getcharid(1))) {
+ mesc l("It may be dangerous. I better ask %s to check it instead.", getpartyleader(getcharid(1)));
+ close;
+ }
+ switch ('STATUS) {
+ case 1:
+ case 2:
+ mesc l("It seems to be a mechanism of some kind, but it is missing a Runestone.");
+ mesc l("Maybe one of the slimes dropped it.");
+ 'STATUS = 2;
+ break;
+ case 3:
+ mesc l("You insert the Runestone on it and hear a sound.");
+ mesc l("Something changed; We should see what is.");
+ 'STATUS = 4;
+ break;
+ default:
+ mesc l("I already did everything I could with this. What am I waiting for?");
+ break;
+ }
close;
OnInit:
@@ -15,3 +35,16 @@ OnInit:
end;
}
+034-1,66,45,0 script #GeminiExit NPC_HIDDEN,0,0,{
+ end;
+OnTouch:
+ if (instance_id() < 0 || getcharid(1) < 1) end;
+ GeminiCheck(1);
+ if ('STATUS < 4) {
+ dispbottom l("There seems to be sort of lock preventing you from passing.");
+ end;
+ }
+ slide 118, 115;
+ end;
+}
+