From 1412752c297d767361e2f81cebd3830cef1b4aa2 Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Sat, 7 Jan 2012 18:22:56 +0100 Subject: Made the sailor dialouge only appear the first time --- npc/000-2-3/sailors.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'npc') diff --git a/npc/000-2-3/sailors.txt b/npc/000-2-3/sailors.txt index 01ea7fb7..f94a74c4 100644 --- a/npc/000-2-3/sailors.txt +++ b/npc/000-2-3/sailors.txt @@ -1,11 +1,14 @@ // Evol scripts. // Authors: // Reid +// Ablu // Description: // End of intro with Nard and Elmo talking about the player. 000-2-3.gat,20,26,0,0 script AreaTop 0,1,0,{ OnTouch: + if (geta(ShipQuests, ShipQuests_Door) == 1) end; + seta ShipQuests, ShipQuests_Door, 1; mesn "Elmo"; mesq g(l("So it's why we wanted to warn you, maybe she comes from this guild, as the sign was on her raft."), l("So it's why we wanted to warn you, maybe he comes from this guild, as the sign was on his raft.")); next; @@ -29,6 +32,8 @@ OnTouch: 000-2-3.gat,21,27,0,0 script AreaMiddle 0,0,0,{ OnTouch: + if (geta(ShipQuests, ShipQuests_Door) == 1) end; + seta ShipQuests, ShipQuests_Door, 1; mesn "Elmo"; mesq g(l("So it's why we wanted to warn you, maybe she comes from this guild, as the sign was on her raft."), l("So it's why we wanted to warn you, maybe he comes from this guild, as the sign was on his raft.")); next; @@ -50,8 +55,10 @@ OnTouch: close; } -000-2-3.gat,20,28,0,0 script AreaBotton 0,1,0,{ +000-2-3.gat,20,28,0,0 script AreaBottom 0,1,0,{ OnTouch: + if (geta(ShipQuests, ShipQuests_Door) == 1) end; + seta ShipQuests, ShipQuests_Door, 1; mesn "Elmo"; mesq g(l("So it's why we wanted to warn you, maybe she comes from this guild, as the sign was on her raft."), l("So it's why we wanted to warn you, maybe he comes from this guild, as the sign was on his raft.")); next; @@ -71,4 +78,4 @@ OnTouch: mesn "Elmo"; mesq l("Sure, cap'tain."); close; -} \ No newline at end of file +} -- cgit v1.2.3-70-g09d2