mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 20:17:16 +02:00
Changed the way ExitCommands work by adding at_traverse() as a new hook to do the actual moving. This should allow for more flexibility in overloading new Exit typeclasses without having to re-implement the Exit Cmdset functionality more than necessary. By default the same error hooks are called wether the failure is due to a lock or some other error, this is (now) easy to modify as needed.
This commit is contained in:
parent
d80daccb70
commit
99c2dda8dc
2 changed files with 37 additions and 13 deletions
|
|
@ -1,12 +1,12 @@
|
|||
"""
|
||||
Makes it easier to import by grouping all relevant things already at this level.
|
||||
Makes it easier to import by grouping all relevant things already at this level.
|
||||
|
||||
You can henceforth import most things directly from src.objects
|
||||
You can henceforth import most things directly from src.objects
|
||||
Also, the initiated object manager is available as src.objects.manager.
|
||||
|
||||
"""
|
||||
|
||||
from src.objects.objects import *
|
||||
from src.objects.objects import *
|
||||
from src.objects.models import ObjectDB
|
||||
|
||||
manager = ObjectDB.objects
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue