From b1170a0c82a0fb920728a893620ddc8dac866d3c Mon Sep 17 00:00:00 2001 From: jesusalva Date: Thu, 1 Mar 2018 17:58:31 -0300 Subject: Incorporate Valon to Elmo & Nard --- npc/002-4/elmo.txt | 5 +++++ npc/002-4/nard.txt | 3 ++- npc/functions/sailortalk.txt | 7 +------ 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/npc/002-4/elmo.txt b/npc/002-4/elmo.txt index 6aeafc6f8..2795fe1b7 100644 --- a/npc/002-4/elmo.txt +++ b/npc/002-4/elmo.txt @@ -42,6 +42,11 @@ if (.@q < 2) mes l("- I overheard rumors about a festival. Maybe someone needs help with their figurine?"); + // Valon Quest + .@q=getq(CandorQuest_Trainer); + if (.@q < 12) + mes l("- Inside the big house is someone who can train you. All experience is handy!"); + close2; goodbye; end; // Just for good measure diff --git a/npc/002-4/nard.txt b/npc/002-4/nard.txt index ef53f35a4..4fb9aae65 100644 --- a/npc/002-4/nard.txt +++ b/npc/002-4/nard.txt @@ -161,7 +161,8 @@ L_Travel: if (getq(CandorQuest_Barrel) == 4 && getq(CandorQuest_HAS) == 3 && getq(CandorQuest_Sailors) == 3 && - getq(CandorQuest_Vincent) == 2) + getq(CandorQuest_Vincent) == 2 && + getq(CandorQuest_Trainer) == 12) .@price-=500; mesn; mesq l("Hi @@.", strcharinfo(0)); diff --git a/npc/functions/sailortalk.txt b/npc/functions/sailortalk.txt index 2e6996d03..8a131cf19 100644 --- a/npc/functions/sailortalk.txt +++ b/npc/functions/sailortalk.txt @@ -10,12 +10,7 @@ function script sailortalk { .@rand = rand(8); if (.@rand == 0) goodbye; - if (.@rand == 1) - { - speech( - l("Ah, I am so bored..."); - close; - } + if (.@rand == 1) npctalkonce(l("Ah, this is boring.")); if (.@rand == 2) npctalkonce(l("Good to hear from you!")); if (.@rand == 3) npctalkonce(l("So finally someone has came to visit me?")); if (.@rand == 4) -- cgit v1.2.3-70-g09d2