summaryrefslogtreecommitdiff
path: root/npc/005-1/vincent.txt
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-02-14 18:37:57 -0200
committerjesusalva <cpntb1@ymail.com>2018-02-14 18:37:57 -0200
commit066fd0e4c1dcb617ebbd6b5ee152897471038b2f (patch)
tree68331c07afb5a8822ed40870c474053b9f7aa9a5 /npc/005-1/vincent.txt
parent06548c90c8f7d213a683fd22cdaf01b6c99522da (diff)
downloadserverdata-066fd0e4c1dcb617ebbd6b5ee152897471038b2f.tar.gz
serverdata-066fd0e4c1dcb617ebbd6b5ee152897471038b2f.tar.bz2
serverdata-066fd0e4c1dcb617ebbd6b5ee152897471038b2f.tar.xz
serverdata-066fd0e4c1dcb617ebbd6b5ee152897471038b2f.zip
Test and fix remaining issues at Vincent
Diffstat (limited to 'npc/005-1/vincent.txt')
-rw-r--r--npc/005-1/vincent.txt28
1 files changed, 18 insertions, 10 deletions
diff --git a/npc/005-1/vincent.txt b/npc/005-1/vincent.txt
index e990757cf..3d6519615 100644
--- a/npc/005-1/vincent.txt
+++ b/npc/005-1/vincent.txt
@@ -5,11 +5,11 @@
// CandorQuests_Vincent - quest var
-005-1,92,95,0 script Vincent NPC_MONA,{
+005-1,92,95,0 script Vincent NPC_PLAYER,{
- .BaitID = BugLeg;
- .BaitCount = 12;
+ .LegsID = BugLeg;
+ .LegsCount = 12;
.@q = getq(CandorQuests_Vincent);
if (.@q == 1) goto L_CheckItems;
@@ -17,7 +17,7 @@
speech S_LAST_BLANK_LINE,
l("I made a figurin with Bug legs."),
- lg("Be a friend and bring me @@ @@.", "Be a friend and bring me @@ @@.", .BaitCount, getitemlink(.BaitID));
+ lg("Be a friend and bring me @@ @@.", "Be a friend and bring me @@ @@.", .LegsCount, getitemlink(.LegsID));
switch (select(l("Ok, I'll be back in no time."),
l("Sorry, I'm doing other things at the moment.")))
@@ -29,23 +29,24 @@
close;
case 2:
speech S_FIRST_BLANK_LINE,
- l("But I'm almost out of @@...", getitemlink(.BaitID));
+ l("But I'm almost out of @@...", getitemlink(.LegsID));
close;
}
L_CheckItems:
- if (countitem(.BaitID) < .BaitCount)
+ if (countitem(.LegsID) < .LegsCount)
{
speech
l("Sorry, but you don't have what I need."),
- l("I need @@ @@.", .BaitCount, getitemlink(.BaitID));
+ l("I need @@ @@.", .LegsCount, getitemlink(.LegsID));
close;
}
speech
- l("That's exactly what I needed!");
+ l("That's exactly what I needed!"),
+ l("I will be forever grateful!");
- delitem .BaitID, .BaitCount;
+ delitem .LegsID, .LegsCount;
Zeny = Zeny + 1000;
message strcharinfo(0), l("You receive @@ GP!", 1000);
setq CandorQuests_Vincent, 2;
@@ -58,7 +59,14 @@ L_QuestDone:
close;
OnInit:
+ .@npcId = getnpcid(0, .name$);
+ setunitdata(.@npcId, UDT_HEADMIDDLE, 1300);
+ setunitdata(.@npcId, UDT_HEADBOTTOM, 2200);
+ setunitdata(.@npcId, UDT_WEAPON, 1800);
+ setunitdata(.@npcId, UDT_HAIRSTYLE, 25);
+ setunitdata(.@npcId, UDT_HAIRCOLOR, 4);
+
.sex = G_MALE;
- .distance = 3;
+ .distance = 5;
end;
}