The Dink Network

Reply to Re: help with magic

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
March 3rd 2005, 08:20 PM
spike.gif
Item names shouldn't be more than 3 letters long... you should name it item-fb1 or item-fbl or anything at all, as long as it's only three letters. More may cause problems. So this part of your script should look like something below:

add_magic("item-fb1", 437, 1);
playsound(43, 22050, 0, 0, 0);
say_stop_xy("`% - YOU LEARN *FIREBALL MAGIC* -", 10, 60);
&havefb += 1;
goto mgchoice;
}
if (&result == 2)

EDIT: It's all about 8 letters maximum (like dos) so alternatively you could name the fireball just fireball, but having the item- and s1- s2- etc. for the story greatly helps in keeping the story folder organized.

EDIT: I wonder if it were possible to do item-zabaglionepie and then add it with add_item("item-z~1", 453, 1);

Most propably not.