summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorCoffee <coffee@coffee-EP45-UD3L.(none)>2011-06-12 12:59:16 -0300
committerBen Longbons <b.r.longbons@gmail.com>2011-06-12 14:51:03 -0700
commit7e2bc30e852fc7be5006d688d8f0dc1dcdad8f70 (patch)
treeceaa5cd96843823a5ff80a868bf4d13d295ffdb7 /npc
parent4c8d2a9e25f3525c62aaf703ee2c35fa5da90dab (diff)
downloadserverdata-7e2bc30e852fc7be5006d688d8f0dc1dcdad8f70.tar.gz
serverdata-7e2bc30e852fc7be5006d688d8f0dc1dcdad8f70.tar.bz2
serverdata-7e2bc30e852fc7be5006d688d8f0dc1dcdad8f70.tar.xz
serverdata-7e2bc30e852fc7be5006d688d8f0dc1dcdad8f70.zip
Prevent players from going inside if they didn't talk to clauquer
Diffstat (limited to 'npc')
-rw-r--r--npc/025-3/barrier.txt55
1 files changed, 54 insertions, 1 deletions
diff --git a/npc/025-3/barrier.txt b/npc/025-3/barrier.txt
index 067cbf71..0b0f87cf 100644
--- a/npc/025-3/barrier.txt
+++ b/npc/025-3/barrier.txt
@@ -7,6 +7,7 @@
if (getareausers("025-4.gat", 26, 63, 60, 97) >= 1) goto L_SomeoneInside;
// Check if you already done this fight
if (cavefights & BATTLE_CAVE1) goto L_AlreadyDone;
+ if (Rossy_Quest < 15) goto L_Block;
L_StartFight:
set @battlecave1, 1;
@@ -26,7 +27,10 @@ L_AlreadyHelped:
message strcharinfo(0), "I already helped that little girl. There is nothing for me inside this cave.";
set @juliadone, 1;
end;
-
+
+L_Block:
+ message strcharinfo(0), "I can't enter this cave. Maybe I should learn more about this place before I go inside.";
+ end;
}
// -----------------------------------------------Warp to Cave 2--------------------------------------------------------------
@@ -38,6 +42,7 @@ L_AlreadyHelped:
if (getareausers("025-4.gat", 97, 62, 126, 96) >= 1) goto L_SomeoneInside;
// Check if you already done this fight
if (cavefights & BATTLE_CAVE2) goto L_AlreadyDone;
+ if (Rossy_Quest < 15) goto L_Block;
L_StartFight:
set @battlecave2, 1;
@@ -57,6 +62,11 @@ L_AlreadyHelped:
message strcharinfo(0), "I already helped that little girl. There is nothing for me inside this cave.";
set @juliadone, 1;
end;
+
+L_Block:
+ message strcharinfo(0), "I can't enter this cave. Maybe I should learn more about this place before I go inside.";
+ end;
+
}
// -----------------------------------------------Warp to Cave 3-------------------------------------------------------------
@@ -68,6 +78,7 @@ L_AlreadyHelped:
if (getareausers("025-4.gat", 150, 84, 177, 117) >= 1) goto L_SomeoneInside;
// Check if you already done this fight
if (cavefights & BATTLE_CAVE3) goto L_AlreadyDone;
+ if (Rossy_Quest < 15) goto L_Block;
L_StartFight:
set @battlecave3, 1;
@@ -87,6 +98,11 @@ L_AlreadyHelped:
message strcharinfo(0), "I already helped that little girl. There is nothing for me inside this cave.";
set @juliadone, 1;
end;
+
+L_Block:
+ message strcharinfo(0), "I can't enter this cave. Maybe I should learn more about this place before I go inside.";
+ end;
+
}
// -----------------------------------------------Warp to Cave 4-------------------------------------------------------------
@@ -98,6 +114,7 @@ L_AlreadyHelped:
if (getareausers("025-4.gat", 28, 124, 57, 156) >= 1) goto L_SomeoneInside;
// Check if you already done this fight
if (cavefights & BATTLE_CAVE4) goto L_AlreadyDone;
+ if (Rossy_Quest < 15) goto L_Block;
L_StartFight:
set @battlecave4, 1;
@@ -117,6 +134,11 @@ L_AlreadyHelped:
message strcharinfo(0), "I already helped that little girl. There is nothing for me inside this cave.";
set @juliadone, 1;
end;
+
+L_Block:
+ message strcharinfo(0), "I can't enter this cave. Maybe I should learn more about this place before I go inside.";
+ end;
+
}
// -----------------------------------------------Warp to Cave 5-------------------------------------------------------------
@@ -128,6 +150,7 @@ L_AlreadyHelped:
if (getareausers("025-4.gat", 91, 131, 124, 160) >= 1) goto L_SomeoneInside;
// Check if you already done this fight
if (cavefights & BATTLE_CAVE5) goto L_AlreadyDone;
+ if (Rossy_Quest < 15) goto L_Block;
L_StartFight:
set @battlecave5, 1;
@@ -147,6 +170,11 @@ L_AlreadyHelped:
message strcharinfo(0), "I already helped that little girl. There is nothing for me inside this cave.";
set @juliadone, 1;
end;
+
+L_Block:
+ message strcharinfo(0), "I can't enter this cave. Maybe I should learn more about this place before I go inside.";
+ end;
+
}
// -----------------------------------------------Warp to Cave 6-------------------------------------------------------------
@@ -158,6 +186,7 @@ L_AlreadyHelped:
if (getareausers("025-4.gat", 153, 143, 178, 174) >= 1) goto L_SomeoneInside;
// Check if you already done this fight
if (cavefights & BATTLE_CAVE6) goto L_AlreadyDone;
+ if (Rossy_Quest < 15) goto L_Block;
L_StartFight:
set @battlecave6, 1;
@@ -177,6 +206,12 @@ L_AlreadyHelped:
message strcharinfo(0), "I already helped that little girl. There is nothing for me inside this cave.";
set @juliadone, 1;
end;
+
+L_Block:
+ message strcharinfo(0), "I can't enter this cave. Maybe I should learn more about this place before I go inside.";
+ end;
+
+
}
// -----------------------------------------------Warp to Cave 7-------------------------------------------------------------
@@ -188,6 +223,7 @@ L_AlreadyHelped:
if (getareausers("025-4.gat", 27, 185, 61, 219) >= 1) goto L_SomeoneInside;
// Check if you already done this fight
if (cavefights & BATTLE_CAVE7) goto L_AlreadyDone;
+ if (Rossy_Quest < 15) goto L_Block;
L_StartFight:
set @battlecave7, 1;
@@ -207,6 +243,11 @@ L_AlreadyHelped:
message strcharinfo(0), "I already helped that little girl. There is nothing for me inside this cave.";
set @juliadone, 1;
end;
+
+L_Block:
+ message strcharinfo(0), "I can't enter this cave. Maybe I should learn more about this place before I go inside.";
+ end;
+
}
// -----------------------------------------------Warp to Cave 8-------------------------------------------------------------
@@ -218,6 +259,7 @@ L_AlreadyHelped:
if (getareausers("025-4.gat", 90, 193, 119, 216) >= 1) goto L_SomeoneInside;
// Check if you already done this fight
if (cavefights & BATTLE_CAVE8) goto L_AlreadyDone;
+ if (Rossy_Quest < 15) goto L_Block;
L_StartFight:
set @battlecave8, 1;
@@ -237,6 +279,11 @@ L_AlreadyHelped:
message strcharinfo(0), "I already helped that little girl. There is nothing for me inside this cave.";
set @juliadone, 1;
end;
+
+L_Block:
+ message strcharinfo(0), "I can't enter this cave. Maybe I should learn more about this place before I go inside.";
+ end;
+
}
// -----------------------------------------------Warp to Cave 9-------------------------------------------------------------
@@ -248,6 +295,7 @@ L_AlreadyHelped:
if (getareausers("025-4.gat", 144, 192, 173, 226) >= 1) goto L_SomeoneInside;
// Check if you already done this fight
if (cavefights & BATTLE_CAVE9) goto L_AlreadyDone;
+ if (Rossy_Quest < 15) goto L_Block;
L_StartFight:
set @battlecave9, 1;
@@ -267,6 +315,11 @@ L_AlreadyHelped:
message strcharinfo(0), "I already helped that little girl. There is nothing for me inside this cave.";
set @juliadone, 1;
end;
+
+L_Block:
+ message strcharinfo(0), "I can't enter this cave. Maybe I should learn more about this place before I go inside.";
+ end;
+
}
// -----------------------------------------------Warp to Boss Cave----------------------------------------------------------