slotlist.txt
slotlist.txt · 1.8 KB
From the archive slotlist.tar.gz
Download the archive « Back to the archive contents
AUTHOR: Cronel (cronel_kal@hotmail.com)
of FrozenMUD (empire.digiunix.net 4000)
FILES
slotlist.c The code
slotlist.txt This file
slotlist.help Suggested help topic(s) for this code.
LICENSE
Permission to use and distribute this code is granted provided
the header in the source file is retained and unaltered, and the
distribution package contains all the original files unmodified.
If you modify this code and use/distribute modified versions
you must give credit to the original author(s).
DESCRIPTION
Immortal command that lists all the spells/skills sorted by slot number
and warns you of errors, such as spells with a slot of zero and duplicate
slots; also makes it a lot easier to spot gaps.
Might be obsolete now that SMAUG saves to area files the spells names
instead of the slot numbers (this was originaly coded for SMAUG 1.02a).
INSTALLATION INSTRUCTIONS
To install the slotlist command, follow these steps:
1) Add a DECLARE_DO_FUN for "do_slotlist" in mud.h, near the other
DECLARE_DO_FUN declarations.
2) Add an entry for "do_slotlist" in the "skill_function" function
in tables.c
3) Add an entry for "do_slotlist" in the "skill_name" function in
tables.c (these last two steps commonly referred to as
"adding the command/spell to the tables").
4) Add the code, preferably to act_wiz.c.
5) Compile, reboot, and get into the mud.
6) Using the "cedit" command, create the "slotlist" command, and set its
code to "do_slotlist".
And you're done.
If you have any comments, or bug reports please feel free to mail the
author, or the mud administration of FrozenMUD at mudadmins@xnet.org.
Even dropping a "Good work guys!" line can go a long way in future
releases.
--Cronel 25/10/1998