1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
// The Mana World scripts.
// Author:
// Micksha
// Description:
// Snarfles the mouboo farmer.
// THIS IS A PLACEHOLDER!
008-1,79,118,0 script Snarfles NPC_SNARFLES,{
function foodQuest;
speech
l("My Mouboos, my beloved Mouboos!"),
l("Oh, hi, isn't it cool to live among all those Mouboos? I don't understand how some people can eat Mouboo steak."),
l("Murderers!");
if (getq(General_SmearedHands) <= 3 && getq2(General_SmearedHands) != 2)
foodQuest();
close;
function foodQuest {
.@q=getq(General_SmearedHands);
next;
mesn;
mesq l("Ah... I could use some Asparagus with Hollondaise now...");
switch (.@q) {
case 1:
next;
mesn strcharinfo(0);
select
l("\"Asparagus with Hollondaise\"? What's that?"),
menuaction(l("Leave"));
mes "";
if (@menu == 2)
break;
mesn;
mesq l("Some call it %s, but it is so tasty...", getitemlink(VeggiePlate));
next;
mesn;
mesq l("I could even make one for you and give the recipe, but...");
next;
mesn;
mesq l("I always get smeared hands eating it and cannot play cards anymore with Crane.");
next;
mesn;
mesq l("Well, if you find me a solution for that problem, I can give you the recipe. What do you say?");
next;
mesc l("WARNING: If you accept this quest, you'll be struck at the %s route!", b(l("Vegetarian"))), 1;
mesc l("This will also make %s's Quest unavailable.", b("Crane")), 1;
mesc l("This decision cannot be changed later."), 1;
next;
mesc l("Accept this request?"), 1;
if (askyesno() == ASK_YES) {
setq General_SmearedHands, 2, VEGAN; // 1 = Vegan
mesn;
mesq l("Great! I'll be eager for your return!");
}
break;
case 2:
mesn;
mesq l("Have you found a solution for my smeared hands problem?");
next;
select
l("No, not yet.");
mes "";
mesn;
mesq l("I've heard they're related to the earl of sandwich, so maybe a sandwich maker could help... *sigh* I want to play cards...");
break;
case 3:
mesn strcharinfo(0);
select
l("Have you tried putting it in a bread already?"),
l("I'll keep looking for solutions for your problem.");
mes "";
if (@menu == 2)
return;
mesn;
mesq l("Actually... No. Have been too afraid of it tasting foul.");
next;
mesn strcharinfo(0);
mesq l("Really? Tiki, Candor's chef, liked it very much.");
next;
mesn;
mesq l("Wha - Really?! Tiki said it tasted good??! I'm saved! You're truly my savior!!");
next;
mesn;
mesq l("I'll put the %s recipe on your %s. Thanks, you saved my day!", getitemlink(VeggiePlate), getitemlink(RecipeBook));
RECIPES[CraftVeggiePlate]=true;
getitembound VeggiePlate, 1, IBT_ACCOUNT;
setq1 General_SmearedHands, 4; // Finished
default:
return;
}
return;
}
OnInit:
.distance = 4;
end;
}
|