summaryrefslogtreecommitdiff
path: root/npc/009-8
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-07-23 21:01:53 -0300
committerJesusaves <cpntb1@ymail.com>2021-07-23 21:01:53 -0300
commit1dabee0d6dd37dcbc21695204cab2050926599fa (patch)
treeabac5c58384df2f8800a1933b6c97c6d811e8351 /npc/009-8
parent3cc6985ebc8b16be6b5ce3fdafa16a6272428a45 (diff)
downloadserverdata-1dabee0d6dd37dcbc21695204cab2050926599fa.tar.gz
serverdata-1dabee0d6dd37dcbc21695204cab2050926599fa.tar.bz2
serverdata-1dabee0d6dd37dcbc21695204cab2050926599fa.tar.xz
serverdata-1dabee0d6dd37dcbc21695204cab2050926599fa.zip
Fix Celestia's Basement.
All restrictions were removed, it is now just a fancy easter egg.
Diffstat (limited to 'npc/009-8')
-rw-r--r--npc/009-8/_import.txt1
-rw-r--r--npc/009-8/basement.txt132
-rw-r--r--npc/009-8/celestia.txt6
3 files changed, 136 insertions, 3 deletions
diff --git a/npc/009-8/_import.txt b/npc/009-8/_import.txt
index be35dd64..e94b07f2 100644
--- a/npc/009-8/_import.txt
+++ b/npc/009-8/_import.txt
@@ -1,5 +1,6 @@
// Map 009-8: Chez Celestia
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/009-8/_warps.txt",
+"npc/009-8/basement.txt",
"npc/009-8/celestia.txt",
"npc/009-8/mapflags.txt",
diff --git a/npc/009-8/basement.txt b/npc/009-8/basement.txt
new file mode 100644
index 00000000..29ec6514
--- /dev/null
+++ b/npc/009-8/basement.txt
@@ -0,0 +1,132 @@
+009-8,83,125,0 script #cont-warp7 NPC32767,0,0,{
+ end;
+OnTouch:
+ slide 40, 126;
+ end;
+}
+009-8,40,125,0 script Celestia Basement NPC32767,0,0,{
+ end;
+OnTouch:
+ mapmask 1 | 2 | 8;
+ slide 83, 126;
+ end;
+}
+009-8,68,123,0 script Celestia Interceptor NPC32767,1,0,{
+ end;
+OnTouch:
+ mapmask 1 | 8;
+ end;
+}
+
+009-8,69,112,0 script Celestia Mask1 NPC32767,0,0,{
+ end;
+OnTouch:
+ @cel_dir = 0;
+ end;
+}
+
+009-8,69,113,0 script Celestia Mask0 NPC32767,0,0,{
+ end;
+OnTouch:
+ if (@cel_dir == 1)
+ mapmask 1 | 4;
+ else
+ mapmask 1 | 8;
+ end;
+
+OnPCLoginEvent:
+ sleep2(200);
+ getmapxy(.@m$, .@x, .@y, 0);
+ if (.@y >= 123)
+ mapmask 1 | 2 | 8;
+ else if (.@y >= 113)
+ mapmask 1 | 8;
+ else
+ mapmask 1 | 4;
+ end;
+}
+
+009-8,69,114,0 script Celestia Mask2 NPC32767,0,0,{
+ end;
+OnTouch:
+ @cel_dir = 1;
+ end;
+}
+
+069-2,97,127,0 script Celestia Mask3 NPC32767,1,0,{
+ end;
+OnTouch:
+ warp "009-8", 53, 41;
+ mapmask 1 | 4;
+ end;
+}
+069-2,116,127,0 script Celestia Mask4 NPC32767,1,0,{
+ end;
+OnTouch:
+ warp "009-8", 58, 41;
+ mapmask 1 | 4;
+ end;
+}
+069-2,44,127,0 script Celestia Mask5 NPC32767,2,0,{
+ end;
+OnTouch:
+ warp "009-8", 56, 56;
+ mapmask 1 | 4;
+ end;
+}
+069-2,117,62,0 script Celestia Mask6 NPC32767,0,0,{
+ end;
+OnTouch:
+ warp "009-8", 79, 100;
+ mapmask 1 | 4;
+ end;
+}
+069-2,86,62,0 script Celestia Mask7 NPC32767,0,0,{
+ end;
+OnTouch:
+ warp "009-8", 87, 79;
+ mapmask 1 | 4;
+ end;
+}
+069-2,55,62,0 script Celestia Mask8 NPC32767,0,0,{
+ end;
+OnTouch:
+ warp "009-8", 87, 57;
+ mapmask 1 | 4;
+ end;
+}
+069-2,24,62,0 script Celestia Mask9 NPC32767,0,0,{
+ end;
+OnTouch:
+ warp "009-8", 79, 40;
+ mapmask 1 | 4;
+ end;
+}
+069-2,117,31,0 script Celestia Mask10 NPC32767,0,0,{
+ end;
+OnTouch:
+ warp "009-8", 33, 40;
+ mapmask 1 | 4;
+ end;
+}
+069-2,86,31,0 script Celestia Mask11 NPC32767,0,0,{
+ end;
+OnTouch:
+ warp "009-8", 24, 57;
+ mapmask 1 | 4;
+ end;
+}
+069-2,55,31,0 script Celestia Mask12 NPC32767,0,0,{
+ end;
+OnTouch:
+ warp "009-8", 24, 79;
+ mapmask 1 | 4;
+ end;
+}
+069-2,24,31,0 script Celestia Mask13 NPC32767,0,0,{
+ end;
+OnTouch:
+ warp "009-8", 32, 99;
+ mapmask 1 | 4;
+ end;
+}
diff --git a/npc/009-8/celestia.txt b/npc/009-8/celestia.txt
index 52d26e33..53e739b5 100644
--- a/npc/009-8/celestia.txt
+++ b/npc/009-8/celestia.txt
@@ -1,9 +1,9 @@
009-8,29,124,0 script Celestia NPC144,{
callfunc "CelestiaState";
- if (getequipid(equip_head) == 4027) // check if yeti mask (4027) is equipped
+ if (getequipid(equip_head) == YetiMask)
goto L_YetiMask;
- if (getequipid(equip_head) == 647) // check if Developer's Cap (647) is equipped
+ if (getequipid(equip_head) == DevelopersCap)
goto L_Debug;
if (QL_CELESTIA == 2) // check if the player has the easy quest
goto L_ExplainEasy;
@@ -17,7 +17,7 @@ L_YetiMask:
mes "Celestia is clearly alarmed upon seeing you."; // send message to dialog window
next; // require the player to press the "next" button in the dialog window
mes "Before you have a chance to speak, she screams,"; // every use of "mes" creates a new line
- mes "##B\"YETI IN MY HOUSE!\"##b"; // here we created a new line to add emphasis (and ##B to make bold)
+ mesq b(l("YETI IN MY HOUSE!")); // here we created a new line to add emphasis (and ##B to make bold)
mes "as she jumps back a few feet.";
next;
mes "You catch a glimpse of a black bow while some kind of dark mist quickly overcomes you.";