From cb33c1d8e04011abcd0fabf57cc0e1803a765649 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 15 Jun 2021 22:20:13 -0300 Subject: Hide'n'Seek - Add minimum distance to talk with the kids. Explain to players the distance. --- npc/029-1/hideandseek.txt | 38 ++++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/npc/029-1/hideandseek.txt b/npc/029-1/hideandseek.txt index 878a78b3..1a78ed33 100644 --- a/npc/029-1/hideandseek.txt +++ b/npc/029-1/hideandseek.txt @@ -77,23 +77,25 @@ OnInit: mesq l("98... 99... 100!"); mesc l("She takes away her hands and looks up."); menu - "Hello, what are you doing?",L_Next, - "(Leave)",-; + l("Hello, what are you doing?"), L_Next, + l("(Leave)"), -; close; L_Next: mesn; - mes "\"I'm playing hide and seek with my friends!"; - mes "Do you want to play with us?\""; + mes l("\"I'm playing hide and seek with my friends!"); + mes l("Do you want to play with us?\""); menu - "Sure, sounds like fun.",L_Next1, - "I'm busy with more important things!",-; + l("Sure, sounds like fun."), L_Next1, + l("I'm busy with more important things!"), -; close; L_Next1: mesn; - mes "\"Great! You can take my turn with searching. You need to find all five of my friends."; - mes "They're hiding somewhere on the island, you will have to explore to find them. They could be hiding anywhere.\""; + mes l("\"Great! You can take my turn with searching. You need to find all five of my friends."); + mes l("They're hiding somewhere on the island, you will have to explore to find them. They could be hiding anywhere.\""); + next; + mesc l("WARNING: Not all NPCs will interact if you shout with them! For the children hiding, they'll only reply if you get close enough to them."); setq CandorQuest_HideNSeek, 1, 0, 0; close; @@ -182,6 +184,10 @@ L_Done: L_close: close; + +OnInit: + .distance=2; + end; } 029-1,48,67,0 script Charda NPC260,{ @@ -229,6 +235,10 @@ L_Done: L_close: close; + +OnInit: + .distance=2; + end; } 029-1,100,36,0 script Faris NPC259,{ @@ -277,6 +287,10 @@ L_Done: L_close: close; + +OnInit: + .distance=2; + end; } 029-1,28,52,0 script Rasin NPC263,{ @@ -317,6 +331,10 @@ L_Done: L_close: close; + +OnInit: + .distance=2; + end; } 029-1,79,99,0 script Ghada NPC265,{ @@ -362,4 +380,8 @@ L_Done: L_close: close; + +OnInit: + .distance=2; + end; } -- cgit v1.2.3-60-g2f50