From f4b39c5ce6e9e9f6bea5addc95c2cd0cfb7d8ef9 Mon Sep 17 00:00:00 2001 From: jesusalva Date: Fri, 9 Feb 2018 19:53:20 -0200 Subject: Adds Elmo. He will provide support to get money. Does not replaces Quest Log! --- npc/000-2-3/elmo.txt | 2 +- npc/002-4/_import.txt | 1 + npc/002-4/elmo.txt | 42 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 npc/002-4/elmo.txt diff --git a/npc/000-2-3/elmo.txt b/npc/000-2-3/elmo.txt index c623e3215..f2209824e 100644 --- a/npc/000-2-3/elmo.txt +++ b/npc/000-2-3/elmo.txt @@ -5,7 +5,7 @@ // Description: // Elmo's second dialog. -000-2-3,27,27,0 script Elmo NPC_ELMO,{ +000-2-3,27,27,0 script Elmo#000-2-3 NPC_ELMO,{ function got_money { speech S_LAST_NEXT, lg("Be patient a little while longer, in the next few days we will arrive at the port of Artis..."), diff --git a/npc/002-4/_import.txt b/npc/002-4/_import.txt index 4150b4d2e..a9a1b8c1f 100644 --- a/npc/002-4/_import.txt +++ b/npc/002-4/_import.txt @@ -1,4 +1,5 @@ // Map 002-4: Nard's Room // This file is generated automatically. All manually added changes will be removed when running the Converter. +"npc/002-4/elmo.txt", "npc/002-4/nard.txt", "npc/002-4/_warps.txt", diff --git a/npc/002-4/elmo.txt b/npc/002-4/elmo.txt new file mode 100644 index 000000000..3dfcad5e3 --- /dev/null +++ b/npc/002-4/elmo.txt @@ -0,0 +1,42 @@ +// TMW2 Script. +// (Former Evol script) +// Authors: +// Qwerty Dragon +// Reid +// Jesusalva +// Description: +// Elmo's second dialog. + +002-4,27,27,0 script Elmo NPC_ELMO,{ + + if (getq(General_Narrator) < 0) + { + sailortalk; + } + + mesn; + mes l("\"Hey, have you already got the money necessary for the travel?"); + mes l("If you haven't, maybe there are a few things you can do besides selling items.\""); + next; + + mes ""; + + // Barrel Quest + .@q=getq(CandorQuest_Barrel); + if (.@q < 4) + mes l("- I think you can help the storehouse for some quick cash."); + + // Kids Quest + .@q=getq(CandorQuest_HAS); + if (.@q < 3) + mes l("- You can always play with kids. Not very profitable, though."); + + close2; + goodbye; + end; // Just for good measure + +OnInit: + .sex = G_MALE; + .distance = 5; + end; +} -- cgit v1.2.3-60-g2f50