summaryrefslogtreecommitdiff
path: root/npc/005-1/vincent.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-21 21:50:12 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-21 21:50:12 -0300
commit0832c02a2c9c87dd9284a3cd93be52e0ddbb2629 (patch)
tree96a50189adc230f6026d31045ab6f0ce24eae67d /npc/005-1/vincent.txt
parentab253e8d9621dcee944fbd47aae2c055641b264f (diff)
downloadserverdata-0832c02a2c9c87dd9284a3cd93be52e0ddbb2629.tar.gz
serverdata-0832c02a2c9c87dd9284a3cd93be52e0ddbb2629.tar.bz2
serverdata-0832c02a2c9c87dd9284a3cd93be52e0ddbb2629.tar.xz
serverdata-0832c02a2c9c87dd9284a3cd93be52e0ddbb2629.zip
Rewrite a bit Vincent's dialog.
Fixes TS/BUG 19 Vincent doesn't offers to take Bug Legs if you already have them
Diffstat (limited to 'npc/005-1/vincent.txt')
-rw-r--r--npc/005-1/vincent.txt16
1 files changed, 10 insertions, 6 deletions
diff --git a/npc/005-1/vincent.txt b/npc/005-1/vincent.txt
index 726864905..e23ed7b5f 100644
--- a/npc/005-1/vincent.txt
+++ b/npc/005-1/vincent.txt
@@ -12,9 +12,10 @@
speech S_LAST_BLANK_LINE,
l("I am making a figurin with Bug legs."),
- lg("Be a friend and bring me @@ @@.", "Be a friend and bring me @@ @@.", .LegsCount, getitemlink(.LegsID));
+ lg("Be a friend and bring me @@ @@.", "Be a friend and bring me @@ @@.", .LegsCount, getitemlink(BugLeg));
switch (select(l("Ok, I'll be back in no time."),
+ rif(countitem(BugLeg) >= .LegsCount, l("I have them here already.")),
l("Sorry, I'm doing other things at the moment.")))
{
case 1:
@@ -23,25 +24,29 @@
l("Thank you. I'll wait here.");
close;
case 2:
+ setq CandorQuest_Vincent, 1;
+ goto L_CheckItems;
+ case 3:
speech S_FIRST_BLANK_LINE,
- l("But I'm almost out of @@...", getitemlink(.LegsID));
+ l("But I'm almost out of @@...", getitemlink(BugLeg));
close;
}
L_CheckItems:
- if (countitem(.LegsID) < .LegsCount)
+ if (countitem(BugLeg) < .LegsCount)
{
speech
l("Sorry, but you don't have what I need."),
- l("I need @@ @@.", .LegsCount, getitemlink(.LegsID));
+ l("I need @@ @@.", .LegsCount, getitemlink(BugLeg));
close;
}
speech
+ l("I can't believe it! You've brought me @@ @@!", .LegsCount, getitemlink(BugLeg)),
l("That's exactly what I needed!"),
l("I will be forever grateful!");
- delitem .LegsID, .LegsCount;
+ delitem BugLeg, .LegsCount;
getexp 15, 5;
Zeny = Zeny + 850;
message strcharinfo(0), l("You receive @@ GP!", 850);
@@ -63,7 +68,6 @@ OnInit:
setunitdata(.@npcId, UDT_HAIRSTYLE, 25);
setunitdata(.@npcId, UDT_HAIRCOLOR, 4);
- .LegsID = BugLeg;
.LegsCount = 10;
.sex = G_MALE;