mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 13:07:16 +02:00
As part of this work, I have also written full listings of all available properties on Typeclassed objects (including those inherited in various ways). Should hopefully make things easier to find. One can of course still import things directly from src/ as before. But this is a first step towards removing the "base" objects in game/gamesrc and instead making those accessible through the core API.
22 lines
693 B
Python
22 lines
693 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 = "Unloggedin"
|
|
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())
|