Re: new npc = a elf
Posted: 27 Nov 2009, 20:46
+2 is fine, probably just right for this hat, but it would still be nice if the devs would make it +5.
Feel the mana power growing inside you!
https://forums.themanaworld.org/
Code: Select all
025-1.gat,29,64,0 script Elf ?,{
if(elfquest == 1) goto L_makehat;
if(elfquest == 2) goto L_complete;
mes "[Elf]";
mes "\"Hello. Do you like my hat? \"";
next;
L_Menu:
menu
"Yes, it's a nice hat.",L_good;
"Who are you?" , L_question;
"Bye",-,
close;
L_question:
mes "[Elf]";
mes "\"I'm an elf, probably the only one left.";
mes "Many years ago, there were thousands of us. \"";
next;
mes "[Elf]";
mes "\"We all lived quite happily, until one day the lumberjacks came.";
mes "They discovered our village, and destroyed it. \"";
next;
mes "[Elf]";
mes "\"A couple hundred other elves and I were all that was left.";
mes "The other elves decided to fight, but they were hopelessly outnumbered.";
mes "They were all killed by the lumberjacks, and I am all that's left. \"";
next;
menu
"Is there anything I can do to help?",L_help;
"Repeat, please ", L_question;
"You are crazy!", L_death;
"Zzzz...", -;
mes "[Elf]";
mes "\"You aren't even listening.";
mes " Go away.\"";
close;
L_help:
mes "[Elf]";
mes "\"Actually, yes. I fled the camp, and didn't have time to get anything but these clothes.";
mes "I could use some new boots. Get me some, and I will make you a hat like this one.\"";
next;
mes "[Elf]";
mes "\"I will need 5 [Cotton Cloth]s, 2 [Dark Crystal]s, 1 [Green Dye], and 1 [Fancy Hat], to make your hat.";
mes "Will you get these for me?. \"";
menu
"Ok.", L_yes;
"No way!" , L_death;
"I am too busy to help you.", -;
close;
L_death:
mes "[Elf]";
mes "\"You should be polite to your betters.";
mes "Maybe this will help you remember.\"";
next;
gmcommand strcharinfo(0)+":@die ";
close;
L_yes
mes "[Elf]";
mes "\"Now go bring me the items.\"";
set elfquest, 1;
close;
L_makehat
mes "[Elf]";
mes "\"Did you bring me the items I asked for?\"";
next;
if(countitem("CottonCloth") < 5) goto L_NoItem;
if(countitem("FancyHat") < 1) goto L_NoItem;
if(countitem("DarkCrystal") < 2) goto L_NoItem;
if(countitem("Boots") < 1) goto L_NoItem;
if(countitem("GreenDye") < 1) goto L_NoItem;
if (zeny < 5000) goto L_noZeny;
delitem "CottonCloth", 5;
delitem "FancyHat", 1;
delitem "DarkCrystal", 2;
delitem "Boots", 1;
delitem "GreenDye", 1;
set zeny, zeny - 5000;
getitem "ElfHat", 1;
getexp 20000, 0;
set elfquest, 2;
L_noItem:
mes "[Elf]";
mes "\"I'm sorry, but you don't have all the items I asked for.";
mes " Please bring 1 [Boots], 5 [Cotton Cloth]s, 2 [Dark Crystal]s, 1 [Green Dye], and 1 [Fancy Hat]."
mes " Come back later when you have them. \"";
close;
554
L_noZeny:
mes "[Elf]";
mes "\"I'm sorry, you don't have enough GP for the hat. You need 5000 GP for it.";
mes " Come back when you have enough. \"";
close;
L_good:
mes "[Elf]";
mes "\"Thank you, I think it is too.";
goto L_menu
L_complete:
mes "[Elf]";
mes "\"Thank you for your help. \""
close;
}
This gets my full support; this is something I wanted changed for quite a while nowKage wrote:As far as the experience thing goes, I think we should raise the amount of experience given by all quests. This is the first step towards a non grinding game. Players should be expected to complete quests to get to higher levels. not kill (x*7)^2 number of monsters.
Thats fine, ideally we should come up with a level which we want this quest done at. Then calculate what is a fair amount of exp for that level.lien wrote:if we do this (not kill (x * 7) ^ 2 number of monsters) all people to doesn't the quest. because everybody kill all monster. Then I come on a level to require (i think lvl 30 or 40)
bonus bAtkRange,n; Attack Range + nAcnotAlpha wrote:bAtkRange is one of the bonuses defined in the text file referenced earlier, http://gitorious.org/tmw-eathena/mainli ... _bonus.txt
We really need something that mostly or only benefits archers. If nothing else is suitable we can use dex I guess... since dex is mostly for archers anyways.AcnotAlpha wrote:Yes, but it's the only thing directly affecting range that i saw.