mes "[Dancing Flame]";
mes "I am a fire elemental, and I have a proposal for you, "+strcharinfo(0)+".";
menu "What is it?",l_option1,"I don't have for this, sorry.",l_option2;
close;
l_option2
mes "[Dancing Flame]";
mes "That's too bad, come back when you change your mind."
close;
l_option1
mes "[Dancing Flame]";
mes "I know of thy quest to save Midgard and I wish to help you on your journey."
next;
mes "[Dancing Flame]";
mes "In order to aid you I shall make a headgear imbued with some of my powers, which will surely be of great use to you."
next;
mes "["+strcharinfo(0)+":]";
mes "What headgear would that be?";
next;
mes "[Dancing Flame]";
mes "...a ^00c000Flaming Ten-Gallon hat^0000000.";
next;
mes "[Dancing Flame]";
mes "It won't come for free though."
next;
mes "[Dancing Flame]";
mes "I will need you to collect items which I require in order to make the headgear for you.";
next;
mes "["+strcharinfo(0)+".]";
mes "What do you need?";
next;
mes "[Dancing Flame]";
mes "I need the following items:"
mes "^00FF00_______________________________^000000";
mes "A Cowboy Hat;";
mes "100 Live Coals;";
mes "85 Burning Hearts;";
mes "70 Burning Hairs;";
mes "55 Burning Horseshoes;";
mes "40 Flaming Hearts;";
mes "25 Red Gemstones; and";
mes "10 Shards of Fire Essences.";
mes "Bring me these items and I sh-all make the headgear for you, now go.";
set #10gallonstarted,1;
close;
if (#10gallonstarted == 1) {
mes "[Dancing Flame]";
mes "You have returned, have you collected the items I require?"
next;
mes "["+strcharinfo(0)+".]";
mes "Yes, I have!";
next;
mes "[Dancing Flame]";
mes "Very well then, let's check...";
next;
if(countitem(2248) < 1) goto l_noitems;
if(countitem(7098) < 100) goto l_noitems;
if(countitem(7097) < 85) goto l_noitems;
if(countitem(7122) < 70) goto l_noitems;
if(countitem(7120) < 55) goto l_noitems;
if(countitem(994) < 40) goto l_noitems;
if(countitem(716) < 25) goto l_noitems;
if(countitem(7426) < 10) goto l_noitems;
delitem 2248,1;
delitem 7098,100;
delitem 7097,85;
delitem 7122,70;
delitem 7120,55;
delitem 994,40;
delitem 716,25;
delitem 7426,10;
mes "[Dancing Flame]";
mes "Excellent, you have collected all that I require!";
mes "May it serve you well.";
getitem 18940,1;
next;
mes "[Dancing Flame]";
mes "If you wish for me to make you another, all you have to do is bring me the required items again.";
close;
l_noitems;
"I'm sorry, but you need to collect more of the required items.";
close;
}
Question
Kidlatsv
I need help, obviously I SUCK at scripting, I made this and have been trying, for hours, to figure out what's wrong with it, so I need a little help.
Please be gentle, and pardon the poor dialogue.
Edited by KidlatsvLink to comment
Share on other sites
13 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.