On Fri, 3 Oct 1997, Gabriel wrote:
> >I've added a clause in do_set that will allow an imp to set the race of
> >a given character. Problem is, I have several races that aren't available
> >for starting characters. So we have :
> >
> >And as far as I can see, do_set uses this to get the race you're trying to
> >set the character to. But, I have several races that won't be parsed.
> >I know I could write a second int parse_race function, but I don't want to
> >do that. Anyone have any suggestions/pointers?
> >
I would go with writing a new parse function. I would stick with using
parse_race for character generation, and do something like
parse_race_for_set for use with the 'set' command.
That is the easiest and fastest way I see doing it.
John Evans <evansj@hi-line.net>
May the source be with you.
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST