mirror of
https://github.com/evennia/evennia.git
synced 2026-03-21 15:26:30 +01:00
Big re-organization of command functions. Introduced the commands directory to hold command modules. This will make it easier to sub-divide stuff as we pile on more commands, and for dropping in new optional command modules.
This commit is contained in:
parent
a10df7ec6b
commit
0e9732d49c
17 changed files with 535 additions and 527 deletions
|
|
@ -2,10 +2,6 @@ from traceback import format_exc
|
|||
import time
|
||||
|
||||
import defines_global
|
||||
import commands_privileged
|
||||
import commands_general
|
||||
import commands_comsys
|
||||
import commands_unloggedin
|
||||
import cmdtable
|
||||
import functions_db
|
||||
import functions_general
|
||||
|
|
@ -163,7 +159,7 @@ def handle(cdat):
|
|||
if exit.get_home():
|
||||
cdat['uinput'] = parsed_input
|
||||
pobject.move_to(exit.get_home())
|
||||
commands_general.cmd_look(cdat)
|
||||
session.execute_cmd("look")
|
||||
else:
|
||||
session.msg("That exit leads to nowhere.")
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue