summaryrefslogtreecommitdiff
path: root/npc/005-1/vincent.txt
diff options
context:
space:
mode:
authorSaulc <lucashelaine14@gmail.com>2018-02-14 19:05:25 +0100
committerSaulc <lucashelaine14@gmail.com>2018-02-14 19:05:25 +0100
commit93a43d751465f3fa6678a37aa55138ab03e74c97 (patch)
treecf4e289472c6e625b0185a722d1a4b166adf9e10 /npc/005-1/vincent.txt
parent96293e2218f42eb1bbc349a4e361f845d3f6fec9 (diff)
downloadserverdata-93a43d751465f3fa6678a37aa55138ab03e74c97.tar.gz
serverdata-93a43d751465f3fa6678a37aa55138ab03e74c97.tar.bz2
serverdata-93a43d751465f3fa6678a37aa55138ab03e74c97.tar.xz
serverdata-93a43d751465f3fa6678a37aa55138ab03e74c97.zip
test
Diffstat (limited to 'npc/005-1/vincent.txt')
-rw-r--r--npc/005-1/vincent.txt64
1 files changed, 64 insertions, 0 deletions
diff --git a/npc/005-1/vincent.txt b/npc/005-1/vincent.txt
new file mode 100644
index 000000000..dceb9ce52
--- /dev/null
+++ b/npc/005-1/vincent.txt
@@ -0,0 +1,64 @@
+// TMW2 scripts.
+// Authors:
+// Saulc
+// Variables:
+// CandorQuests_Vincent - quest var
+
+
+005-1,92,95,0 script Vincent NPC_MONA,{
+
+
+ .BaitID = BugLeg;
+ .BaitCount = 12;
+
+ .@q = getq(CandorQuests_Vincent);
+ if (.@q == 1) goto L_CheckItems;
+ if (.@q == 2) goto L_QuestDone;
+
+ 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));
+
+ switch (select(l("Ok, I'll be back in no time."),
+ l("Sorry, I'm doing other things at the moment.")))
+ {
+ case 1:
+ setq CandorQuests_Vincent, 1;
+ speech S_FIRST_BLANK_LINE,
+ l("Thank you. I'll wait here.");
+ close;
+ case 2:
+ speech S_FIRST_BLANK_LINE,
+ l("But I'm almost out of @@...", getitemlink(.BaitID));
+ close;
+ }
+
+L_CheckItems:
+ if (countitem(.BaitID) < .BaitCount)
+ {
+ speech
+ l("Sorry, but you don't have what I need."),
+ l("I need @@ @@.", .BaitCount, getitemlink(.BaitID));
+ close;
+ }
+
+ speech
+ l("That's exactly what I needed!");
+
+ delitem .BaitID, .BaitCount;
+ Zeny = Zeny + 1000;
+ message strcharinfo(0), l("You receive @@ E!", 1000);
+ setq CandorQuests_Vincent, 2;
+ close;
+
+L_QuestDone:
+ speech
+ l("Hey, @@!", strcharinfo(0)),
+ l("My figurin is so nice !");
+ close;
+
+OnInit:
+ .sex = G_MALE;
+ .distance = 3;
+ end;
+}