diff options
Diffstat (limited to 'npc/002-2/doors.txt')
-rw-r--r-- | npc/002-2/doors.txt | 50 |
1 files changed, 9 insertions, 41 deletions
diff --git a/npc/002-2/doors.txt b/npc/002-2/doors.txt index 0263d87c2..ef5ad0f95 100644 --- a/npc/002-2/doors.txt +++ b/npc/002-2/doors.txt @@ -2,16 +2,13 @@ // Authors: // Jesusalva // -// Evol scripts. -// Authors: -// Ablu -// Alastrim -// Reid +// Originally an Evol script authored by: +// Ablu, Alastrim and Reid // // Description: // Doors NPCs. -002-2,48,29,0 script DoorUpwards NPC_HIDDEN,0,0,{ +002-2,33,25,0 script 0022#DoorUpwards NPC_HIDDEN,0,0,{ OnTouch: if (mobcount("002-2","all") > 0) goto L_Warn; @@ -30,50 +27,21 @@ L_Warn: l("Yes."), L_Warp, l("No."), -; - warp "002-2", 48, 28; + warp "002-2", 33, 25; closeclientdialog; close; L_Warp: if (LOCATION$ == "") - warp "002-1", 72, 36; + warp "002-1", 35, 26; else - warp "002-1@"+LOCATION$, 72, 36; + warp "002-1@"+LOCATION$, 35, 26; closeclientdialog; close; } -002-2,24,31,0 script LeftDoor NPC_HIDDEN,0,0,{ - -OnTouch: - dispbottom l("I can't go there now."); +002-2,43,25,0 script #Alige0022 NPC_ALIGE_BARREL,{ + npctalkonce l("This barrel seems suspicious..."); end; - mesn "Narrator"; - mesc l("It seems that you need a key to open this door."); - next; - mesc l("What do you want to do?"); - next; - - menu - rif(countitem(718) > 0, l("Use the key.")), L_Warp, - l("Break the door."), L_Break, - l("Go away."), -; - - closeclientdialog; - close; - -L_Break: - - mes ""; - mesn "Narrator"; - mesc l("You hear a loud scream. It must be the creaking of the wooden door..."); - - close; - -L_Warp: - mes ""; - mesn "Narrator"; - mesc l("Wait, it seems someone is blocking the door from the other side!"); - - close; } + |