excellent work! thanks for the head start on this.
there are a few updates required for the comment section on the
implementation.
line 17 of menu_login.py: CMDSET_UNLOGGEDIN =
"contrib.alt_login.UnloggedInCmdSet" should be
CMDSET_UNLOGGEDIN = "contrib.menu_login.UnloggedInCmdSet
line 20 of chargen.py: self.add(character_creation.OOCCmdSetExtended)"
should be
self.add(chargen.OOCCmdSetCharGen)
with those two items resolved I was able to use the contributions
correctly.
also, could you elaborate on the rest of the comments section for
chargen?
"""
You could also add/edit this line to your game/settings.py file:
CMDSET_OOC = "contrib.character_creation.OOCCmdSetExtended"
(uncomment the super() statement in OOCCmdSetExtended in this case
too)
"""
though, i looked closer and found OOCCmdSetCharGen and am running
self.add(chargen.OOCCmdSetCharGen) successfully
> I have added two new contributions to Evennia's *contrib* folder.
> Contributions are useful code snippets (as well as full systems) that are
> useful but don't fit in the main server since they are likely to be used
> differently in different games.
>
> *contrib/menu_login.py
>
> *Evennia's default login screen (using create/connect with email etc) is
> not the final word in login design by any means. The menu_login contrib
> implements a menu-driven login system where you select what you want to do.
> You will be prompted for your username and password in sequence and can go
> back and forth. It doesn't require a user to enter an email at all.
> Also, the default login system auto-creates a Character for you with the
> same name as the Player. This is just for convenience, to get people into
> the game quickly. The menu_login don't create a Character but simply dumps
> you into OOC mode (yes Evennia has that out of the box). From there on the
> Player is supposedly to be put into some sort of character generation
> system.
>
> Which brings us to ...
>
> *contrib/chargen.py
>
> *This is a (very simple) character creator and a way for handling multiple
> characters. Goes well with menu_login above. You will be able to see all
> your available characters and do *@ic <charname> *to "become" them. Use *create
> <charname> *to create a new Character (I demand Character names to be
> unique in this snippet). You can also see a list of your characters as well
> as look at their descriptions (caveat: Only characters created by *create *will
> be visible in the list, so if you switch from the old system, the
> previously created chars won't be visible (although you can *@ic *to them