mirror of
https://github.com/evennia/evennia.git
synced 2026-03-25 01:06:32 +01:00
23 lines
701 B
Python
23 lines
701 B
Python
"""
|
|
This module describes the unlogged state of the default game.
|
|
The setting STATE_UNLOGGED should be set to the python path
|
|
of the state instance in this module.
|
|
"""
|
|
from src.commands.cmdset import CmdSet
|
|
from src.commands.default import unloggedin
|
|
|
|
|
|
class UnloggedinCmdSet(CmdSet):
|
|
"""
|
|
Sets up the unlogged cmdset.
|
|
"""
|
|
key = "DefaultUnloggedin"
|
|
priority = 0
|
|
|
|
def at_cmdset_creation(self):
|
|
"Populate the cmdset"
|
|
self.add(unloggedin.CmdUnconnectedConnect())
|
|
self.add(unloggedin.CmdUnconnectedCreate())
|
|
self.add(unloggedin.CmdUnconnectedQuit())
|
|
self.add(unloggedin.CmdUnconnectedLook())
|
|
self.add(unloggedin.CmdUnconnectedHelp())
|