summaryrefslogtreecommitdiff
path: root/npc/034-4/exit.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/034-4/exit.txt')
-rw-r--r--npc/034-4/exit.txt12
1 files changed, 9 insertions, 3 deletions
diff --git a/npc/034-4/exit.txt b/npc/034-4/exit.txt
index c695940a5..50904923c 100644
--- a/npc/034-4/exit.txt
+++ b/npc/034-4/exit.txt
@@ -11,8 +11,6 @@ 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
@@ -152,6 +150,7 @@ OnTouch:
freeloop(false);
// Spawn & Configure the boss monster
+ // Defeating the boss yields a bonus
.@mob=areamonster(MAZE_MAP$, 60, 60, .@mx-40, .@my-40, "Wumpus?", PanthomLord, 1, "#GeminiFExit::OnWumpus");
setunitdata(.@mob, UDT_MAXHP, 250000);
setunitdata(.@mob, UDT_HP, 250000);
@@ -159,11 +158,17 @@ OnTouch:
setunitdata(.@mob, UDT_HIT, 3500);
setunitdata(.@mob, UDT_DMOTION, 50);
- // Defeating the boss yields a bonus
+ // TODO: Add the exit
+ // FIXME: A way to exit, maybe a switch, or...?
+ // NOTE: Once you exit, put the quest in cooldown for 4 hours as well.
+
+ // Miscellaneous data
.@old$=getmap();
.@p=getcharid(1);
InitMaze(7200, false);
+ $@VALIA_STATUS[.@p]=16;
sleep2(500);
+ changeplayermusic "Arabesque.ogg";
dispbottom l("It was a trap! We must escape!");
$@VALIA_MAP$[.@p]=getmap();
partytimer(.@old$, 2000, "#GeminiFExit::OnSick", .@p);
@@ -193,6 +198,7 @@ OnSick:
warp MAZE_MAP$, .@x, .@y;
sleep2(500);
+ changeplayermusic "Arabesque.ogg";
dispbottom l("It was a trap! We must escape!");
sleep2(2000);
@forced_sick$ = getmap();