summaryrefslogtreecommitdiff
path: root/npc/008-1/snarfles.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-10-24 12:48:53 +0000
committerJesusaves <cpntb1@ymail.com>2020-10-24 12:48:53 +0000
commit1a3d323af19764546552b1d621c65303c1fb3005 (patch)
tree5e70a62dc756d5a10fe558fe6e3efefcf5ef1a97 /npc/008-1/snarfles.txt
parent8077efb70e0af1c54a84859f73c96de21c60107b (diff)
downloadserverdata-1a3d323af19764546552b1d621c65303c1fb3005.tar.gz
serverdata-1a3d323af19764546552b1d621c65303c1fb3005.tar.bz2
serverdata-1a3d323af19764546552b1d621c65303c1fb3005.tar.xz
serverdata-1a3d323af19764546552b1d621c65303c1fb3005.zip
CONTENT III SUPER MERGE REQUEST
Included: * Tulimshar Casino * Placeholder fixing/filling * Food Questline * Rossy Quest * Galimatia Quest (mostly by Livio) * Edourard bugs * Blood Donor Quest (from Moubootaur Legends) * Merchant Guild Quest * Mundane Bugfix * La Marine * Hurns Doctor easter eggs * Sailing to Argaes with Legion * Other things not relevant enough to be noted down, I guess
Diffstat (limited to 'npc/008-1/snarfles.txt')
-rw-r--r--npc/008-1/snarfles.txt86
1 files changed, 82 insertions, 4 deletions
diff --git a/npc/008-1/snarfles.txt b/npc/008-1/snarfles.txt
index d40bf309..6332b4c9 100644
--- a/npc/008-1/snarfles.txt
+++ b/npc/008-1/snarfles.txt
@@ -1,20 +1,98 @@
-// Evol scripts.
+// The Mana World scripts.
// Author:
// Micksha
// Description:
// Snarfles the mouboo farmer.
// THIS IS A PLACEHOLDER!
-008-1,79,118,0 script Snarfles#008-1 NPC_SNARFLES,{
+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."),
lg("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:
.bodytype = BODYTYPE_3;
- .distance = 2;
+ .distance = 4;
end;
}