I am thinking that going about listing any additions to skills/spells is a
total pain in the arse considering the addition of multi-ple classes as
well. Listing them in the HELP file that is. Like a master list based on
CLASS for skills and spells and when level you get em at.
My request is if anyone has gotten or figgered out a skill_list command
(like skillset's output with no options chosen) of all the skills based on
CLASS and LEVEL.
sorta like PRACs output but so a character can list skills available (and
spells) in any class.
If anyone has anyhelp or ideas i would love that. My current
do_skill_list is basically snipped from the skillset command
but here it is:
ACMD(do_list_skills)
{
extern char *spells[];
int i;
char help[MAX_STRING_LENGTH];
strcpy(help, "Skill being one of the following:\n\r");
for (i = 0; *spells[i] != '\n'; i++) {
if (*spells[i] == '!')
continue;
sprintf(help + strlen(help), "%18s", spells[i]);
if (i % 4 == 3) {
strcat(help, "\r\n");
send_to_char(help, ch);
*help = '\0';
}
}
}
*-=-=-=-=-=-=-=* w0nderful *-=-* w0rld *-=-* 0f *-=-* wart *-=-=-=-=-*
hartman@kuntrynet.com
wart@trilidun.kuntrynet.com
http://trilidun.kuntrynet.com
Eudaemonia Mud: 207.40.85.11 Port 4000
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://cspo.queensu.ca/~fletcher/Circle/list_faq.html |
+-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST