summaryrefslogtreecommitdiff
path: root/npc/034-1/gemini.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-04-28 13:42:03 -0300
committerJesusaves <cpntb1@ymail.com>2022-04-28 13:42:03 -0300
commitf652b19d9f9a068426efd3d1dfa59f4eb725005f (patch)
tree9a79297a765de58ca8e282f346e4bf5f02ace784 /npc/034-1/gemini.txt
parentea0520571eaf0a5dcfa62889656e2ee747407a49 (diff)
downloadserverdata-f652b19d9f9a068426efd3d1dfa59f4eb725005f.tar.gz
serverdata-f652b19d9f9a068426efd3d1dfa59f4eb725005f.tar.bz2
serverdata-f652b19d9f9a068426efd3d1dfa59f4eb725005f.tar.xz
serverdata-f652b19d9f9a068426efd3d1dfa59f4eb725005f.zip
I simplified the Desert Stage.
Diffstat (limited to 'npc/034-1/gemini.txt')
-rw-r--r--npc/034-1/gemini.txt35
1 files changed, 34 insertions, 1 deletions
diff --git a/npc/034-1/gemini.txt b/npc/034-1/gemini.txt
index 7e978fbc1..0d53a9b2c 100644
--- a/npc/034-1/gemini.txt
+++ b/npc/034-1/gemini.txt
@@ -35,7 +35,7 @@ OnInit:
end;
}
-034-1,66,45,0 script #GeminiExit NPC_HIDDEN,0,0,{
+034-1,66,45,0 script #GeminiExit1 NPC_HIDDEN,0,0,{
end;
OnTouch:
if (instance_id() < 0 || getcharid(1) < 1) end;
@@ -48,3 +48,36 @@ OnTouch:
end;
}
+
+034-1,169,64,0 script #GeminiExit2 NPC_HIDDEN,1,0,{
+ end;
+OnTouch:
+ if (instance_id() < 0 || getcharid(1) < 1) end;
+ GeminiCheck(4);
+ if ('STATUS < 6) {
+ if (countitem(SealedSoul) >= 7) {
+ mesc l("Do you want to use the souls to unlock the passage?"), 1;
+ next;
+ if (askyesno() == ASK_YES) {
+ delitem SealedSoul, 7;
+ closeclientdialog;
+ if ('STATUS == 4) {
+ .@u=monster(getmap(), 163, 26, strmobinfo(1, JackO), JackO, 1);
+ unittalk(.@u, "Souls... Feed me Souls... Nooooooooowwww!!!!");
+ 'STATUS=5;
+ } else {
+ dispbottom l("The waterfall open, and you may now pass.");
+ 'STATUS=6;
+ close;
+ }
+ }
+ close;
+ }
+ dispbottom l("A powerful magic barrier prevents passage. %d %s should suffice to dispel... Maybe.", 7, getitemlink(SealedSoul));
+ end;
+ }
+ .@p=getcharid(1);
+ warp "val2@"+.@p, 24, 59;
+ end;
+}
+