Moved object methods up from ObjectDB and mainly onto the typeclass. In the process of converting players in the same way.

This commit is contained in:
Griatch 2014-12-24 01:24:26 +01:00
parent 302f5bdd81
commit db512cbbf5
6 changed files with 175 additions and 226 deletions

View file

@ -823,6 +823,7 @@ class DefaultObject(ObjectDB):
return True
# methods inherited from the typeclass system
def __eq__(self, other):
"""
Checks for equality against an id string or another object or user.