summaryrefslogtreecommitdiff
path: root/npc/001-10/scripts.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-11-19 20:11:05 -0200
committerJesusaves <cpntb1@ymail.com>2018-11-19 20:11:05 -0200
commit85f39430d3be95ebcc8fb4269bccc81cbb3c4396 (patch)
treec3476ec27ab4d9b7d5d899528a8eb7f72148bbf9 /npc/001-10/scripts.txt
parentcbf5340ef115f258472ab03714de0fc2a685bfd6 (diff)
downloadserverdata-85f39430d3be95ebcc8fb4269bccc81cbb3c4396.tar.gz
serverdata-85f39430d3be95ebcc8fb4269bccc81cbb3c4396.tar.bz2
serverdata-85f39430d3be95ebcc8fb4269bccc81cbb3c4396.tar.xz
serverdata-85f39430d3be95ebcc8fb4269bccc81cbb3c4396.zip
Checkpoint and cave entrance (currently offline) on Call Of Dusty
Diffstat (limited to 'npc/001-10/scripts.txt')
-rw-r--r--npc/001-10/scripts.txt38
1 files changed, 38 insertions, 0 deletions
diff --git a/npc/001-10/scripts.txt b/npc/001-10/scripts.txt
new file mode 100644
index 000000000..9fb5dedb9
--- /dev/null
+++ b/npc/001-10/scripts.txt
@@ -0,0 +1,38 @@
+// TMW2 scripts.
+// Authors:
+// Jesusalva
+// Dusty in a Bottle (aka. Dustynator, Dustman, mr. willbelz)
+// Description:
+// Scripts for 001-10: Snipers, Bottles and Warps
+
+001-10,89,43,0 script #COD_BossRoomCheck NPC_NO_SPRITE,0,0,{
+ end;
+OnTouch:
+ if (!@COD_CHECKPOINT) {
+ dispbottom l("Magic Barrier is active. You must give a whole circle on the desert to break it.");
+ } else {
+ // warp
+ dispbottom l("A dangerous boss room, keep your guard up!");
+ }
+ end;
+}
+
+001-10,132,106,0 script #COD_Checkpoint106 NPC_NO_SPRITE,0,0,{
+ end;
+OnTouch:
+ @COD_CHECKPOINT=1;
+ getmapxy(.@m$, .@x, .@y, 0);
+ slide .@x+2, .@y;
+ dispbottom l("Checkpoint! Magic Barrier went down!");
+ end;
+}
+
+001-10,132,107,0 duplicate(#COD_Checkpoint106) #COD_Checkpoint107 NPC_NO_SPRITE
+001-10,132,108,0 duplicate(#COD_Checkpoint106) #COD_Checkpoint108 NPC_NO_SPRITE
+001-10,132,109,0 duplicate(#COD_Checkpoint106) #COD_Checkpoint109 NPC_NO_SPRITE
+001-10,132,110,0 duplicate(#COD_Checkpoint106) #COD_Checkpoint110 NPC_NO_SPRITE
+001-10,132,111,0 duplicate(#COD_Checkpoint106) #COD_Checkpoint111 NPC_NO_SPRITE
+001-10,132,112,0 duplicate(#COD_Checkpoint106) #COD_Checkpoint112 NPC_NO_SPRITE
+001-10,132,113,0 duplicate(#COD_Checkpoint106) #COD_Checkpoint113 NPC_NO_SPRITE
+
+