Code: Select all
// A professor at Tulimshar's magic academy
// Monique's request
// ---------------------config----------------------
set @itemreward$,""; // item name of the reward
// -------------------------------------------------
024-1.gat,72,94,0 script Eomie 164,{
if (eomie_quest == 1) goto eomie_asked;
if (eomie_quest == 2) goto eomie_reward;
if (eomie_quest == 3) goto eomie_end;
mes "[Eomie]";
mes "\"I maintain this little spot of grass in the desert.\"";
next;
mes "\"Unfortunaly the grass seems to be getting brown, i have heard the IceWater can help it grow better";
mes "But i don't know where i can get this IceWater.";
mes "Can you help me to get cold IceWater?\"";
menu
"Yes of course",eomie_yes1,
"No, there is no way to find it in a Desert",-;
close;
eomie_yes1:
emotion 3;
next;
mes "\"She seems to be happy about this message.\"";
set eomie_quest,1;
close;
eomie_asked:
mes "\"Did you got some IceWater?\"";
menu
"Yes, fast... it's going to get warm",eomie_yes2,
"No, Sorry",-;
close;
eomie_yes2:
if(countitem("BottleOfIceWater") == 0) goto eomie_not_enough;
mes "\"Thank you very much for your help.";
mes "Now the grass and the spot can grow up\"";
delitem "BottleOfIceWater", 1;
next;
mes "\"Wait, don't go!";
mes "Here i have a ["+@itemreward$+"] for you.";
mes "Maybe it can help you on your way.\"";
getinventorylist;
if (@inventorylist_count == 100) goto eomie_toomany;
eomie_reward:
mes "\"Here is your reward.\"";
getitem "@itemreward$",1 ;
set eomie_quest,3;
close;
eomie_toomany:
mes "\"You dont have enough room in your inventory, come back if your bag isn't so full";
mes "I will wait here\"";
set eomie_quest,2;
close;
eomie_not_enough:
mes "I can't see any Icewater in your bag";
close;
eomie_end:
mes "[Eomie]";
mes "\"I maintain this little spot of grass in the desert.\"";
close;
Code: Select all
// WATERFALL!!
MAP.GAT,X,Y,0 script Waterfall 127,{
if (getequipid(equip_gloves) >= 0) goto gloves_equiped;
mes "[" +strcharinfo(0)+ "]";
mes "\"damn, that's cold";
mes "need to equip any gloves\"";
mes "You adhere firmly to the ice";
next;
mes "you got hurt";
mes "[" +strcharinfo(0)+ "]";
mes "\"Outch!\"";
heal -100, 0;
getinventorylist;
if
((countitem(531) > 0) || (countitem(532) > 0) ||
(countitem(563) > 0) || (countitem(741) > 0) ||
(countitem(756) > 0) || (countitem(2160) > 0) ||
(countitem(2161) > 0) || (countitem(2162) > 0) ||
(countitem(2163) > 0) || (countitem(2164) > 0) ||
(countitem(2165) > 0) || (countitem(2166) > 0) ||
(countitem(2167) > 0) || (countitem(2168) > 0) ||
(countitem(2169) > 0)) goto butininventury;
close;
butininventury:
mes "I got some in my inventury, why don't i use them?!";
close;
gloves_equiped:
mes "\"Much better with gloves\"";
if (countitem(540) == 0) goto nobottle;
mes "You fill it in an [EmptyBottle]";
delitem "EmptyBottle",1;
next;
getitem "BottleOfIceWater",1;
close;
nobottle:
mes "You don't know where you should fill it";
close;
}
-we need the drawn frozzen waterfall
+ you only need to put the itemid and itemname in the 1 set commands
UPDATED
yours jak1