summaryrefslogtreecommitdiff
path: root/npc/014-2/guards.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-01 18:05:39 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-01 18:05:39 -0300
commit82d862ee85bbacf76118b59bf707ab037771144b (patch)
treeff5c6a4c533e5af6ca2d283ec7aab3e75060ae80 /npc/014-2/guards.txt
parent9a7eed8dfd8a79e8e4584943e636e1fe9b9337f9 (diff)
downloadserverdata-82d862ee85bbacf76118b59bf707ab037771144b.tar.gz
serverdata-82d862ee85bbacf76118b59bf707ab037771144b.tar.bz2
serverdata-82d862ee85bbacf76118b59bf707ab037771144b.tar.xz
serverdata-82d862ee85bbacf76118b59bf707ab037771144b.zip
Eternal Swamps main logic etc. + rebalance
Diffstat (limited to 'npc/014-2/guards.txt')
-rw-r--r--npc/014-2/guards.txt27
1 files changed, 22 insertions, 5 deletions
diff --git a/npc/014-2/guards.txt b/npc/014-2/guards.txt
index 71c458d89..e2a2f463e 100644
--- a/npc/014-2/guards.txt
+++ b/npc/014-2/guards.txt
@@ -4,20 +4,37 @@
// Description:
// Access to Eternal Swamps
-014-2,41,56,0 script Guard Jennifer NPC_GUARD2,{
+014-2,58,103,0 script Guard Jennifer NPC_GUARD2,{
mesn;
mesq l("Halt! Beyond this gate, is the Great River and the Eternal Swamps.");
next;
mesn;
mesq l("Was not it only flooded constantly, the graveyard is not too far. If you stray away from the path, you'll get lost.");
next;
- mesn;
- mesq l("Various people already went missing, including GMs. This is why if you plan to cross, @@.", b(l("You won't be allowed to walk sideways, except to avoid a monster or two.")));
- mesc l("If you try to walk west or east too much, you'll hit an \"invisible wall\" to prevent you from getting lost.");
+ .@fd=!(getmapmask("011-3")&1024); // .@fd - is flooded?
+ if (!.@fd) {
+ mesn;
+ mesq l("Various people already went missing, including GMs. This is why if you plan to cross, @@.", b(l("You won't be allowed to walk sideways, except to avoid a monster or two.")));
+ mesc l("If you try to walk west or east too much, you'll hit an \"invisible wall\" to prevent you from getting lost.");
+ next;
+ select
+ l("I'm fine, thanks."),
+ l("My equipment is good, let me through!");
+ mes "";
+ if (@menu == 2) {
+ warp "011-3", 37, 219;
+ closedialog;
+ close;
+ }
+ } else {
+ mesn;
+ mesq l("In fact, it is flooded at the moment. Come back later.");
+ next;
+ }
close;
OnInit:
- .sex = G_OTHER;
+ .sex = G_FEMALE;
.distance = 5;
end;
}