Practicing a new language

Posted by Taebryn on Tue 02 Mar 2004 02:04 AM — 9 posts, 26,696 views.

#0
smaug 1.4a
i have this in skills.dat for my new language

#SKILL
Name animal~
Type Tongue
Info 0
Flags 0
Code spell_null
Dammsg ~
Teachers 4042~
Minlevel 1
End

the teachers are still not able to teach the language
how can i have my players practice it?
Canada #1
I beleive that you must also add an entry to TONGUE_FILE. This is required for all languages in 1.4. There may be more, but start with that.
#2
where do you see tounge_file?
Canada #3
#define TONGUE_FILE	SYSTEM_DIR "tongues.dat"  /* Tongue tables	 */
#4
yes yes, its in there
i made my own language in tounges.dat and skills.dat
but the Teachers tag doesnt work for languages?
Canada #5
Oh, I beleive that you need the scholar flag for that
USA #6
Also, this could be the problem (not sure, just something to note)

Quote:

Teachers 4042~

It is reading numbers correct? In my code I'm used to not having the ~ after a number. Its generally a terminating character for fread_string correct?
Canada #7
Teachers are stored in a string, so that it can have more than one teacher. It uses is_name, I beleive to parse the string to see the the teachers vnum is equal to one of the words(numbers) in string.
USA #8
Good to know. I guess next time I won't post from school where I don't have access to my code to backup what I'm saying. :)