Hi, new to the forums - nice site :)
So, the problem I'm having is with adding a new language. I created a language for the drow race, called drow. I'm running Smaug 1.4, linux. I used the gnome language fix as a guide:
In act_comm.c I added LANG_DROW to the lang_array[], and "drow" to lang_names.
In mud.h I added #define LANG_DROW BV21 /* drow language */ , and also added it to the VALID_LANGS section, at the end as ... LANG_GNOMISH | LANG_DROW ).
I did make clean, and make. I created the skill for it, set it as a tongue, set guild -1, saved the skill table, shutdown, and added it manually to each class file. Did make clean, make again, and booted the mud.
Now, the problem I'm having is that I don't know a number for it so I can add it to the drow.race file - and setting it online via "setrace drow language drow" does nothing, even when I "setrace drow save" afterwards. So new drow start with only common. Logged on as my level 65, I tried to "mset bob speaks drow" and I get a system message that says, "Players may not know drow". I can walk the test character north to the language teacher, who I added the language to, and the player can learn it there.
Is there someway to change this so I don't get the system message that players cannot learn the language, and so that I can have drow start with it at creation? Same goes for the preexisting langs such as spiritual - I can change the name, etc, but the same thing happens when I try to give it to a player.
Thanks for any help.
So, the problem I'm having is with adding a new language. I created a language for the drow race, called drow. I'm running Smaug 1.4, linux. I used the gnome language fix as a guide:
In act_comm.c I added LANG_DROW to the lang_array[], and "drow" to lang_names.
In mud.h I added #define LANG_DROW BV21 /* drow language */ , and also added it to the VALID_LANGS section, at the end as ... LANG_GNOMISH | LANG_DROW ).
I did make clean, and make. I created the skill for it, set it as a tongue, set guild -1, saved the skill table, shutdown, and added it manually to each class file. Did make clean, make again, and booted the mud.
Now, the problem I'm having is that I don't know a number for it so I can add it to the drow.race file - and setting it online via "setrace drow language drow" does nothing, even when I "setrace drow save" afterwards. So new drow start with only common. Logged on as my level 65, I tried to "mset bob speaks drow" and I get a system message that says, "Players may not know drow". I can walk the test character north to the language teacher, who I added the language to, and the player can learn it there.
Is there someway to change this so I don't get the system message that players cannot learn the language, and so that I can have drow start with it at creation? Same goes for the preexisting langs such as spiritual - I can change the name, etc, but the same thing happens when I try to give it to a player.
Thanks for any help.