// TMW2 scripts.
// Author:
// Jesusalva
// Description:
// Debug functions for Craft Systems
001-3-1,52,110,0 script GM Cooking Stove NPC_NO_SPRITE,{
if ($EVENT$ == "") goto L_Offline;
if ($@GM_OVERRIDE) goto L_Master;
mesc l("Welcome to Saulc's Magic Cooking Stove!");
mesc l("What will you cook today?");
mesc l("Operation cost: %s GP", fnum(750)), 1;
if (Zeny < 750) close;
if (CookingSystem()) {
Zeny -= 750;
mesc l("Success!"), 3;
} else {
mesc l("That didn't work!"), 1;
}
close;
L_Master:
mesc l("Welcome to Saulc's Magic Cooking Stove!");
mesc l("This table will prepare food for you, no skill required!");
mesc l("What will you cook today?");
if (CookingSystem(CRAFT_NPC))
mesc l("Success!"), 3;
else
mesc l("That didn't work!"), 1;
close;
L_Offline:
npctalk3 l("Oops! Seems like Saulc doesn't wants you messing on his ovens!");
close;
OnInit:
.distance=5;
end;
}
001-3-1,56,110,0 duplicate(GM Cooking Stove) GM Cooking Stove#1 NPC_NO_SPRITE
001-3-1,60,110,0 duplicate(GM Cooking Stove) GM Cooking Stove#2 NPC_NO_SPRITE
001-3-1,64,110,0 duplicate(GM Cooking Stove) GM Cooking Stove#3 NPC_NO_SPRITE
001-3-1,68,110,0 duplicate(GM Cooking Stove) GM Cooking Stove#4 NPC_NO_SPRITE