diff options
Diffstat (limited to 'npc/014-2/guards.txt')
-rw-r--r-- | npc/014-2/guards.txt | 27 |
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; } |